{"version":3,"file":"emotion-serialize.esm.C_x-SvuE.js","sources":["../../../../../../../../packages/web-components/src/blocks-handler/loadScript.ts","../../../../../../../../packages/web-components/client/src/utils.ts","../../../../../../../../packages/web-components/src/blocks-handler/utils.ts","../../../../../../../../packages/web-components/src/get-tag.ts","../../../../../../../../packages/web-components/src/get-props-with-overrides.ts","../../../../../../../../packages/web-components/src/get-script-url.ts","../../../../../../../../packages/web-components/src/caas-context.ts","../../../../../../../../packages/web-components/src/blocks-handler/WebComponentBlock.svelte","../../../../../../../../packages/web-components/src/create-builder-attributes.ts","../../../../../../../../packages/web-components/src/is-tech-comm-block.ts","../../../../../../../../packages/web-components/src/get-inline-styles.ts","../../../../../../../../packages/builder-oem/src/components/shared/container/BlocksHandler.svelte","../../../../../../../../node_modules/.pnpm/@emotion+hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js","../../../../../../../../node_modules/.pnpm/@emotion+unitless@0.9.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","../../../../../../../../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../../../../../../../../node_modules/.pnpm/@emotion+serialize@1.3.0/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js"],"sourcesContent":["const waitForExistingScriptToLoad = async (script: HTMLScriptElement) => {\n\treturn new Promise<void>(function (resolve, reject) {\n\t\tscript.onload = () => resolve();\n\t\tscript.onerror = () => reject(new Error(`Script load error for ${script.src}`));\n\t});\n};\n\nconst injectScript = (src: string) => {\n\treturn new Promise<void>(function (resolve, reject) {\n\t\tlet script = document.createElement('script');\n\t\tscript.src = src;\n\n\t\tscript.onload = () => resolve();\n\t\tscript.onerror = () => reject(new Error(`Script load error for ${src}`));\n\n\t\tdocument.head.append(script);\n\t});\n};\n\nexport const loadScript = async (scriptUrl: string) => {\n\ttry {\n\t\tconst scripts = Array.from(document.querySelectorAll('script'));\n\t\tconst script = scripts.find((script) => script.src === scriptUrl);\n\n\t\tif (script) {\n\t\t\tawait waitForExistingScriptToLoad(script);\n\t\t} else {\n\t\t\tawait injectScript(scriptUrl);\n\t\t}\n\n\t\treturn { success: true };\n\t} catch (error) {\n\t\tconsole.error(error);\n\t\treturn { success: false };\n\t}\n};\n","export const pascalToKebabCase = (input: string) => {\n\tlet result = '';\n\n\tfor (let i = 0; i < input.length; i++) {\n\t\tconst char = input[i];\n\t\tconst isUpperCase = char === char.toUpperCase() && char !== '-';\n\n\t\tif (i > 0 && isUpperCase) {\n\t\t\tresult += '-';\n\t\t}\n\n\t\tresult += char.toLowerCase();\n\t}\n\n\treturn result;\n};\n\nexport const camelToKebabCase = (input: string): string => {\n\tlet result = '';\n\n\tfor (let i = 0; i < input.length; i++) {\n\t\tconst char = input[i];\n\t\tif (char === char.toUpperCase() && i > 0) {\n\t\t\tresult += '-';\n\t\t}\n\t\tresult += char.toLowerCase();\n\t}\n\n\treturn result;\n};\n\nexport function loadStyle(src: string) {\n\treturn new Promise(function (resolve, reject) {\n\t\tlet link = document.createElement('link');\n\t\tlink.href = src;\n\t\tlink.rel = 'stylesheet';\n\n\t\tlink.onload = () => resolve(link);\n\t\tlink.onerror = () => reject(new Error(`Style load error for ${src}`));\n\n\t\tdocument.head.append(link);\n\t});\n}\n\nexport function loadScript(src: string) {\n\treturn new Promise(function (resolve, reject) {\n\t\tlet script = document.createElement('script');\n\t\tscript.src = src;\n\t\tscript.type = 'module';\n\n\t\tscript.onload = () => resolve(script);\n\t\tscript.onerror = () => reject(new Error(`Script load error for ${src}`));\n\n\t\tdocument.head.append(script);\n\t});\n}\n\n/**\n * Parses the given value if it is a string, otherwise returns the value as is.\n * IMPORTANT: There is a bug in Svelte - sometimes props are not being parsed by default, that's why this function is needed.\n * @param value - The value to parse.\n * @returns The parsed value if it is a string, otherwise the value itself.\n */\nexport const parseProp = <T>(value: T): T => {\n\treturn typeof value === 'string' ? JSON.parse(value) : value;\n};\n","import { camelToKebabCase } from '../../client/src/utils';\n\nexport const stringifyObjectValues = ({\n\toptions,\n\ttoKebabCase,\n}: {\n\toptions: Record<string, any>;\n\ttoKebabCase: boolean;\n}) => {\n\tconst obj = Object.entries(options).reduce<Record<string, string>>((acc, [key, value]) => {\n\t\tacc[toKebabCase ? camelToKebabCase(key) : key] =\n\t\t\ttypeof value !== 'string' ? JSON.stringify(value) : value;\n\n\t\treturn acc;\n\t}, {});\n\n\treturn obj;\n};\n","import type { BuilderBlock } from '@builder.io/sdk-svelte';\n\n/**\n * Creates tag for web components inside <se-caas>.\n * It's based on the tag property from Builder block component.\n *\n * @param block - The BuilderBlock object.\n * @returns An object containing the tag and tag with prefix.\n */\nexport const getTag = (block: BuilderBlock) => {\n\tif (!block.component) throw new Error('Builder block component is missing');\n\tif (!block.component.tag) throw new Error('Builder block component tag is missing');\n\n\tconst tag = block.component.tag;\n\tconst tagWithPrefix = `se-${tag}`;\n\n\treturn { tag, tagWithPrefix };\n};\n","import type { BuilderBlock } from '@builder.io/sdk-svelte';\nimport deepmerge from 'deepmerge';\n\nconst overwriteMerge = (destinationArray: any, sourceArray: any, options: any) => sourceArray;\n\nconst combineMerge = (target: any, source: any, options: any) => {\n\tconst destination = target.slice();\n\n\tsource.forEach((item: any, index: number) => {\n\t\tif (typeof destination[index] === 'undefined') {\n\t\t\tdestination[index] = options.cloneUnlessOtherwiseSpecified(item, options);\n\t\t} else if (options.isMergeableObject(item)) {\n\t\t\tdestination[index] = deepmerge(target[index], item, options);\n\t\t} else if (target.indexOf(item) === -1) {\n\t\t\tdestination.push(item);\n\t\t}\n\t});\n\treturn destination;\n};\n\ntype GetPropsWithOverridesArgs = {\n\tblock: BuilderBlock;\n\toverrides: Record<string, any> | undefined;\n\toverridesArraysMergeStrategy?: 'combine' | 'replace';\n\ttag: string;\n};\n\n/**\n * Retrieves the props with overrides for a given block.\n *\n * @param obj\n * @param obj.block - Builder block.\n * @param obj.overrides - Object with properties that will override the block properties.\n * @param obj.overridesArraysMergeStrategy - Strategy for merging arrays. Arrays can be combined or new array can override previous one.\n * @param obj.tag - The tag of the web component (overrides obj must use it).\n * @returns {object} - The props with overrides.\n */\nexport const getPropsWithOverrides = ({\n\tblock,\n\toverrides,\n\toverridesArraysMergeStrategy,\n\ttag,\n}: GetPropsWithOverridesArgs) => {\n\tif (!block.component) throw new Error('Builder block component is missing');\n\n\tlet propsToOverride = {};\n\n\tif (overrides) {\n\t\tconst overridesById = block.id ? overrides[block.id] : null;\n\t\tconst overridesByName = overrides[tag];\n\n\t\tif (overridesById) {\n\t\t\tpropsToOverride = overridesById;\n\t\t} else if (overridesByName) {\n\t\t\tpropsToOverride = overridesByName;\n\t\t}\n\t}\n\n\tconst props = block.component.options\n\t\t? {\n\t\t\t\t...(deepmerge(block.component.options, propsToOverride, {\n\t\t\t\t\tarrayMerge: overridesArraysMergeStrategy === 'replace' ? overwriteMerge : combineMerge,\n\t\t\t\t}) as Record<any, any>),\n\t\t\t}\n\t\t: {};\n\n\treturn props;\n};\n","/**\n * Return script url for web component based on the tag.\n * It will return different url for production and development - to make development easier.\n *\n * @param tag - Tag of web component (returned from `getTag` function).\n * @returns Script url for web component.\n */\nexport const getScriptUrl = (tag: string) => {\n\tconst scriptUrl = import.meta.env.VITE_ONLY_DEV_WC_CLIENT_DIST_URL\n\t\t? `${import.meta.env.VITE_ONLY_DEV_WC_CLIENT_DIST_URL}/${tag}.umd.js`\n\t\t: `${import.meta.env.VITE_APP_URL}/web-components/client/${tag}.umd.js`;\n\n\treturn scriptUrl;\n};\n","/**\n * Context for CAAS features to be used in Svelte components.\n */\nimport { getContext, setContext } from 'svelte';\n\nexport type CaasContext = {\n\tapiKey?: string;\n\ttarget?: Record<string, string> | undefined;\n\toverrides?: Record<string, any> | undefined;\n\toverridesArraysMergeStrategy?: 'combine' | 'replace' | undefined;\n\trenderedViaApi?: boolean;\n};\n\nconst contextId = 'caas';\n\nexport const setCaasContext = (caasContext: CaasContext | undefined) => {\n\tif (!caasContext) return;\n\n\treturn setContext<CaasContext>(contextId, caasContext || {});\n};\n\nexport const getCaasContext = () => {\n\treturn getContext<CaasContext>(contextId);\n};\n","<script lang=\"ts\">\n\timport type { BuilderBlock } from '@builder.io/sdk-svelte';\n\timport { loadScript } from './loadScript';\n\timport { stringifyObjectValues } from './utils';\n\timport { getTag } from '../get-tag';\n\timport { getPropsWithOverrides } from '../get-props-with-overrides';\n\timport { getScriptUrl } from '../get-script-url';\n\timport { getCaasContext } from '../caas-context';\n\timport type { BuilderAttributes } from '../types';\n\n\texport let attributes: BuilderAttributes | undefined = undefined;\n\texport let inlineStyles: string | undefined = undefined;\n\texport let block: BuilderBlock;\n\n\tconst caasOptions = getCaasContext();\n\tconst { tag, tagWithPrefix } = getTag(block);\n\tconst scriptUrl = getScriptUrl(tag);\n\n\t$: loadScript(scriptUrl);\n\n\tconst props = getPropsWithOverrides({\n\t\tblock,\n\t\toverrides: caasOptions?.overrides,\n\t\toverridesArraysMergeStrategy: caasOptions?.overridesArraysMergeStrategy,\n\t\ttag,\n\t});\n\n\t/**\n\t * Additional data that will be passed to the web component.\n\t */\n\tconst additionalProps = {\n\t\t'builder-block': JSON.stringify(block),\n\t\t'builder-attributes': JSON.stringify(attributes),\n\t\t'builder-inline-styles': inlineStyles,\n\t};\n</script>\n\n{#if block.component}\n\t<svelte:element\n\t\tthis={tagWithPrefix}\n\t\t{...additionalProps}\n\t\t{...stringifyObjectValues({\n\t\t\toptions: props,\n\t\t\ttoKebabCase: true,\n\t\t})}\n\t>\n\t</svelte:element>\n{/if}\n","import type { BuilderAttributes } from './types';\nimport type { BuilderBlock } from '@builder.io/sdk-svelte';\n\nexport function createBuilderAttributes(block: BuilderBlock): BuilderAttributes {\n\treturn {\n\t\tclass: 'builder-block',\n\t\tstyle: '',\n\t\t...(block.id && {\n\t\t\t'builder-id': block.id,\n\t\t\tclass: block.id + ' ' + 'builder-block',\n\t\t}),\n\t};\n}\n","import type { BuilderBlock } from '@builder.io/sdk-svelte';\n\nexport function isTechCommBlock(block: BuilderBlock) {\n\treturn Boolean(block.component?.tag?.startsWith('tc-'));\n}\n","import type { BuilderBlock } from '@builder.io/sdk-svelte';\n\n// https://github.com/BuilderIO/builder/blob/cb3cc9e053e0e71e97a78be6a4a7570d01a76ef6/packages/sdks/src/functions/camel-to-kebab-case.ts\nconst camelToKebabCase = (str?: string) =>\n\tstr ? str.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase() : '';\n\n// https://github.com/BuilderIO/builder/blob/cb3cc9e053e0e71e97a78be6a4a7570d01a76ef6/packages/sdks/src/helpers/nullable.ts\ntype Nullable<T> = T | null | undefined;\n\nconst checkIsDefined = <T>(maybeT: Nullable<T>): maybeT is T =>\n\tmaybeT !== null && maybeT !== undefined;\n\n// https://github.com/BuilderIO/builder/blob/cb3cc9e053e0e71e97a78be6a4a7570d01a76ef6/packages/sdks/src/helpers/css.ts\nconst convertStyleMapToCSSArray = (style: Partial<CSSStyleDeclaration>): string[] => {\n\tconst cssProps = Object.entries(style).map(([key, value]) => {\n\t\tif (typeof value === 'string') {\n\t\t\treturn `${camelToKebabCase(key)}: ${value};`;\n\t\t} else {\n\t\t\treturn undefined;\n\t\t}\n\t});\n\n\treturn cssProps.filter(checkIsDefined);\n};\n\nconst convertStyleMapToCSS = (style: Partial<CSSStyleDeclaration>): string =>\n\tconvertStyleMapToCSSArray(style).join('\\n');\n\nconst createCssClass = ({\n\tmediaQuery,\n\tclassName,\n\tstyles,\n}: {\n\tmediaQuery?: string;\n\tclassName: string;\n\tstyles: Partial<CSSStyleDeclaration>;\n}) => {\n\tconst cssClass = `.${className} {\n      ${convertStyleMapToCSS(styles)}\n    }`;\n\n\tif (mediaQuery) {\n\t\treturn `${mediaQuery} {\n        ${cssClass}\n      }`;\n\t} else {\n\t\treturn cssClass;\n\t}\n};\n\n// https://github.com/BuilderIO/builder/blob/cb3cc9e053e0e71e97a78be6a4a7570d01a76ef6/packages/sdks/src/constants/device-sizes.ts\ntype SizeName = 'large' | 'medium' | 'small';\n\ntype Size = {\n\tmin: number;\n\tdefault: number;\n\tmax: number;\n};\n\nconst SIZES: Record<SizeName, Size> = {\n\tsmall: {\n\t\tmin: 320,\n\t\tdefault: 321,\n\t\tmax: 640,\n\t},\n\tmedium: {\n\t\tmin: 641,\n\t\tdefault: 642,\n\t\tmax: 991,\n\t},\n\tlarge: {\n\t\tmin: 990,\n\t\tdefault: 991,\n\t\tmax: 1200,\n\t},\n};\n\nconst getMaxWidthQueryForSize = (size: SizeName, sizeValues = SIZES) =>\n\t`@media (max-width: ${sizeValues[size].max}px)`;\n\n// https://github.com/BuilderIO/builder/blob/cb3cc9e053e0e71e97a78be6a4a7570d01a76ef6/packages/sdks/src/components/block/components/block-styles.lite.tsx\nfunction getBlockStyles(processedBlock: BuilderBlock, sizeValues = SIZES) {\n\tconst styles = processedBlock.responsiveStyles;\n\n\tconst largeStyles = styles?.large;\n\tconst mediumStyles = styles?.medium;\n\tconst smallStyles = styles?.small;\n\n\tconst className = processedBlock.id;\n\n\tif (!className) {\n\t\treturn '';\n\t}\n\n\tconst largeStylesClass = largeStyles ? createCssClass({ className, styles: largeStyles }) : '';\n\n\tconst mediumStylesClass = mediumStyles\n\t\t? createCssClass({\n\t\t\t\tclassName,\n\t\t\t\tstyles: mediumStyles,\n\t\t\t\tmediaQuery: getMaxWidthQueryForSize('medium', sizeValues),\n\t\t\t})\n\t\t: '';\n\n\tconst smallStylesClass = smallStyles\n\t\t? createCssClass({\n\t\t\t\tclassName,\n\t\t\t\tstyles: smallStyles,\n\t\t\t\tmediaQuery: getMaxWidthQueryForSize('small', sizeValues),\n\t\t\t})\n\t\t: '';\n\n\tconst hoverAnimation =\n\t\tprocessedBlock.animations && processedBlock.animations.find((item) => item.trigger === 'hover');\n\n\tlet hoverStylesClass = '';\n\tif (hoverAnimation) {\n\t\tconst hoverStyles = hoverAnimation.steps?.[1]?.styles || {};\n\t\thoverStylesClass =\n\t\t\tcreateCssClass({\n\t\t\t\tclassName: `${className}:hover`,\n\t\t\t\tstyles: {\n\t\t\t\t\t...hoverStyles,\n\t\t\t\t\ttransition: `all ${hoverAnimation.duration}s ${camelToKebabCase(hoverAnimation.easing)}`,\n\t\t\t\t\ttransitionDelay: hoverAnimation.delay ? `${hoverAnimation.delay}s` : '0s',\n\t\t\t\t},\n\t\t\t}) || '';\n\t}\n\n\treturn [largeStylesClass, mediumStylesClass, smallStylesClass, hoverStylesClass].join(' ');\n}\n\nexport function getInlineStyles(processedBlock: BuilderBlock) {\n\treturn `<style data-id=\"builderio-block\">${getBlockStyles(processedBlock)}</style>`;\n}\n","<script lang=\"ts\">\n\timport WebComponentBlock from '@se/web-components/src/blocks-handler/WebComponentBlock.svelte';\n\timport { createBuilderAttributes } from '@se/web-components/src/create-builder-attributes';\n\timport { isTechCommBlock } from '@se/web-components/src/is-tech-comm-block';\n\timport { getInlineStyles } from '@se/web-components/src/get-inline-styles';\n\timport { Blocks, type BuilderBlock, type BlocksProps } from '@builder.io/sdk-svelte';\n\timport { getCaasContext } from '@se/web-components';\n\timport { onMount } from 'svelte';\n\timport { fetchSymbol } from '@se/web-components/ssr/src';\n\timport { useNestedDynamicHeadings } from '../../../modules/dynamic-heading';\n\n\t// There might be a weird issue with the BlocksProps type.\n\t// It seems that they are being overridden at some point by less specific ones from the blocks-wrapper props.\n\t// Modified version of @builder.io/sdk-svelte/lib/browser/components/blocks/blocks.svelte\n\ttype $$Props = {\n\t\tblocks: BuilderBlock[];\n\t\tparent?: string;\n\t\tpath?: string;\n\t\tstyleProp?: BlocksProps['styleProp'];\n\t\tclassName?: BlocksProps['className'];\n\t\tcontext?: BlocksProps['context'];\n\t\tlinkComponent?: BlocksProps['linkComponent'];\n\t\tregisteredComponents?: BlocksProps['registeredComponents'];\n\t};\n\n\texport let blocks: BuilderBlock[];\n\texport let parent: string | undefined = undefined;\n\texport let path: string | undefined = undefined;\n\texport let styleProp: Record<string, any> | undefined = undefined;\n\texport let className: $$Props['className'] = undefined;\n\texport let context: $$Props['context'] = undefined;\n\texport let linkComponent: $$Props['linkComponent'] = undefined;\n\texport let registeredComponents: $$Props['registeredComponents'] = undefined;\n\n\tlet finalBlocks: BuilderBlock[] = [];\n\n\tconst caasOptions = getCaasContext();\n\n\tuseNestedDynamicHeadings();\n\n\tonMount(async () => {\n\t\tif (!import.meta.env.VITE_WC_BUILD) return;\n\n\t\tlet readyBlocks: BuilderBlock[] = [];\n\n\t\tconst handleBlocks = async (blocks: BuilderBlock[]) => {\n\t\t\tfor (const block of blocks) {\n\t\t\t\tif (!block.component) continue;\n\n\t\t\t\tif (block?.component?.name === 'Symbol') {\n\t\t\t\t\tlet symbolBlocks: BuilderBlock[] | undefined = undefined;\n\n\t\t\t\t\tif (block.component?.options?.symbol?.content) {\n\t\t\t\t\t\tsymbolBlocks = block.component?.options?.symbol?.content?.data?.blocks || undefined;\n\t\t\t\t\t} else if (caasOptions?.apiKey) {\n\t\t\t\t\t\tsymbolBlocks = await fetchSymbol({\n\t\t\t\t\t\t\tapiKey: caasOptions.apiKey,\n\t\t\t\t\t\t\tentryId: block.component.options.symbol.entry,\n\t\t\t\t\t\t\ttarget: caasOptions?.target,\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tif (symbolBlocks) await handleBlocks(symbolBlocks);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\treadyBlocks.push(block);\n\t\t\t}\n\t\t};\n\n\t\tawait handleBlocks(blocks);\n\t\tfinalBlocks = readyBlocks;\n\t});\n</script>\n\n{#if import.meta.env.VITE_WC_BUILD || caasOptions?.renderedViaApi}\n\t{#if finalBlocks.length > 0}\n\t\t{#each finalBlocks as block}\n\t\t\t{#if isTechCommBlock(block)}\n\t\t\t\t<WebComponentBlock\n\t\t\t\t\t{block}\n\t\t\t\t\tattributes={createBuilderAttributes(block)}\n\t\t\t\t\tinlineStyles={getInlineStyles(block)}\n\t\t\t\t/>\n\t\t\t{:else}\n\t\t\t\t<WebComponentBlock {block} />\n\t\t\t{/if}\n\t\t{/each}\n\t{/if}\n{:else}\n\t<Blocks\n\t\t{blocks}\n\t\t{parent}\n\t\t{path}\n\t\t{styleProp}\n\t\t{className}\n\t\t{context}\n\t\t{linkComponent}\n\t\t{registeredComponents}\n\t/>\n{/if}\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n  // 'm' and 'r' are mixing constants generated offline.\n  // They're not really 'magic', they just happen to work well.\n  // const m = 0x5bd1e995;\n  // const r = 24;\n  // Initialize the hash\n  var h = 0; // Mix 4 bytes at a time into the hash\n\n  var k,\n      i = 0,\n      len = str.length;\n\n  for (; len >= 4; ++i, len -= 4) {\n    k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n    k =\n    /* Math.imul(k, m): */\n    (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n    k ^=\n    /* k >>> r: */\n    k >>> 24;\n    h =\n    /* Math.imul(k, m): */\n    (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n    /* Math.imul(h, m): */\n    (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n  } // Handle the last few bytes of the input array\n\n\n  switch (len) {\n    case 3:\n      h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n    case 2:\n      h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n    case 1:\n      h ^= str.charCodeAt(i) & 0xff;\n      h =\n      /* Math.imul(h, m): */\n      (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n  } // Do a few final mixes of the hash to ensure the last few\n  // bytes are well-incorporated.\n\n\n  h ^= h >>> 13;\n  h =\n  /* Math.imul(h, m): */\n  (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n  return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n","var unitlessKeys = {\n  animationIterationCount: 1,\n  aspectRatio: 1,\n  borderImageOutset: 1,\n  borderImageSlice: 1,\n  borderImageWidth: 1,\n  boxFlex: 1,\n  boxFlexGroup: 1,\n  boxOrdinalGroup: 1,\n  columnCount: 1,\n  columns: 1,\n  flex: 1,\n  flexGrow: 1,\n  flexPositive: 1,\n  flexShrink: 1,\n  flexNegative: 1,\n  flexOrder: 1,\n  gridRow: 1,\n  gridRowEnd: 1,\n  gridRowSpan: 1,\n  gridRowStart: 1,\n  gridColumn: 1,\n  gridColumnEnd: 1,\n  gridColumnSpan: 1,\n  gridColumnStart: 1,\n  msGridRow: 1,\n  msGridRowSpan: 1,\n  msGridColumn: 1,\n  msGridColumnSpan: 1,\n  fontWeight: 1,\n  lineHeight: 1,\n  opacity: 1,\n  order: 1,\n  orphans: 1,\n  tabSize: 1,\n  widows: 1,\n  zIndex: 1,\n  zoom: 1,\n  WebkitLineClamp: 1,\n  // SVG-related properties\n  fillOpacity: 1,\n  floodOpacity: 1,\n  stopOpacity: 1,\n  strokeDasharray: 1,\n  strokeDashoffset: 1,\n  strokeMiterlimit: 1,\n  strokeOpacity: 1,\n  strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","function memoize(fn) {\n  var cache = Object.create(null);\n  return function (arg) {\n    if (cache[arg] === undefined) cache[arg] = fn(arg);\n    return cache[arg];\n  };\n}\n\nexport { memoize as default };\n","import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar isDevelopment = false;\n\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n  return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n  return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n  return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n  switch (key) {\n    case 'animation':\n    case 'animationName':\n      {\n        if (typeof value === 'string') {\n          return value.replace(animationRegex, function (match, p1, p2) {\n            cursor = {\n              name: p1,\n              styles: p2,\n              next: cursor\n            };\n            return p1;\n          });\n        }\n      }\n  }\n\n  if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n    return value + 'px';\n  }\n\n  return value;\n};\n\nvar noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n  if (interpolation == null) {\n    return '';\n  }\n\n  var componentSelector = interpolation;\n\n  if (componentSelector.__emotion_styles !== undefined) {\n\n    return componentSelector;\n  }\n\n  switch (typeof interpolation) {\n    case 'boolean':\n      {\n        return '';\n      }\n\n    case 'object':\n      {\n        var keyframes = interpolation;\n\n        if (keyframes.anim === 1) {\n          cursor = {\n            name: keyframes.name,\n            styles: keyframes.styles,\n            next: cursor\n          };\n          return keyframes.name;\n        }\n\n        var serializedStyles = interpolation;\n\n        if (serializedStyles.styles !== undefined) {\n          var next = serializedStyles.next;\n\n          if (next !== undefined) {\n            // not the most efficient thing ever but this is a pretty rare case\n            // and there will be very few iterations of this generally\n            while (next !== undefined) {\n              cursor = {\n                name: next.name,\n                styles: next.styles,\n                next: cursor\n              };\n              next = next.next;\n            }\n          }\n\n          var styles = serializedStyles.styles + \";\";\n\n          return styles;\n        }\n\n        return createStringFromObject(mergedProps, registered, interpolation);\n      }\n\n    case 'function':\n      {\n        if (mergedProps !== undefined) {\n          var previousCursor = cursor;\n          var result = interpolation(mergedProps);\n          cursor = previousCursor;\n          return handleInterpolation(mergedProps, registered, result);\n        }\n\n        break;\n      }\n  } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n  var asString = interpolation;\n\n  if (registered == null) {\n    return asString;\n  }\n\n  var cached = registered[asString];\n  return cached !== undefined ? cached : asString;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n  var string = '';\n\n  if (Array.isArray(obj)) {\n    for (var i = 0; i < obj.length; i++) {\n      string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n    }\n  } else {\n    for (var key in obj) {\n      var value = obj[key];\n\n      if (typeof value !== 'object') {\n        var asString = value;\n\n        if (registered != null && registered[asString] !== undefined) {\n          string += key + \"{\" + registered[asString] + \"}\";\n        } else if (isProcessableValue(asString)) {\n          string += processStyleName(key) + \":\" + processStyleValue(key, asString) + \";\";\n        }\n      } else {\n        if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {\n          throw new Error(noComponentSelectorMessage);\n        }\n\n        if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n          for (var _i = 0; _i < value.length; _i++) {\n            if (isProcessableValue(value[_i])) {\n              string += processStyleName(key) + \":\" + processStyleValue(key, value[_i]) + \";\";\n            }\n          }\n        } else {\n          var interpolated = handleInterpolation(mergedProps, registered, value);\n\n          switch (key) {\n            case 'animation':\n            case 'animationName':\n              {\n                string += processStyleName(key) + \":\" + interpolated + \";\";\n                break;\n              }\n\n            default:\n              {\n\n                string += key + \"{\" + interpolated + \"}\";\n              }\n          }\n        }\n      }\n    }\n  }\n\n  return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;\\n{]+)\\s*(;|$)/g;\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\nfunction serializeStyles(args, registered, mergedProps) {\n  if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n    return args[0];\n  }\n\n  var stringMode = true;\n  var styles = '';\n  cursor = undefined;\n  var strings = args[0];\n\n  if (strings == null || strings.raw === undefined) {\n    stringMode = false;\n    styles += handleInterpolation(mergedProps, registered, strings);\n  } else {\n    var asTemplateStringsArr = strings;\n\n    styles += asTemplateStringsArr[0];\n  } // we start at 1 since we've already handled the first arg\n\n\n  for (var i = 1; i < args.length; i++) {\n    styles += handleInterpolation(mergedProps, registered, args[i]);\n\n    if (stringMode) {\n      var templateStringsArr = strings;\n\n      styles += templateStringsArr[i];\n    }\n  }\n\n\n  labelPattern.lastIndex = 0;\n  var identifierName = '';\n  var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n  while ((match = labelPattern.exec(styles)) !== null) {\n    identifierName += '-' + match[1];\n  }\n\n  var name = hashString(styles) + identifierName;\n\n  return {\n    name: name,\n    styles: styles,\n    next: cursor\n  };\n}\n\nexport { serializeStyles };\n"],"names":["waitForExistingScriptToLoad","script","resolve","reject","injectScript","src","loadScript","scriptUrl","error","camelToKebabCase","input","result","i","char","stringifyObjectValues","options","toKebabCase","acc","key","value","getTag","block","tag","tagWithPrefix","overwriteMerge","destinationArray","sourceArray","combineMerge","target","source","destination","item","index","deepmerge","getPropsWithOverrides","overrides","overridesArraysMergeStrategy","propsToOverride","overridesById","overridesByName","getScriptUrl","contextId","setCaasContext","caasContext","setContext","getCaasContext","getContext","ctx","create_dynamic_element","svelte_element","insert_hydration","anchor","if_block","create_if_block","attributes","$$props","inlineStyles","caasOptions","props","additionalProps","createBuilderAttributes","isTechCommBlock","_b","_a","str","checkIsDefined","maybeT","convertStyleMapToCSSArray","style","convertStyleMapToCSS","createCssClass","mediaQuery","className","styles","cssClass","SIZES","getMaxWidthQueryForSize","size","sizeValues","getBlockStyles","processedBlock","largeStyles","mediumStyles","smallStyles","largeStylesClass","mediumStylesClass","smallStylesClass","hoverAnimation","hoverStylesClass","hoverStyles","getInlineStyles","create_if_block_1","each_blocks","dirty","show_if","blocks","parent","path","styleProp","context","linkComponent","registeredComponents","finalBlocks","useNestedDynamicHeadings","onMount","murmur2","h","k","len","unitlessKeys","memoize","fn","cache","arg","isDevelopment","hyphenateRegex","animationRegex","isCustomProperty","property","isProcessableValue","processStyleName","styleName","processStyleValue","match","p1","p2","cursor","unitless","noComponentSelectorMessage","handleInterpolation","mergedProps","registered","interpolation","componentSelector","keyframes","serializedStyles","next","createStringFromObject","asString","obj","string","_i","interpolated","labelPattern","serializeStyles","args","stringMode","strings","asTemplateStringsArr","templateStringsArr","identifierName","name","hashString"],"mappings":"uiBAAA,MAAMA,GAA8B,MAAOC,GACnC,IAAI,QAAc,SAAUC,EAASC,EAAQ,CAC5CF,EAAA,OAAS,IAAMC,IACfD,EAAA,QAAU,IAAME,EAAO,IAAI,MAAM,yBAAyBF,EAAO,GAAG,EAAE,CAAC,CAAA,CAC9E,EAGIG,GAAgBC,GACd,IAAI,QAAc,SAAUH,EAASC,EAAQ,CAC/C,IAAAF,EAAS,SAAS,cAAc,QAAQ,EAC5CA,EAAO,IAAMI,EAENJ,EAAA,OAAS,IAAMC,IACfD,EAAA,QAAU,IAAME,EAAO,IAAI,MAAM,yBAAyBE,CAAG,EAAE,CAAC,EAE9D,SAAA,KAAK,OAAOJ,CAAM,CAAA,CAC3B,EAGWK,GAAa,MAAOC,GAAsB,CAClD,GAAA,CAEH,MAAMN,EADU,MAAM,KAAK,SAAS,iBAAiB,QAAQ,CAAC,EACvC,KAAMA,GAAWA,EAAO,MAAQM,CAAS,EAEhE,OAAIN,EACH,MAAMD,GAA4BC,CAAM,EAExC,MAAMG,GAAaG,CAAS,EAGtB,CAAE,QAAS,UACVC,EAAO,CACf,eAAQ,MAAMA,CAAK,EACZ,CAAE,QAAS,GACnB,CACD,EClBaC,GAAoBC,GAA0B,CAC1D,IAAIC,EAAS,GAEb,QAASC,EAAI,EAAGA,EAAIF,EAAM,OAAQE,IAAK,CAChC,MAAAC,EAAOH,EAAME,CAAC,EAChBC,IAASA,EAAK,YAAY,GAAKD,EAAI,IAC5BD,GAAA,KAEXA,GAAUE,EAAK,aAChB,CAEO,OAAAF,CACR,EC3BaG,GAAwB,CAAC,CACrC,QAAAC,EACA,YAAAC,CACD,IAIa,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