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,WAAW,oBAAqB,CAC9B,MAAO,CAAC,MAAM,CAChB,CACA,IAAI,KAAKC,EAAO,CACdC,EAAgB,KAAM,OAAQD,CAAK,CACrC,CACA,IAAI,MAAO,CACT,OAAOE,EAAoB,KAAM,OAAQV,CAAY,CACvD,CACA,IAAI,YAAa,CACf,OAAOW,EAAoB,KAAMC,EAAkB,aAAc,IAAI,CACvE,CACA,IAAI,WAAWJ,EAAO,CACpBK,EAAuB,KAAMD,EAAkB,aAAcJ,CAAK,CACpE,CACA,IAAI,QAAS,CACX,OAAOG,EAAoB,KAAMG,EAAc,SAAU,IAAI,CAC/D,CACA,IAAI,OAAON,EAAO,CAChBK,EAAuB,KAAMC,EAAc,SAAUN,CAAK,CAC5D,CACA,IAAI,QAAS,CACX,OAAOG,EAAoB,KAAMI,EAAc,SAAU,IAAI,CAC/D,CACA,IAAI,OAAOP,EAAO,CAChBK,EAAuB,KAAME,EAAc,SAAUP,CAAK,CAC5D,CACA,mBAAoB,CAClBC,EAAgB,KAAK,KAAM,sBAAuB,eAAe,EAC5D,KAAK,aAAa,MAAM,GAC3BA,EAAgB,KAAM,OAAQT,CAAY,CAE9C,CACA,yBAAyBgB,EAAMC,EAAGC,EAAQ,CAChCF,IACD,QACHG,EAAuB,KAAK,KAAM,SAAUD,EAAQ,CAAE,IAAKjB,EAAU,IAAKC,CAAS,CAAC,CAI1F,CACF,CACF,EC1DA,IAAMkB,EAAe,ymTACfC,EAAgCC,EAAwBF,CAAY,EAC1EG,EAAoB,yCAA0CF,CAA6B","names":["NectaryElementBase","value","createDeferredPromise","resolve","r","getStore","storeKey","store","getConstructor","name","definitionLoader","ASSETS_STORE_KEY","version","pkg","nectaryDefinitions","nectaryRegistry","manualRegistration","getGlobalConstructor","name","getConstructor","ASSETS_STORE_KEY","safeDefine","registry","name","constructor","defineCustomElement","name","constructor","manualRegistration","nectaryDefinitions","nectaryRegistry","globalConstructor","getGlobalConstructor","safeDefine","NectaryElement","NectaryElementBase","nectaryRegistry","pkg","updateAttribute","$element","attrName","attrValue","isLiteralValue","literals","value","updateLiteralAttribute","getLiteralAttribute","defaultValue","DEFAULT_INTEGER_OPTIONS","applyRange","min","max","result","attrValueToInteger","options","itemSizeMultiplier","itemSpaceBetween","intValue","int","updateIntegerAttribute","$element","attrName","attrValue","options","DEFAULT_INTEGER_OPTIONS","defaultValue","multiplier","intValue","attrValueToInteger","applyRange","getIntegerAttribute","backgroundValues","valignValues","halignValues","illustrationStylesHtml","DEFAULT_SIZE","MIN_SIZE","MAX_SIZE","createIllustrationClass","templateHTML","template","NectaryElement","shadowRoot","value","updateAttribute","getIntegerAttribute","getLiteralAttribute","backgroundValues","updateLiteralAttribute","valignValues","halignValues","name","_","newVal","updateIntegerAttribute","templateHTML","IllustrationTeamworkFromPhone","createIllustrationClass","defineCustomElement"],"sources":["../esm/npm/@nectary/assets@3.3.1/node_modules/@nectary/assets/utils/shared/nectary-element-base.js","../esm/npm/@nectary/assets@3.3.1/node_modules/@nectary/assets/utils/shared/global-elements-store.js","../esm/npm/@nectary/assets@3.3.1/node_modules/@nectary/assets/utils/global-assets-constants.js","../esm/npm/@nectary/assets@3.3.1/node_modules/@nectary/assets/utils/element.js","../esm/npm/@nectary/assets@3.3.1/node_modules/@nectary/assets/utils/dom.js","../esm/npm/@nectary/assets@3.3.1/node_modules/@nectary/assets/illustrations/utils.js","../esm/npm/@nectary/assets@3.3.1/node_modules/@nectary/assets/illustrations/create-illustration-class.js","../esm/npm/@nectary/assets@3.3.1/node_modules/@nectary/assets/illustrations/teamwork-from-phone/index.js"],"sourcesContent":["const isSinchElementName = (value) =\u003e {\n  return value.startsWith(\"sinch-\");\n};\nconst sinchElementNameToBase = (value) =\u003e {\n  return value.split(\"sinch-\")[1];\n};\nclass NectaryElementBase extends HTMLElement {\n  static _isGlobal = false;\n  static get elementName() {\n    throw new Error(\n      `Class ${this.name} must implement static getter 'elementName'`\n    );\n  }\n  static get isGlobal() {\n    return this._isGlobal;\n  }\n  static set isGlobal(value) {\n    this._isGlobal = value;\n  }\n}\nexport {\n  NectaryElementBase,\n  isSinchElementName,\n  sinchElementNameToBase\n};\n","const createDeferredPromise = () =\u003e {\n  let resolve;\n  const promise = new Promise((r) =\u003e {\n    resolve = r;\n  });\n  return { promise, resolve };\n};\nconst getStore = (storeKey) =\u003e {\n  if (window[storeKey] != null) {\n    return window[storeKey];\n  }\n  const store = {\n    definitions: /* @__PURE__ */ new Map(),\n    hasInitialized: false,\n    targetlibVersion: \"\",\n    cdnUrl: \"\",\n    fallbackCdnUrl: \"\",\n    preload: false,\n    loadPromise: createDeferredPromise()\n  };\n  Object.defineProperty(window, storeKey, {\n    value: store,\n    enumerable: false,\n    writable: false,\n    configurable: false\n  });\n  return store;\n};\nconst getConstructor = (storeKey, name) =\u003e {\n  const definitionLoader = getStore(storeKey).definitions.get(name);\n  if (definitionLoader == null) {\n    return null;\n  }\n  return definitionLoader();\n};\nexport {\n  getConstructor,\n  getStore\n};\n","const ASSETS_STORE_KEY = Symbol.for(\"NectaryAssetsStore\");\nconst ASSETS_REGISTRY_URL = \"https://registry.npmjs.org/@nectary/assets\";\nexport {\n  ASSETS_REGISTRY_URL,\n  ASSETS_STORE_KEY\n};\n","import { NectaryElementBase, sinchElementNameToBase } from \"./shared/nectary-element-base.js\";\nimport { getConstructor } from \"./shared/global-elements-store.js\";\nimport { ASSETS_STORE_KEY } from \"./global-assets-constants.js\";\nconst version = \"3.0.0\";\nconst pkg = {\n  version\n};\nconst nectaryDefinitions = /* @__PURE__ */ new Map();\nlet nectaryRegistry = null;\nlet manualRegistration = false;\nconst getGlobalConstructor = (name) =\u003e {\n  return getConstructor(ASSETS_STORE_KEY, name);\n};\nconst pascalToKebabCase = (str) =\u003e {\n  return str.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").replace(/([A-Z])([A-Z][a-z])/g, \"$1-$2\").toLowerCase();\n};\nconst safeDefine = (registry, name, constructor) =\u003e {\n  if (registry.get(name) != null) {\n    return;\n  }\n  registry.define(name, constructor);\n};\nconst registerAsset = (name, constructor) =\u003e {\n  if (nectaryRegistry === window.customElements) {\n    throw new Error(\"Registering assets on the global registry is not allowed. Please set a scoped registry with setAssetsRegistry() first.\");\n  }\n  if (nectaryRegistry == null) {\n    throw new Error(\"Nectary registry is not set. Please set a scoped registry with setAssetsRegistry() first.\");\n  }\n  safeDefine(nectaryRegistry, name, constructor);\n};\nconst defineCustomElement = async (name, constructor) =\u003e {\n  if (manualRegistration) {\n    return;\n  }\n  nectaryDefinitions.set(name, constructor);\n  if (nectaryRegistry == null) {\n    return;\n  }\n  if (nectaryRegistry === window.customElements) {\n    const globalConstructor = await getGlobalConstructor(name);\n    if (globalConstructor !== null) {\n      safeDefine(nectaryRegistry, name, globalConstructor);\n      return;\n    }\n  }\n  if (constructor != null) {\n    safeDefine(nectaryRegistry, name, constructor);\n  }\n};\nconst processDefinitionsForRegistry = (registry) =\u003e {\n  const globalConstructorPromises = [];\n  for (const [name, ctor] of nectaryDefinitions.entries()) {\n    if (registry === window.customElements) {\n      const globalConstructorPromise = getGlobalConstructor(name);\n      if (globalConstructorPromise !== null) {\n        const resolvePromise = globalConstructorPromise.then((globalCtor) =\u003e {\n          safeDefine(registry, name, globalCtor);\n        });\n        globalConstructorPromises.push(resolvePromise);\n        continue;\n      }\n    }\n    if (ctor == null) {\n      throw new Error(\n        `Could not find constructor for ${name}.\n\n        Please make sure to omit '/global' when importing your asset: import '@nectary/assets/${sinchElementNameToBase(name)}'\n\n        If you intend to use global assets, make sure to set the registry with the global registry: setAssetsRegistry(window.customElements).`\n      );\n    }\n    safeDefine(registry, name, ctor);\n  }\n  nectaryDefinitions.clear();\n  return globalConstructorPromises;\n};\nconst setAssetsRegistry = (registry = window.customElements, options = {}) =\u003e {\n  manualRegistration = options.manualRegistration ?? false;\n  if (nectaryRegistry != null) {\n    if (nectaryRegistry === window.customElements) {\n      return;\n    }\n    throw new Error(\"Assets registry already set\");\n  }\n  nectaryRegistry = registry;\n  if (manualRegistration) {\n    nectaryDefinitions.clear();\n    return;\n  }\n  const globalConstructorPromises = processDefinitionsForRegistry(registry);\n  if (globalConstructorPromises.length \u003e 0) {\n    Promise.all(globalConstructorPromises).catch((error) =\u003e {\n      console.error(\"Error while registering global assets\", error);\n    });\n  }\n};\nconst resetAssetsRegistry = () =\u003e {\n  nectaryRegistry = null;\n};\nclass NectaryElement extends NectaryElementBase {\n  attachShadow() {\n    return super.attachShadow({\n      mode: \"open\",\n      delegatesFocus: false,\n      customElements: nectaryRegistry\n    });\n  }\n  version = pkg.version;\n}\nexport {\n  NectaryElement,\n  defineCustomElement,\n  pascalToKebabCase,\n  registerAsset,\n  resetAssetsRegistry,\n  setAssetsRegistry\n};\n","const isAttrTrue = (attrValue) =\u003e {\n  return attrValue === \"\" || attrValue !== \"false\" \u0026\u0026 attrValue !== null;\n};\nconst getBooleanAttribute = ($element, attrName) =\u003e {\n  return isAttrTrue($element.getAttribute(attrName));\n};\nconst updateBooleanAttribute = ($element, attrName, attrValue) =\u003e {\n  const currentAttrValue = $element.getAttribute(attrName);\n  if (attrValue === true) {\n    if (!isAttrTrue(currentAttrValue)) {\n      $element.setAttribute(attrName, \"\");\n    }\n  } else if (currentAttrValue !== null) {\n    $element.removeAttribute(attrName);\n  }\n};\nconst updateAttribute = ($element, attrName, attrValue) =\u003e {\n  if (attrValue != null) {\n    $element.setAttribute(attrName, String(attrValue));\n  } else {\n    $element.removeAttribute(attrName);\n  }\n};\nconst isLiteralValue = (literals, value) =\u003e {\n  return value != null \u0026\u0026 literals.includes(value);\n};\nconst updateLiteralAttribute = ($element, literals, attrName, attrValue) =\u003e {\n  if (isLiteralValue(literals, attrValue)) {\n    $element.setAttribute(attrName, attrValue);\n  } else {\n    $element.removeAttribute(attrName);\n  }\n};\nfunction getLiteralAttribute($element, literals, attrName, defaultValue) {\n  const attrValue = $element.getAttribute(attrName);\n  if (isLiteralValue(literals, attrValue)) {\n    return attrValue;\n  }\n  if (typeof defaultValue === \"undefined\") {\n    if (process.env.NODE_ENV !== \"production\") {\n      throw new Error(`Invalid attribute value: ${attrName} = ${attrValue}`);\n    }\n  }\n  return defaultValue;\n}\nconst DEFAULT_INTEGER_OPTIONS = {\n  itemSizeMultiplier: 1,\n  itemSpaceBetween: 0,\n  defaultValue: null\n};\nconst applyRange = (value, { min, max }) =\u003e {\n  let result = value;\n  if (min != null) {\n    result = Math.max(min, result);\n  }\n  if (max != null) {\n    result = Math.min(max, result);\n  }\n  return result;\n};\nconst attrValueToInteger = (value, options = DEFAULT_INTEGER_OPTIONS) =\u003e {\n  const { defaultValue = null, itemSizeMultiplier = 1, itemSpaceBetween = 0 } = options;\n  let intValue = defaultValue;\n  if (value !== null) {\n    const int = parseInt(value);\n    if (Number.isInteger(int)) {\n      intValue = applyRange(int, options);\n    }\n  }\n  if (intValue !== null) {\n    return intValue * itemSizeMultiplier + Math.max(intValue - 1, 0) * itemSpaceBetween;\n  }\n  return null;\n};\nconst attrValueToPixels = (value, options = DEFAULT_INTEGER_OPTIONS) =\u003e {\n  const int = attrValueToInteger(value, options);\n  return int === null ? \"unset\" : `${int}px`;\n};\nconst updateIntegerAttribute = ($element, attrName, attrValue, options = DEFAULT_INTEGER_OPTIONS) =\u003e {\n  const { defaultValue = null, itemSizeMultiplier: multiplier = 1 } = options;\n  let intValue = null;\n  if (typeof attrValue === \"string\") {\n    intValue = attrValueToInteger(attrValue, options);\n  } else if (typeof attrValue === \"number\") {\n    intValue = applyRange(attrValue, options) * multiplier;\n  } else {\n    intValue = defaultValue;\n  }\n  if (intValue === null) {\n    $element.removeAttribute(attrName);\n  } else {\n    $element.setAttribute(attrName, intValue.toFixed(0));\n  }\n};\nfunction getIntegerAttribute($element, attrName, defaultValue) {\n  return attrValueToInteger($element.getAttribute(attrName)) ?? defaultValue;\n}\nexport {\n  attrValueToInteger,\n  attrValueToPixels,\n  getBooleanAttribute,\n  getIntegerAttribute,\n  getLiteralAttribute,\n  isAttrTrue,\n  isLiteralValue,\n  updateAttribute,\n  updateBooleanAttribute,\n  updateIntegerAttribute,\n  updateLiteralAttribute\n};\n","const backgroundValues = [\"blue\", \"grey\", \"gray\", \"green\", \"yellow\", \"white\"];\nconst valignValues = [\"top\", \"center\", \"bottom\"];\nconst halignValues = [\"left\", \"center\", \"right\"];\nexport {\n  backgroundValues,\n  halignValues,\n  valignValues\n};\n","import { updateAttribute, getIntegerAttribute, getLiteralAttribute, updateLiteralAttribute, updateIntegerAttribute } from \"../utils/dom.js\";\nimport { NectaryElement } from \"../utils/element.js\";\nimport { backgroundValues, valignValues, halignValues } from \"./utils.js\";\nconst illustrationStylesHtml = \"\u003cstyle\u003e:host{display:block}svg{display:block;pointer-events:none}#wrapper{display:flex;width:100%;height:100%;align-items:center;justify-content:center;overflow:hidden}#wrapper\u003e*{flex-shrink:0}:host([valign=top]) #wrapper{align-items:flex-start}:host([valign=bottom]) #wrapper{align-items:flex-end}:host([halign=left]) #wrapper{justify-content:left}:host([halign=right]) #wrapper{justify-content:right}:host([background=yellow]) #wrapper{background-color:var(--sinch-sys-color-surface-primary-default)}:host([background=green]) #wrapper{background-color:var(--sinch-ref-color-tropical-50)}:host([background=blue]) #wrapper{background-color:var(--sinch-ref-color-ocean-100)}:host([background=white]) #wrapper{background-color:var(--sinch-sys-color-basic-pure)}:host([background=gray]) #wrapper,:host([background=grey]) #wrapper{background-color:var(--sinch-sys-color-surface-tertiary-default)}\u003c/style\u003e\";\nconst DEFAULT_SIZE = 256;\nconst MIN_SIZE = 16;\nconst MAX_SIZE = 2048;\nconst createIllustrationClass = (templateHTML) =\u003e {\n  const template = document.createElement(\"template\");\n  template.innerHTML = `${illustrationStylesHtml}\u003cdiv id=\"wrapper\"\u003e${templateHTML}\u003c/div\u003e`;\n  return class extends NectaryElement {\n    $svg;\n    constructor() {\n      super();\n      const shadowRoot = this.attachShadow();\n      shadowRoot.appendChild(template.content.cloneNode(true));\n      this.$svg = shadowRoot.querySelector(\"svg\");\n    }\n    static get observedAttributes() {\n      return [\"size\"];\n    }\n    set size(value) {\n      updateAttribute(this, \"size\", value);\n    }\n    get size() {\n      return getIntegerAttribute(this, \"size\", DEFAULT_SIZE);\n    }\n    get background() {\n      return getLiteralAttribute(this, backgroundValues, \"background\", null);\n    }\n    set background(value) {\n      updateLiteralAttribute(this, backgroundValues, \"background\", value);\n    }\n    get valign() {\n      return getLiteralAttribute(this, valignValues, \"valign\", null);\n    }\n    set valign(value) {\n      updateLiteralAttribute(this, valignValues, \"valign\", value);\n    }\n    get halign() {\n      return getLiteralAttribute(this, halignValues, \"halign\", null);\n    }\n    set halign(value) {\n      updateLiteralAttribute(this, halignValues, \"halign\", value);\n    }\n    connectedCallback() {\n      updateAttribute(this.$svg, \"preserveAspectRatio\", \"xMinYMin meet\");\n      if (!this.hasAttribute(\"size\")) {\n        updateAttribute(this, \"size\", DEFAULT_SIZE);\n      }\n    }\n    attributeChangedCallback(name, _, newVal) {\n      switch (name) {\n        case \"size\": {\n          updateIntegerAttribute(this.$svg, \"height\", newVal, { min: MIN_SIZE, max: MAX_SIZE });\n          break;\n        }\n      }\n    }\n  };\n};\nexport {\n  createIllustrationClass\n};\n","import { defineCustomElement } from \"../../utils/element.js\";\nimport { createIllustrationClass } from \"../create-illustration-class.js\";\nconst templateHTML = '\u003csvg viewBox=\"0 0 1421 800\" fill=\"none\" aria-hidden=\"true\" focusable=\"false\"\u003e\u003cpath d=\"M1242.71 174.029V38.118c0-5.494-1.18-10.923-3.48-15.914a38.039 38.039 0 0 0-9.81-13.005 38.098 38.098 0 0 0-14.34-7.719 38.103 38.103 0 0 0-16.26-1.02L223.676 151.102a38.622 38.622 0 0 0-32.715 38.173v66.369L428.045 637.27l526.418-81.639 237.107-381.646 51.14.044Z\" fill=\"#FCECCB\"/\u003e\u003cpath d=\"M140.255 174.029a27.274 27.274 0 0 0-23.166-12.874H27.466A27.266 27.266 0 0 0 4.3 202.806l363.009 584.321A27.285 27.285 0 0 0 390.475 800h89.623a27.267 27.267 0 0 0 23.166-41.65L242.795 465.604l-102.54-291.575Z\" fill=\"#0A273D\"/\u003e\u003cpath d=\"M140.255 174.028H50.763L413.75 758.349h89.514L140.255 174.028Z\" fill=\"#059688\"/\u003e\u003cpath d=\"M1191.57 174.029a27.14 27.14 0 0 1 9.91-9.439 27.243 27.243 0 0 1 13.24-3.435h178.29a27.248 27.248 0 0 1 13.82 3.761 27.25 27.25 0 0 1 10.01 10.252 27.263 27.263 0 0 1 3.42 13.911 27.137 27.137 0 0 1-4.1 13.727l-362.99 584.321A27.263 27.263 0 0 1 1030.01 800H851.725a27.267 27.267 0 0 1-23.166-41.65l349.131-292.746 13.88-291.575Z\" fill=\"#0A273D\"/\u003e\u003cpath d=\"M1191.57 174.028h178.14l-362.99 584.321H828.56l363.01-584.321Z\" fill=\"#059688\"/\u003e\u003cpath d=\"m190.961 406.136 17.818 22.248-17.818-28.679v6.431Zm185.601 148.282c-.066.427-.142.853-.219 1.28-3.861 21.973-8.115 43.892-12.983 65.625l18.485 23.079 46.2-7.164-51.483-82.82Zm864.128-211.687a5340.976 5340.976 0 0 1-91.01-29.247 3831.918 3831.918 0 0 1-36.97-12.524L954.463 555.632l170.627-26.436 117.62-164.12v-21.711l-2.02-.634Z\" fill=\"#007171\"/\u003e\u003cpath d=\"m766.073 359.662 7.536 27.541M601.625 206.787l27.027 9.221M791.12 87.425l-19.983 58.571M680.825 348.91l-14.142 24.807m-38.709-213.098 21.69 18.572m176.861-33.874-18.572 21.69m38.872 68.436h34.082M724.083 111.849l2.199 28.47m-2.461 222.614-7.602 67.2\" stroke=\"#FFBE3C\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/\u003e\u003cpath d=\"M1336.04 297.996a11.591 11.591 0 0 1-10.12-5.961 11.591 11.591 0 0 1 .28-11.747l19.69-31.719a11.5 11.5 0 0 1 3.09-3.302 11.57 11.57 0 0 1 8.63-2.018c1.5.247 2.94.787 4.24 1.59 1.29.803 2.41 1.853 3.3 3.089a11.787 11.787 0 0 1 1.87 4.118c.34 1.481.39 3.017.15 4.518-.25 1.502-.79 2.94-1.59 4.233l-19.69 31.719a11.613 11.613 0 0 1-4.21 4.016 11.645 11.645 0 0 1-5.64 1.464Zm-39.73 64.499c-2.07.002-4.1-.549-5.88-1.596a11.575 11.575 0 0 1-4.26-4.359 11.54 11.54 0 0 1-1.45-5.917c.05-2.066.65-4.082 1.74-5.836l19.69-31.719a11.5 11.5 0 0 1 3.09-3.302 11.582 11.582 0 0 1 16.17 2.661 11.61 11.61 0 0 1 1.87 4.118c.35 1.481.4 3.017.15 4.519a11.696 11.696 0 0 1-1.59 4.232l-19.69 31.719a11.599 11.599 0 0 1-4.21 4.017 11.567 11.567 0 0 1-5.63 1.463Z\" fill=\"#007171\"/\u003e\u003cpath d=\"m963.464 330.907-66.38 20.573L834.4 250.526a40.85 40.85 0 0 0-14.876-14.138 40.85 40.85 0 0 0-19.873-5.123h-83.563l28.646 67.332a23.77 23.77 0 0 0 21.875 14.47h28.241l48.027 98.68a47.394 47.394 0 0 0 56.58 24.533l90.225-27.88 15.308-48.563-41.526-28.93Z\" fill=\"#894915\"/\u003e\u003cpath d=\"M1078.31 74.595a20.481 20.481 0 0 1 11.1-.562c3.69.84 7.07 2.68 9.77 5.32 3.2 3.13 7.34 5.124 11.79 5.676a20.5 20.5 0 0 1 10.26 4.342 20.525 20.525 0 0 1 6.47 9.068 20.603 20.603 0 0 0 8.16 10.227 20.459 20.459 0 0 1 7.36 8.333 20.477 20.477 0 0 1 1.93 10.95c-.45 4.459.58 8.942 2.92 12.764a20.515 20.515 0 0 1 3.01 10.702c0 3.777-1.04 7.48-3.01 10.703a20.47 20.47 0 0 0-2.92 12.753 20.59 20.59 0 0 1-1.92 10.956 20.496 20.496 0 0 1-7.37 8.338 20.524 20.524 0 0 0-8.16 10.227 20.44 20.44 0 0 1-6.48 9.031 20.516 20.516 0 0 1-10.25 4.313 20.472 20.472 0 0 0-11.79 5.687 20.464 20.464 0 0 1-9.77 5.319c-3.68.84-7.52.646-11.1-.561a20.493 20.493 0 0 0-13.13 0 20.479 20.479 0 0 1-20.86-4.758 20.499 20.499 0 0 0-11.8-5.687 20.53 20.53 0 0 1-16.73-13.344c-1.53-4.209-4.4-7.8-8.16-10.227a20.472 20.472 0 0 1-7.36-8.338 20.479 20.479 0 0 1-1.926-10.956 20.473 20.473 0 0 0-2.822-12.808 20.49 20.49 0 0 1 0-21.405 20.509 20.509 0 0 0 2.91-12.764 20.528 20.528 0 0 1 1.898-10.941 20.535 20.535 0 0 1 7.33-8.342 20.55 20.55 0 0 0 8.16-10.172 20.526 20.526 0 0 1 16.74-13.355c4.44-.55 8.59-2.544 11.79-5.677a20.485 20.485 0 0 1 20.87-4.757 20.621 20.621 0 0 0 13.09-.055Z\" fill=\"#272727\"/\u003e\u003cpath d=\"m963.464 330.907 26.251 77.438 45.535-14.066a216.357 216.357 0 0 0 13.87 76.465l12.03 32.452c12.86 34.574 59.83 39.31 79.34 8.007l74.62-119.713-6.66-117.557h-79.08l-165.906 56.974Z\" fill=\"#FFBE3C\"/\u003e\u003cpath d=\"M1016.07 132.925s-8.45 10.314-8.45 32.583v62.618c0 12.849 5.11 25.17 14.2 34.255a48.424 48.424 0 0 0 34.25 14.188h4.31c3.02 0 5.92 1.199 8.05 3.335a11.37 11.37 0 0 1 3.34 8.051v13.628c0 18.813 24.63 25.857 34.58 9.844l23.39-37.549a11.402 11.402 0 0 1-11.41-11.375v-82.437c0-2.062-.41-4.104-1.2-6.009a15.66 15.66 0 0 0-8.5-8.495 15.658 15.658 0 0 0-6.01-1.192c-4.16 0-8.15 1.654-11.09 4.598a15.669 15.669 0 0 0-4.6 11.098c0 .651-.18 1.289-.52 1.842-.35.553-.84.999-1.42 1.288a3.46 3.46 0 0 1-1.88.343 3.452 3.452 0 0 1-1.78-.706l-65.26-49.908Z\" fill=\"#894915\"/\u003e\u003cpath d=\"M1053.95 230.521a24.892 24.892 0 0 1-17.61 7.294 24.91 24.91 0 0 1-17.61-7.294M805 262.317h-15.17l1.017 3.074a12.52 12.52 0 0 1-7.704 15.704 12.522 12.522 0 0 1-15.889-7.315l-8.531-24.479a12.512 12.512 0 0 1 1.575-11.407m10.139 68.84 11.167-2.986a10.222 10.222 0 0 0 6.549-5.409 10.23 10.23 0 0 0 .211-8.492l-2.767-6.563\" stroke=\"#842306\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/\u003e\u003cpath d=\"M84.418 298.728a11.593 11.593 0 0 1-9.844-5.469L54.886 261.54a11.592 11.592 0 0 1 .428-12.869 11.596 11.596 0 0 1 7.535-4.679 11.596 11.596 0 0 1 8.636 2.018 11.586 11.586 0 0 1 3.09 3.302l19.687 31.719a11.593 11.593 0 0 1-9.844 17.708v-.011Zm39.758 64.5a11.576 11.576 0 0 1-9.844-5.469L94.645 326.04a11.592 11.592 0 0 1 .428-12.869 11.596 11.596 0 0 1 7.534-4.679 11.597 11.597 0 0 1 8.636 2.018 11.579 11.579 0 0 1 3.089 3.302l19.688 31.719a11.573 11.573 0 0 1 1.442 8.752 11.573 11.573 0 0 1-5.172 7.206 11.429 11.429 0 0 1-6.114 1.739Z\" fill=\"#059688\"/\u003e\u003cpath d=\"m421.669 427.038-40.568-23.801-36.094-3.281c-43.674 0-60.157 15.75-68.995 29.652a66.802 66.802 0 0 0-.492 71.313l83.006 133.614a20.935 20.935 0 0 0 37.428-3.817l74.092-201.121-39.999-.273a16.74 16.74 0 0 1-8.378-2.286Z\" fill=\"#E83452\"/\u003e\u003cpath d=\"M315.049 465.604h-90.476a41.331 41.331 0 0 1-29.227-12.1 41.318 41.318 0 0 1-12.106-29.223 41.329 41.329 0 0 1 32.364-40.371l91.078-20.245a105.501 105.501 0 0 1 76.913 12.392l12.753 7.657\" fill=\"#E83452\"/\u003e\u003cpath d=\"M502.115 282.574a55.455 55.455 0 0 0-55.443-55.454 55.458 55.458 0 0 0-39.212 16.242 55.458 55.458 0 0 0-16.242 39.212v72.188c0 9.089-.7 14.296-9.373 23.593l84.438 57.072 22.346-63.438a37.122 37.122 0 0 1-16.702-22.805h30.188v-66.61Z\" fill=\"#F2A068\"/\u003e\u003cpath d=\"m346.658 400.372 26.076-23.122a9.41 9.41 0 0 1 11.167-.984l55.782 34.234-93.025-10.128Z\" fill=\"#fff\"/\u003e\u003cpath d=\"M471.61 283.285h26.032s-13.126-56.209-50.97-56.209-55.453 31.413-55.453 55.454v72.188c7.26.843 14.605.611 21.798-.689 14.996-2.669 21.974-12.447 21.974-27.956v-5.316c0-7.164 6.223-14.328 12.316-14.328l10.565-.077v-9.231a13.792 13.792 0 0 1 13.738-13.836Z\" fill=\"#1E2225\"/\u003e\u003cpath d=\"M448.346 304.187h63.241\" stroke=\"#1E2225\" stroke-width=\"4\" stroke-miterlimit=\"10\"/\u003e\u003cpath d=\"M511.587 291.105v26.152\" stroke=\"#1E2225\" stroke-width=\"4\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/\u003e\u003cpath d=\"M740.162 231.265h-32.507l-4.758-7.536a20.24 20.24 0 0 0-6.913-6.676 20.236 20.236 0 0 0-9.215-2.731 20.234 20.234 0 0 0-16.958 7.81l-26.797 34.519a146.095 146.095 0 0 0-18.048 6.432l-15.006 43.652 41.333 16.122c15.652-10.216 32.004-14.558 51.013-14.558h16.21a19.197 19.197 0 0 0 18.999-16.407l4.681-32.189a14.283 14.283 0 0 0 7.766-24.644 14.283 14.283 0 0 0-9.8-3.794Z\" fill=\"#F2A068\"/\u003e\u003cpath d=\"M624.977 263.083a189.675 189.675 0 0 0-31.522 17.205c-35.646 25.058-52.358 49.427-72.112 74.649-30.899 39.452-62.005 45.38-113.171 44.549l-60.66-.962c-26.251-.427-48.224 20.923-48.224 47.185a45.73 45.73 0 0 0 45.73 45.73h63.274c79.495 0 139.783-31.927 180.34-94.064 23.909-36.63 42.098-61.043 62.727-74.496-8.553-20.06-17.129-40.086-26.382-59.796Z\" fill=\"#E83452\"/\u003e\u003cpath d=\"m552.975 269.831-34.836-.109a15.976 15.976 0 0 1-15.543-12.48 56.36 56.36 0 0 0-111.377 12.283v13.759h161.472a6.943 6.943 0 0 0 7.011-6.081 6.764 6.764 0 0 0-1.739-5.168 6.754 6.754 0 0 0-4.988-2.204Z\" fill=\"#007171\"/\u003e\u003cpath d=\"M1229.9 273.922h-21.37a42.064 42.064 0 0 0-24.62 7.941 42.06 42.06 0 0 0-15.31 20.853 42.023 42.023 0 0 0-.2 25.868 42.01 42.01 0 0 0 14.98 21.092l-68.57 110.011 55.26 35 96.36-155.107c17.85-28.59-2.79-65.658-36.53-65.658Z\" fill=\"#894915\"/\u003e\u003cpath d=\"M1133.1 474.146c-7 11.222-8.28 27.552-3.04 38.818l2.4 5.184c0 .077.08.153.11.241l12.39 28.383a11.573 11.573 0 0 1 .03 8.768 11.567 11.567 0 0 1-6.11 6.283 11.604 11.604 0 0 1-8.77.204 11.618 11.618 0 0 1-6.4-5.991l-12.33-28.252-2.35-5.064c-8.56-18.43-6.8-42.887 4.38-60.835l4.08-6.563\" fill=\"#894915\"/\u003e\u003cpath d=\"m1175.39 528.955-15.5-8.75-8.23-20.902 15.12-24.26-34.47-15.597-18.21 29.215a11.476 11.476 0 0 0-1.7 5.072 11.41 11.41 0 0 0 .76 5.297l11.87 30.166c.56 1.425 1.4 2.725 2.47 3.823a11.447 11.447 0 0 0 3.75 2.575s28.5 11.386 33.99 13.366c5.95 2.133 12.12.098 14.57-4.266a11.594 11.594 0 0 0 1.04-8.781 11.595 11.595 0 0 0-5.46-6.958Z\" fill=\"#894915\"/\u003e\u003cpath d=\"m1181.6 476.061-15.2 24.62 7.32 19.338 13.85 1.389c2.94.312 5.65 1.737 7.57 3.982a11.57 11.57 0 0 1 2.78 8.095 11.595 11.595 0 0 1-11.45 11.045c-.38 0-.77 0-1.17-.055l-20.99-2.1a11.574 11.574 0 0 1-5.9-2.34 11.671 11.671 0 0 1-3.79-5.097l-11.88-31.38a11.707 11.707 0 0 1-.69-5.212c.17-1.767.74-3.471 1.68-4.982\" fill=\"#894915\"/\u003e\u003cpath d=\"M1286.36 190.763h-53.59a4.204 4.204 0 0 1-4.21-4.211 4.208 4.208 0 0 1 4.21-4.211h53.59c1.12 0 2.19.443 2.98 1.233s1.24 1.861 1.24 2.978c0 1.117-.45 2.188-1.24 2.977a4.21 4.21 0 0 1-2.98 1.234Zm-1158.738 0h-26.633a4.21 4.21 0 0 1 0-8.422h26.633a4.211 4.211 0 0 1 0 8.422Zm1173.868 0c2.33 0 4.21-1.886 4.21-4.211a4.207 4.207 0 0 0-4.21-4.211 4.214 4.214 0 0 0-4.21 4.211 4.214 4.214 0 0 0 4.21 4.211Z\" fill=\"#0A273D\"/\u003e\u003c/svg\u003e';\nconst IllustrationTeamworkFromPhone = createIllustrationClass(templateHTML);\ndefineCustomElement(\"sinch-illustration-teamwork-from-phone\", IllustrationTeamworkFromPhone);\nexport {\n  IllustrationTeamworkFromPhone\n};\n"],"version":3}
