{"version":3,"file":"shared.BiTdR4gp.mjs","names":["React__default","React__default","isFunction","serialize","getTimestamp","noop","React__default","useIsomorphicLayoutEffect","useEffect","useLayoutEffect","cache","mergeConfigs","createContext","SWRConfig","useContext","useMemo","useRef","createElement","use","normalize","middleware","React__default","serialize","useRef","useMemo","useCallback","getTimestamp","isFunction","throwFailError","isFunction","getQueryParams","env","env","env","env$1","env$2","env$3","assign","init","isWebview","__defProp","__defNormalProp","__publicField","isWebview","__defProp","__defNormalProp","__publicField","__defProp","__defNormalProp","__publicField","injectAuthHeader","throwFailError","toDate","toDate","formatDistanceLocale","formatDistance","formatLong","formatRelativeLocale","formatRelative","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","localize","match","toDate","getTimezoneOffsetInMilliseconds","toDate","getTimezoneOffsetInMilliseconds","toDate","toDate","toDate","toDate","toDate","toDate","toDate","isValid","toDate","match","format","toDate","isValid","splitDateString","parseYear","parseDate","parseTime","patterns","validateWeekDate","dayOfISOWeekYear","validateDate","validateDayOfYearDate","validateTime","validateTimezone","isLeapYearIndex","__defProp","__defNormalProp","__publicField","forwardRef","containerStyle","deepEqual","isObject","DEFAULT_ENTRY_NAME","LogLevel","Logger","wrap","wrap","name3","ERROR_FACTORY","deepEqual","getDbPromise","dbPromise","version$1","logger","Logger","name$1","name","ERROR_FACTORY","getHeaders","encode","getKey","remove","name","version","setUserId$1","logger","deepEqual","setUserId","logEvent","version","Logger","throwFailError","throwFailError","throwFailError","throwFailError","throwFailError","isObject","cache","isObject","options","__defProp","__defNormalProp","__publicField","toDate","isEqual","toDate","throwFailError","isValid","isEqual","buffer","i","Buffer","Buffer$1","__extends","__awaiter","__generator","__values","__read","__spreadArray","extendStatics","__assign","bytesToUuid","i","v1","rng","bytesToUuid","v4","__spreadArray","logger","label","__assign","version$1","version","global","sha1","sha1$1","Buffer","sha1","hash","__assign","isString","isInteger","addEventListener","__spreadArray","hash","setUserId","version","e","t","n","o","i","a","__rest","__rest","React__default","useState","useRef","useCallback","serialize","getTimestamp","define_import_meta_env_default","React__default","React__default","identity","define_import_meta_env_default","React__default","initialState","initialState","createContext","useContext","createContext","initialState","container","wrapper","title","content","button","styles","__defProp","__defNormalProp","__publicField","EventEmitter","Buffer$1","__defProp","__defNormalProp","__publicField","useMemo","useCurrentUser","useCurrentUser","useMemo","getQueryParams","getQueryParams","useCurrentUser","useRef","useCurrentUser","createContext","map","useContext","map","useRef","Fragment","document","Fragment","Fragment","remove","comment","filter","Fragment","index","useMemo","forwardRef","useContext","index","hash","React__default$1","isString","index","css","isObject","forwardRef","Button","getIconType","getIconFill","iconSizeByButtonSize","contentStyle","Default","forwardRef","containerStyle","containerStyleByBreakpoint","wrapperStyle","wrapperStyleByBreakpoint","iconColorByTheme","titleStyle","descriptionStyle","Default","noop","createContext","useContext","useRef","useState","HEX_CHARS","__spreadValues","__objRest","_a","createStackParser","WEBPACK_ERROR_REGEXP","STACKTRACE_FRAME_LIMIT","STRIP_FRAME_REGEXP","getLastStackFrame","UNKNOWN_FUNCTION","createFrame","defaultStackLineParsers","generateTraceId","generateSpanId","__defProp","__getOwnPropSymbols","__hasOwnProp","__propIsEnum","__defNormalProp","__publicField","Scope","DEFAULT_LEVEL","CHROME_PRIORITY","GECKO_PRIORITY","chromeRegexNoFnName","chromeRegex","chromeEvalRegex","chromeStackParserFn","extractSafariExtensionDetails","chromeStackLineParser","geckoREgex","geckoEvalRegex","gecko","compile","s","r","__defProp","__defNormalProp","__publicField","t","e","n","o","i","a","c","u","f","l","d","h","m","g","p","y","v","b","M","T","E","D","L","S","P","w","k","_","F","B","O","C","j","I","A","W","q","x","N","$","H","R","U","V","x","kt","He","Be","Pt","Ot","D","Me","ce","Fe","Ne","le","q","Ft","oe","ue","O","Ue","Bt","Nt","Ut","f","M","j","de","he","fe","$","C","je","ge","G","$e","z","Ke","ve","Ge","we","Te","_e","xe","Re","F","w","We","Xe","hr","S","g","ze","J","Ye","Y","N","y","Le","Je","m","Qe","H","Ze","et","tt","Z","nt","it","st","U","l","se","It","Lt","Ct","At","ae","qe","P","generateTraceId","H$1","w$1","P$1","x$1","V","generateSpanId","on","Scope","ye","Ve","W","Se","STRIP_FRAME_REGEXP","useRef","useCallback","useMemo","isObject","hasOwnProperty","symToStringTag","nativeObjectToString","objectProto","objectToString","objectToString","symbolTag","isObject","FUNC_ERROR_TEXT","isObject","nativeMax","Breakpoint","Breakpoint","createContext","useRef","throwFailError","useState","createContext","useState","useMemo","useContext","useRef","useMemo","createContext","Root","forwardRef","containerStyle","Image","forwardRef","containerStyle","containerStyleByBreakpoint","useState","useIsomorphicLayoutEffect","useLayoutEffect","useEffect","useRef","useCallback","useRef","useState","useCallback","forwardRef","useMemo","posterWidthByBreakpoint","mediaByBreakpoint","containerStyle","Video","useRef","useContext","filter","from","copy","slice","delimiter","from","from","copy","filter","Content","withStyle","forwardRef","classNames","wrapperStyle","wrapperStyleByBreakpoint","contentStyle","Title","forwardRef","skeletonStyle","skeletonStyleByPriority","skeletonStyleByTheme","containerStyle","textColor","Description","forwardRef","skeletonStyle","skeletonStyleByTheme","containerStyle","containerStyleByPriority","Action","forwardRef","containerStyle","forwardRef","containerStyle","containerStyleByTheme","forwardRef","containerStyle","Headline","Headline","Default","forwardRef","useRef","useMemo","initialState","Default","useReducer","useRef","useState","useCallback","container","styles","container","styles","transition","styles","memo","useState","styles","container","styles","toDate","Fragment","styles","useMemo","format","initialState","useMemo","attachAdditionalQuery","Headline","re","patterns","MILLISECONDS_IN_HOUR","MILLISECONDS_IN_MINUTE","parseTime","toDate","toDate","isEqual","orderByDateAsc","getCurrentScheduleIndex","format","useMemo","COUPON_CONTROLS","useContext","throwFailError","format","toDate","toDate","toDate","format","throwFailError","formatProducts","orderByDateAsc","getCurrentScheduleIndex","container","wrapper","styles","container","text","styles","Children","styles","useState","Children","styles","Default","container","styles","styles","container","styles","styles","copyToClipboard","ShareIcon","clamp","computePosition","arrow","clamp","flip","offset","getWindow","isElement","isHTMLElement","isShadowRoot","getComputedStyle","getComputedStyle","isHTMLElement","isElement","getWindow","offset","flip","arrow","arrow$1","useLatestRef","React.useRef","useFloating","React.useState","React.useCallback","React.useMemo","index","useLayoutEffect","offset$1","flip$1","React.useState","isElement","useRef","React.useRef","React.useCallback","React.useMemo","getAncestors","React.Fragment","index","useLayoutEffect","useEffect","React","React.useContext","r","n","e","o","i","A","a","S","useMemo","r","i","y","l","u","x","a","p","g","isLength","isImage","getDefaultConfig","ie","_","M","y","R","v","q","j","u","Z","ce","p","x","a","g","l","u$1","le","f","r","l","d","p","x","r","o","i","l","e","e","e$1","l","r","e","i","t","o","r","n","h","n","x","d","o","i","p","x$1","n","r","x","o","n","c","ie","g","le","p","j","a","g","n","g","a","r","i","r","a","lazy","r","g","memo","useMemo","j","v","forwardRef","Suspense","N","g","E","forwardRef","m","v","n","createContext","S","useContext","e","R","S","useMemo","e","l","g","p","n","a","useState","t","l","s","c","l","s","t","d","g","k","forwardRef","i","r","o","g","p","s","d","n","w","n","c","p","s","t","v","React__default","_","d","k","H","forwardRef","a","o","M","forwardRef","R","l","S","v","E","H","r","forwardRef","containerStyle","useMemo","useCurrentUser","useCallback","useState","E","H","M","useCallback","noop","useState","useMemo","useMemo","LocalStorage","localStorage","useCallback","localStorage","useSyncExternalStore","useMemo","useCallback","useState","useMemo","useState","useState","Fragment","buttonStyle","L","S","useMemo","e","o","g","n","p","I","forwardRef","o","L","S","H","r","E","__defProp","__defNormalProp","__publicField","useState","Fragment","I","useCallback","useCallback","Fragment","E","useState","useCallback","Fragment","E","useCurrentUser","useState","useRef","getQueryParams","useCurrentUser","Fragment","buttonStyle","ShareIcon","containerStyle","__defProp","__defNormalProp","__publicField","useRef","shouldFetch","useCurrentUser","useCallback","i","l","r","n","o","d","g","s","x","f","b","B","C","m","E","forwardRef","f","O","memo","f","g","w","y","v","p","a","g","e","i","i$1","v","g","f","forwardRef","v$1","i","memo","t","g","k","forwardRef","a","t","t$1","v","isValidElement","k$1","i","g","h","memo","useCallback","k","w","E","forwardRef","a","p","F","G","M","h","O","memo","i","y","O$1","m","b","g","h","E","j","f","forwardRef","f","forwardRef","h","forwardRef","h","forwardRef","i","forwardRef","s","forwardRef","a","forwardRef","a","forwardRef","d","forwardRef","d","forwardRef","a","forwardRef","a","forwardRef","d","forwardRef","d","forwardRef","h","forwardRef","h","forwardRef","h","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","d","forwardRef","n","forwardRef","d","forwardRef","h","forwardRef","s","forwardRef","s","forwardRef","d","forwardRef","f","forwardRef","s","forwardRef","s","forwardRef","d","forwardRef","d","forwardRef","c","forwardRef","d","forwardRef","n","forwardRef","d","forwardRef","n","forwardRef","s","forwardRef","v","forwardRef","v","forwardRef","n","forwardRef","n","forwardRef","d","forwardRef","a","forwardRef","n","forwardRef","n","forwardRef","h","forwardRef","n","forwardRef","d","forwardRef","d","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","n","forwardRef","n","forwardRef","d","forwardRef","d","forwardRef","d","forwardRef","d","forwardRef","n","forwardRef","n","forwardRef","d","forwardRef","d","forwardRef","n","forwardRef","n","forwardRef","d","forwardRef","d","forwardRef","n","forwardRef","n","forwardRef","d","forwardRef","d","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","a","forwardRef","s","forwardRef","d","forwardRef","s","forwardRef","s","forwardRef","d","forwardRef","d","forwardRef","c","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","h","forwardRef","i","forwardRef","a","forwardRef","o","forwardRef","d","forwardRef","d","forwardRef","f","forwardRef","f","forwardRef","d","forwardRef","d","forwardRef","n","forwardRef","n","forwardRef","h","forwardRef","n","forwardRef","h","forwardRef","v","forwardRef","n","forwardRef","n","forwardRef","n","forwardRef","n","forwardRef","s","forwardRef","v","forwardRef","i","forwardRef","v","forwardRef","i","forwardRef","f","forwardRef","n","forwardRef","f","forwardRef","n","forwardRef","n","forwardRef","s","forwardRef","s","forwardRef","c","forwardRef","c","forwardRef","o","forwardRef","h","forwardRef","n","forwardRef","n","forwardRef","n","forwardRef","n","forwardRef","l","forwardRef","n","forwardRef","h","forwardRef","h","forwardRef","f","forwardRef","h","forwardRef","n","forwardRef","n","forwardRef","n","forwardRef","n","forwardRef","c","forwardRef","h","forwardRef","i","forwardRef","v","forwardRef","h","forwardRef","s","forwardRef","s","forwardRef","n","forwardRef","n","forwardRef","a","forwardRef","n","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","t","forwardRef","r","forwardRef","forwardRef","c","forwardRef","v","forwardRef","s","forwardRef","n","forwardRef","d","forwardRef","n","forwardRef","n","forwardRef","i","forwardRef","n","forwardRef","i","forwardRef","i","forwardRef","v","forwardRef","v","forwardRef","h","forwardRef","s","forwardRef","a","forwardRef","d","forwardRef","h","forwardRef","i","forwardRef","a","forwardRef","a","forwardRef","v","forwardRef","c","forwardRef","v","forwardRef","forwardRef","h","forwardRef","n","forwardRef","n","forwardRef","s","forwardRef","s","forwardRef","h","forwardRef","n","forwardRef","s","forwardRef","s","forwardRef","h","forwardRef","s","forwardRef","n","forwardRef","n","forwardRef","n","forwardRef","s","forwardRef","s","forwardRef","d","forwardRef","d","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","s","forwardRef","forwardRef","c","forwardRef","s","forwardRef","n","forwardRef","n","forwardRef","c","forwardRef","d","forwardRef","d","forwardRef","n","forwardRef","a","forwardRef","s","forwardRef","i","forwardRef","n","forwardRef","n","forwardRef","n","forwardRef","c","forwardRef","n","forwardRef","n","forwardRef","n","forwardRef","s","forwardRef","s","forwardRef","h","forwardRef","d","forwardRef","v","forwardRef","h","forwardRef","s","forwardRef","d","forwardRef","i","forwardRef","a","forwardRef","i","forwardRef","s","forwardRef","d","forwardRef","d","forwardRef","d","forwardRef","s","forwardRef","f","forwardRef","f","forwardRef","r","forwardRef","t","forwardRef","t","forwardRef","h","forwardRef","forwardRef","n","forwardRef","n","forwardRef","f","forwardRef","f","forwardRef","f","forwardRef","f","forwardRef","n","forwardRef","n","forwardRef","s","forwardRef","v","forwardRef","d","forwardRef","v","forwardRef","d","forwardRef","i","forwardRef","s","forwardRef","i","forwardRef","d","forwardRef","i","forwardRef","n","forwardRef","h","forwardRef","v","forwardRef","d","forwardRef","h","forwardRef","f","forwardRef","n","forwardRef","n","forwardRef","i","forwardRef","i","forwardRef","i","forwardRef","forwardRef","forwardRef","c","forwardRef","s","index","n","w","g","z","C","m","N","R","b","s$1","n","s","O","z","g","R","m","z$1","I","n$1","s$1","n","s","O","N","g","z","forwardRef","R","j","x","a","g","a","W","U","x","E","i","y","O","s","i$1","n","g","x","forwardRef","k","O","g","C","A","useCallback","m","$","q","x","s$1","n","s","O$1","O","g","N","forwardRef","A","a","g","_","forwardRef","j$1","a$1","a","C","j","O","g","P","useCallback","$","x","s","s$1","n","s$2","O$1","g","N","forwardRef","REQUEST_TYPE","toDate","useCurrentUser","useState","useMemo","childrenContainer","useRef","useState","childrenContainer","css","useStyles","useState","css","Default","css","useRef","useState","Fragment","createPortal","css","createContext","useContext","useState","useMemo","TabBarItem","withStyle","classNames","transition","withStyle","useRef","useState","useMemo","getAbsoluteOffsetTop","classNames","TabBarItem","text","styles","styles","container","styles","styles","toRGBA","shouldShowTabItem","filterVisibleTabItems","TabBarItem","withStyle","classNames","toRGBA","extractRequiredSegments","createCanvasSegmentState","createRealSegmentState","useTabBarSegments","useMemo","useLayoutEffect","useEffect","useState","useMemo","noop","transition","withStyle","useState","useRef","useMeasure","useTabBarSegments","useCurrentUser","useMemo","filterVisibleTabItems","backgroundColorByTheme","textColorByTheme","toRGBA","getAbsoluteOffsetTop","clamp","classNames","TabBarItem","TabBarItem","withStyle","classNames","toRGBA","shouldShowTabItem","filterVisibleTabItems","extractRequiredSegments","createCanvasSegmentState","createRealSegmentState","useTabBarSegments","useMemo","transition","backgroundColorByTheme","textColorByTheme","unselectedTextColorByTheme","stickyBorderColorByTheme","getAbsoluteOffsetTop","clamp","withStyle","useTabBarSegments","useCurrentUser","useState","useRef","useMeasure","useMemo","filterVisibleTabItems","toRGBA","useCallback","classNames","TabBarItem","withStyle","classNames","useState","useRef","useMemo","getAbsoluteOffsetTop","withStyle","useCurrentUser","useRef","useMeasure","useMemo","useCallback","classNames","cardStyle","toDate","React__default","useRef","useMemo","cardStyle","z","_","O","N","N$1","format","Breakpoint","withStyle","Breakpoint","classNames","Default","Breakpoint","useRef","forwardRef","useProducts","useState","useRef","useProducts","Products","Breakpoint","ReactDOM__default","styles","__defProp","__defNormalProp","__publicField","M","S","useMemo","e","S$1","D","g","a","k","w","G","forwardRef","M","S","H","E","forwardRef","useRef","G","M","useState","Fragment","container","text","__extends","__awaiter","__generator","__read","extendStatics","__assign","VERSION","getLanguage","VERSION","__awaiter","__generator","__assign","getLanguage","__awaiter","__generator","getGlobalScope","LocalStorage","getGlobalScope","__awaiter","__generator","getGlobalScope","__awaiter","__generator","__awaiter","__generator","getGlobalScope","__awaiter","__generator","__read","decode","PREFIX","__extends","__rest","__awaiter","__generator","__read","extendStatics","__assign","__awaiter","__generator","__awaiter","__generator","__values","__read","__spreadArray","__assign","__awaiter","__generator","getGlobalScope","__assign","__awaiter","__generator","getGlobalScope","LocalStorage","createTransport","__awaiter","__generator","__assign","__awaiter","__generator","getGlobalScope","__awaiter","__generator","getGlobalScope","getGlobalScope","__awaiter","__generator","__awaiter","__generator","__values","__assign","MAX_RETRIES_EXCEEDED_MESSAGE","UNEXPECTED_ERROR_MESSAGE","__awaiter","__generator","__values","__assign","createRemoteConfigFetch","__awaiter","__generator","__assign","__assign","isEqual","safeGlobal","__assign","__values","__assign","__assign","__awaiter","__generator","__read","__values","__assign","__assign","__awaiter","__generator","__values","__awaiter","__generator","__values","__read","__spreadArray","__assign","__assign","config","__spreadArray","__read","classNames","__values","__generator","__values","__read","isFunction","isFunction","isFunction","__values","__spreadArray","__read","__spreadArray","__read","noop","isFunction","noop","__spreadArray","__read","isArrayLike","isFunction","identity","identity","isFunction","isFunction","isFunction","isFunction","__generator","isFunction","isArrayLike","isFunction","__values","__awaiter","__generator","isFunction","identity","isFunction","last","isFunction","isArrayLike","merge","noop","noop","__read","merge","__values","timeout","merge","__spreadArray","__read","timeout","isArray","__spreadArray","__read","isFunction","__read","isArrayLike","DEFAULT_CSS_SELECTOR_ALLOWLIST","DEFAULT_DATA_ATTRIBUTE_PREFIX","__awaiter","__generator","__assign","__spreadArray","__read","__values","__awaiter","__generator","__read","__spreadArray","__assign","__awaiter","__generator","__assign","getGlobalScope","__awaiter","__generator","__assign","__read","__spreadArray","__awaiter","__generator","getErrorMessage","__awaiter","__generator","__spreadArray","__read","__rest","__assign","__read","__assign","__awaiter","__generator","__read","__assign","__awaiter","__generator","createTransport","__assign","__values","add","init","__awaiter","__generator","__values","__read","__spreadArray","__assign","version","Buffer","encodeURI","fetch","__defProp","__defNormalProp","index","useState","useCurrentUser","useRef","useRef","useRef","isObject","funcTag","genTag","funcToString","isObject","funcProto","objectProto","funcToString","hasOwnProperty","Map","HASH_UNDEFINED","hasOwnProperty","hasOwnProperty","HASH_UNDEFINED","Map","Map","COMPARE_PARTIAL_FLAG","COMPARE_UNORDERED_FLAG","Uint8Array","dataViewTag","arrayBufferTag","Uint8Array","boolTag","dateTag","numberTag","errorTag","regexpTag","stringTag","mapTag","setTag","COMPARE_PARTIAL_FLAG","symbolTag","symbolValueOf","symbolProto","propertyIsEnumerable","argsTag","objectProto","hasOwnProperty","freeExports","freeModule","Buffer","MAX_SAFE_INTEGER","argsTag","arrayTag","boolTag","dateTag","errorTag","funcTag","mapTag","numberTag","objectTag","regexpTag","setTag","stringTag","weakMapTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","freeExports","freeModule","hasOwnProperty","objectProto","hasOwnProperty","COMPARE_PARTIAL_FLAG","hasOwnProperty","Set","WeakMap","mapTag","objectTag","setTag","weakMapTag","dataViewTag","Map","Set","WeakMap","arrayTag","getTag","argsTag","objectTag","hasOwnProperty","useRef","useCallback","getQueryParams","getQueryParams","useRef","useRef","useRef","useCallback","useCallback","useRef","useCallback","useRef","useRef","useTrackScrollContent","useRef","getViewportBottomPosition","getScrollDirection","useCallback","Fragment","useRef","useCallback","Fragment","useState","Title","toDate","useState","buttonStyle","Title","useState","useMemo","useEffect","I","L","D","useLayoutEffect","useRef","useCallback","z","P","_","W","k","v","w","N","x","C","C","DEBUG_BUILD","isErrorEvent","isPlainObject","WINDOW","DEBUG_BUILD","merge","isPlainObject","merge","withScope","isErrorEvent","errorEvent","isPlainObject","objectException","spanWithMaybeDsc","merge","WINDOW","DEBUG_BUILD","isPlainObject","merge","DEBUG_BUILD","WINDOW","DEBUG_BUILD","addHandler","handlers","instrumented","triggerHandlers","WINDOW","WINDOW","triggerHandlers","globalObject","WINDOW","WINDOW","WINDOW","INTEGRATION_NAME","globalObject","INTEGRATION_NAME","WINDOW","WINDOW","handlerData","INTEGRATION_NAME","WINDOW","INTEGRATION_NAME","WINDOW","DEBUG_BUILD","_shouldDropEvent","INTEGRATION_NAME","INTEGRATION_NAME","WINDOW","DEBUG_BUILD","WINDOW","DEBUG_BUILD","DEBUG_BUILD","WINDOW","DEBUG_BUILD","WINDOW","WINDOW","WINDOW","WINDOW","WINDOW","WINDOW","WINDOW","WINDOW","WINDOW","WINDOW","WINDOW","WINDOW","DEBUG_BUILD","WINDOW","Bootstrap","Fragment","useState","r","t","u","d","h.useContext","p","h.useMemo","f","h.forwardRef","s","m","h.useRef","h.useId","c","n","l","o","a","i","t","useState","useState","serializationHash","variantClassNames","Transition","React.useContext","React.useMemo","React.Fragment","getProps","createLayoutDependency","React.forwardRef","useRef","React.useId","Image1","containerStyles","emptyStateStyle","useMemo","SrcType","useRef","useMemo","useMemo","useMemo","useRef","useCallback","animate","getProps","useRef","useMemo","useCallback","useState","React.useContext","React.useMemo","React.forwardRef","React.useRef","React.useId","React.Fragment","_Fragment","BaseBootstrap","AppInstallBanner","WebGNB","HeroBanner","useRef","memo","index","Icon","css","useRef","useState","useCallback","Gender","useCurrentUser","useState","useState","useCallback","createContext","Root","forwardRef","useRef","useState","clamp","containerStyle","useContext","List","forwardRef","useRef","useState","clamp","containerStyle","Panel","Trigger","forwardRef","containerStyle","isFunction","createContext","Root","forwardRef","Breakpoint","useContext","Breakpoint","containerStyle","Fragment","useState","Default","forwardRef","g","C","useCallback","useMemo","p","g","forwardRef","forwardRef","baseStyleByTheme","Item","forwardRef","Fragment","Default","useCurrentUser","useMemo","useRef","useCallback","createContext","Root","forwardRef","useRef","useContext","forwardRef","wrapperStyleByBreakpoint","Default","serialize","useRef","cache","useCallback","isFunction","DEFAULT_SIZE","getKey","useMemo","Uint8Array","isObject","getPrototype","objectTag","getPrototype","hasOwnProperty","hasOwnProperty","isObject","hasOwnProperty","isObject","isObject","baseSetToString","isObject","getPrototype","arrayBufferTag","boolTag","dateTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","mapTag","numberTag","stringTag","regexpTag","setTag","symbolTag","getTag","mapTag","getTag","setTag","CLONE_DEEP_FLAG","CLONE_SYMBOLS_FLAG","isObject","getTag","Default","forwardRef","useContext","containerStyle","createContext","useContext","forwardRef","useRef","useMemo","useState","containerStyle","Default","wrapperResetStyle","wrapperStyle","wrapperStyleByBreakpoint","forwardRef","containerStyle","useRef","useMemo","useState","Item","withStyle","forwardRef","Default","classNames","createContext","Root","forwardRef","useMemo","getDisplayCount","useRef","Fragment","Item","useRef","forwardRef","containerStyle","useRef","Fragment","Fragment","useCurrentUser","format","titleText","useCurrentUser","container","text","container","wrapper","DIALOG_ID","useState","container","Default","REQUEST_TYPE","useRef","useRef","useMemo","throwFailError","useCurrentUser","useRef","isObject","localStorage","useCallback","forwardRef","containerStyle","throwFailError","throwFailError","throwFailError","createContext","useContext","throwFailError","useMemo","useCurrentUser","containerStyle","Default","useRef","useMemo","containerStyle","createContext","Root","forwardRef","useCallback","containerStyle","skeletonStyle","skeletonStyleByTheme","useContext","forwardRef","forwardRef","containerStyle","forwardRef","containerStyle","containerStyleByLayout","forwardRef","forwardRef","useCurrentUser","createContext","withStyle","forwardRef","classNames","useState","useContext","withStyle","forwardRef","classNames","withStyle","forwardRef","classNames","forwardRef","sortCouponsByDiscountValueAscending","format","useMemo","useState","format","useState","useCurrentUser","useMemo","useRef","useState","Fragment","COUPON_CONTROLS","orderByDateAsc","getCurrentScheduleIndex","Badge","__exportAll","me$1","e$9","init_npm_react_18_3_1","ie$2","se$2","init_ssg_sandbox_shims","ue$2","npm_react_18_3_1_exports","oe$2","j$6","pe$1","x$10","de$2","navigator","global$1","window","L$4","Ha","c$16","p$5","B$3","K$1","J$2","Ba","ne$1","le$3","init_jsx_runtime","Ja","H$4","init_npm_react_dom_18_3_1","l$11","Z$3","ee$1","ce$3","_e$2","ye$2","easeIn","useInView","useIsomorphicLayoutEffect$3","motion","motionValue","clamp$4","useAnimationControls","useDragControls","useMotionValue","useMotionTemplate","useMotionValueEvent","useTransform","AnimatePresence","MotionConfigContext","useReducedMotion","useSpring","LayoutGroup","MotionValue","useScroll","init_framer_motion_DhsWWWsN","MotionConfig","animate$1","addPropertyControls","RenderTarget","fontStore","cx","init_framer_CaDWdxiz","getLoadingLazyAtYPosition","getFonts","addFonts","useVariantState","useComponentViewport","SVG","Link","useLocaleInfo","useIsInCurrentNavigationTarget","ControlType","Image$1$1","useIsOnFramerCanvas","withCSS","animate$2","RichText","withCodeBoundaryForOverrides","e$10","init_jsx_runtime$1","m$4","init_emotion_react_jsx_runtime_browser_esm","process$1","init_dist$9","u$3","shim","init_index2","__esmMin","useSyncExternalStoreShim_development","init_use_sync_external_store_shim_development","requireUseSyncExternalStoreShim_development","hasRequiredUseSyncExternalStoreShim_development","React","ReactSharedInternals","error","printWarning","format","stack","args","argsWithFormat","item","level","is","x","y","objectIs","useState","useEffect","useLayoutEffect","useDebugValue","didWarnOld18Alpha","didWarnUncachedGetSnapshot","useSyncExternalStore","value","getSnapshot","_useState","inst","forceUpdate","checkIfSnapshotChanged","subscribe","latestGetSnapshot","prevValue","useSyncExternalStore$1","useSyncExternalStore$2","init_use_sync_external_store_shim_development$1","useSyncExternalStoreShim_production_min","init_use_sync_external_store_shim_production_min","requireUseSyncExternalStoreShim_production_min","hasRequiredUseSyncExternalStoreShim_production_min","h","a","b","k","l","m","n","p","q","d","f","g","r","t","u","init_use_sync_external_store_shim_production_min$1","shimExports","init_shim","internalMutate","cache2","_key","_data","_opts","options","mergeObjects","populateCache","rollbackOnErrorOption","optimisticData","revalidate","rollbackOnError","throwOnError","isFunction$3","keyFilter","matchedKeys","it","key","mutateByKey","serialize$1","_k","get","set","createCacheHelper","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","startRevalidate","revalidators","MUTATE_EVENT","data","beforeMutationTs","getTimestamp$1","hasOptimisticData","isUndefined","state","displayedData","currentData","committedData","err","isPromiseLike","noop$4","OBJECT","table","counter","stableHash","EMPTY_CACHE","INITIAL_CACHE","STR_UNDEFINED","isWindowDefined","isDocumentDefined","hasRequestAnimationFrame","online","isOnline","onWindowEvent","offWindowEvent","isVisible","initFocus","initReconnect","preset","defaultConfigOptions","IS_REACT_LEGACY","IS_SERVER","rAF","useIsomorphicLayoutEffect$2","navigatorConnection","slowConnection","__timestamp","FOCUS_EVENT","RECONNECT_EVENT","events","revalidateAllKeys","initCache","onErrorRetry","compare","cache$2","mutate","defaultConfig","mergeConfigs$1","SWRConfigContext","SWRConfig$1","INFINITE_PREFIX","enableDevtools","use$1","setupDevTools","normalize$1","useSWRConfig","middleware$1","BUILT_IN_MIDDLEWARE","withArgs","subscribeCallback","withMiddleware","init_dist","v","type","arg","constructor","isDate","result","index","keys","\"requestAnimationFrame\"","prev","info","visibilityState","callback","onOnline","onOffline","provider","opts","mutate2","unmount","subscriptions","subs","setter","fn","initProvider","releaseFocus","releaseReconnect","maxRetryCount","config","currentRetryCount","timeout","newData","u1","f1","u2","f2","props","parentConfig","isFunctionalConfig","extendedConfig","cacheContextRef","cacheContext","useSWRNext","key_","fetcher_","req","fallbackConfig","_config","next","hook","use2","middleware2","i","keyedRevalidators","callbacks","uses","useSWR","use","WITH_DEDUPE","useSWRHandler","SWRConfig","init_dist$1","promise","e","cache","fnArg","initialMountedRef","unmountedRef","keyRef","fetcherRef","fetcher","configRef","getConfig","isActive","getCache","setCache","subscribeCache","getInitialCache","stateDependencies","fallback","fallbackData","isEqual","_","current","returnedData","shouldStartRequest","revalidateOnMount","suspense","revalidateIfStale","getSelectedCache","snapshot","cachedData2","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","cached","isInitialMount","hasRevalidator","cachedData","laggyDataRef","keepPreviousData","shouldDoInitialRevalidation","defaultValidatingState","isValidating","isLoading","currentFetcher","startAt","loading","revalidateOpts","shouldStartNewRequest","callbackSafeguard","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","mutationInfo","cacheData","currentConfig","shouldRetryOnError","boundMutate","softRevalidate","nextFocusRevalidatedAt","unsubEvents","now","timer","interval","refreshInterval","execute","refreshWhenHidden","refreshWhenOffline","GENERAL_ERROR","init_error","throwFailError$1","init_throwFailError","response","isClient","isServer","init_context","DOMAIN","init_domain","conditional","isFunction$2","init_function","condition","truthy","falsy","getQueryParams$1","paramsToObject","isContentOrigin","isStageOrigin","PATH_START_INDEX","parsePathname","removeQueryString","init_location","entries","search","acc","isDevDomain","hostname","isLegacyContent","isNewProduction","isContentPath","pathname","pathParts","url","href","getRuntimeEnvName","getEnvNameFromUrl","init_env","match","env$3","init_env_development","env$2","init_env_production","env$1","init_env_qa","runtimeEnvName","environments","env","init_config","assign$1","source","target","init$2","defaultAttributes","attributes","name","stringifiedAttributes","attributeName","converter","cookies","jar","parts","found","converter2","defaultConverter","api","init_js_cookie","Cookies","init_cookies","onTokenExpired","notifyTokenExpired","init_tokenExpiredCallbacks","cb","isWebview$1","sendPostMessage","getClientAccessToken","hasSessionCookie","hasXDeviceId","canRefreshToken","LOGOUT_PATH","FORCE_LOGOUT_PATH","TIMEOUT_MS","SESSION_KEY","LAST_RELOAD_KEY","RELOAD_COOLDOWN_MS","isAlreadyHandling","setHandlingFlag","clearHandlingFlag","isWithinReloadCooldown","markReload","clearAccessTokenCookie","fetchWithTimeout","handleTokenExpired","ensureAccessToken","init_utils","init_JwtTokenManager","message","JwtTokenManager","ts","cookieDomain","cookieParts","init","timeoutMs","timeoutId","timeoutPromise","reject","logoutUrl","forceLogoutUrl","__defProp$13","__defNormalProp$13","__publicField$12","REFRESH_PATH","TOKEN_REFRESH_TIMEOUT_MS","X_DEVICE_ID_COOKIE_KEY","X_DEVICE_ID_COOKIE_MAX_AGE_SECONDS","ACCESS_TOKEN_COOKIE_KEY","ERROR_MESSAGES","createXDeviceId","getXDeviceIdFromCookie","touchXDeviceIdCookie","getCookieDomain","getTimeoutSignal","getRefreshUrl","GLOBAL_SINGLETON_KEY","obj","secure","domain","deviceId","globalInstance","newInstance","existingXDeviceId","xDeviceId","accessToken","expiresIn","maxAge","init_entries","definedOnly","init_definedOnly","querify","init_querify","__defProp$12","__defNormalProp$12","__publicField$11","APIError","HttpStatusError","init_APIService_types","errorCode","status","__defProp$11","__defNormalProp$11","__publicField$10","DEFAULT_GET_TIMEOUT_MS","APIService","withTimeout","createTimeoutSignal","injectAuthHeader$1","configure","createHeaders","appendQuery","init_APIService","_a","_b","method","restConfig","skipAuthorization","configWithAuth","skipAuthRefresh","newConfigWithAuth","retryResponse","retryJson","json","middleware","baseUrl","path","controller","existingHeaders","headers","_configHeaders","isGetMethod","\"Accept\"","query","BrandSaleApiService","brandSaleApi","init_BrandSaleApiService","brandSaleGroupId","brandSaleId","brandSaleCouponId","BRAND_SALE_GROUP","useFetchBrandSaleGroup","init_useFetchBrandSaleGroup","rest","enabled","toDate$1","argStr","argument","init_toDate","isAfter","_date","date","_dateToCompare","dateToCompare","init_isAfter","BRAND_SALES","useFetchBrandSales","init_useFetchBrandSales","formatDistanceLocale$1","formatDistance$1","init_formatDistance","tokenValue","token","count","buildFormatLongFn","width","formatLong$1","init_formatLong","formatRelativeLocale$1","formatRelative$1","init_formatRelative","buildLocalizeFn","context","valuesArray","defaultWidth","eraValues$1","quarterValues$1","monthValues$1","dayValues$1","dayPeriodValues$1","formattingDayPeriodValues$1","ordinalNumber$1","localize$1","init_localize","number","dirtyNumber","quarter","buildMatchFn","matchPattern","matchResult","string","matchedString","parsePatterns","findIndex","pattern","findKey","object","predicate","array","buildMatchPatternFn","parseResult","match$2","init_match","ko","init_ko","getDefaultOptions","defaultOptions","init_defaultOptions","millisecondsInWeek","millisecondsInDay","millisecondsInMinute","millisecondsInHour","millisecondsInSecond","init_constants","startOfDay","init_startOfDay","getTimezoneOffsetInMilliseconds$1","utcDate","init_getTimezoneOffsetInMilliseconds","differenceInCalendarDays","startOfDayLeft","dateLeft","startOfDayRight","dateRight","timestampLeft","timestampRight","init_differenceInCalendarDays","constructFrom","init_constructFrom","startOfYear","cleanDate","init_startOfYear","getDayOfYear","init_getDayOfYear","startOfWeek","weekStartsOn","day","diff","init_startOfWeek","startOfISOWeek","init_startOfISOWeek","getISOWeekYear","year","fourthOfJanuaryOfNextYear","startOfNextYear","fourthOfJanuaryOfThisYear","startOfThisYear","init_getISOWeekYear","startOfISOWeekYear","fourthOfJanuary","init_startOfISOWeekYear","getISOWeek","init_getISOWeek","getWeekYear","firstWeekContainsDate","firstWeekOfNextYear","firstWeekOfThisYear","init_getWeekYear","startOfWeekYear","firstWeek","init_startOfWeekYear","getWeek","init_getWeek","addLeadingZeros","targetLength","lightFormatters","init_lightFormatters","signedYear","month","dayPeriodEnumValue","numberOfDigits","milliseconds","formatTimezoneShort","sign","offset","absOffset","hours","minutes","delimiter","formatTimezoneWithOptionalMinutes","formatTimezone","dayPeriodEnum","formatters","init_formatters","era","localize","signedWeekYear","weekYear","week","isoWeek","dayOfYear","dayOfWeek","localDayOfWeek","isoDayOfWeek","timezoneOffset","dateLongFormatter","timeLongFormatter","dateTimeLongFormatter","longFormatters","init_longFormatters","formatLong","datePattern","timePattern","dateTimeFormat","isProtectedDayOfYearToken","dayOfYearTokenRE","isProtectedWeekYearToken","weekYearTokenRE","warnOrThrowProtectedError","_message","input","throwTokens","subject","init_protectedTokens","init_isDate","isValid$1","init_isValid","formatDistanceLocale","formatDistance","init_formatDistance$1","init_formatLong$1","formatRelativeLocale","formatRelative","init_formatRelative$1","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","init_localize$1","rem100","match$1","init_match$1","enUS","init_en_US","format$1","locale","originalDate","formatStr","longFormattingTokensRegExp","firstCharacter","substring","longFormatter","formattingTokensRegExp","cleanEscapedString","unescapedLatinCharacterRegExp","formatterOptions","part","formatter","matched","escapedStringRegExp","doubleQuoteRegExp","init_format","parseISO","additionalDigits","dateStrings","splitDateString$1","parseYearResult","parseYear$1","parseDate$1","timestamp","time","parseTime$2","parseTimezone","dirtyDate","dateString","patterns$2","timeString","regex","captures","century","dateRegex","isWeekDate","parseDateUnit","validateWeekDate$1","dayOfISOWeekYear$1","validateDate$1","validateDayOfYearDate$1","timeRegex","parseTimeUnit","seconds","validateTime$1","timezoneString","timezoneRegex","validateTimezone$1","isoWeekYear","fourthOfJanuaryDay","isLeapYearIndex$1","daysInMonths","init_parseISO","__defProp$10","__defNormalProp$10","__publicField$9","MediaBuilder","DEFAULT_SRC_SET_WIDTHS","mediaBuilder","init_mediaBuilder","src","Skeleton","containerStyle$26","init_Skeleton","style","global","init_dist$2","getGlobal","isBrowserExtension","runtime","isIndexedDBAvailable","validateIndexedDBOpenable","preExist","DB_CHECK_NAME","request","resolve","areCookiesEnabled","replaceTemplate","template","PATTERN","deepEqual$1","aKeys","bKeys","aProp","bProp","isObject$5","thing","calculateBackoffMillis","DEFAULT_INTERVAL_MILLIS","DEFAULT_BACKOFF_FACTOR","currBaseValue","intervalMillis","backoffFactor","backoffCount","randomWait","RANDOM_FACTOR","MAX_VALUE_MILLIS","getModularInstance","service","stringToByteArray$1","byteArrayToString","base64","DecodeBase64StringError","base64Encode","base64urlEncodeWithoutPadding","base64Decode","getDefaultsFromGlobal","getDefaultsFromEnvVariable","getDefaultsFromCookie","getDefaults","getDefaultAppConfig","Deferred","ERROR_NAME","FirebaseError","ErrorFactory","init_index_esm2017","out","str","c","pos","bytes","c1","c2","c3","c4","byteToCharMap","webSafe","output","byte1","haveByte2","byte2","haveByte3","byte3","outByte1","outByte2","outByte3","outByte4","charToByteMap","byte4","utf8Bytes","defaultsJsonString","decoded","code","customData","serviceName","errors","fullCode","fullMessage","normalizeIdentifierForFactory","identifier","DEFAULT_ENTRY_NAME$1","isComponentEager","component","Component","Provider","ComponentContainer","init_index_esm2017$1","instanceFactory","mode","multipleInstances","container","normalizedIdentifier","deferred","instance","optional","instanceIdentifier","instanceDeferred","services","existingCallbacks","existingInstance","LogLevel$1","levelStringToEnum","defaultLogLevel","ConsoleMethod","defaultLogHandler","Logger$1","init_index_esm2017$2","\"DEBUG\"","\"VERBOSE\"","\"INFO\"","\"WARN\"","\"ERROR\"","\"SILENT\"","\"debug\"","\"verbose\"","\"info\"","\"warn\"","\"error\"","\"silent\"","logType","val","getIdbProxyableTypes","idbProxyableTypes","getCursorAdvanceMethods","cursorAdvanceMethods","promisifyRequest","unlisten","success","wrap$1","cursorRequestMap","reverseTransformCache","cacheDonePromiseForTransaction","transactionDoneMap","tx","done","complete","replaceTraps","idbProxyTraps","wrapFunction","func","unwrap","storeNames","transactionStoreNamesMap","transformCachableValue","instanceOfAny","transformCache","newValue","init_wrap_idb_value","constructors","prop","receiver","openDB","version","openPromise","upgrade","event","blocked","terminated","db","blocking","getMethod","cachedMethods","targetFuncName","useIndex","isWrite","writeMethods","readMethods","storeName","target2","init_build","oldTraps","isVersionServiceProvider","_addComponent","app","logger$3","_registerComponent","componentName","_components","_apps","serverApp","_serverApps","_getProvider","heartbeatController","name2","initializeApp","_options","rawConfig","DEFAULT_ENTRY_NAME","ERROR_FACTORY$2","existingApp","newApp","FirebaseAppImpl","getApp","getApps","registerVersion","library","PLATFORM_LOG_STRING","libraryKeyOrName","variant","libraryMismatch","versionMismatch","warning","getDbPromise$1","dbPromise$1","DB_NAME","DB_VERSION","oldVersion","STORE_NAME","readHeartbeatsFromIndexedDB","computeKey","idbGetError","writeHeartbeatsToIndexedDB","heartbeatObject","getUTCDateString","extractHeartbeatsForHeader","MAX_HEADER_BYTES","heartbeatsToSend","unsentEntries","heartbeatsCache","singleDateHeartbeat","heartbeatEntry","hb","countBytes","maxSize","registerCoreComponents","PlatformLoggerServiceImpl","HeartbeatServiceImpl","name$p","version$1$2","name$o","name$n","name$m","name$l","name$k","name$j","name$i","name$h","name$g","name$f","name$e","name$d","name$c","name$b","name$a","name$9","name$8","name$7","name$6","name$5","name$4","name$3","name$2","name$1$1","name$10","STORED_HEARTBEAT_RETENTION_MAX_MILLIS","HeartbeatStorageImpl","init_index_esm2017$3","logString","agent","hbTimestamp","headerString","idbHeartbeatObject","existingHeartbeatsObject","heartbeatsObject","isServerError","getInstallationsEndpoint","INSTALLATIONS_API_URL","projectId","extractAuthTokenInfoFromResponse","getExpiresInFromResponseExpiresIn","getErrorFromResponse","errorData","ERROR_FACTORY$1","getHeaders$1","apiKey","getHeadersWithAuth","appConfig","getAuthorizationHeader","refreshToken","retryIfServerError","responseExpiresIn","INTERNAL_AUTH_VERSION","createInstallationRequest","endpoint","heartbeatService","heartbeatServiceProvider","heartbeatsHeader","body","PACKAGE_VERSION","responseValue","fid","sleep","ms","bufferToBase64UrlSafe","generateFid","fidByteArray","encode$1","VALID_FID_PATTERN","INVALID_FID","getKey$2","fidChanged","callFidChangeCallbacks","broadcastFidChange","fidChangeCallbacks","channel","getBroadcastChannel","closeBroadcastChannel","broadcastChannel","getDbPromise","dbPromise","DATABASE_NAME","DATABASE_VERSION","OBJECT_STORE_NAME","objectStore","oldValue","remove$2","update","store","updateFn","getInstallationEntry","registrationPromise","installationEntry","installations","entryWithPromise","triggerRegistrationIfNecessary","updateOrCreateInstallationEntry","oldEntry","clearTimedOutRequest","inProgressEntry","registerInstallation","waitUntilFidRegistration","registeredInstallationEntry","entry","updateInstallationRequest","hasInstallationRequestTimedOut","PENDING_TIMEOUT_MS","generateAuthTokenRequest","getGenerateAuthTokenEndpoint","refreshAuthToken","tokenPromise","isEntryRegistered","oldAuthToken","forceRefresh","isAuthTokenValid","waitUntilAuthTokenRequest","makeAuthTokenRequestInProgressEntry","fetchAuthTokenFromServer","updateAuthTokenRequest","authToken","hasAuthTokenRequestTimedOut","updatedInstallationEntry","isAuthTokenExpired","TOKEN_EXPIRATION_BUFFER","inProgressAuthToken","getId","installationsImpl","getToken","completeInstallationRegistration","extractAppConfig","getMissingValueError","keyName","registerInstallations","INSTALLATIONS_NAME","publicFactory","INSTALLATIONS_NAME_INTERNAL","internalFactory","name$1","version$4","init_index_esm2017$4","createGtagTrustedTypesScriptURL","GTAG_URL","ERROR_FACTORY","logger$2","promiseAllSettled","promises","createTrustedTypesPolicy","trustedTypesPolicy","policyName","policyOptions","insertScriptTag","script","gtagScriptURL","dataLayerName2","measurementId","getOrCreateDataLayer","dataLayer","gtagOnConfig","correspondingAppId","measurementIdToAppId2","initializationPromisesMap2","foundConfig","dynamicConfigPromisesList2","gtagCore","gtagParams","gtagOnEvent","initializationPromisesToWaitFor","\"send_to\"","gaSendToList","dynamicConfigResults","sendToId","initializationPromise","wrapGtag","gtagWrapper","command","consentAction","fieldName","customParams","wrapOrCreateGtag","_args","gtagFunctionName","findGtagScriptOnPage","scriptTags","tag","getHeaders","fetchDynamicConfig","appFields","appUrl","DYNAMIC_CONFIG_URL","appId","errorMessage","jsonResponse","fetchDynamicConfigWithRetry","defaultRetryData","throttleMetadata","retryData","signal","AnalyticsAbortSignal","timeoutMillis","FETCH_TIMEOUT_MILLIS","attemptFetchDynamicConfigWithRetry","setAbortableTimeout","throttleEndTimeMillis","isRetriableError","backoffMillis","LONG_RETRY_FACTOR","httpStatus","\"httpStatus\"","logEvent$1","gtagFunction","eventName","eventParams","setUserId$1$1","\"user_id\"","id","setUserProperties$1","flatProperties","properties","\"user_properties\"","validateIndexedDB","_initializeAnalytics","dynamicConfigPromise","fidPromise","envIsValid","dynamicConfig","configProperties","ORIGIN_KEY","GA_FID_KEY","warnOnBrowserContextMismatch","mismatchedEnvMessages","details","factory","initializationPromisesMap","globalInitDone","dataLayerName","dynamicConfigPromisesList","measurementIdToAppId","gtagName","wrappedGtag","gtagCoreFunction","AnalyticsService","getAnalytics","analyticsProvider","ANALYTICS_TYPE","initializeAnalytics","setUserId$2","analyticsInstance","wrappedGtagFunction","setUserProperties","logEvent$2","registerAnalytics","analyticsOptions","version$3","analytics","BASE_INTERVAL_MILLIS","RetryData","init_index_esm2017$5","metadata","listener","init_index_esm","CategoryFirstOrderApiService","categoryFirstOrderApi","init_CategoryFirstOrderApiService","groupId","couponId","ENTITY_NOT_FOUND_ERROR_CODE","FramerApiService","formatFramerProduct2Product","framerApi","init_FramerApiService","productIdList","res","framerMappingId","framerProduct","HighlightProductsApiService","highlightProductsApi","init_HighlightProductsApiService","highlightProductsId","BrandMixApiService","brandMixApi","init_BrandMixApiService","brandMixId","roundId","frontBrandId","OneBrandDaysApiService","oneBrandDaysApi","init_OneBrandDaysApiService","oneBrandDayId","TasteSharingApiService","RewardVisitApiService","rewardVisitApi","tasteSharingApi","init_TasteSharingApiService","params","rewardProgramKey","mapObject","isObject$4","_mapObject","mapper","isObjectCustom","mapObjectSkip","init_map_obj","isSeen","mapArray","element","mapResult","newKey","shouldRecurse","camelCase","toLowerCase","toUpperCase","SEPARATORS","preserveCamelCase","LEADING_SEPARATORS","preserveConsecutiveUppercase","postProcess","UPPERCASE","LOWERCASE","LEADING_CAPITAL","IDENTIFIER","SEPARATORS_AND_IDENTIFIER","NUMBERS_AND_IDENTIFIER","init_camelcase","isLastCharLower","isLastCharUpper","isLastLastCharUpper","isLastLastCharPreserved","character","preserveConsecutiveUppercase2","QuickLRU","init_quick_lru","expiry","deleted","newSize","items","removeCount","oldCacheSize","callbackFunction","thisArgument","camelcaseKeys","transform","has","cache$1","isObject$3","init_camelcase_keys","stopPathsSet","stopPaths","makeMapper","deep","parentPath","exclude","cacheKey","pascalCase","returnValue","authFetch","injectAuthHeader","init_authFetch","fetchOptions","headersWithAuth","newHeaders","__defProp$9","__defNormalProp$9","__publicField$8","Cache","init_cache","USER_ME_CACHE_KEY","userMeCache","clearUserMeCache","UserApiService","userApi","init_UserApiService","\"accept\"","isBefore","init_isBefore","isEqual$2","_dateLeft","leftDate","_dateRight","rightDate","init_isEqual","PreuserApiService","preuserApi","formatPreuserEventToProduct","init_PreuserApiService","ids","preuserEvents","preuserEvent","recruitStart","getLens","len","b64","validLen","placeHoldersLen","byteLength","lens","_byteLength","toByteArray","tmp","arr","Arr","curByte","revLookup","tripletToBase64","lookup","num","encodeChunk","start","end","uint8","fromByteArray","extraBytes","maxChunkLength","len2","buffer$1","base64Js","i$31","ieee754","Buffer$2","Buffer$1$1","init_dist$3","eLen","nBytes","mLen","eMax","eBias","nBits","isLE","s","buffer2","rt","ieee754$1","customInspectSymbol","\"for\"","Buffer2","SlowBuffer","K_MAX_LENGTH","GlobalUint8Array","GlobalArrayBuffer","GlobalSharedArrayBuffer","typedArraySupport","proto","createBuffer","length","buf","encodingOrOffset","allocUnsafe","from","fromString","fromArrayView","isInstance","fromArrayBuffer","valueOf","fromObject","assertSize","size","alloc","fill","encoding","checked","byteLength2","actual","fromArrayLike","arrayView","copy","byteOffset","numberIsNaN","list","mustMatch","loweredCase","utf8ToBytes","base64ToBytes","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","max","exports","thisStart","thisEnd","thisCopy","targetCopy","bidirectionalIndexOf","dir","arrayIndexOf","indexSize","arrLength","valLength","read","i2","foundIndex","j","hexWrite","remaining","strLen","parsed","utf8Write","blitBuffer","asciiWrite","asciiToBytes","base64Write","ucs2Write","utf16leToBytes","firstByte","codePoint","bytesPerSequence","secondByte","thirdByte","fourthByte","tempCodePoint","decodeCodePointsArray","MAX_ARGUMENTS_LENGTH","codePoints","ret","hexSliceLookupTable","newBuf","checkOffset","ext","noAssert","byteLength3","mul","defineBigIntMethod","validateNumber","first","last","boundsError","lo","hi","checkInt","min","maxBytes","wrtBigUInt64LE","checkIntBI","wrtBigUInt64BE","limit","sub","checkIEEE754","writeFloat","littleEndian","writeDouble","targetStart","code2","E","sym","Base","getMessage","msg","received","addNumericalSeparator","range","checkBounds","INVALID_BASE64_RE","base64clean","leadSurrogate","byteArray","dst","alphabet","i16","BufferBigIntNotDefined","__extends$3","extendStatics$3","__","__awaiter$8","adopt","P","fulfilled","step","generator","rejected","\"throw\"","thisArg","_arguments","__generator$8","verb","\"return\"","op","__values$5","o","__read$7","ar","__spreadArray$5","pack","to","__await","__asyncGenerator","resume","settle","fulfill","__asyncValues","v2","__assign$9","init_tslib_es6","b2","rngBrowser","init_rng_browser","getRandomValues","rnds8","rnds","rngBrowserExports","init_rng_browser$1","bytesToUuid$2","bth","byteToHex","i$30","bytesToUuid_1","init_bytesToUuid","v1$1","node","_nodeId","clockseq","_clockseq","seedBytes","rng$1","msecs","nsecs","_lastNSecs","dt","_lastMSecs","tl","tmh","bytesToUuid$1","v1_1","init_v1","v4$1","rng","ii","bytesToUuid","v4_1","init_v4","v1","v4","uuid","uuid_1","init_uuid","base64urldecode","base64decode","base64urlencode","base64encode","o1","o2","o3","h1","h2","h3","h4","bits","ac","tmp_arr","enc","decodeUTF8string","dec","tmpArr","encodedData","payloadBuilder","dict","allJson","jsonForProcessing","contextEntitiesForProcessing","processor","add","dict2","isNonEmptyJson","jsonWithKeys","entity","jsonProcessor","payloadJsonProcessor","json2","encodeBase64","payloadBuilder2","keyIfEncoded","keyIfNotEncoded","getContextFromPayload","payload","combineContexts","context2","originalContext","newContext2","_i","jsonForProcessing_1","newContext","isJson","property","logger$1","logLevel","LOG_LEVEL","setLogLevel","extraParams","logMsg","label$1","error2","warn","debug","globalContexts","globalPrimitives","conditionalProviders","assembleAllContexts","eventSchema","getUsefulSchema","eventType","getEventType","contexts","generatedPrimitives","generatePrimitives","generatedConditionals","generateConditionals","acceptedConditionalContexts","acceptedContextPrimitives","contexts_1","isConditionalContextProvider","isContextPrimitive","_loop_1","contexts_2","pluginContexts","combinedContexts","additionalContexts","plugins","plugin","ex","LOG","getSchemaParts","matches","validateVendorParts","asterisk","validateVendor","getRuleParts","isValidRule","ruleParts","vendor","isStringArray","isValidRuleSetArg","isSelfDescribingJson","sdj","isRuleSet","ruleSet","ruleCount","\"reject\"","isContextCallbackFunction","isFilterProvider","isRuleSetProvider","matchSchemaAgainstRuleSet","rejectCount","acceptCount","acceptRules","matchSchemaAgainstRule","rule","schema","rejectRules","schemaParts","matchVendor","matchPart","vendorParts","eventJson","sb","eventJson_1","\"data\"","\"schema\"","\"e\"","buildGenerator","contextGeneratorResult","normalizeToArray","generatedContexts","contextPrimitives","evaluatePrimitive","primitive","contextPrimitive","generatorOutput","evaluateProvider","filter","filterResult","providers","getTimestamp","trackerCore","configuration","newCore","pluginContextsHelper","corePlugins2","globalContextsHelper","base642","payloadPairs","completeContexts","attachGlobalContexts","applicableContexts","pb","returnedContexts","track","tstamp","wrappedContexts","callback2","finalPayload","addPayloadPair","encode","version2","userId","height","depth","timezone","lang","ip","useragent","corePlugins","partialCore","core","configuration2","buildSelfDescribingEvent","ueJson","buildPageView","pageUrl","pageTitle","referrer","buildPagePing","minXOffset","maxXOffset","minYOffset","maxYOffset","version$1$1","version$2","init_index_module","\"none\"","getDefaultExportFromCjs","\"default\"","commonjsGlobal","init__commonjsHelpers","sha1$1","init_sha1","crypt","init_crypt","cryptExports","init_crypt$1","base64map","crypt$1","words","hex","triplet","imod4","charenc","charenc_1","init_charenc","sha1Exports","hash$2","init_sha1$1","utf8","bin","sha1$1$1","w","H0","H1","H2","H3","H4","digestbytes","attemptGetLocalStorage","localStorageAlias","exp","attemptWriteLocalStorage","ttl","attemptDeleteLocalStorage","attemptGetSessionStorage","attemptWriteSessionStorage","createCrossDomainParameterValue","crossDomainParameterValue","DEFAULT_CROSS_DOMAIN_LINKER_PARAMS","attributeConfiguration","domainUserId","attributeValues","sessionId","sourceId","sourcePlatform","eventTarget","reason","isExtendedFormat","urlSafeBase64Encode","attribute","isString$2","isInteger$1","int","fixupTitle","title","getHostName","fixupDomain","dl","getReferrer","windowAlias","fromQs","fromQuerystring","oldLocation","addEventListener$1","eventHandler","field","decorateQuerystring","initialQsParams","hashSplit","qsSplit","beforeQuerystring","querystring","initialDecoration","qsFields","findRootDomain","windowLocationHostnameAlias","cookiePrefix","cookieName","cookieValue","locationParts","idx","currentDomain","cookie","sameSite","deleteCookie","cookieNames","getCookiesWithPrefix","domainName","samesite","hasLocalStorage","localStorageAccessible","mod","ls","OutQueueManager","retryFailedRequests","executingQueue","configCollectorUrl","outQueue","idServiceCalled","eventMethod","isBeaconRequested","useBeacon","hasWebKitBeaconBug","isGetRequested","useXhr","usePost","postPath","queueName","useLocalStorage","bufferSize","localStorageQueue","sharedSate","executeQueue","sync","getQuerystring","lowPriorityKeys","firstPair","contextKey","getBody","cleanedRequest","getUTF8Length","postable","queue","sendPostRequestWithoutQueueing","xhr","initializeXMLHttpRequest","configCollectorUrl2","batch","attachStmToEvent","isSuccessfulRequest","onRequestSuccess","onRequestFailure","encloseInPayloadDataEnvelope","removeEventsFromQueue","deleteCount","numberToSend","maxLocalStorageQueueSize","setXhrCallbacks","xhrTimeout","willRetry","shouldRetryForStatusCode","connectionTimeout","enqueueRequest","eventTooBigWarning","bytes2","maxPostBytes","maxGetBytes","createGetUrl","savedToLocalStorage","idService","xhr_1","chooseHowManyToSend","numberToSend2","byteCount","beaconStatus","eventBatch","blob","batch_1","anonymousTracking","image","loading_1","statusCode","retryStatusCodes","dontRetryStatusCodes","header","post","withCredentials","customHeaders","PAYLOAD_DATA_SCHEMA","stm","\"stm\"","useStm","nextRequest","localStorage","anonymous","newBufferSize","isIosVersionLessThanOrEqualTo","isMacosxVersionLessThanOrEqualTo","isSafari","useragent2","major","minor","isChromiumBased","getParameter","fixupUrl","hostName","emptyIdCookie","parseIdCookie","nowTs","tmpContainer","memorizedVisitCount","memorizedSessionId","sessionIdIndex","previousSessionIdIndex","firstEventIdIndex","firstEventTsInMsIndex","eventIndexIndex","parseIntOr","parsed2","defaultValue","parseIntOrUndefined","cookieDisabledIndex","domainUserIdIndex","createTsIndex","visitCountIndex","nowTsIndex","lastVisitTsIndex","initializeDomainUserId","idCookie","configAnonymousTracking","startNewIdCookieSession","cookiesEnabledInIdCookie","updateNowTsInIdCookie","updateFirstEventInIdCookie","\"eid\"","\"dtm\"","\"ttm\"","incrementEventIndexInIdCookie","serializeIdCookie","anonymizedIdCookie","clientSessionFromIdCookie","firstEventTsInMs","configStateStorageStrategy","sessionIdFromIdCookie","domainUserIdFromIdCookie","visitCountFromIdCookie","eventIndexFromIdCookie","getBrowserProperties","floorDimensionFields","detectViewport","detectDocumentSize","detectScreenResolution","\"innerWidth\"","\"innerHeight\"","\"clientWidth\"","\"clientHeight\"","DIMENSION_SEPARATOR","de","be","bodyHeight","dimension","Tracker","trackerConfiguration","browserPlugins","partialTracker","trackerConfiguration2","getStateStorageStrategy","getAnonymousSessionTracking","getAnonymousServerTracking","getAnonymousTracking","isBrowserContextAvailable","isWebPageContextAvailable","getExtendedCrossDomainTrackingConfiguration","crossDomainTrackingConfig","getBrowserDataPlugin","getWebPagePlugin","getBrowserContextPlugin","sendRequest","documentCharset","locationArray","domainAlias","locationHrefAlias","configReferrerUrl","customReferrer","configPlatform","asCollectorUrl","endpoint2","configPostPath","configTrackerSiteId","configCustomUrl","lastDocumentTitle","lastConfigTitle","resetActivityTrackingOnPageView","configDiscardHashTag","configDiscardBrace","configCookieNamePrefix","configCookieDomain","configCookiePath","configCookieSameSite","configCookieSecure","dnt","configDoNotTrack","configOptOutCookie","configVisitorCookieTimeout","configSessionCookieTimeout","configAnonymousSessionTracking","configAnonymousServerTracking","lastActivityTime","lastEventTime","domainHash","businessUserId","trackerId2","preservePageViewId","pageViewSent","activityTrackingConfig","configSessionContext","toOptoutByCookie","onSessionUpdateCallback","manualSessionUpdateCalled","_4","useExtendedCrossDomainLinker","collectCrossDomainAttributes","_5","browserLanguage","resolution","colorDepth","cookiesEnabled","namespace2","updateDomainHash","initializeIdsAndCookies","decorateLinks","refreshUrl","addLinkDecorationHandler","elt","evt","extended","crossDomainLinkHandler","crossDomainLinker","purify","targetPattern","getProtocolScheme","resolveRelativeReference","protocol","getSnowplowCookieName","baseName","getSnowplowCookieValue","fullName","activityHandler","scrollHandler","updateMaxScrolls","getPageOffsets","documentElement","resetMaxScrolls","offsets","cleanOffset","setSessionCookie","persistValue","setDomainUserIdCookie","clearUserDataAndCookies","idname","sesname","toggleAnonymousTracking","sesCookieSet","loadDomainUserIdCookie","collectorUrl","resetPageView","getPageViewId","getTabId","SESSION_STORAGE_TAB_ID","tabId","WEB_PAGE_SCHEMA","BROWSER_CONTEXT_SCHEMA","anonymizeOr","anonymizeSessionOr","existingSession","isFirstEventInSession","_a2","viewport","documentSize","clientSession","addSessionContextToPayload","sessionIdentifierPersisted","sessionContext","CLIENT_SESSION_SCHEMA","newSession","finalizeContexts","staticContexts","contextCallback","logPageView","installingActivityTracking","detectPassiveEvents_1","passive_1","noop","wheelEvent","documentHandlers","windowHandlers","handler","ev","scheduleActivityInterval","executePagePing","heartbeat","configureActivityTracking","minimumVisitLength","heartbeatDelay","logPagePing","minXOffset2","minYOffset2","maxXOffset2","maxYOffset2","newDocumentTitle","disableActivityTrackingAction","callbackConfiguration","actionKey","basename","enableFilter","crossDomainLinkerCriterion","querystringField","trackerId","namespace","sharedState","tracker","dispatchToTrackers","getTrackers","trackers","allTrackerNames","addTracker","namedTrackers","getTrackersFromCollection","trackerIds","trackerIds_1","trackerCollection","createSharedState","SharedState","documentAlias","visibilityChangeHandler","flusher","flushBuffers","loadHandler","addReadyListener","ready","init_index_module$1","SharedState2","enableActivityTracking","setUserId$1","trackPageView","trackSelfDescribingEvent","newTracker","init_index_module$2","e$8","e2","t$9","n$75","o$11","i$29","a2","a$23","init_index_modern","DEFAULT_SNOWPLOW_CONFIGURATION","DEFAULT_SNOWPLOW_ACTIVITY_CONFIGURATION","init_constants$1","DEFAULT_SPACE","snowplowLogger","init_logger","methodName","background","color","preLogFunc","targetData","key2","value2","__rest$3","예외_키_또는_값_배열","유효하지_않은_키인지_확인한다","유효한_값인지_확인한다","dataParser","getParsedEvent","init_parser","notParsedDataParams","isNotUseParser","__rest$2","Snowplow","snowplow","init_snowplow","collectUrl","restSnowplowConfiguration","activityTracking","isDebug","userNo","startTransition","useStateWithDeps","mutation","useSWRMutation","init_dist$4","rerender","stateRef","stateDependenciesRef","setState","shouldRerender","currentState","ditchMutationsUntilRef","trigger","serializedKey","resolvedKey","mutationStartedAt","_options_onSuccess","_options_onError","_options1","reset","define_import_meta_env_default$2","createStoreImpl","createStore","init_vanilla","listeners","nextState","partial","previousState","replace","getState","createState","withSelector","init_with_selector","withSelector_development","init_with_selector_development","requireWithSelector_development","hasRequiredWithSelector_development","useRef","useMemo","useSyncExternalStoreWithSelector","instRef","_useMemo","hasMemo","memoizedSnapshot","memoizedSelection","memoizedSelector","nextSnapshot","_nextSelection","selector","currentSelection","prevSnapshot","prevSelection","nextSelection","maybeGetServerSnapshot","getServerSnapshot","getSelection","getServerSelection","init_with_selector_development$1","withSelector_production_min","init_with_selector_production_min","requireWithSelector_production_min","hasRequiredWithSelector_production_min","a3","d2","init_with_selector_production_min$1","withSelectorExports","useSyncExternalStoreExports","init_with_selector$1","useStore","identity$2","define_import_meta_env_default$1","equalityFn","didWarnAboutEqualityFn","slice","createImpl","create","react","init_esm","useBoundStore","subscribeWithSelectorImpl","subscribeWithSelector","init_middleware","origSubscribe","optListener","currentSlice","nextSlice","previousSlice","shallowUnique","init_unique","initialState$5","useContentStore","init_content_store","productIds","initialState$4","useDialogStore","init_dialog_store","dialog","defaultNaturalInset","useGlobalLayoutStore","init_global_layout_store","naturalInset","useToastStore","init_toast_store","prevState","ThemeContext","ThemeProvider","init_ThemeProvider","useThemeContext","init_ThemeProvider_hooks","useTheme","init_useTheme","theme","BreakpointContext","BreakpointProvider","init_BreakpointProvider","initialState$3","useBottomSheetStore","init_bottom_sheet_store","container$13","wrapper$3","overlay","frame","title$1","content$1","buttonArea","button$1","primary","secondary","styles$10","init_Dialog_module_css","elementStyle","__defProp$8","__defNormalProp$8","__publicField$7","Events","_EventEmitter","emitter","init_DialogContainer_emitter","\"SHOW\"","\"HIDE\"","Events2","Base64","init_base64","__defProp$7","__defNormalProp$7","__publicField$6","USER_SEGMENT_COOKIE_NAME","UserService","init_UserService","segmentCookie","USER_CACHE_KEY","userCache","getUserFromCookies","useFetchUserInfo","useFetchUserMe","useCurrentUserName","init_useFetchUserInfo","user","shouldFetch","useCurrentUser$1","init_useCurrentUser","FEATURE_FLAG_CACHE_KEY","REFRESH_INTERVAL_MS","UNLEASH_SESSION_ID_KEY","UNLEASH_APP_NAME","toUnleashEnvironment","UNLEASH_ENVIRONMENT","isToggleList","resolveUnleashSessionId","buildUnleashContextQuery","fetchToggles","useToggle","useFeatureFlag","useFeatureFlagPayload","parsePayloadValue","init_useFeatureFlag","toggle","stored","created","proxyUrl","clientKey","toggles","LEGACY_OPEN_TYPE_PARAM_NAME","OPEN_TYPE_PARAM_NAME","isTabView","init_isTabView","navigate","init_navigate","postMessageAsync","init_postMessageAsync","getIsomorphicUrl","init_url","BASE_LOGIN_URL","redirectLogin","redirectLoginWithParams","init_redirectLogin","redirectUrl","APPS_FLYER_KEY_MAPPING_WITH_SOURCE_EVENT_PARAMS","GTM_KEY_MAPPING_WITH_SOURCE_EVENT_PARAMS","MARKETING_KEY_LIST","getMarketingParams","getSourceParams","toSourceParams","isFromMarketing","init_source","marketingKey","sourceMappingObject","sourceKey","newParams","appsFlyerParams","removedDuplicatesFromSourceChannel","getClientUserAgent","getAppBuildNumber","isAvailableBuildNumber","isMobile","isWebview","isIos","isAndroid","init_device","buildNumber","isAvailableAosBuildNumber","aosBuildNumber","isAvailableIosBuildNumber","iosBuildNumber","clientUserAgent","postMessage","init_postMessage","_c","_d","_e","messageKey","useFirebase","setFirebaseUser","init_useFirebase","isLoggedIn","analyticsRef","findingName","appName","trackFirebase","eventProperties","screenName","user_id","FIREBASE_CONFIG","init_firebase","isCanvas","init_isCanvas","getBrazeInstance","init_brazeInstance","trackWebBraze","init_trackWebBraze","braze","trackWebviewBraze","init_trackWebviewBraze","trackSnowplow","init_track_snowplow","$userNo","isUserNoReset","hasExperimentDataPayload","useAnalytics","init_useAnalytics","experimentData","trackWebFirebase","trackWebScreenFirebase","createContentEventProperties","init_content","summary","contentId","series","CONTENT_DOMAIN_HOSTNAME","useCreateAppSchemeLink","getOnOffValue","init_useCreateAppSchemeLink","fullPath","queryDelimiter","queryString","getAnchorTarget","normalizeURL","init_getAnchorTarget","hasOrigin","origin","useNavigatePage","init_useNavigatePage","createAppSchemeLink","useTrackViewComponentEvent","init_useTrackViewComponentEvent","extra","trackAmplitude","EventTrackingContext","EventTrackingProvider","init_EventTrackingProvider","init_EventTrackingProvider_hooks","useTrackViewEvent","componentId","onVisible","isPartiallyVisible","useTrackClickComponentEvent","init_useTrackClickComponentEvent","map$1","init_map","useEventTrackingContext","useComponentId","useTrackEvent","trackClickComponentEvent","ref","isInView","trackViewComponentEvent","hasCalledOnVisible","searchList","init_searchList","init_search","download","init_download","downloadSlim","init_downloadSlim","close","init_close","plus","init_plus","minus","init_minus","arrowLeft","init_arrowLeft","arrowRight","init_arrowRight","chevronRight","init_chevronRight","chevronLeft","init_chevronLeft","chevronDown","init_chevronDown","chevronUp","init_chevronUp","check","init_check","document$1","init_document","my","init_my","box","init_box","home","init_home","heart","init_heart","house","init_house","bag","init_bag","bell","init_bell","bellOff","init_bellOff","star","init_star","setting","init_setting","question","init_question","gift","init_gift","remove$1","init_remove","share","init_share","comment$1","init_comment","caution","init_caution","disclosureOff","init_disclosureOff","disclosureOn","init_disclosureOn","filter$2","init_filter","scrap","init_scrap","trash","init_trash","lock","init_lock","lockOff","init_lockOff","coupon","init_coupon","clock","init_clock","redo","init_redo","won","init_won","pencil","init_pencil","delivery","init_delivery","law","init_law","eyeOn","init_eyeOn","eyeOff","init_eyeOff","bars","init_bars","filterDot","init_filterDot","checkCalendar","init_checkCalendar","hanger","init_hanger","assets_exports","init_assets","useIconAsset","init_Icon_hooks","icon","weight","Icon","init_Icon","asset","useBreakpointContext","init_BreakpointProvider_hooks","useBreakpoint","init_useBreakpoint","breakpoint","index$3","init__virtual","_interopDefaultLegacy","_defineProperties","descriptor","_createClass","protoProps","Constructor","staticProps","invariant$1","hash$1","_$hash","computeId","baseId","propsToString","stringHash","computeSelector","selectoPlaceholderRegexp","sanitize","css","idcss","mapRulesToStyle","cssRules","invariant","createStyleRegistry","StyleSheetRegistry","StyleRegistry","configuredRegistry","param","children","rootRegistry","StyleSheetContext","registry","useStyleRegistry","JSXStyle","defaultRegistry","useInsertionEffect","React__default","isProd","isString$1","StyleSheet","init_index","StyleSheet2","_name","_optimizeForSpeed","optimizeForSpeed","_proto","bool","_this","index2","sheet","insertionPoint","rules","cssString","head","relativeToTag","StyleSheetRegistry2","_styleSheet","styleSheet","tagName","styleId","indices","tagFromServer","nextProps","fromServer","cssRules2","dynamic","tagInfo","_JSXStyle","init_style","colors","init_colors","css$4","init_css","expressions","strings","typography","typographyCSS","init_typography","fontSize","fontWeight","lineHeight","isObject$2","clsx","toString","init_clsx","inputs","classNames","SpinnerSizeEnum","SpinnerStrokeEnum","init_Spinner_types","\"small\"","\"medium\"","\"xLarge\"","SpinnerSizeEnum2","SpinnerStrokeEnum2","getSpinnerDimension","PATH_LENGTH","Spinner","init_Spinner","sizeDimension","isPending","onColor","ButtonTheme","ButtonVariant","ButtonSize","init_Button_types","\"LIGHT\"","\"DARK\"","ButtonTheme2","\"PRIMARY\"","\"SECONDARY\"","\"TERTIARY\"","\"CUSTOM\"","\"DISABLED\"","ButtonVariant2","\"LARGE\"","\"MEDIUM\"","\"SMALL\"","\"X_SMALL\"","ButtonSize2","ButtonSpinner","Button$1","getIconType$1","getIconFill$1","baseButtonStyle","baseButtonSpinnerStyle","offsetBySize","paddingBySize","buttonStyleBySize","buttonStyleByVariant","iconSizeByButtonSize$1","contentStyle$2","button","Default$4","init_Button","as","isCustom","hasOverrideDisabledStyle","overrideDisabledBackgroundColor","overrideDisabledColor","variantStyle","customVariantStyle","backgroundColor","padding","buttonStyle","postfixIcon","prefixIcon","buttonSpinnerStyle","reshapedProps","className","tabAnimation","pending","ErrorFallback","toIconProps","containerStyle$25","containerStyleByBreakpoint$2","wrapperStyle$3","wrapperStyleByTheme","wrapperStyleByBreakpoint$4","iconColorByTheme$1","buttonColorByTheme","detailLayout","titleStyle$1","titleStyleByTheme","descriptionStyle$1","descriptionStyleByTheme","init_ErrorFallback","errorFallbackDescriptions","descriptions","iconType","iconSize","description","buttonPrefixIcon","buttonPostfixIcon","onButtonClick","buttonText","NoContent","init_NoContent","onClick","noop$3","ComponentTimingContext","ComponentTimingProvider","useComponentTimingContext","init_ComponentTimingContext","timing","SWRErrorBoundary","init_SWRErrorBoundary","exhaustedKeys","isError","setIsError","isFallbackShown","retryCount","errorRetryCount","errorRetryInterval","reportFailure","markFailed","Theme","init_theme","Theme2","THEME_CONTROLS","init_theme$1","MECHANISM_TYPES","RUM_ERROR_KIND","RUM_HTTP_ERROR_KIND","init_constants$2","sha1","h0","blocks","hashed","SHIFT","cp","lastByteIndex2","block17","hashBlock","lastByteIndex","EXTRA","toHex","HEX_CHARS$2","t2","init_util","clampToMaxLength","boundaryCode","isHighSurrogate","isLowSurrogate","prevCode","buildFingerprintInput","v0","mechanismType","exceptionType","frames","FINGERPRINT_FALLBACK_VALUE_HEAD","formatFrame","computeFingerprint","isFingerprintSet","fp","clampFingerprint","resolveFingerprint","hostFp","internalFingerprint","toWireExceptionLevel","toWireBreadcrumbLevel","toWireBreadcrumb","crumb","clampBreadcrumbData","clamped","warnIntegrationError","LOG_PREFIX","phase","action","randomHex$1","HEX_CHARS$1","fallbackUuidV4","generateEventId","cryptoObj","applyScreenDomainContext","checkConsent","ctx","enrich","scopeTags","scope","hasScopeTags","fieldsAdded","__spreadProps","__spreadValues$1","filterNoise","patterns","text","extractMatchableText","rateLimitException","handled","fingerprintKey","sample","rate","deterministicValue","hash","fingerprint","runExceptionPipeline","_f","_g","_h","exception","enriched","hint","clampWireRate","stampSampleRate","exempt","__objRest$1","runLogPipeline","appliedRate","log","runMetricPipeline","metric","isPermanentFailure","sc","permanentFailureCodes","parseRetryAfter","trimmed","parsedDate","defaultMechanism","mergeMechanism","base","override","createStackParser$1","parsers","sortedParsers","lines","skipFirstLines","line","cleanedLine","WEBPACK_ERROR_REGEXP$1","parser","STACKTRACE_FRAME_LIMIT$1","framesToPop","stripFramesAndReverse","localStack","STRIP_FRAME_REGEXP$1","getLastStackFrame$1","UNKNOWN_FUNCTION$1","createFrame$1","lineno","colno","matchesAny","abs_path","inferInApp","DEFAULT_EXCLUDES","isEvalWrap","extractFilename","absPath","clean","lastSlash","tail","mapSentryFrameToBeaconFrame","sentryFrame","filename","inApp","getStackString","parseStack","raw","defaultStackLineParsers$1","sentryFrames","matchCount","failCount","rawLine","ERROR_HEADER","truncated","randomHex","out2","HEX_CHARS","generateTraceId$1","generateSpanId$1","isValidTraceId","formatTraceparent","shouldPropagate","targets","detectUA","ua","userAgent","readNavigatorUA","detectEngine","detectMajorVersion","detectRuntimeHint","UNKNOWN_UA_INFO","isIOS","re","browser","__defProp$6","__defProps","__getOwnPropDescs","__getOwnPropSymbols$1","__hasOwnProp$1","__propIsEnum$1","__pow","__defNormalProp$6","__publicField$5","__async","HIGH_SURROGATE_MIN","HIGH_SURROGATE_MAX","LOW_SURROGATE_MIN","LOW_SURROGATE_MAX","RingBuffer","EXCEPTION_BREADCRUMB_CAP","DEFAULT_BREADCRUMB_CAP","Scope$1","Hub","GlobalAsyncContextStrategy","SystemClock","IntegrationRegistry","LEVEL_RANK","DEFAULT_LEVEL$1","DEFAULT_PREFIX","ConsoleLogger","NoopLogger","scheduleMicrotask","DEFAULT_DESTROY_FLUSH_TIMEOUT_MS","BaseClient","HANDLED_LIMIT","UNHANDLED_LIMIT","WINDOW_MS","MAX_TRACKED_FINGERPRINTS","ExceptionRateLimiter","DEFAULT_PERMANENT_FAILURE_CODES","ExponentialBackoffRetryPolicy","CHROME_PRIORITY$1","GECKO_PRIORITY$1","chromeRegexNoFnName$1","chromeRegex$1","chromeEvalRegex$1","chromeDataUriRegex","chromeStackParserFn$1","chromeStackLineParser$1","geckoREgex$1","geckoEvalRegex$1","gecko$1","extractSafariExtensionDetails$1","defaultStackFrameParser","init_dist$5","__this","__arguments","initial","evicted","maxBreadcrumbs","cloned","merged","captureContext","hasScope","hasEvent","scopeCrumbs","eventCrumbs","trace","initialScope","defaultHub","opt","integrations","integration","client","prefix","console2","configuredCount","eventId","enrichedHint","syntheticException","record","destinations","labels","scoped","processed","headerDelay","retryAfterHeader","jitter","dataUriMatch","noFnParts","line2","col","subMatch","isSafariExtension","isSafariWebExtension","compile$1","exactPaths","bareNames","DEFAULT_REPLACEMENT","maskValue","seen","childPath","maskObject","init_masking","s$62","n2","r$12","__defProp$5","__defNormalProp$5","__publicField$4","t$8","e$7","n$74","o$10","i$28","a$22","c$15","u$2","f$21","l$10","d$51","h$30","m$3","g$7","p$4","y$4","v$20","b$4","M$6","T$1","E$4","D$4","L$3","S$4","P$4","w$8","k$5","_$5","F$3","B$2","C$7","O$7","j$5","I$4","A$3","W$4","q$4","x$9","N$8","$$4","H$3","R$5","U$3","V$1","init_web_vitals_attribution","r2","s2","t3","e3","n3","r3","e4","t4","o4","l2","g2","p2","y2","t5","i3","r4","s3","a4","u3","c5","c6","f4","l4","f3","l3","e5","n4","n5","BRIDGE_GLOBAL_NAME","init_constants_DO_NTY2_","x$8","kt$1","He$1","Be$1","Pt$1","Ot$1","D$3","Me$1","ce$2","Fe$1","Ne$1","le$2","Dt","q$3","Ft$1","oe$1","ue$1","O$6","Ue$1","Bt$1","Nt$1","Ut$1","$t","f$20","jt","qt","Vt","Gt","zt","Kt","M$5","j$4","Qt","Jt","Zt","en","de$1","rn","nn","he$1","fe$1","pe","hn","$$3","mn","C$6","me","gn","yn","je$1","vn","ge$1","_n","xn","En","wn","Sn","Tn","Rn","Ln","G$3","Cn","$e$1","z$5","Ke$1","ve$1","Hn","Gn","zn","Wn","Xn","Yn","Ge$1","Jn","Qn","Zn","er","tr","\"BeaconBridge\"","nr","rr","we$1","Ee","Te$1","sr","cr","or","_e$1","xe$1","lr","Re$1","F$2","ur","dr","w$7","We$1","Xe$1","hr$1","S$3","Ie","g$6","ze$1","fr","bn","Mt","Kn","pr","J$1","gr","yr","Ye$1","Y$1","br","vr","Ir","N$7","y$3","Le$1","X","Je$1","m$1","Qe$1","Sr","H$2","Cr","Ar","Fr","Ze$1","et$1","tt$1","Z$2","nt$1","it$1","st$1","U$2","l$9","ee","se$1","It$1","Lt$1","Ct$1","At$1","ae$1","qe$1","Ht","P$3","Wt","Xt","Yt","tn","sn","on$1","an","cn","ln","un","dn","pn","In","An","ye$1","On","kn","Pn","Dn","Ve$1","Fn","W$3","Mn","Nn","Bn","Un","qn","jn","$n","Vn","Se$1","ir","mr","init_dist$6","I","T","L","R","COMPONENT_TIMING_METRIC_TYPE","COMPONENT_TIMING_SCREEN","useComponentTiming","init_useComponentTiming","mountedAt","fired","once","isObject$1","freeGlobal","init__freeGlobal","freeSelf","root","init__root","init_now","trimmedEndIndex","reWhitespace","init__trimmedEndIndex","baseTrim","reTrimStart","init__baseTrim","Symbol$1","init__Symbol","getRawTag","isOwn","hasOwnProperty$12","symToStringTag$1","unmasked","nativeObjectToString$1","objectProto$4","init__getRawTag","objectToString$1","nativeObjectToString","init__objectToString","baseGetTag","undefinedTag","nullTag","symToStringTag","init__baseGetTag","isObjectLike","isSymbol","symbolTag$3","init_isSymbol","toNumber","NAN","other","isBinary","reIsBinary","reIsOctal","freeParseInt","reIsBadHex","init_toNumber","debounce","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","FUNC_ERROR_TEXT$1","wait","nativeMax$1","invokeFunc","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","nativeMin","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","init_debounce","Breakpoint$2","init_breakpoint","\"DESKTOP\"","\"TABLET\"","\"MOBILE\"","Breakpoint2","BREAKPOINT_CONTROLS","init_breakpoint$1","COMPONENT_ID_PROPS","init_component_id","HeadlineActionType","HeadlinePresetType","HeadlineModuleInputType","init_HeadlineModule_types","\"External\"","\"Link\"","\"Countdown\"","HeadlineActionType2","\"Default\"","\"Schedule\"","HeadlinePresetType2","\"Linked\"","\"Manual\"","\"Auto\"","HeadlineModuleInputType2","IntersectionContext","IntersectionProvider","init_IntersectionProvider","useCurrentUser","init_useCurrentUser$1","UserSegment","userSegmentApi","init_UserSegment","USER_FIRST_ORDER_SEGMENT_FETCHER_KEY","useUserFirstOrderSegment","init_useUserTargetSegment","canFetch","CATEGORY_COUPON_FIRST_ORDER_SEGMENT_FETCHER_KEY","useCategoryNewBuyerCoupon","init_useCategoryNewBuyerCoupon","CATEGORY_FIRST_ORDER_SEGMENT_FETCHER_KEY","useCategoryNewBuyerProduct","init_useCategoryNewBuyerProduct","useIsMounted","init_useIsMounted","isMounted","setIsMounted","isFramerPreview","init_isFramerPreview","SegmentContext","SegmentProvider","useSegment","init_SegmentProvider","segment","seg","currentSegments","isSegmentConfigured","userGender","userSegmentData","isUserSegmentLoading","logged","categoryNewBuyerProductData","isCategoryNewBuyerProductLoading","categoryNewBuyerCouponData","isCategoryNewBuyerCouponLoading","segmentValues","isLogin","guest","isNewBuyer","isCategoryNewBuyerProduct","isCategoryNewBuyerCoupon","isEditing","isLoadingBySegment","SegmentGatedTimingProvider","SectionVisibleMark","SectionLayout","init_SectionLayout","outer","isOpen","latest","open","isSectionVisible","intersectionOptions","HeadlineContext","Root$6","containerStyle$24","init_Root","HEADLINE_MEDIA_MAX_WIDTH","init_Root_constants","Image$1","containerStyle$23","containerStyleByBreakpoint$1","init_Image","lazy","usePageVisibility","init_usePageVisibility","visibility","setVisibility","useIsomorphicLayoutEffect$1","init_useIsomorphicLayoutEffect","useEventCallback","init_useEventCallback","useReceiveMessage","init_useReceiveMessage","_callback","handleCallback","useVideoVisibility","init_useVideoVisibility","videoRef","isPageVisible","isWindowFocused","setIsWindowFocused","shouldLoadSources","setShouldLoadSources","handleWindowFocusMessage","mergeRefs","refs","init_mergeRefs","VideoInner","Video$1","containerStyle$22","containerStyleByBreakpoint","posterWidthByBreakpoint$1","mediaByBreakpoint$1","init_Video","media","poster","sourceWebm","fallbackRef","useHeadlineContext","init_Root_hooks","ComponentName","init_ComponentName","\"TabBar\"","\"TabBarItem\"","\"TabBarV4\"","\"TabBarV4Item\"","\"KeywordCollectionCoupon\"","\"FoldableListRoot\"","\"FoldableListTrigger\"","\"FoldableListContent\"","\"FoldableListItem\"","\"ProductsLayout\"","\"CurationProducts\"","\"EngagerView\"","\"ShareSection\"","\"ShareSectionShareButton\"","\"InstagramStoryDialog\"","\"SurveySteps\"","\"SurveyCoverStep\"","\"SurveyQuestionStep\"","\"SurveyProgressBar\"","\"SurveyHeader\"","\"SurveyResult\"","\"TopNavigation\"","\"HeadlineContent\"","\"Notification\"","\"ProductsVerticalList\"","\"Composition\"","\"TimeSaleCollection\"","\"TimeSaleCollectionTimer\"","\"TimeSaleCollectionTags\"","\"TimeSaleCollectionProducts\"","\"ButtonTimeSaleView\"","\"RecommendedProductCuration\"","ComponentName2","MS","MOZ","WEBKIT","COMMENT","RULESET","DECLARATION","IMPORT","KEYFRAMES","LAYER","init_Enum","charat","trim","replacement","indexof","position","substr","begin","strlen","sizeof","append","combine","filter$1","abs","from$1","assign","init_Utility","length2","copy$2","lift","char","characters","peek","caret","slice$1","dealloc","delimit","delimiter$1","whitespace","escaping","commenter","column","init_Tokenizer","compile","parse","pseudo","atrule","previous","variable","scanning","ampersand","rulesets","reference","points","comment","parent","declarations","declaration","ruleset","z","siblings","init_Parser","serialize","stringify","init_Serializer","init_Prefixer","collection","prefixer","init_Middleware","getClassName","createWithStyle","init_createWithStyle","styleName","nonEmptyCss","styles","classNames$15","withStyle$14","Content$1","wrapperStyle$2","wrapperStyleByBreakpoint$3","contentStyle$1","contentStyleByPriority","init_Content","_contentStyle","priority","emptyTitle","Title$2","containerStyle$21","skeletonStyle$3","skeletonStyleByPriority$1","skeletonStyleByTheme$3","textColor$1","textStyle","init_Title","Description$1","containerStyle$20","skeletonStyle$2","skeletonStyleByPriority","skeletonStyleByTheme$2","containerStyleByPriority$1","textColor","init_Description","Action$1","containerStyle$19","init_Action","Gradient","containerStyle$18","containerStyleByTheme$1","init_Gradient","Body","containerStyle$17","containerStyleByPriority","init_Body","Headline$1","init_Headline","HeadlineMediaElement","init_HeadlineMediaElement","mediaType","imageSrc","videoSrc","videoSrcWebm","TextButton","getIconType","getIconFill","baseTextButtonStyle","textButtonStyleBySize","textButtonStyleByVariant","iconSizeByButtonSize","contentStyle","Default$3","init_TextButton","textButtonStyle","isUnderlined","QueryType","RankingType","PopularityPeriodType","TrendingPeriodType","CategoryType","init_types","\"Product\"","\"KeywordCollection\"","\"KeywordCollections\"","\"BrandCuration\"","\"Recommendation\"","\"Ranking\"","\"CouponCollection\"","\"RaffleGroup\"","\"Coupon\"","\"Preuser\"","\"CustomCategory\"","\"Moloco\"","QueryType2","\"Popularity\"","\"Trending\"","RankingType2","\"Realtime\"","\"Hourly\"","\"Daily\"","PopularityPeriodType2","TrendingPeriodType2","\"Large\"","\"Middle\"","CategoryType2","getCouponCollectionHref","getKeywordCollectionHref","getHref","init_HeadlineLinkActionElement_utils","LOG_CLICK_EVENT","LOG_LIKE_EVENT","LOG_IMP_EVENT","LOG_VIEW_EVENT","init_eventName","SNOWPLOW_SCHEMA","SNOWPLOW_LIKE_SCHEMA_V2","init_snowplowSchema","getSeriesPath","init_getSeriesPath","makeContentsProps","makeScreenProps","makeTabProps","makePageProps","NULLISH_OMIT_CATEGORY_NAME_KEYS","omitNullishCategoryNameProperties","init_useTrackSnowplowEvent_utils","getSearchParamsObject","init_getSearchParamsObject","AD_CODE_ENABLED_SCHEMAS","addAdCodeToProperties","init_addAdCodeToProperties","enabledSchema","adCode","CATEGORY_FILTER_ENABLED_SCHEMAS","CATEGORY_FILTER_KEYS","addCategoryFilterProperties","init_addCategoryFilterProperties","presentKeys","EXPERIMENT_DATA_ENABLED_SCHEMAS","addExperimentDataProperties","init_addExperimentDataProperties","bucket","DEFAULT_SUBTAB_POSITION","SUBTAB_ENABLED_SCHEMAS","addSubTabProperties","init_subTab","subtabPosition","contextPropsSelectorMap","useTrackSnowplowEvent","init_useTrackSnowplowEvent","contentsProps","tabProps","pageProps","screenProps","dynamicAttributes","pendingList","trackSnowplowEvent","additionalProps","contextPropsSelector","mergedProps","eventsRequiringSectionName","isInvalidValue","adCodeEnhancedProperties","subTabEnhancedProperties","experimentEnhancedProperties","categoryFilterEnhancedProperties","enhancedProperties","initialState$2","useModuleStore","init_module_store","module","shallow$1","objA","objB","keysA","define_import_meta_env_default","shallow","init_shallow","useRootComponentId","useSetRootModule","useTrackClickButtonEvent","init_hooks","dispatchSetRootModule","isRoot","layoutPosition","HeadlineLinkActionElement","init_HeadlineLinkActionElement","trackClickButtonEvent","timerReducer","useVisibilityAwareTimer","init_useVisibilityAwareTimer","dispatch","intervalIdRef","setIsVisible","startTimer","stopTimer","handleVisibilityChange","useEffectOnce","init_useEffectOnce","effect","container$12","styles$9","init_RollingNumber_module_css","container$11","presentation","styles$8","init_RollingValue_module_css","numbers","transition$4","RollingValue","init_RollingValue","isInitial","padNumber","padSize","RollingNumber","init_RollingNumber","setIsInitial","pageVisibility","digits","digit","container$10","styles$7","init_Countdown_module_css","getRoundingMethod","differenceInMilliseconds","init_differenceInMilliseconds","differenceInSeconds","init_differenceInSeconds","renderDateNumbers","days","dateDisplayFormat","postfixSpacing","renderTimeNumbers","timeDisplayFormat","renderNumbers","Countdown","init_Countdown","targetDate","targetDateString","targetTimeString","HeadlineCountdownActionElement","countdownColorByTheme","init_HeadlineCountdownActionElement","endAt","HeadlineActionElement","init_HeadlineActionElement","actionElement","initialState$1","useQueryStore","init_query_store","retry","getPaddingStyle","getPadding","init_spacing","HeadlineElement","attachAdditionalQuery$1","init_HeadlineElement","_input","dispatchSetQuery","layout","hasMediaType","isPrimary","canRenderMedia","UTCDateMini","re$1","init_mini","utcMethod","UTCDate","weekdayFormat","dateFormat","timeFormat","init_date","locales","tzTokenizeDate","dtf","getDateTimeFormat","timeZone","partsOffset","hackyOffset","formatted","filled","typeToPos","dtfCache","testDateFormatted","init_tzTokenizeDate","newDateUTC","fullYear","hour","minute","second","millisecond","tzParseTimezone","patterns$1","absoluteOffset","validateTimezone","MILLISECONDS_IN_HOUR$1","MILLISECONDS_IN_MINUTE$1","isValidTimezoneIANAString","calcOffset","isUtcDate","toUtcDate","fixOffset","tokens","asUTC","asTS","over","utcGuess","validIANATimezoneCache","timeZoneString","init_tzParseTimezone","getTimezoneOffsetInMilliseconds","tzPattern","init_tzPattern","toDate","DEFAULT_ADDITIONAL_DIGITS","splitDateString","parseYear","parseDate","restDateString","parseTime$1","patternYYY","patternYYYYY","yearString","centuryString","validateDate","validateDayOfYearDate","validateWeekDate","dayOfISOWeekYear","validateTime","MILLISECONDS_IN_HOUR","MILLISECONDS_IN_MINUTE","isLeapYearIndex","isLeapYear","DAYS_IN_MONTH_LEAP_YEAR","DAYS_IN_MONTH","init_toDate$1","toZonedTime","offsetMilliseconds","resultDate","init_toZonedTime","createKRTimeZoneDate","init_createUTCDate","compareAsc","init_compareAsc","isWithinInterval","startTime","endTime","init_isWithinInterval","composeFramerDateTime","isAbove","orderByDateAsc$1","getCurrentScheduleIndex$1","getScheduleStatus","init_date$1","dateTime","copied","currentIndex","nextItem","startDate","startDateSelector","endDate","endDateSelector","isWithin","isUpcoming","getScheduleHeadline","getScheduleHeadlineAction","getScheduleHeadlineTitle","getHeadlinePreset","init_HeadlineModule_utils","getCouponCollectionHeadline","getKeywordCollectionHeadline","getHeadline","init_LinkedHeadlineModule_utils","hasFrontBrand","frontBrand","hasSchedule","displayStartAt","displayEndAt","selectedProductGroup","createKey","MOLOCO_SHARED_KEY","getMolocoCacheQuery","createMolocoKey","init_key","molocoQuery","LinkedHeadlineModule","init_LinkedHeadlineModule","headline","ProfilesModuleInputType","init_ProfilesModule_types","ProfilesModuleInputType2","combineObjectPropertyControls","mergeEnumControlDescription","init_helpers","controls","incoming","curr","existing","CouponType","DiscountType","AvailableDayType","KindType","init_coupon$1","\"NORMAL\"","\"LIMITED\"","\"RANDOM\"","CouponType2","\"FIXED_RATE\"","\"FIXED_PRICE\"","DiscountType2","\"RANGE\"","\"DAY\"","\"NONE\"","AvailableDayType2","\"PRODUCT\"","\"CART\"","KindType2","CouponModuleInputType","CouponUpdateType","init_CouponModule_types","CouponModuleInputType2","\"DAILY\"","CouponUpdateType2","PRODUCT_CONTROLS","KEYWORD_COLLECTION_CONTROLS","KEYWORD_COLLECTIONS_CONTROLS","BRAND_CURATION_CONTROLS","RECOMMENDATION_CONTROLS","RANKING_CONTROLS","COUPON_COLLECTION_CONTROLS","RAFFLE_GROUP_CONTROLS","COUPON_CONTROLS$1","PREUSER_CONTROLS","QUERY_CONTROL","CUSTOM_CATEGORY_CONTROLS","MOLOCO_CONTROL","init_controls","rankingType","AUTO_HEADLINE_MODULE_QUERY","init_HeadlineModule_controls","useIntersectionContext","init_IntersectionProvider_hooks","KeywordCollectionApiService","keywordCollectionApi","init_KeywordCollectionApiService","collectionId","productGroupId","product","category","SEPARATOR","reservedWords","getProductGroupType","reshapeProductGroupList","findInitialProductGroupId","reshapeDateProductGroupList","reshapeGenderProductGroupList","findCurrentProductGroupIndex","findCurrentProductGroupListByDate","formatTitle","init_KeywordCollectionTags_utils","includedReservedWordProductGroup","productGroupList","group","firstReservedWord","productGroupType","gender","collectionProductGroup","reshapedProductGroupList","genderProductGroup","cur","groupGender","formattedTitleGroup","standardDate","nextGroupList","nextDate","isFirstProductGroupList","isLastProductGroupList","isBeforeStart","isLast","reservedWord","needToFormatTitle","addDays","amount","init_addDays","subDays","init_subDays","addMonths","dayOfMonth","endOfDesiredMonth","init_addMonths","subMonths","init_subMonths","duration","dateWithoutDays","months","years","weeks","mstoSub","init_sub","formatISO","representation","tzOffset","dateDelimiter","timeDelimiter","hourOffset","minuteOffset","separator","init_formatISO","orderByDateAsc","formatSchedule","formatTimeSaleDateTag","getCurrentScheduleIndex","init_TimeSaleCollectionTags_utils","groupA","groupB","nextGroup","DATE_PREFIX","removeDatePrefix","reshapeProductGroups","init_TimeSaleCollection_utils","filterMap","init_filterMap","map","splitToNumberArray","canParseToNumber","parseToNumber","init_splitToNumberArray","DEFAULT_COLLECTION_PRODUCTS_SIZE","CollectionApiService","formatProducts$1","collectionApi","init_CollectionApiService","isDevMode","needShuffle","collectionIds","products","HEADLINE_FETCHER_KEY","INITIAL_PRODUCT_GROUP_INDEX","useHeadlineQuery","fetchKeywordCollectionHeadline","fetchCouponCollectionHeadline","fetchKeywordCollectionsHeadline","queryHeadline","init_HeadlineModule_hooks","_enabled","hasHeadline","firstProductGroup","productGroups","groups","brandSaleList","collections","productGroup","AutoHeadlineModule","init_AutoHeadlineModule","markReady","SEGMENT_CONTROLS","init_segment","HeadlineModuleInner","HeadlineModule","init_HeadlineModule","HeadlineModule_default","init_HeadlineModule$1","container$9","wrapper$2","bottom","buttonContainer","gradient","styles$6","init_Expandable_module_css","useTrackClickComponent","init_ComponentEventTracker_hooks_event","container$8","text$4","styles$5","init_Placeholder_module_css","Placeholder","init_Placeholder","hasChildren","TRIGGER_BUTTON_COMPONENT_NAME","Expandable","init_Expandable","isExpanded","setIsExpanded","hasButtonText","maxHeight","buttonBottomGap","buttonTheme","trackClickComponent","gradientColor","container$7","styles$4","init_ScrollProgressBar_module_css","ScrollProgressBar","init_ScrollProgressBar","springScrollYProgress","scrollYProgress","progressBarX","container$6","styles$3","init_FixedScrollProgressBar_module_css","FixedScrollProgressBar","init_FixedScrollProgressBar","useToast","init_useToast","otherProps","toast","disableAutoClose","useTrackShareContent","init_ShareButton_hooks_event","appShare","init_appshare","nativeShareParams","toggleSelection","init_toggle_selection","selection","active","ranges","copyKey","reselectPrevious","mark","deselectCurrent","format2","clipboardToIE11Formatting","err2","defaultMessage","copy$1","init_copy_to_clipboard","webShare","init_webshare","onSuccess","IOS_INTERNAL_LINK_AVAILABLE_BUILD_NUMBER","AOS_INTERNAL_LINK_AVAILABLE_BUILD_NUMBER","isShareInternalLinkAvailable","init_isShareInternalLinkAvailable","useShareButton","createWebShareData","init_ShareButton_hooks","trackShareContent","BOTTOM_NAV_FAB_RENEWAL_FLAG","useIsShareButtonRenewed","getShareButtonSize","init_useIsShareButtonRenewed","isRenewed","ShareIcon$1","init_ShareIcon","ShareIcon","init_ShareIcon$1","useBottomSheet","init_useBottomSheet","bottomSheet","clamp$3","evaluate","getSide","placement","getAlignment","getOppositeAxis","axis","getAxisLength","getSideAxis","getAlignmentAxis","getAlignmentSides","rtl","alignment","alignmentAxis","mainAlignmentSide","rects","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","oppositeAlignmentMap","getSideList","rl","tb","bt","side","isStart","getOppositeAxisPlacements","direction","flipAlignment","oppositeSideMap","expandPaddingObject","getPaddingObject","rectToClientRect","rect","round","floor","createCoords","init_floating_ui_utils","computeCoordsFromPlacement","_ref","sideAxis","alignLength","isVertical","commonX","floating","commonY","commonAlign","coords","detectOverflow","paddingObject","elements","altBoundary","elementContext","clippingClientRect","platform","offsetParent","offsetScale","elementClientRect","convertValueToCoords","mainAxisMulti","crossAxisMulti","rawValue","crossAxis","mainAxis","computePosition$1","arrow$3","flip$1","offset$1","init_floating_ui_core","validMiddleware","statefulPlacement","middlewareData","resetCount","nextX","nextY","arrowDimensions","isYAxis","minProp","maxProp","clientProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","largestPossiblePadding","minPadding","maxPadding","min$1","center","offset2","shouldAddOffset","alignmentOffset","_middlewareData$arrow","checkMainAxis","checkCrossAxis","specifiedFallbackPlacements","detectOverflowOptions","initialSideAxis","initialPlacement","isBasePlacement","fallbackPlacements","hasFallbackAxisSideDirection","fallbackAxisSideDirection","placements","overflow","overflows","overflowsData","sides","side2","nextIndex","nextPlacement","resetPlacement","fallbackStrategy","placement2","currentSideAxis","overflow2","diffCoords","hasWindow","getNodeName","isNode","getWindow$1","_node$ownerDocument","getDocumentElement","isElement$2","isHTMLElement$1","isShadowRoot$1","isOverflowElement","getComputedStyle$1","overflowY","overflowX","display","isTableElement","isTopLayer","isContainingBlock","webkit","isWebKit","elementOrCss","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","getNearestOverflowAncestor","parentNode","getOverflowAncestors","traverseIframes","scrollableAncestor","isBody","win","frameElement","getFrameElement","init_floating_ui_utils_dom","getCssDimensions","hasOffset","offsetWidth","offsetHeight","shouldFallback","unwrapElement","getScale","domElement","$","getVisualOffsets","noOffsets","shouldAddVisualOffsets","isFixed","floatingOffsetParent","getBoundingClientRect","includeScale","isFixedStrategy","clientRect","scale","visualOffsets","offsetWin","currentWin","currentIFrame","iframeScale","iframeRect","left","top","getWindowScrollBarX","leftScroll","getHTMLOffset","ignoreScrollbarX","htmlRect","scroll","convertOffsetParentRelativeRectToViewportRelativeRect","strategy","topLayer","isOffsetParentAnElement","offsetRect","htmlOffset","getClientRects","getDocumentRect","html","getViewportRect","visualViewport","visualViewportBased","getInnerBoundingClientRect","getClientRectFromClippingAncestor","clippingAncestor","hasFixedPositionAncestor","stopNode","getClippingElementAncestors","cachedResult","el","currentContainingBlockComputedStyle","elementIsFixed","computedStyle","currentNodeIsContaining","ancestor","getClippingRect","clippingAncestors","boundary","rootBoundary","firstClippingAncestor","clippingRect","accRect","getDimensions","getRectRelativeToOffsetParent","setLeftRTLScrollbarOffset","isStaticPositioned","getTrueOffsetParent","polyfill","rawOffsetParent","getOffsetParent","svgOffsetParent","isRTL","rectsAreEqual","observeMove","io","cleanup","_io","refresh","skip","threshold","elementRectForRootMargin","onMove","insetTop","insetRight","insetBottom","insetLeft","isFirstUpdate","handleObserve","ratio","autoUpdate","referenceEl","ancestors","ancestorScroll","ancestorResize","cleanupIo","layoutShift","reobserveFrame","resizeObserver","elementResize","firstEntry","_resizeObserver","animationFrame","frameId","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","getElementRects","offset$2","flip$2","arrow$2","computePosition","init_floating_ui_dom","getOffsetParentFn","getDimensionsFn","floatingDimensions","mergedOptions","platformWithCache","deepEqual","getDPR","roundByDPR","dpr","useLatestRef$1","index$2","useFloating$1","platform2","externalReference","externalFloating","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","referenceRef","setFloating","floatingRef","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMounted","whileElementsMountedRef","platformRef","openRef","fullData","data2","isMountedRef","floatingStyles","initialStyles","arrow$1","flip","arrow","init_floating_ui_react_dom","isRef","deps","getDefaultParent","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","correctTargets","applyAttributeToOthers","hideOthers","init_es2015","originalTarget","correctedTarget","markerName","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","attr","controlAttribute","alreadyHidden","counterValue","markerValue","activeParentNode","candidateSelector","NoElement","getRootNode","isInert","isContentEditable","getCandidates","getCandidatesIteratively","hasTabIndex","getTabIndex","getSortOrderTabIndex","sortOrderedTabbables","isInput","isHiddenInput","isDetailsWithSummary","getCheckedRadio","isTabbableRadio","isRadio","isNonTabbableRadio","isNodeAttached","isZeroArea","isHidden","isDisabledFromFieldset","isNodeMatchingSelectorFocusable","isNodeMatchingSelectorTabbable","isValidShadowRootTabbable","sortByOrder","tabbable","init_index_esm$1","isInert2","lookUp","inertAtt","attValue","candidates","includeContainer","getCandidatesIteratively2","elementsToCheck","assigned","nestedCandidates","shadowRoot","validShadowRoot","_nestedCandidates","tabIndex","isScope","child","nodes","form","radioScope","queryRadios","radioSet","nodeRoot","nodeRootHost","attached","_nodeRootHost","_nodeRootHost$ownerDo","_nodeRootHost2","_nodeRootHost2$ownerD","_node$getBoundingClie","displayCheck","getShadowRoot","nodeUnderDetails","originalNode","parentElement","rootNode","shadowHostNode","sortByOrder2","regularTabbables","orderedTabbables","candidateTabindex","sortable","_extends","useFloatingId","setId","serverHandoffComplete","genId","index$1","createPubSub","_map$get","getDocument","getPlatform","uaData","getUserAgent","brand","getWindow","isElement$1","isHTMLElement","isShadowRoot","isVirtualClick","androidRe","isVirtualPointerEvent","isMouseLikePointerType","values","strict","pointerType","contains","useLatestRef","getDelay","useHover","tree","useFloatingTree","parentId","useFloatingParentNodeId","handleCloseRef","handleClose","delayRef","delay","pointerTypeRef","timeoutRef","handlerRef","restTimeoutRef","blockMouseMoveRef","performedPointerEventsMutationRef","unbindMouseMoveRef","isHoverOpen","onDismiss","onLeave","onOpenChange","closeWithDelay","runElseBranch","closeDelay","cleanupMouseMoveHandler","clearPointerEvents","safePolygonIdentifier","isClickLikeOpenEvent","onMouseEnter","mouseOnly","restMs","openDelay","onMouseLeave","doc","onScrollMouseLeave","domReference","move","_handleCloseRef$curre","_tree$nodesRef$curren","parentFloating","setPointerRef","activeElement","activeElement2","_activeElement","_activeElement$shadow","enqueueFocus","cancelPrevious","rafId","exec","getAncestors$1","allAncestors","currentParentId","getChildren","allChildren","currentChildren","getTarget","isTypeableElement","TYPEABLE_SELECTOR","stopEvent","getTabbableIn","allTabbable","getTabbableOptions","activeIndex","getNextTabbable","getPreviousTabbable","isOutsideEvent","containerElement","relatedTarget","disableFocusInside","enableFocusInside","tabindex","setActiveElementOnTab","useFloatingPortalNode","_temp","portalNode","setPortalNode","uniqueId","useId","portalContext","usePortalContext","id2","root2","portalContext2","uniqueId2","existingIdRoot","subRoot","idWrapper","FloatingPortal","focusManagerState","setFocusManagerState","beforeOutsideRef","afterOutsideRef","beforeInsideRef","afterInsideRef","shouldRenderGuards","preserveTabOrder","onFocus","PortalContext","FocusGuard","_beforeInsideRef$curr","HIDDEN_STYLES","_afterInsideRef$curre","FloatingFocusManager","orderRef","order","initialFocusRef","initialFocus","returnFocusRef","returnFocus","ignoreInitialFocus","startDismissButtonRef","endDismissButtonRef","preventReturnFocusRef","previouslyFocusedElementRef","isPointerDownRef","isInsidePortal","isTypeableCombobox","getTabbableContent","getTabbableElements","content","modal","onKeyDown","els","closeOnFocusOut","handlePointerDown","handleFocusOutside","movedToUnrelatedNode","nodeId","portalNodes","getDismissButtons","insideNodes","guards","tabIndexValues","floatingTabbable","previouslyFocusedElement","focusableElements","initialFocusValue","elToFocus","focusAlreadyInsideFloatingEl","preventReturnFocusScroll","contextData","returnFocus2","activeEl","handleMutation","observer","renderDismissButton","visuallyHiddenDismiss","VisuallyHiddenDismiss","location","_portalContext$before","_portalContext$afterO","isButtonTarget","isSpaceIgnored","useClick","eventOption","didKeyDownRef","ignoreMouse","keyboardHandlers","useEvent","useSafeInsertionEffect","isEventTargetWithin","useDismiss","unstable_outsidePress","nested","outsidePressFn","outsidePress","insideReactTreeRef","normalizeBubblesProp","bubbles","closeOnEscapeKeyDown","escapeKey","escapeKeyBubbles","shouldDismiss","_child$context","closeOnPressOutside","insideReactTree","canScrollX","canScrollY","xCond","targetIsInsideChildren","_child$context2","outsidePressBubbles","onScroll","outsidePressEvent","bubbleHandlerKeys","referencePressEvent","referencePress","captureHandlerKeys","useFocus","blockFocusRef","onBlur","keyboardOnly","movedToFocusGuard","useMergeRefs","useRole","referenceId","floatingProps","floatingId","role","useFloating","unstable_onOpenChange","_domReference","setDomReference","domReferenceRef","setPositionReference","positionReference","node2","mergeProps","elementKey","userProps","propsList","useInteractions","getReferenceProps","getFloatingProps","getItemProps","FloatingArrow","FloatingNodeContext","FloatingTreeContext","init_floating_ui_react_esm","\"useId\".toString()","arrow2","restStyle","halfStrokeWidth","strokeWidth","svgX","tipRadius","svgY","isCustomShape","isVerticalSide","yOffsetProp","staticOffset","xOffsetProp","arrowOffsetY","arrowX","arrowY","dValue","rotation","clipPathId","setRole","\"useInsertionEffect\".toString()","r$11","init_generateUUID","n$73","e$6","o$9","i$27","A$2","a$21","S$2","init_useEffectDisableScroll","i$26","y$2","l$8","u$1","x$7","a$20","p$3","g$5","init_chunk_JXBJZR5A","twJoin","resolvedValue","toValue","createTailwindMerge","createConfigRest","configUtils","cacheGet","cacheSet","functionToCall","initTailwindMerge","createConfigCurrent","previousConfig","createConfigFirst","createConfigUtils","tailwindMerge","classList","mergeClassList","CLASS_PART_SEPARATOR","createClassGroupUtils","getGroupRecursive","arbitraryPropertyRegex","getGroupIdForArbitraryProperty","createClassMap","processClassesRecursively","getPart","isThemeGetter","getPrefixedClassGroupEntries","createLruCache","IMPORTANT_MODIFIER","createParseClassName","sortModifiers","SPLIT_CLASSES_REGEX","fromTheme","arbitraryValueRegex","fractionRegex","stringLengths","tshirtUnitRegex","lengthUnitRegex","colorFunctionRegex","shadowRegex","imageRegex","isLength$1","isArbitraryLength","isNumber","isArbitraryNumber","isInteger","isPercent","isArbitraryValue","isTshirtSize","sizeLabels","isArbitrarySize","isArbitraryPosition","imageLabels","isArbitraryImage","isArbitraryShadow","isAny","getIsArbitraryValue","isLengthOnly","isNever","isShadow","isImage$1","getDefaultConfig$1","mergeConfigs","overrideProperty","overrideConfigProperties","mergeConfigProperties","extendTailwindMerge","twMerge","init_bundle_mjs","classMap","classParts","conflicts","conflictingClassGroups","classGroupId","hasPostfixModifier","conflictingClassGroupModifiers","classPartObject","currentClassPart","nextClassPartObject","classGroupFromNextClassPart","classRest","validator","arbitraryPropertyClassName","classGroup","classDefinition","classPartObjectToEdit","classGroup2","currentClassPartObject","pathPart","classGroupEntries","maxCacheSize","cacheSize","previousCache","isSeparatorSingleCharacter","firstSeparatorCharacter","separatorLength","parseClassName","modifiers","bracketDepth","modifierStart","postfixModifierPosition","currentCharacter","baseClassNameWithImportantModifier","hasImportantModifier","experimentalParseClassName","sortedModifiers","unsortedModifiers","modifier","classGroupsInConflict","originalClassName","maybePostfixModifierPosition","getClassGroupId","baseClassName","variantModifier","modifierId","classId","conflictGroups","getConflictingClassGroupIds","mix","themeGetter","label","testValue","spacing","blur","brightness","borderColor","borderRadius","borderSpacing","borderWidth","contrast","grayscale","hueRotate","invert","gap","gradientColorStops","gradientColorStopPositions","inset","margin","opacity","saturate","sepia","skew","space","translate","getOverscroll","getOverflow","getSpacingWithAutoAndArbitrary","getSpacingWithArbitrary","getLengthWithEmptyAndArbitrary","getNumberWithAutoAndArbitrary","getPositions","getLineStyles","getBlendModes","getAlign","getZeroAndEmpty","getBreaks","getNumberAndArbitrary","baseConfig","configKey","extend","overrideValue","overrideKey","overrideObject","baseObject","mergeObject","mergeValue","createConfig","configExtension","ie$1","_$4","M$4","R$4","v$19","q$2","j$3","Z$1","ce$1","le$1","init_dist$7","b$1","N","F","U","C","W","S","g$1","A","O","h$1","V","K","l$1","u$1$1","ne","a$1","D","H","te","f$19","r$10","l$7","d$50","init_color","p$2","init_radius","x$6","init_screens","r$9","o$8","i$25","init_space","l$6","e$5","init_default_theme","e$4","l$5","r$8","init_defaultTheme","e$3","i$24","t$7","o$7","init_typography$1","n$71","init_zIndex","x$5","init_theme$2","r$7","c$14","p$1","init_tailwind_variants","a$19","init_layer_style","n$69","r$6","init_dialog_style","i$23","r$5","init_loader","init_IcAiOff","IcAiOff_exports","init_IcApple","IcApple_exports","init_IcArray","IcArray_exports","init_IcArrayBold","IcArrayBold_exports","init_IcArrayBoldFill","IcArrayBoldFill_exports","init_IcArrayRegular","IcArrayRegular_exports","init_IcArrowLeftBold","IcArrowLeftBold_exports","init_IcArrowLeftBoldFill","IcArrowLeftBoldFill_exports","init_IcArrowLeftLight","IcArrowLeftLight_exports","init_IcArrowLeftRegular","IcArrowLeftRegular_exports","init_IcArrowRightBold","IcArrowRightBold_exports","init_IcArrowRightBoldFill","IcArrowRightBoldFill_exports","init_IcArrowRightLight","IcArrowRightLight_exports","init_IcArrowRightRegular","IcArrowRightRegular_exports","init_IcBagBold","IcBagBold_exports","init_IcBagBoldFill","IcBagBoldFill_exports","init_IcBagRegular","IcBagRegular_exports","init_IcBarsBold","IcBarsBold_exports","init_IcBarsBoldFill","IcBarsBoldFill_exports","init_IcBarsLight","IcBarsLight_exports","init_IcBarsRegular","IcBarsRegular_exports","init_IcBellBold","IcBellBold_exports","init_IcBellBoldFill","IcBellBoldFill_exports","init_IcBellLight","IcBellLight_exports","init_IcBellRegular","IcBellRegular_exports","init_IcBelloffBold","IcBelloffBold_exports","init_IcBelloffBoldFill","IcBelloffBoldFill_exports","init_IcBelloffLight","IcBelloffLight_exports","init_IcBelloffRegular","IcBelloffRegular_exports","init_IcBoxBold","IcBoxBold_exports","init_IcBoxBoldFill","IcBoxBoldFill_exports","init_IcBoxLight","IcBoxLight_exports","init_IcBoxRegular","IcBoxRegular_exports","init_IcCameraBold","IcCameraBold_exports","init_IcCameraBoldFill","IcCameraBoldFill_exports","init_IcCameraLight","IcCameraLight_exports","init_IcCameraRegular","IcCameraRegular_exports","init_IcCategoryBold","IcCategoryBold_exports","init_IcCategoryBoldFill","IcCategoryBoldFill_exports","init_IcCategoryRegular","IcCategoryRegular_exports","init_IcCautionBold","IcCautionBold_exports","init_IcCautionBoldFill","IcCautionBoldFill_exports","init_IcCautionLight","IcCautionLight_exports","init_IcCautionRegular","IcCautionRegular_exports","init_IcCheckBold","IcCheckBold_exports","init_IcCheckBoldFill","IcCheckBoldFill_exports","init_IcCheckCalendarBold","IcCheckCalendarBold_exports","init_IcCheckCalendarBoldFill","IcCheckCalendarBoldFill_exports","init_IcCheckCalendarLight","IcCheckCalendarLight_exports","init_IcCheckCalendarRegular","IcCheckCalendarRegular_exports","init_IcCheckCircleBold","IcCheckCircleBold_exports","init_IcCheckCircleBoldFill","IcCheckCircleBoldFill_exports","init_IcCheckCircleLight","IcCheckCircleLight_exports","init_IcCheckCircleRegular","IcCheckCircleRegular_exports","init_IcCheckLight","IcCheckLight_exports","init_IcCheckRegular","IcCheckRegular_exports","init_IcChevronDownBold","IcChevronDownBold_exports","init_IcChevronDownBoldFill","IcChevronDownBoldFill_exports","init_IcChevronDownLight","IcChevronDownLight_exports","init_IcChevronDownRegular","IcChevronDownRegular_exports","init_IcChevronLeftBold","IcChevronLeftBold_exports","init_IcChevronLeftBoldFill","IcChevronLeftBoldFill_exports","init_IcChevronLeftLight","IcChevronLeftLight_exports","init_IcChevronLeftRegular","IcChevronLeftRegular_exports","init_IcChevronRightBold","IcChevronRightBold_exports","init_IcChevronRightBoldFill","IcChevronRightBoldFill_exports","init_IcChevronRightLight","IcChevronRightLight_exports","init_IcChevronRightRegular","IcChevronRightRegular_exports","init_IcChevronUpBold","IcChevronUpBold_exports","init_IcChevronUpBoldFill","IcChevronUpBoldFill_exports","init_IcChevronUpLight","IcChevronUpLight_exports","init_IcChevronUpRegular","IcChevronUpRegular_exports","init_IcClockBold","IcClockBold_exports","init_IcClockBoldFill","IcClockBoldFill_exports","init_IcClockLight","IcClockLight_exports","init_IcClockRegular","IcClockRegular_exports","init_IcCloseBold","IcCloseBold_exports","init_IcCloseBoldFill","IcCloseBoldFill_exports","init_IcCloseLight","IcCloseLight_exports","init_IcCloseRegular","IcCloseRegular_exports","init_IcCommentBold","IcCommentBold_exports","init_IcCommentBoldFill","IcCommentBoldFill_exports","init_IcCommentLight","IcCommentLight_exports","init_IcCommentRegular","IcCommentRegular_exports","init_IcCommentRound","IcCommentRound_exports","init_IcCouponBold","IcCouponBold_exports","init_IcCouponBoldFill","IcCouponBoldFill_exports","init_IcCouponLight","IcCouponLight_exports","init_IcCouponRegular","IcCouponRegular_exports","init_IcDeliveryBold","IcDeliveryBold_exports","init_IcDeliveryBoldFill","IcDeliveryBoldFill_exports","init_IcDeliveryLight","IcDeliveryLight_exports","init_IcDeliveryRegular","IcDeliveryRegular_exports","init_IcDisclosureOffBold","IcDisclosureOffBold_exports","init_IcDisclosureOffBoldFill","IcDisclosureOffBoldFill_exports","init_IcDisclosureOffLight","IcDisclosureOffLight_exports","init_IcDisclosureOffRegular","IcDisclosureOffRegular_exports","init_IcDisclosureOnBold","IcDisclosureOnBold_exports","init_IcDisclosureOnBoldFill","IcDisclosureOnBoldFill_exports","init_IcDisclosureOnLight","IcDisclosureOnLight_exports","init_IcDisclosureOnRegular","IcDisclosureOnRegular_exports","init_IcDocumentBold","IcDocumentBold_exports","init_IcDocumentBoldFill","IcDocumentBoldFill_exports","init_IcDocumentLight","IcDocumentLight_exports","init_IcDocumentRegular","IcDocumentRegular_exports","init_IcDownloadBold","IcDownloadBold_exports","init_IcDownloadBoldFill","IcDownloadBoldFill_exports","init_IcDownloadLight","IcDownloadLight_exports","init_IcDownloadRegular","IcDownloadRegular_exports","init_IcEditOutlined","IcEditOutlined_exports","init_IcEnlargementBold","IcEnlargementBold_exports","init_IcEnlargementBoldFill","IcEnlargementBoldFill_exports","init_IcEnlargementLight","IcEnlargementLight_exports","init_IcEnlargementRegular","IcEnlargementRegular_exports","init_IcEyeOffBold","IcEyeOffBold_exports","init_IcEyeOffBoldFill","IcEyeOffBoldFill_exports","init_IcEyeOffLight","IcEyeOffLight_exports","init_IcEyeOffRegular","IcEyeOffRegular_exports","init_IcEyeOnBold","IcEyeOnBold_exports","init_IcEyeOnBoldFill","IcEyeOnBoldFill_exports","init_IcEyeOnLight","IcEyeOnLight_exports","init_IcEyeOnRegular","IcEyeOnRegular_exports","init_IcFacebook","IcFacebook_exports","init_IcFilterBold","IcFilterBold_exports","init_IcFilterBoldFill","IcFilterBoldFill_exports","init_IcFilterDotBold","IcFilterDotBold_exports","init_IcFilterDotBoldFill","IcFilterDotBoldFill_exports","init_IcFilterDotLight","IcFilterDotLight_exports","init_IcFilterDotRegular","IcFilterDotRegular_exports","init_IcFilterLight","IcFilterLight_exports","init_IcFilterRegular","IcFilterRegular_exports","init_IcFoldChevronLeftBold","IcFoldChevronLeftBold_exports","init_IcFoldChevronLeftBoldFill","IcFoldChevronLeftBoldFill_exports","init_IcFoldChevronLeftLight","IcFoldChevronLeftLight_exports","init_IcFoldChevronLeftRegular","IcFoldChevronLeftRegular_exports","init_IcFoldChevronRightBold","IcFoldChevronRightBold_exports","init_IcFoldChevronRightBoldFill","IcFoldChevronRightBoldFill_exports","init_IcFoldChevronRightLight","IcFoldChevronRightLight_exports","init_IcFoldChevronRightRegular","IcFoldChevronRightRegular_exports","init_IcFulfillmentLogo","IcFulfillmentLogo_exports","init_IcGiftBold","IcGiftBold_exports","init_IcGiftBoldFill","IcGiftBoldFill_exports","init_IcGiftLight","IcGiftLight_exports","init_IcGiftRegular","IcGiftRegular_exports","init_IcGithub","IcGithub_exports","init_IcGoogle","IcGoogle_exports","init_IcHangerBold","IcHangerBold_exports","init_IcHangerBoldFill","IcHangerBoldFill_exports","init_IcHangerLight","IcHangerLight_exports","init_IcHangerRegular","IcHangerRegular_exports","init_IcHeartBold","IcHeartBold_exports","init_IcHeartBoldFill","IcHeartBoldFill_exports","init_IcHeartRegular","IcHeartRegular_exports","init_IcHomeBold","IcHomeBold_exports","init_IcHomeBoldFill","IcHomeBoldFill_exports","init_IcHomeLight","IcHomeLight_exports","init_IcHomeRegular","IcHomeRegular_exports","init_IcHouseBold","IcHouseBold_exports","init_IcHouseBoldFill","IcHouseBoldFill_exports","init_IcHouseRegular","IcHouseRegular_exports","init_IcInfoCircleBold","IcInfoCircleBold_exports","init_IcInfoCircleBoldFill","IcInfoCircleBoldFill_exports","init_IcInfoCircleLight","IcInfoCircleLight_exports","init_IcInfoCircleRegular","IcInfoCircleRegular_exports","init_IcInstagram","IcInstagram_exports","init_IcKakao","IcKakao_exports","init_IcLawBold","IcLawBold_exports","init_IcLawBoldFill","IcLawBoldFill_exports","init_IcLawLight","IcLawLight_exports","init_IcLawRegular","IcLawRegular_exports","init_IcLetterBold","IcLetterBold_exports","init_IcLetterFill","IcLetterFill_exports","init_IcLetterLight","IcLetterLight_exports","init_IcLetterRegular","IcLetterRegular_exports","init_IcLikeFilled","IcLikeFilled_exports","init_IcLikeOutlined","IcLikeOutlined_exports","init_IcLockBold","IcLockBold_exports","init_IcLockBoldFill","IcLockBoldFill_exports","init_IcLockRegular","IcLockRegular_exports","init_IcLockoffBold","IcLockoffBold_exports","init_IcLockoffBoldFill","IcLockoffBoldFill_exports","init_IcLockoffRegular","IcLockoffRegular_exports","init_IcMil","IcMil_exports","init_IcMinusBold","IcMinusBold_exports","init_IcMinusBoldFill","IcMinusBoldFill_exports","init_IcMinusLight","IcMinusLight_exports","init_IcMinusRegular","IcMinusRegular_exports","init_IcMute","IcMute_exports","init_IcMyBold","IcMyBold_exports","init_IcMyBoldFill","IcMyBoldFill_exports","init_IcMyRegular","IcMyRegular_exports","init_IcNaver","IcNaver_exports","init_IcPencilBold","IcPencilBold_exports","init_IcPencilBoldFill","IcPencilBoldFill_exports","init_IcPencilLight","IcPencilLight_exports","init_IcPencilRegular","IcPencilRegular_exports","init_IcPictureBold","IcPictureBold_exports","init_IcPictureBoldFill","IcPictureBoldFill_exports","init_IcPictureLight","IcPictureLight_exports","init_IcPictureRegular","IcPictureRegular_exports","init_IcPlay","IcPlay_exports","init_IcPlusBold","IcPlusBold_exports","init_IcPlusBoldFill","IcPlusBoldFill_exports","init_IcPlusLight","IcPlusLight_exports","init_IcPlusRegular","IcPlusRegular_exports","init_IcPoint","IcPoint_exports","init_IcPricedown","IcPricedown_exports","init_IcQuestionBold","IcQuestionBold_exports","init_IcQuestionBoldFill","IcQuestionBoldFill_exports","init_IcQuestionLight","IcQuestionLight_exports","init_IcQuestionRegular","IcQuestionRegular_exports","init_IcRedoBold","IcRedoBold_exports","init_IcRedoBoldFill","IcRedoBoldFill_exports","init_IcRedoLight","IcRedoLight_exports","init_IcRedoRegular","IcRedoRegular_exports","init_IcRemoveBold","IcRemoveBold_exports","init_IcRemoveBoldFill","IcRemoveBoldFill_exports","init_IcRemoveRoundedBoldFill","IcRemoveRoundedBoldFill_exports","init_IcRemoveLight","IcRemoveLight_exports","init_IcRemoveRegular","IcRemoveRegular_exports","init_IcScrapBold","IcScrapBold_exports","init_IcScrapBoldFill","IcScrapBoldFill_exports","init_IcScrapLight","IcScrapLight_exports","init_IcScrapRegular","IcScrapRegular_exports","init_IcSearchBold","IcSearchBold_exports","init_IcSearchBoldFill","IcSearchBoldFill_exports","init_IcSearchListBold","IcSearchListBold_exports","init_IcSearchListBoldFill","IcSearchListBoldFill_exports","init_IcSearchListLight","IcSearchListLight_exports","init_IcSearchListRegular","IcSearchListRegular_exports","init_IcSearchRegular","IcSearchRegular_exports","init_IcSettingBold","IcSettingBold_exports","init_IcSettingBoldFill","IcSettingBoldFill_exports","init_IcSettingLight","IcSettingLight_exports","init_IcSettingRegular","IcSettingRegular_exports","init_IcShareBold","IcShareBold_exports","init_IcShareBoldFill","IcShareBoldFill_exports","init_IcShareLight","IcShareLight_exports","init_IcShareRegular","IcShareRegular_exports","init_IcSocialApple","IcSocialApple_exports","init_IcSocialGoogle","IcSocialGoogle_exports","init_IcSocialInstagram","IcSocialInstagram_exports","init_IcSocialYoutube","IcSocialYoutube_exports","init_IcSpaceBold","IcSpaceBold_exports","init_IcSpaceBoldFill","IcSpaceBoldFill_exports","init_IcSpaceLight","IcSpaceLight_exports","init_IcSpaceRegular","IcSpaceRegular_exports","init_IcStarBold","IcStarBold_exports","init_IcStarBoldFill","IcStarBoldFill_exports","init_IcStarHalfBold","IcStarHalfBold_exports","init_IcStarHalfBoldFill","IcStarHalfBoldFill_exports","init_IcStarHalfLight","IcStarHalfLight_exports","init_IcStarHalfRegular","IcStarHalfRegular_exports","init_IcStarLight","IcStarLight_exports","init_IcStarRegular","IcStarRegular_exports","init_IcTag","IcTag_exports","init_IcThreeGridBold","IcThreeGridBold_exports","init_IcThreeGridBoldFill","IcThreeGridBoldFill_exports","init_IcThreeGridLight","IcThreeGridLight_exports","init_IcThreeGridRegular","IcThreeGridRegular_exports","init_IcTrashBold","IcTrashBold_exports","init_IcTrashBoldFill","IcTrashBoldFill_exports","init_IcTrash","IcTrash_exports","init_IcTrashLight","IcTrashLight_exports","init_IcTrashRegular","IcTrashRegular_exports","init_IcTrashUnion","IcTrashUnion_exports","init_IcTwoGridBold","IcTwoGridBold_exports","init_IcTwoGridBoldFill","IcTwoGridBoldFill_exports","init_IcTwoGridLight","IcTwoGridLight_exports","init_IcTwoGridRegular","IcTwoGridRegular_exports","init_IcVolume","IcVolume_exports","init_IcVolumeOff","IcVolumeOff_exports","init_IcVolumeOn","IcVolumeOn_exports","init_IcWon","IcWon_exports","init_IcWonBold","IcWonBold_exports","init_IcWonBoldFill","IcWonBoldFill_exports","init_IcWonLight","IcWonLight_exports","init_IcWonRegular","IcWonRegular_exports","init_IcYoutube","IcYoutube_exports","a$18","g$4","j$2","v$18","init_Icon$1","N$6","E$3","init_TextButton$1","v$1","B","n$68","S$1","init_RulerStackContext","e$2","init_constants$3","R$3","e$1","init_Dialog_hooks","l$4","init_Dialog_style","a$17","init_usePressedState","t$6","init_Icon_types","l$3","s$61","init_Spinner_types$1","c$13","t$5","d$49","k$4","init_Spinner$1","i$22","r$4","o$5","s$60","d$48","n$67","init_Button_style","w$6","c$12","_$3","H$1","init_Button$1","s$1","t$1","o$1","M$3","init_Dialog","r$1","UNSET_COLOR","BADGE_PREFIX_ICON_OPTIONS","init_Badge_constants","getBadgeBackgroundColor","getBadgeTextColor","init_Badge_utils","isBlur","Badge","baseBadgeStyle","badgeStyleBySize","badgeStyleByVariant","iconSizeByBadgeSize","init_Badge","isWhite","customizedBadgeColor","customBackgroundColor","customTextColor","configuredBadgeColors","tone","badgeBackgroundColor","badgeTextColor","badgePadding","badgeStyle","IMAGE_HOST","IMAGE_BASE_URL","getImageUrl","init_getImageUrl","enforceWebp","FALLBACK_IMAGE_URL","PreviewCard","containerStyle$16","glowStyle","previewRowStyle","leftIconStyle","thumbnailFrameStyle","thumbnailImageStyle","bubbleRowStyle","bubbleTextStyle","bubbleTailStyle","init_PreviewCard","posterImageUrl","RadioIndicator","init_RadioIndicator","selected","createLegacyOneLink","createOneLink","onelinkApi","init_OnelinkAPIService","REWARD_KEY_FETCHER_KEY","useFetchRewardKey","init_useFetchRewardKey","fromZonedTime","utc","init_fromZonedTime","createUTCFromKST","init_createUTCFromKST","ARROW_WIDTH","getArrowRight","getTime","isDateInPeriod","getMatchedImageUrlByDate","EVENT_SHARE_IMAGE_PERIODS","init_TasteShareHelpTooltip_utils","buttonSize","targetTime","period","useTasteSharingShareContent","FALLBACK_OG_IMAGE_URL","useShareContent","SOURCE_TASTE_SHARING_SHARE","createShareOnelink","extractUrlComponents","init_ShareTypeSelector_hooks","sharerMileageRewardsByAction","sum","reward","participantMileageRewardsByAction","sharerTotalMileageAmount","participantTotalMileageAmount","ogImageUrl","enabledRewardKey","enabledFetchRewardKey","isFetchingRewardKey","baseShareUrl","executePlatformShare","getShareableOnelinkUrl","inComingRewardKey","appPath","rewardKey","openGraphOptions","urlObj","ShareTypeSelectorView","dialogContainerStyle","radioGroupStyleByPresentation","bottomSheetContainerStyle","bottomSheetTitleStyle","bottomSheetButtonRowStyle","optionCardContainerStyle","optionCardOverlayButtonStyle","optionCardBodyStyle","optionCardHeaderRowStyle","optionCardLabelStyle","optionCardDescriptionWrapperStyle","optionCardDescriptionStyle","optionCardPreviewWrapperStyle","optionCardActionWrapperStyle","init_ShareTypeSelectorView","withRewardKey","setWithRewardKey","requestClose","shareContent","selectorContent","useShareTypeSelectorBottomSheet","init_ShareTypeSelectorBottomSheet_hooks","getStyle","on","off","noop$2","isBrowser","init_util$1","createBreakpoint","init_createBreakpoint","breakpoints","screen","setScreen","setSideScreen","sortedBreakpoints","createUseStyles","init_createUseStyle","viewportBreakpoint","overriddenBreakpoint","responsiveStyles","responsiveStyle","LocalStorage$2","localStorage$2","init_local_storage","preserveTTL","initialValue","storageKeyMatchListener","createStorageKeyMatchListener","CUSTOM_STORAGE_EVENT_NAME","setStorage","setOptions","dispatchSyncStorageEvent","removeStorage","init_useLocalStorage","DISMISS_PREFIX","OLD_DISMISS_KEYS","OLD_DISMISS_KEY","PERMANENT_TTL_MS","useTasteShareHelpTooltipDismiss","init_TasteShareHelpTooltip_hooks","storedRewardProgramKey","storedLegacyRewardProgramKey","isProgramDismissed","programKey","storedKey","isDismissed","setIsDismissed","useResponsiveSplitViewStyles","TasteShareHelpTooltip","tooltipContainerStyle","tooltipTextStyle","closeButtonStyle","arrowStyle","init_TasteShareHelpTooltip","\"base\"","isResponsiveSplitView","totalMileageAmount","dismiss","useMediaQuery","setMatches","handleChange","getMatches","matchMedia","init_useMediaQuery","mobileMediaQuery","useIsMobileDevice","init_useIsMobileDevice","isMobileMediaQuery","ShareButtonWithReferralEvent","buttonStyle$3","init_ShareButtonWithReferralEvent","tasteSharingProgramData","shareTypeSelectorBottomSheet","isShareTypeSelectorOpen","setIsShareTypeSelectorOpen","TASTE_SHARING_ACTIVE_PROGRAM_FETCHER_KEY","useFetchTasteSharingActiveProgram","init_useFetchTasteSharingActiveProgram","REWARD_VISIT_MUTATION_KEY","postRewardVisit","useRewardVisitMutation","init_useRewardVisitMutation","isMutating","L$2","init_AlertDialog_hooks","o$4","init_AlertDialog_style","I$3","init_AlertDialog","__defProp$4","__defNormalProp$4","__publicField$3","AlertDialogManager","manager","AlertDialogContainer","alertDialog","init_AlertDialogContainer","alertProps","newAlert","alert","alerts","setAlerts","handleHide","useRewardVisitErrorHandler","init_useRewardVisitErrorHandler","navigateToEventDetail","clickClose","buttonName","useRemoveRewardKey","init_useRemoveRewardKey","LoginCallout","init_LoginTooltip","useIsWebview","isWebView","setIsWebView","init_useIsWebview","useNavigateToEventHub","init_useNavigateToEventHub","MileageRewardCallout","init_MileageTooltip","mileageText","navigateToEventHub","CloseButton","Tooltip","init_Tooltip","onClose","MY_REWARDS_FETCHER_KEY","useMyRewards","init_useMyRewards","getMileageText","init_getMileageText","mileageRewards","hasVisit","hasSignUp","ReferralEventRewardHandlerInner","ReferralEventRewardHandler","init_ReferralEventRewardHandler","tooltip","setTooltip","isRewardVisitSuccess","setIsRewardVisitSuccess","processedRef","isLoadingTasteSharingProgram","handleRewardVisitError","removeRewardKey","clickCloseTooltip","ShareButton","buttonStyle$2","init_ShareButton","handleClick","FloatingShareButton","containerStyle$15","init_FloatingShareButton","globalLayout","__defProp$3","__defNormalProp$3","__publicField$2","EventEmitter","init_event_emitter","handlers","ProductEvent","productEmitter","init_product_event_emitter","\"SYNC_IDS\"","ProductEvent2","useSendProductIds","init_useSendProductIds","dispatchAppendProductIds","productIdsString","send","ProductApiService","productApi","init_ProductApiService","productNo","HEART_PRODUCT_LIST_FETCHER_KEY","useFetchHeartProductList","init_useFetchHeartProductList","heartList","useProductGroupHeart","init_useProductGroupHeart","mutateHeartList","heartProductId","ProductCardType","init_ProductCard_types","\"CARD\"","\"BAR\"","\"CARD_DETAILED\"","ProductCardType2","i$21","init_commaizeNumber","l$2","r$3","n$66","o$3","d$47","g$3","s$59","x$4","f$18","init_Badge_style","b$3","B$1","C$5","m$2","E$2","O$5","init_Badge$1","f$1","f$17","g$2","w$5","y$1","init_OptionFee","a$16","init_ProductHorizontalCard_style","i$20","init_formatNumberWithKoreanUnit","v$17","f$16","init_LikeCountButton","i$1","t$4","init_IconButton_style","k$3","init_IconButton","i$19","h$28","init_ProductHorizontalCardPostfix","w$4","E$1","O$4","G$2","M$2","F$1","init_ProductHorizontalCard","b$2","h$27","j$1","init_PreuserProductCardInfo","f$15","f$14","h$26","h$25","i$18","s$58","a$15","a$14","d$46","d$45","a$13","a$12","d$44","d$43","h$24","h$23","h$22","s$57","s$56","s$55","d$42","n$65","d$41","h$21","s$54","s$53","d$40","f$13","s$52","s$51","d$39","d$38","c$11","d$37","n$64","d$36","n$63","s$50","v$16","v$15","n$62","n$61","d$35","a$11","n$60","n$59","h$20","n$58","d$34","d$33","s$49","s$48","s$47","s$46","n$57","n$56","d$32","d$31","d$30","d$29","n$55","n$54","d$28","d$27","n$53","n$52","d$26","d$25","n$51","n$50","d$24","d$23","s$45","s$44","s$43","s$42","s$41","s$40","a$10","s$39","d$22","s$38","s$37","d$21","d$20","c$10","s$36","s$35","s$34","h$19","i$17","a$9","o$2","d$19","d$18","f$12","f$11","d$17","d$16","n$49","n$48","h$18","n$47","h$17","v$14","n$46","n$45","n$44","n$43","s$33","v$13","i$16","v$12","i$15","f$10","n$42","f$9","n$41","n$40","s$32","s$31","c$9","c$8","h$16","n$39","n$38","n$37","n$36","n$35","h$15","h$14","f$8","h$13","n$34","n$33","n$32","n$31","c$7","h$12","i$14","v$11","h$11","s$30","s$29","n$30","n$29","a$8","n$28","s$28","s$27","s$26","s$25","t$3","r$2","c$6","v$10","s$24","n$27","d$15","n$26","n$25","i$13","n$24","i$12","i$11","v$9","v$8","h$10","s$23","a$7","d$14","h$9","i$10","a$6","a$5","v$7","c$5","v$6","h$8","n$23","n$22","s$22","s$21","h$7","n$21","s$20","s$19","h$6","s$18","n$20","n$19","n$18","s$17","s$16","d$13","d$12","s$15","s$14","s$13","s$12","s$11","c$4","s$10","n$17","n$16","c$3","d$11","d$10","n$15","a$4","s$9","i$9","n$14","n$13","n$12","c$2","n$11","n$10","n$9","s$8","s$7","h$5","d$9","v$5","h$4","s$6","d$8","i$8","a$3","i$7","s$5","d$7","d$6","d$5","s$4","f$7","f$6","t$2","h$3","n$8","n$7","f$5","f$4","f$3","f$2","n$6","n$5","s$3","v$4","d$4","v$3","d$3","i$6","s$2","i$5","d$2","i$4","n$4","h$2","v$2","d$1","n$3","n$2","i$3","i$2","c$1","icon_exports","init_icon","init_mapIconName","n$1","init_normalizeImageBadges","w$3","z$4","C$4","N$5","R$2","init_PreuserProductCardPreview","s$1$3","z$3","R$1","I$2","init_CompactPreuserCardPreview","n$1$1","s$1$2","N$4","z$2","init_CompactPreuserProductCard","x$3","init_ColorChip","a$2","init_ProductCardInfo_style","sp","U$1","W$2","init_ProductCardInfo","G","x$1","M","x$2","init_LikeButton","O$3","C$3","A$1","$$2","q$1","init_CompactCardPreview","x2","s$1$1","O$1","N$3","init_CompactProductCard","init_PreuserProductCard_style","_$2","init_PreuserProductCard","j$1$1","a$1$1","C$1","O$2","P$2","Zm","$$1","init_CardPreview","init_ProductCard_style","N$2","init_ProductCard","sendAppSchemeMessage","init_sendAppSchemeMessage","iframe","useRedirectLoginDialog","init_useRedirectLoginDialog","REQUEST_TYPE$2","useShowSelectionEntryPoint","init_useShowSelectionEntryPoint","imageUrl","productId","init_HeartIcon","isPast","init_isPast","getProductBadges","getRulerProductBadges","isPreuserRecruitEnded","init_ProductCard_utils","badges","baseBadges","badgeValue","recruitEndAt","createProductEventProperties","init_product","init_head","differenceInHours","init_differenceInHours","useTrackClickProduct","useTrackViewProduct","useTrackImpProduct","useTrackClickProductHeart","createSnowplowProductEventProperties","createSnowplowLikeEventProperties","createSnowplowPreuserEventProperties","init_useEvent","isProductGroup","positionNo","maxPositionNo","snowplowProperties","tagValue","remainingHours","useProductHeart","init_useProductHeart","heartCount","setHeartCount","handleLikeOn","onHeartOn","trackClickProductHeartOn","extraEventTrackingProperties","showSelectionEntryPoint","handleLikeOff","onHeartOff","trackClickProductHeartOff","showRedirectLoginDialog","isPrevHeartOff","isHeartOn","Scene","init_global_scene_stack_types","\"MAIN\"","\"BOTTOM_SHEET\"","Scene2","useGlobalSceneStackStore","init_global_scene_stack_store","sceneStack","scene","_toConsumableArray","arr2","hasPassiveEvents","passiveTestOptions","isIosDevice","locks","documentListenerAdded","initialClientY","previousBodyOverflowSetting","previousBodyPaddingRight","allowTouchMove","preventDefault","setOverflowHidden","restoreOverflowSetting","isTargetElementTotallyScrolled","handleScroll","disableBodyScroll","enableBodyScroll","init_bodyScrollLock_esm","rawEvent","_reserveScrollBarGap","scrollBarGap","targetElement","clientY","lock2","useBodyScrollLock","targetElementRef","isLocked","init_useBodyScrollLock","useGlobalSceneStack","init_useGlobalSceneStack","dispatchPushSceneStack","dispatchPopSceneStack","useTargetAppVersion","init_useTargetAppVersion","minIosVersion","maxIosVersion","minAndroidVersion","maxAndroidVersion","overlayStyles","contentStyles","handlebarContainerStyles","handlebarStyles","childrenContainer$2","transitionIn","transitionOut","BottomSheet","init_BottomSheet","detent","contentRef","dragControls","closeOnOverlayClick","draggable","isTargetAppVersion","useDeviceInfo","init_useDeviceInfo","isMobile$1","setIsMobile","setIsWebview","isIos$1","setIsIos","isAndroid$1","setIsAndroid","isTabView$1","setIsTabView","childrenContainer$1","css$3","init_ResponsiveSplitView_module_css","createUseStylesForResponsiveSplitView","init_styles","useStyles$1","BASE_INSET_BOTTOM","ResponsiveSplitView","init_ResponsiveSplitView","isSideDrawerOpen","setIsSideDrawerOpen","isSplitView","isButtonVisble","setIsButtonVisible","scrollY","buttonVisibilityThresholdVh","dispatchSetGlobalLayout","mainContent","sideContent","toggleBottomSheet","getBottom","isCustomBottomSheetButton","customBottomSheetButton","buttonTitle","childrenContainer","css$2","init_ResponsiveSplitViewOverlayButton_module_css","useStyles","ResponsiveSplitViewOverlayButton","init_ResponsiveSplitViewOverlayButton","overlayRef","setIsOpen","isRendered","setIsRendered","buttonElement","overlayElement","useTrackClickTabBarContentEvent","init_TabBar_hooks_event","TabBarContext","useTabBarContext","init_TabBarContext","selectedIndex","setSelectedIndex","classNames$14","withStyle$13","TabBarItem$3","init_TabBarItem","classNames$13","withStyle$12","transition$3","TabBar","getAbsoluteOffsetTop$4","init_TabBar","containerRef","isInitialTabReady","setIsInitialTabReady","sectionElementsRef","initialItemIndex","selectItem","scrollToSectionByIndex","clientHeight","elementOffsetTops","tabBarHeight","offsetY","getItemIdForIndex","onSelectedIndexChange","focusTabByIndex","tabBarAnimation","itemElement","centerPosition","withAnimation","trackClickTabBarContentEvent","tabBarPadding","isMixed","paddingTop","paddingRight","paddingBottom","paddingLeft","tabBarMaxWidth","toggleMaxWidth","maxWidth","useSmallTypography","bar","text$3","styles$2","init_TimeProgressBar_module_css","differenceInMinutes","init_differenceInMinutes","TimeProgressBar","init_TimeProgressBar","startDateString","startTimeString","endDateString","endTimeString","today","remainder","progress","remainderDays","styleWithoutHeight","isDDayEnabled","fillColor","container$5","styles$1","init_ViewportContainer_module_css","ViewportContainer","init_ViewportContainer","viewportHeight","toRGBA$2","shouldShowTabItem$2","filterVisibleTabItems$2","init_TabBarV2_utils","segmentState","classNames$12","withStyle$11","TabBarItem$2","init_TabBarItem$1","DURATION_BY_INTENSITY","playHaptic","init_playHaptic","\"heavy\"","\"light\"","\"soft\"","\"rigid\"","intensity","extractRequiredSegments$2","createCanvasSegmentState$2","createRealSegmentState$2","useTabBarSegments$2","init_useTabBarSegments","segments","groupIds","categoryNewBuyerStates","categoryQueries","requiredSegments","needsUserSegment","needsCategoryFirstOrder","isCategoryLoading","allCategoryQueries","userLoading","categoryLoading","useIsomorphicLayoutEffect","init_useIsomorphicLayoutEffect$1","useMeasure","defaultState","setRect","top_1","right","useMeasure$1","init_useMeasure","classNames$11","withStyle$10","transition$2","TabBarV2","backgroundColorByTheme$2","textColorByTheme$2","getAbsoluteOffsetTop$3","clamp$2","init_TabBarV2","wrapperRef","tabBarWidth","isSegmentLoading","visibleItems","initialBackgroundColor","initialTextColor","fadeInOut","handleLayoutDone","isPassed","upper","lower","classNames$10","withStyle$9","TabBarItem$1","init_TabBarItem$2","unselectedColor","toRGBA$1","shouldShowTabItem$1","filterVisibleTabItems$1","init_TabBarV3_utils","CATEGORY_COUPON_FIRST_ORDER_SEGMENT_LIST_FETCHER_KEY","useCategoryNewBuyerCoupons","init_useCategoryNewBuyerCoupons","couponIds","extractRequiredSegments$1","createCanvasSegmentState$1","createRealSegmentState$1","useTabBarSegments$1","init_useTabBarSegments$1","categoryNewBuyerCouponStates","couponListData","isOrderable","needsCategoryNewBuyerProduct","groupIdsToQuery","needsCategoryNewBuyerCoupon","couponIdsToQuery","isCouponListLoading","categoryNewBuyerProductLoading","classNames$9","withStyle$8","transition$1","backgroundColorByTheme$1","textColorByTheme$1","unselectedTextColorByTheme$1","stickyBorderColorByTheme$1","getAbsoluteOffsetTop$2","clamp$1","TabBarV3","init_TabBarV3","hasProcessedInitialHash","setHasProcessedInitialHash","couponIdExceedsLimit","initialUnselectedTextColor","initialStickyBorderColor","stableBackgroundColor","borderTopColor","indicatorLayoutId","scrollTop","maxScroll","updateSectionElements","targetId","isUserInteracted","scrollToHash","itemIndex","handleUserInteraction","initialTimeout","forceCleanup","hashFromUrl","lastIndex","calcIndexByProbePercent","probePosition","probePercent","indexAt20","handleKeyDown","newIndex","classNames$8","withStyle$7","TabBarItem","init_TabBarItem$3","toRGBA","shouldShowTabItem","filterVisibleTabItems","init_TabBarV4_utils","TOLERANCE","MAX_LOCK_DURATION","STABLE_FRAME_THRESHOLD","STUCK_FRAME_THRESHOLD","INTERACTION_EVENTS","SCROLL_INTENT_KEYS","scrollAnchoringSuppressorCount","overflowAnchorBeforeSuppress","suppressNativeScrollAnchoring","restoreNativeScrollAnchoring","getHashTargetId","startAnchorLock","useHashAnchorLock","init_useHashAnchorLock","startedAt","isReleased","cachedTarget","stableFrames","stuckFrames","hasMarkedResolved","markResolved","onResolved","adjust","delta","getOffset","maxScrollTop","nextScrollTop","release","maxDurationTimer","releaseByScrollIntentKey","releaseByInteraction","onRelease","tick","setTargetId","isSettled","setIsSettled","isReleasedByInteraction","setIsReleasedByInteraction","isResolved","setIsResolved","offsetRef","hashTargetId","extractRequiredSegments","createCanvasSegmentState","createRealSegmentState","useTabBarSegments","init_useTabBarSegments$2","classNames$7","withStyle$6","transition","backgroundColorByTheme","textColorByTheme","unselectedTextColorByTheme","stickyBorderColorByTheme","getAbsoluteOffsetTop$1","clamp","TabBarV4","init_TabBarV4","isAnchorSettled","isAnchorResolved","isRevealed","hasSyncedHashTabRef","isSelectionPinnedRef","unpin","unpinByScrollIntentKey","targetIndex","callMolocoTracker","init_moloco_tracker","trackerUrl","useTrackProductEvents","init_ProductCard_hooks_event","molocoImpressionUrl","molocoClickUrl","isAllInView","trackViewProduct","extraEventProperties","trackImpPreuserProduct","trackImpProduct","trackClickProduct","trackClickPreuserProduct","barStyle","cardStyle$1","init_ProductCard_styles","differenceInDays","compareLocalAsc","difference","init_differenceInDays","ProductCard","timeTextComponent","init_ProductCard$1","init_Products","handleBrandNameClick","trackClickProductEvent","handleHeartClick","handleToggleLike","brandHomeUrl","rulerBadges","shouldRenderBadges","hasSoldOutBadge","hasBadges","horizontalCardPostfix","hasHeart","hasHeartCount","imgFullUrl","productHref","isEnded","preuserHref","trackClickPreuserProductEvent","hasName","hasBrandName","hasPrice","hasRank","hasMetaGroup","diffDays","ProductsType","Breakpoint$1","init_Products_type","\"PRODUCTS_NUMBERS\"","ProductsType2","classNames$6","withStyle$5","ProductsLayout","layoutBaseStyle","layoutStyleByLayout","layoutStyleByBreakpoint","init_ProductsLayout","isCanvasMobileResponsive","layoutStyle","layoutClassName","useTrackClickButtonContentEvent","init_useTrackClickButtonContentEvent","tackSnowplowEvent","buttonProps","ExpandButton","baseButtonLayoutStyle","buttonLayoutStyleByBreakpoint","init_ExpandButton","handleClickExpandButton","expand","trackClickButtonContentEvent","buttonLayoutStyle","Intersection","init_Intersection","onView","ProductLoading","productLayoutStyle","imageStyle","textSkeletonLayoutStyle","textSkeletonStyle","init_ProductLoading","PRODUCT_LIST_FETCHER_QUERY_KEY","useFetchProductList","useFetchProductListV2","init_useFetchProductList","hasProductIdList","productList","extraQueryKey","SAFE_PRODUCTS_RATE","useProducts$1","init_Products_hooks","setProducts","page","setPage","isLastPage","setIsLastPage","startIndex","setStartIndex","appendedProductList","getNextStartIndex","lastProductId","ProductsInner","Products$1","productIdListString","isRenderButton","hasButton","productIdListArray","shouldRenderSkeleton","shouldRenderButton","shouldRenderIntersection","handleHeartOn","handleHeartOff","updateNextStartIndex","productsType","isResponsive","Portal","init_Portal","usePreventBodyScroll","init_Dialog_hooks$1","pageYOffset","Dialog","init_Dialog$1","responsiveFullSize","hideButtons","secondaryButtonText","onSecondaryButtonClick","onPrimaryButtonClick","primaryButtonText","useDialogEventEmitter","toDialogEventEmitterParams","init_DialogContainer_hooks","dispatchInit","dispatchShow","dispatchHide","dispatchRemove","restProps","DialogContainer","init_DialogContainer","dialogs","BottomSheetContainer","init_BottomSheetContainer","__defProp$2","__defNormalProp$2","__publicField$1","UIManager","uiManager","init_UIManager","newItem","M$1","D$2","init_BottomSheet_hooks","init_BottomSheet_style","k$2","w$2","G$1","init_BottomSheet$1","AppCompatBottomSheet","init_AppCompatBottomSheet","innerRef","currentElement","originalPaddingBottom","ui","init_ui","UIContainer","init_UIContainer","setItems","container$4","animate","text$2","init_ToastContainer_module_css","ToastContainer","variants","init_ToastContainer","__extends$2","extendStatics$2","__awaiter$7","__generator$7","__read$6","__assign$8","init_tslib_es6$1","runQueuedFunctions","convertProxyObjectToRealObject","isInstanceProxy","init_snippet_helper","name_1","instanceProxy","VERSION$1","init_version","getLanguage$1","init_language","userLanguage","UUID","init_uuid$1","BROWSER_PLATFORM","IP_ADDRESS","Context","init_context$1","Context2","lastEventId","nextEventId","BrowserStorage","init_browser_storage","BrowserStorage2","storage","random","testStorage","testKey","getGlobalScope$1","init_global_scope","ampIntegrationContextName","MAX_ARRAY_LENGTH","LocalStorage$1","init_local_storage$1","LocalStorage2","_super","droppedEventsCount","SessionStorage","init_session_storage","SessionStorage2","Status","init_status","\"Unknown\"","\"Skipped\"","\"Success\"","\"RateLimit\"","\"PayloadTooLarge\"","\"Invalid\"","\"Failed\"","\"Timeout\"","\"SystemError\"","BaseTransport","init_base","BaseTransport2","responseJSON","XHRTransport","init_xhr","XHRTransport2","serverUrl","responseText","SendBeaconTransport","init_send_beacon","SendBeaconTransport2","globalScope","STORAGE_PREFIX","AMPLITUDE_SERVER_URL","EU_AMPLITUDE_SERVER_URL","AMPLITUDE_BATCH_SERVER_URL","EU_AMPLITUDE_BATCH_SERVER_URL","init_constants$4","getCookieName","getOldCookieName","init_cookie_name","postKey","parseLegacyCookies","parseTime","decode$1","init_cookie_migration","deleteLegacyCookies","optOut","cookieStorage","integer","DEFAULT_EVENT_PREFIX","DEFAULT_FORM_START_EVENT","DEFAULT_FORM_SUBMIT_EVENT","DEFAULT_FILE_DOWNLOAD_EVENT","DEFAULT_SESSION_START_EVENT","DEFAULT_SESSION_END_EVENT","FILE_EXTENSION","FILE_NAME","LINK_ID","LINK_TEXT","LINK_URL","FORM_ID","FORM_NAME","FORM_DESTINATION","DEFAULT_IDENTITY_STORAGE","init_constants$5","LogLevel","init_logger$1","\"None\"","\"Error\"","\"Warn\"","\"Verbose\"","\"Debug\"","PREFIX$1","Logger","init_logger$2","Logger2","getDefaultConfig","Config","getServerUrl","createServerConfig","RequestMetadata","init_config$1","Config2","serverConfig","serverZone","useBatch","_serverZone","RequestMetadata2","__extends$1","extendStatics$1","__rest$1","__awaiter$6","__generator$6","__read$5","__assign$7","init_tslib_es6$2","FetchTransport","init_fetch","FetchTransport2","__rest","__awaiter$5","__generator$5","__values$4","__read$4","__spreadArray$4","__assign$6","init_tslib_es6$3","MemoryStorage","init_memory","MemoryStorage2","getQueryParams","tryDecodeURIComponent","init_query_params","CookieStorage","decodeCookiesAsDefault","decodeCookiesWithDoubleUrlEncoding","init_cookie","CookieStorage2","testStrorage","decodedValue","expirationDays","expires","expireDate","BrowserConfig","useBrowserConfig","createCookieStorage","createTransport$1","getTopLevelDomain","init_config$2","BrowserConfig2","cookieOptions","flushIntervalMillis","flushMaxRetries","flushQueueSize","identityStorage","loggerProvider","offline","sessionTimeout","storageProvider","trackingOptions","transport","fetchRemoteConfig","appVersion","defaultTracking","autocapture","ingestionMetadata","instanceName","minIdLength","partnerId","plan","pageCounter","debugLogsEnabled","legacyCookies","previousCookies","queryParams","browserConfig","_3","host","levels","storageKey","formInteractionTracking","stringOrUndefined","init_form_interaction_tracking","eventListeners","addEventListener","type2","removeClickListeners","amplitude","addFormInteractionListener","hasFormChanged","_b2","mutations","fileDownloadTracking","init_file_download_tracking","addFileDownloadListener","fileExtension","notified","detNotify","init_det_notification","networkConnectivityCheckerPlugin","init_network_connectivity_checker","addNetworkListener","removeNetworkListeners","__awaiter$4","__generator$4","__values$3","__assign$5","init_tslib_es6$4","ServerZone","init_server_zone","\"US\"","\"EU\"","UNEXPECTED_NETWORK_ERROR_MESSAGE","SUCCESS_REMOTE_CONFIG","MAX_RETRIES_EXCEEDED_MESSAGE$1","TIMEOUT_MESSAGE","UNEXPECTED_ERROR_MESSAGE$1","REMOTE_CONFIG_SERVER_URL","REMOTE_CONFIG_SERVER_URL_STAGING","REMOTE_CONFIG_SERVER_URL_EU","RemoteConfigFetch","createRemoteConfigFetch$1","init_remote_config","RemoteConfigFetch2","localConfig","configKeys","fetchStartTime","configAPIResponse","remoteConfig","configNamespace","urlParams","parsedStatus","e_1","knownError","e_2","e_2_1","_this2","createRemoteConfigFetch","init_esm$1","BrowserJoinedConfigGenerator","createBrowserJoinedConfigGenerator","init_joined_config","BrowserJoinedConfigGenerator2","joinedConfigGenerator","returnWrapper","init_return_wrapper","awaitable","ApplicationContextProviderImpl","getLanguage","EventBridgeImpl","__assign$4","isEqual$1","ID_OP_SET","ID_OP_UNSET","ID_OP_CLEAR_ALL","IdentityStoreImpl","safeGlobal$1","AnalyticsConnector","init_analytics_connector_esm","ApplicationContextProviderImpl2","EventBridgeImpl2","typeA","obj1","obj2","primitive_1","isArrayA","isArrayB","result_1","ownProps","resArray","IdentityStoreImpl2","self2","actingUserProperties","actingIdentity","userProperties","actingProperties","actions","originalIdentity","identity","AnalyticsConnector2","\"analyticsConnectorInstances\"","getAnalyticsConnector","setConnectorUserId","setConnectorDeviceId","init_analytics_connector","isTrackingEnabled","isAttributionTrackingEnabled","isFileDownloadTrackingEnabled","isFormInteractionTrackingEnabled","isPageViewTrackingEnabled","isSessionTrackingEnabled","isElementInteractionsEnabled","getElementInteractionsConfig","getPageViewTrackingConfig","getAttributionTrackingConfig","init_default_tracking","trackOn","trackHistoryChanges","MAX_PROPERTY_KEYS","isValidObject","isValidProperties","init_valid_properties","isValid","value_1","value_1_1","valueElement","e_1_1","IdentifyOperation","RevenueProperty","SpecialEventType","init_event","\"SET\"","\"SET_ONCE\"","\"ADD\"","\"APPEND\"","\"PREPEND\"","\"REMOVE\"","\"PREINSERT\"","\"POSTINSERT\"","\"UNSET\"","\"CLEAR_ALL\"","\"REVENUE_PRODUCT_ID\"","\"REVENUE_QUANTITY\"","\"REVENUE_PRICE\"","\"REVENUE_TYPE\"","\"REVENUE\"","\"IDENTIFY\"","\"GROUP_IDENTIFY\"","Identify","init_identify","Identify2","operation","userPropertyMap","Revenue","init_revenue","Revenue2","quantity","price","revenueType","revenue","SUCCESS_MESSAGE","UNEXPECTED_ERROR_MESSAGE","MAX_RETRIES_EXCEEDED_MESSAGE","OPT_OUT_MESSAGE","MISSING_API_KEY_MESSAGE","CLIENT_NOT_INITIALIZED","init_messages","buildResult","init_result_builder","Timeline","init_timeline","Timeline2","existingPlugin","plugin2","pluginName","before","before_1","before_1_1","enrichment","enrichment_1","enrichment_1_1","destination","executeDestinations","eventClone","resolveResult","createTrackEvent","createIdentifyEvent","createGroupIdentifyEvent","createGroupEvent","createRevenueEvent","init_event_builder","eventInput","eventOptions","identify","groupType","groupName","AmplitudeCore","init_core_client","AmplitudeCore2","queuedFunctions","queuedFunctions_1","queuedFunctions_1_1","queuedFunction","__awaiter$3","__generator$3","__values$2","__read$3","__spreadArray$3","__assign$3","init_tslib_es6$5","PLUGIN_NAME","AMPLITUDE_ELEMENT_CLICKED_EVENT","AMPLITUDE_EVENT_PROP_ELEMENT_ID","AMPLITUDE_EVENT_PROP_ELEMENT_CLASS","AMPLITUDE_EVENT_PROP_ELEMENT_TAG","AMPLITUDE_EVENT_PROP_ELEMENT_TEXT","AMPLITUDE_EVENT_PROP_ELEMENT_HIERARCHY","AMPLITUDE_EVENT_PROP_ELEMENT_HREF","AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_LEFT","AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_TOP","AMPLITUDE_EVENT_PROP_ELEMENT_ARIA_LABEL","AMPLITUDE_EVENT_PROP_ELEMENT_ATTRIBUTES","AMPLITUDE_EVENT_PROP_ELEMENT_SELECTOR","AMPLITUDE_EVENT_PROP_ELEMENT_PARENT_LABEL","AMPLITUDE_EVENT_PROP_PAGE_URL","AMPLITUDE_EVENT_PROP_PAGE_TITLE","AMPLITUDE_EVENT_PROP_VIEWPORT_HEIGHT","AMPLITUDE_EVENT_PROP_VIEWPORT_WIDTH","AMPLITUDE_ORIGIN","AMPLITUDE_ORIGIN_EU","AMPLITUDE_ORIGIN_STAGING","AMPLITUDE_ORIGINS_MAP","AMPLITUDE_VISUAL_TAGGING_SELECTOR_SCRIPT_URL","AMPLITUDE_VISUAL_TAGGING_HIGHLIGHT_CLASS","init_constants$6","finder","defaults","findRootDocument","config$1","bottomUpSearch","optimized","sort","optimize","maybe","classNames$5","any","nth","dispensableNth","nthChild","level_1","level_1_1","findUniquePath","paths","combinations","paths_1","paths_1_1","candidate","unique","penalty","rootDocument","elementId","attr2","notEmpty","e_3_1","e_3","newPath","newPathKey","same","init_finder","generateUniqueId","SENSITIVE_TAGS","createShouldTrackEvent","isNonSensitiveString","isTextNode","isNonSensitiveElement","getText","getSelector","isPageUrlAllowed","getAttributesWithPrefix","isEmpty","removeEmptyProperties","getNearestLabel","getClosestElement","getEventTagProps","asyncLoadScript","filterOutNonTrackableEvents","init_helpers$1","pageUrlAllowlist","autocaptureOptions","shouldTrackEventResolver","actionType","elementType","allowlist","childText","logger","typedError","classes","allowedUrl","attributeKey","attributeValue","filteredProperties","labelElement","labelText","selectors","scriptElement","WindowMessenger","init_messenger","WindowMessenger2","isElementSelectable","cssSelectorAllowlist","actionClickAllowlist","amplitudeVisualTaggingSelectorInstance","eventData","actionData_1","_a3","getElementProperties","prevSiblingTag","filteredAttributes","BLOCKED_ATTRIBUTES","isSensitiveElement","HIGHLY_SENSITIVE_INPUT_TYPES","SVG_TAGS","filteredAttributes_1","filteredAttributes_1_1","SENSITIVE_ELEMENT_ATTRIBUTE_ALLOWLIST","MAX_ATTRIBUTE_LENGTH","getAncestors","targetEl","ensureListUnderLimit","numChars","ensureUnicodePythonCompatible","bytesLimit","MAX_HIERARCHY_LENGTH","getHierarchy","init_hierarchy","hierarchy","isFunction$1","hasLift","operate","liftedSource","init_lift","createErrorClass","ctorFunc","UnsubscriptionError","init_UnsubscriptionError","arrRemove","isSubscription","Subscription","execFinalizer","finalizer","init_Subscription","Subscription2","initialTeardown","_parentage","_parentage_1","_parentage_1_1","initialFinalizer","_finalizers","_finalizers_1","_finalizers_1_1","teardown","empty","init_config$3","timeoutProvider","init_timeoutProvider","handle","reportUnhandledError","init_reportUnhandledError","noop$1","bind","_bind","handleUnhandledError","defaultErrorHandler","Subscriber","ConsumerObserver","SafeSubscriber","EMPTY_OBSERVER","init_Subscriber","Subscriber2","ConsumerObserver2","partialObserver","SafeSubscriber2","observerOrNext","context_1","createOperatorSubscriber","OperatorSubscriber","onNext","onComplete","onError","onFinalize","init_OperatorSubscriber","OperatorSubscriber2","shouldUnsubscribe","closed_1","pairwise","hasPrev","subscriber","init_pairwise","init_filter$1","Action","init_Action$1","Action2","intervalProvider","init_intervalProvider","AsyncAction","init_AsyncAction","AsyncAction2","scheduler","work","errored","errorValue","dateTimestampProvider","init_dateTimestampProvider","Scheduler","init_Scheduler","Scheduler2","schedulerActionCtor","AsyncScheduler","init_AsyncScheduler","AsyncScheduler2","SchedulerAction","asyncScheduler","async","init_async","debounceTime","activeTask","lastValue","lastTime","emit","emitWhenIdle","dueTime","init_debounceTime","project","init_map$1","isArrayLike$1","init_isArrayLike","isPromise","init_isPromise","observable","init_observable","identity$1","pipeFromArray","fns","init_pipe","errorContext","getPromiseCtor","promiseCtor","isObserver","isSubscriber","Observable","init_Observable","Observable2","observable2","operator","sink","isInteropObservable","init_isInteropObservable","isAsyncIterable","init_isAsyncIterable","createInvalidObservableTypeError","getSymbolIterator","iterator","init_iterator","isIterable","init_isIterable","readableStreamLikeToAsyncGenerator","reader","readableStream","isReadableStreamLike","init_isReadableStreamLike","innerFrom","fromInteropObservable","fromPromise","fromAsyncIterable","fromIterable","fromReadableStreamLike","obs","iterable_1","iterable","iterable_1_1","process","asyncIterable","asyncIterable_1","asyncIterable_1_1","init_innerFrom","executeSchedule","repeat","scheduleSubscription","parentSubscription","mergeInternals","buffer","isComplete","checkComplete","outerNext","concurrent","doInnerSub","innerComplete","onBeforeNext","innerValue","bufferedValue","innerSubScheduler","additionalFinalizer","init_mergeInternals","mergeMap","resultSelector","init_mergeMap","mergeAll","init_mergeAll","EMPTY","init_empty","isScheduler","init_isScheduler","last$1","popScheduler","popNumber","init_args","observeOn","init_observeOn","subscribeOn","init_subscribeOn","scheduleObservable","init_scheduleObservable","schedulePromise","init_schedulePromise","scheduleArray","init_scheduleArray","scheduleIterable","iterator$1","init_scheduleIterable","scheduleAsyncIterable","init_scheduleAsyncIterable","scheduleReadableStreamLike","init_scheduleReadableStreamLike","scheduled","init_scheduled","init_from","merge$2","sources","init_merge","concatAll","init_concatAll","concat","init_concat","take","init_take","ignoreElements","init_ignoreElements","mapTo","init_mapTo","delayWhen","subscriptionDelay","delayDurationSelector","init_delayWhen","isValidDate","intervalDuration","intervalOrScheduler","due","init_timer","init_delay","currentBuffer","closingNotifier","init_buffer","trackClicks","allObservables","shouldTrackEvent","clickObservable","triggers","targetChanged","samePos","click","clickType","clicks","clicks_1","clicks_1_1","init_track_click","trackChange","getEventProperties","changeEvent","init_track_change","switchMap","innerSubscriber","innerIndex","outerIndex","init_switchMap","timeout$1","each","_with","timeoutErrorFactory","schedulerArg","meta","originalSourceSubscription","timerSubscription","TimeoutError","init_timeout","trackActionClick","shouldTrackActionClick","mutationObservable","navigateObservable","filteredClickObservable","clickEvent","changeObservables","mutationOrNavigate","actionClick","init_track_action_click","callOrApply","isArray$1","mapOneOrManyArgs","init_mapOneOrManyArgs","fromEvent","isEventTarget","eventTargetMethods","isNodeStyleEventEmitter","nodeEventEmitterMethods","toCommonHandlerRegistry","isJQueryStyleEventEmitter","jqueryMethods","remove","subTarget","init_fromEvent","isElementBasedEvent","DEFAULT_CSS_SELECTOR_ALLOWLIST$1","DEFAULT_ACTION_CLICK_ALLOWLIST","DEFAULT_DATA_ATTRIBUTE_PREFIX$1","ObservablesEnum","autocapturePlugin","init_autocapture_plugin","\"ClickObservable\"","\"ChangeObservable\"","\"NavigateObservable\"","\"MutationObservable\"","dataAttributePrefix","visualTaggingOptions","createObservables","addAdditionalEventProperties","changeObservable","change","mutationObserver","ariaLabel","nearestLabel","baseEvent","closestTrackedAncestor","clickTrackingSubscription","changeSubscription","actionClickSubscription","_c2","subscriptions_1","subscriptions_1_1","subscription","__awaiter$2","__generator$2","__read$2","__spreadArray$2","__assign$2","init_tslib_es6$6","omitUndefined","init_utils$1","UTM_CAMPAIGN","UTM_CONTENT","UTM_ID","UTM_MEDIUM","UTM_SOURCE","UTM_TERM","DCLID","FBCLID","GBRAID","GCLID","KO_CLICK_ID","LI_FAT_ID","MSCLKID","RDT_CID","TTCLID","TWCLID","WBRAID","BASE_CAMPAIGN","init_constants$7","CampaignParser","init_campaign_parser","CampaignParser2","defaultPageViewEvent","pageViewTrackingPlugin","getCampaignParams","isCampaignEvent","shouldTrackHistoryPageView","init_page_view_tracking","pushState","createPageViewEvent","shouldTrackOnPageLoad","previousURL","trackHistoryPageView","newURL","shouldTrackPageView","trackHistoryPageViewWrapper","unused","pageViewEvent","$set","$unset","userProperties_1","trackingOption","oldURL","IdentityEventSender","init_identity$1","IdentityEventSender2","chunk","init_chunk","chunkSize","chunkIndex","chunks","getErrorMessage$1","getResponseBodyString","responseBodyString","Destination","init_destination","Destination2","unsent","shouldAddToQueue","tryable","useRetry","later","batches","dropIndex","dropIndexSet","dropUserIds","dropDeviceIds","throttledIndex","dropUserIdsSet","dropDeviceIdsSet","throttledIndexSet","updatedEvents","eventsToRemove","queuedContext","domainWithoutSubdomain","isDirectTraffic","isNewCampaign","isExcludedReferrer","createCampaignEvent","getDefaultExcludedReferrers","init_helpers$2","isNewSession","referring_domain","currentCampaign","prevReferringDomain","previousCampaign","hasNewCampaign","hasNewDomain","excludeReferrers","referringDomain","campaignParameters","campaign","identifyEvent","getStorageKey","init_helpers$3","init_session","WebAttribution","init_web_attribution","WebAttribution2","isEventInNewSession","campaignEvent","event_id","AmplitudeBrowser","init_browser_client","AmplitudeBrowser2","userIdOrOptions","maybeOptions","browserOptions","attributionTrackingOptions","querySessionId","connector","previousSessionId","isCampaignEventTracked","currentTime","shouldSetSessionIdOnNewCampaign","browserConfigCopy","getStacktrace","getClientLogConfig","getValueByStringPath","getClientStates","debugWrapper","init_debug","ignoreDepth","fnContext","getLogConfig","debugContext","fnName","getStates","createInstance","init_browser_client_factory","client2","DEFAULT_CSS_SELECTOR_ALLOWLIST","DEFAULT_DATA_ATTRIBUTE_PREFIX","init_element_interactions","esm_exports$1","init_esm$2","esm_exports","add$1","extendSession","getDeviceId","getSessionId","getUserId","groupIdentify","init$1","logEvent","setDeviceId","setGroup","setOptOut","setSessionId","setTransport","setUserId","init_esm$3","__extends","extendStatics","__awaiter$1","__generator$1","__values$1","__read$1","__spreadArray$1","__assign$1","EvaluationOperator","stringToUtf8ByteArray","C1_32","C2_32","R1_32","R2_32","M_32","N_32","hash32x86","mix32","fmix32","rotateLeft","readIntLe","reverseBytes","select","VERSION_PATTERN","SemanticVersion","EvaluationEngine","topologicalSort","parentTraversal","version$1","VERSION","_hasatob","_hasbtoa","_hasBuffer","_TD","_TE","b64chs","b64tab","b64re","_fromCC","_U8Afrom","_mkUriSafe","_tidyB64","btoaPolyfill","_btoa","_fromUint8Array","fromUint8Array","cb_utob","re_utob","utob","_encode","encodeURI$1","re_btou","cb_btou","btou","atobPolyfill","_atob","_toUint8Array","toUint8Array","_decode","_unURI","decode","_noEnum","extendString","extendUint8Array","extendBuiltins","gBase64","FetchError","SdkEvaluationApi","SdkFlagApi","safeGlobal","Poller","init_experiment_core_esm","seed","nBlocks","k1","kResult","hashResult","selector_1","selector_1_1","selectorElement","selectable","SemanticVersion2","preRelease","patch","matchGroup","EvaluationEngine2","results","flags_1","flags","flags_1_1","flag","e_4","variantKey","conditions","conditions_1","conditions_1_1","e_4_1","propValue","propValueStringList","propValueString","e_5","e_6","bucketingValue","keyToHash","allocationValue","distributionValue","allocation","allocationStart","allocationEnd","distribution","distributionStart","distributionEnd","e_6_1","e_5_1","containsNone","filterValues","propValues","lower_1","e_7","filterValues_1","filterValues_1_1","filterValue","e_7_1","propValueTransformed","typeTransformer","filterValuesTransformed","typeComparator","filterValueTransformed","compareTo","anyArray","stringValue","parsedValue","xs","xa","ys","ya","e_8","filterValues_2","filterValues_2_1","e_8_1","e_9","filterValues_3","filterValues_3_1","e_9_1","available","startingKeys","flagKeys","startingKeys_1","startingKeys_1_1","flagKey","traversal","parentKey2","parentKey","tab","m0","u32","c0","asc","pad","u8a","maxargs","strs","urlsafe","cc","cccc","u24","r1","_add","FetchError2","SdkEvaluationApi2","deploymentKey","httpClient","userJsonBase64","SdkFlagApi2","flagsArray","Poller2","uaParser","init_ua_parser","uaParserExports","init_ua_parser$1","LIBVERSION","FUNC_TYPE","UNDEF_TYPE","OBJ_TYPE","STR_TYPE","MAJOR","MODEL","NAME","TYPE","VENDOR","ARCHITECTURE","CONSOLE","MOBILE","TABLET","SMARTTV","WEARABLE","EMBEDDED","AMAZON","APPLE","ASUS","BLACKBERRY","BROWSER","CHROME","EDGE","FIREFOX","GOOGLE","HUAWEI","LG","MICROSOFT","MOTOROLA","OPERA","SAMSUNG","SHARP","SONY","XIAOMI","ZEBRA","FACEBOOK","mergedRegexes","regexes2","extensions","enumerize","enums","str1","lowerize","str2","majorize","undefined$1","rgxMapper","arrays","strMapper","oldSafariMap","windowsVersionMap","regexes","UAParser","_ua","window2","_rgxmap","_browser","_cpu","_device","_engine","_os","ua2","__awaiter","__generator","__values","__read","__spreadArray","unfetch","__assign","fetch$1","_request","WrapperClient","FetchHttpClient","Source","VariantSource","isFallback","Defaults","ConnectorUserProvider","ConnectorExposureTrackingProvider","DefaultUserProvider","LocalStorage","getVariantStorage","getFlagStorage","LoadStoreCache","transformVariantFromStorage","exposureEvent","isNullOrUndefined","isNullUndefinedOrEmpty","isLocalEvaluationMode","Backoff","convertUserToContext","convertVariant","convertEvaluationVariantToVariant","SessionAnalyticsProvider","SessionExposureTrackingProvider","fetchBackoffTimeout","fetchBackoffAttempts","fetchBackoffMinMillis","fetchBackoffMaxMillis","fetchBackoffScalar","flagPollerIntervalMillis","euServerUrl","euFlagsServerUrl","ExperimentClient","instances","initialize","initializeWithAmplitudeAnalytics","Experiment","init_experiment_esm","simpleResponse","requestUrl","WrapperClient2","\"LocalStorage\"","\"InitialVariants\"","\"SecondaryLocalStorage\"","\"SecondaryInitialVariants\"","\"FallbackInline\"","\"FallbackConfig\"","\"LocalEvaluation\"","ConnectorUserProvider2","identityStore","ConnectorExposureTrackingProvider2","eventBridge","exposure","DefaultUserProvider2","applicationContextProvider","userProvider","truncatedDeployment","LoadStoreCache2","transformer","rawValues","jsonValues","storageValue","\"key\"","\"value\"","\"payload\"","\"metadata\"","experimentKey","\"expKey\"","\"experimentKey\"","userProperty","Backoff2","attempts","scalar","nextAttempt","nextDelay","attempt","groupNames","groupNameMap","groupProperties","\"group_properties\"","\"groups\"","evaluationVariant","SessionAnalyticsProvider2","SessionExposureTrackingProvider2","exposureTrackingProvider","trackedExposure","ExperimentClient2","flagsReadyPromise","fetchOnStart","sourceVariant","evaluatedVariants","userPropertiesCopy","evaluationVariants","defaultSourceVariant","isLocalEvaluationDefault","initialVariant","fallbackVariant","fallbackSourceVariant","localStorageVariant","isLocalStorageDefault","initialVariantsVariant","failedFlagKeys","this_1","providedUser","mergedUserProperties","event_1","optionalParams","instanceKey","__defProp$1","__defNormalProp$1","__publicField","AMPLITUDE_DEVICE_ID_DATA_ATTRIBUTE","AMPLITUDE_EXPERIMENT_CLIENT_KEY","AMPLITUDE_ANALYTICS_KEY","WebAmplitudeService","webAmplitude","init_WebAmplitudeService","analyticsKey","appDeviceId","newConfig","variantFlag","useWebAmplitudeVariants","init_useWebAmplitudeVariants","setLoading","amplitudeVariant","setAmplitudeVariant","ONE_MEMBER_CONNECT_LINK_TIMEOUT_MS","AuthApiService","authApi","init_AuthApiService","MSS_ONE_BFF_ERROR_CODE","useCheckOne","init_useCheckOne","checkOne","TREATMENT_VARIANT","FORCE_POPUP_FLAG_KEYS","useForceOneMemberRedirect","init_useForceOneMemberRedirect","lowFlag","highFlag","hasRedirectedRef","onCheckOne","isOneMember","FRAMER_CONTENT_ID_COLLECTION_FETCHER_KEY","MAX_ATTEMPTS","RETRY_DELAY_MS","BACKGROUND_RETRY_COUNT","RETRYABLE_CLIENT_ERROR_STATUS","isRetryableError","fetchWithRetry","useFetchFramerContentIdCollection","init_useFetchFramerContentIdCollection","maxAttempts","hasFailed","MESSAGE_TYPE","init_Bootstrap_constants","deduplicate","init_deduplicate","duplicates","usePrevious","init_usePrevious","listCacheClear","eq","assocIndexOf","init__assocIndexOf","listCacheDelete","splice","init__listCacheDelete","listCacheGet","init__listCacheGet","listCacheHas","init__listCacheHas","listCacheSet","init__listCacheSet","ListCache","init__ListCache","\"delete\"","stackClear","init__stackClear","stackDelete","stackGet","stackHas","isFunction","funcTag$2","genTag$1","asyncTag","proxyTag","init_isFunction$1","coreJsData","init__coreJsData","isMasked","maskSrcKey","init__isMasked","uid","toSource","funcToString$2","init__toSource","baseIsNative","reIsNative","reIsHostCtor","reRegExpChar","funcProto$1","objectProto$3","funcToString$1","hasOwnProperty$11","init__baseIsNative","getValue","getNative","init__getNative","Map$1","init__Map","nativeCreate","init__nativeCreate","hashClear","init__hashClear","hashDelete","hashGet","HASH_UNDEFINED$2","hasOwnProperty$10","init__hashGet","hashHas","hasOwnProperty$9","init__hashHas","hashSet","HASH_UNDEFINED$1","init__hashSet","Hash","init__Hash","mapCacheClear","\"hash\"","\"map\"","\"string\"","init__mapCacheClear","isKeyable","getMapData","init__getMapData","mapCacheDelete","init__mapCacheDelete","mapCacheGet","init__mapCacheGet","mapCacheHas","init__mapCacheHas","mapCacheSet","init__mapCacheSet","MapCache","init__MapCache","stackSet","pairs","LARGE_ARRAY_SIZE","init__stackSet","Stack","init__Stack","setCacheAdd","HASH_UNDEFINED","init__setCacheAdd","setCacheHas","SetCache","init__SetCache","arraySome","cacheHas","equalArrays","isPartial","bitmask","COMPARE_PARTIAL_FLAG$3","othLength","arrStacked","othStacked","COMPARE_UNORDERED_FLAG$1","arrValue","othValue","customizer","compared","othIndex","othValue2","equalFunc","init__equalArrays","Uint8Array$1","init__Uint8Array","mapToArray","init__mapToArray","setToArray","equalByTag","dataViewTag$4","arrayBufferTag$3","boolTag$3","dateTag$3","numberTag$3","errorTag$2","regexpTag$3","stringTag$3","mapTag$5","convert","setTag$5","COMPARE_PARTIAL_FLAG$2","stacked","COMPARE_UNORDERED_FLAG","symbolTag$2","symbolValueOf$1","symbolProto$1","init__equalByTag","arrayPush","isArray","init_isArray","baseGetAllKeys","keysFunc","symbolsFunc","init__baseGetAllKeys","arrayFilter","resIndex","stubArray","propertyIsEnumerable$1","nativeGetSymbols","getSymbols","init__getSymbols","symbol","baseTimes","iteratee","baseIsArguments","argsTag$3","init__baseIsArguments","objectProto$2","hasOwnProperty$8","propertyIsEnumerable","isArguments","init_isArguments","stubFalse","freeExports$2","freeModule$2","Buffer$1","isBuffer","init_isBuffer","isIndex","MAX_SAFE_INTEGER$1","reIsUint","init__isIndex","isLength","MAX_SAFE_INTEGER","init_isLength","baseIsTypedArray","typedArrayTags","argsTag$2","arrayTag$2","boolTag$2","dateTag$2","errorTag$1","funcTag$1","mapTag$4","numberTag$2","objectTag$4","regexpTag$2","setTag$4","stringTag$2","weakMapTag$2","arrayBufferTag$2","dataViewTag$3","float32Tag$2","float64Tag$2","int8Tag$2","int16Tag$2","int32Tag$2","uint8Tag$2","uint8ClampedTag$2","uint16Tag$2","uint32Tag$2","init__baseIsTypedArray","baseUnary","freeExports$1","freeModule$1","freeProcess","nodeUtil","init__nodeUtil","nodeIsTypedArray","isTypedArray","init_isTypedArray","arrayLikeKeys","isArr","isArg","isBuff","isType","skipIndexes","inherited","hasOwnProperty$7","init__arrayLikeKeys","isPrototype","Ctor","objectProto$1","init__isPrototype","overArg","nativeKeys","init__nativeKeys","baseKeys","hasOwnProperty$6","init__baseKeys","isArrayLike","init_isArrayLike$1","init_keys","getAllKeys","init__getAllKeys","equalObjects","COMPARE_PARTIAL_FLAG$1","objProps","objLength","hasOwnProperty$5","objStacked","skipCtor","objValue","objCtor","othCtor","init__equalObjects","DataView","init__DataView","Promise$1","init__Promise","Set$1","init__Set","WeakMap$1","init__WeakMap","mapTag$3","objectTag$3","promiseTag","setTag$3","weakMapTag$1","dataViewTag$2","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","getTag","getTag$1","init__getTag","ctorString","baseIsEqualDeep","objIsArr","othIsArr","objTag","arrayTag$1","othTag","argsTag$1","objectTag$2","objIsObj","othIsObj","isSameTag","COMPARE_PARTIAL_FLAG","objIsWrapped","hasOwnProperty$4","othIsWrapped","objUnwrapped","othUnwrapped","init__baseIsEqualDeep","baseIsEqual","init__baseIsEqual","init_isEqual$1","collectProductIds","collectVideoUrls","useSendAdditionalMetadata","useSendMetadata","useSendMetadataStatus","useSendContentId","CONTENT_SUMMARY_COMPONENT","useInitializeContentSummary","useIsOrganicScroll","stringToNumber","FONT_FAMILY_OUTPUT_URL","FONT_FAMILY_OUTPUT_ID","FONT_FAMILY_VARIABLE_SCRIPT_ID","useInjectFontCSS","VIEWPORT_META_CONTENT","useSyncViewportMeta","init_Bootstrap_hooks","unsubscribe","urls","additional","prevMetadata","dispatchSetSummary","dispatchInitSummary","isFailed","onSiteContentId","mobilePoster","isDragging","isScrolling","handleTouchMove","handleTouchEnd","debouncedHandleScrollEnd","injectFontCSS","link","injectFontVariableScript","existingViewportMeta","viewportMeta","previousContent","REWARD_KEY_MAPPING","getRewardParams","init_reward","rewardParam","parseViewAttribution","normalizedValue","pair","valueParts","joinedValue","numericValue","mergeUtmParams","utmParams","utm_campaign","n_campaign_type","useTrackVisitContent","useTrackViewAttribution","init_Bootstrap_hooks_event","sourceParams","rewardParams","extraProperties","extraSnowplowProperties","isInitBraze","brazeProperties","hasTrackedRef","mergedProperties","useUpdatedRef","init_useUpdatedRef","useWindowEventListener","init_useWindowEventListener","useOverHalfInView","isOverHalfInView","init_useOverHalfInView","prevIsInView","updatedCallback","elementsRef","offsetTop","SCROLL_END_DEBOUNCE_MS","useWindowScrollEndEventListener","init_useWindowScrollEndEventListener","handleScrollEnd","useWindowScrollStartEventListener","init_useWindowScrollStartEventListener","isExecuted","updatedListener","useElementsRefById","init_useElementsRefById","elementIds","useInterval","init_useInterval","savedCallback","interval_1","TRACK_PING_CONTENT_DELAY","useTrackPingContent","useTrackScrollContent$1","useCanTrackReadingIndexEvents","useIsWebviewLayerOpen","useIsExcludedSectionInView","toIntegerString","getViewportBottomPosition$1","getScrollDirection$1","init_AdvancedReadingIndexTracker_hooks","canTrackPingContentEvent","prevScrollTop","prevScrollTime","updateScrollTop","updateScrollTime","getProperties","viewportWidth","viewportBottomPosition","scrollDirection","scrollTimeElapsedMs","isOrganicScroll","debouncedTrackScrollContent","canTrackScrollContentEvent","isOrganic","excludeSectionIds","isWebviewLayerOpen","isMainScene","isScrolledInExcludedSection","isExcludedSectionInView","handleReceiveMessage","innerHeight","prevScrollPosition","nextScrollPosition","AdvancedReadingIndexTracker","init_AdvancedReadingIndexTracker","useTrackStayContent","useTrackScrollContent","getViewportBottomPosition","getScrollDirection","init_ReadingIndexTracker_hooks","prevFocusTime","updateFocusTime","latestFocusTime","latestScrollTime","scrollTime","ReadingIndexTracker","init_ReadingIndexTracker","initFirebase","init_firebase$1","loadBrazeScript","BRAZE_SCRIPT_ID","BRAZE_SCRIPT_SRC","INIT_PARAMETER","useInitBrazeCDN","brazeInit","init_useInitBrazeCDN","setIsInitBraze","CAMPAIGN_SCHEDULE","getCampaignPhaseStatus","init_CampaignBanner_utils","teasingStart","teasingEnd","mainStart","mainEnd","lastDayStart","lastDayEnd","Title$1","titleStyle","strongTitleStyle","init_Title$1","strongText","useTrackCampaignBanner","init_CampaignBanner_hooks_event","dateWithMonths","dateWithDays","msToAdd","init_add","CAMPAIGN_IMAGE_PATH","CAMPAIGN_BANNER_VISIBILITY_COOKIE_KEY","CLOSE_COOKIE_VALUE","COOKIE_OPTIONS","CAMPAIGN_NAME","TEXT","CampaignBanner","buttonStyle$1","init_CampaignBanner","setIsActive","containerStyle","campaignBannerVisibilityValue","setCookies","isDuringCampaign","isDuringTeasingPeriod","isDuringFullMainPeriod","subTitle","isDuringInitialMainPeriod","isFinalDayOnMainPeriod","hidden","campaignUrl","trackClickContent","trackImpressionContent","Ft","Re","mt","vt","pt","Rt","ft","kt","Ot","Lt","xe","Pt","Q","Le","Oe","Pe","Y","I$1","L$1","Me","De","He","D$1","Ue","$e","Ge","Fe","Be","Xe","Ye","z$1","We","je","ze","he","Ke","oe","Ve","ve","ge","P$1","qe","Je","se","ye","Ze","Qe","et","le","tt","nt","Ae","Se","J","ot","st","lt","we","at","ct","ut","Ut","Z","ie","ht","Te","gt","_$1","W$1","Ne","yt","ke","Et","At","ae","ce","St","wt","_t","xt","Tt","ue","Nt","fe","It","Ct","Bt","init_main","useTrackEventGateBanner","init_EventGateBanner_hooks_event","landingUrl","tracking","NUMBER_EVENT_29_FLAG","LOADING","BLOCKED","HEX_COLOR","resolveBackgroundColor","resolveGateFlag","DESKTOP_BOTTOM","resolveBottomInset","init_EventGateBanner_utils","visible","cacheVersion","naturalInsetBottom","EventGateBanner","EventGateBannerView","getContainerStyle","init_EventGateBanner","flagVisible","bottomInset","appLink","trackImpression","trackClick","SENTRY_DSN","init_sentry","k$1","w$1","N$1","C$2","init_screenRegistry","screens","init_web","\"screenId\"","\"checkRegex\"","BEACON_PROJECT_ID","NOISE_PATTERNS","dropUserScriptLoadFailed","initBeacon","init_beacon","DEBUG_BUILD$2","init_debug_build","objectToString","wat","isInstanceOf","isBuiltin","isErrorEvent$1","isDOMError","isDOMException","isString","isParameterizedString","isPrimitive","isPlainObject$1","isEvent","isElement","isRegExp","isThenable","isSyntheticEvent","isVueViewModel","isRequest","init_is","GLOBAL_OBJ","init_worldwide","htmlTreeAsString","elem","currentElem","nextStr","keyAttrs","maxStringLength","DEFAULT_MAX_STRING_LENGTH","_htmlElementAsString","WINDOW$3","\"sentryComponent\"","\"sentryElement\"","keyAttrPairs","keyAttr","keyAttrPair","getLocationHref","getComponentName","init_browser","SDK_VERSION","init_version$1","getMainCarrier","getSentryCarrier","__SENTRY__","carrier","getGlobalSingleton","creator","init_carrier","consoleSandbox","console","wrappedFuncs","wrappedLevels","originalConsoleMethods","originalConsoleMethod","makeLogger","logger2","CONSOLE_LEVELS","PREFIX","init_logger$3","truncate","safeJoin","isMatchingPattern","requireExactStringMatch","stringMatchesSomePattern","testString","init_string","original","wrapped","replacementFactory","markFunctionWrapped","addNonEnumerableProperty","getOriginalFunction","convertToPlainObject","getOwnProperties","newObj","serializeEventTarget","extractedProps","extractExceptionKeysForMessage","firstKey","maxLength","includedKeys","serialized","init_object","getCrypto","gbl","uuid4","getRandomByte","crypto","typedArray","getFirstException","getEventDescription","firstException","addExceptionTypeValue","addExceptionMechanism","currentMechanism","newMechanism","mergedData","checkOrSetAlreadyCaught","isAlreadyCaptured","init_misc","resolvedSyncPromise","SyncPromise","rejectedSyncPromise","States","init_syncpromise","\"PENDING\"","\"RESOLVED\"","\"REJECTED\"","executor","onfulfilled","onrejected","isRejected","onfinally","cachedHandlers","setResult","dateTimestampInSeconds","ONE_SECOND_IN_MS","createUnixTimestampInSecondsFunc","performance","approxStartingTimeOrigin","timeOrigin","getBrowserTimeOrigin","performanceNow","dateNow","timeOriginDelta","timeOriginIsReliable","navigationStart","navigationStartDelta","browserPerformanceTimeOrigin","cachedTimeOrigin","timestampInSeconds","init_time","makeSession","startingTime","session","sessionToJSON","updateSession","closeSession","init_session$1","merge$1","mergeObj","initialObj","_setSpanForScope","span","SCOPE_SPAN_FIELD","_getSpanForScope","init_spanOnScope","generateTraceId","generateSpanId","init_propagationContext","DEFAULT_MAX_BREADCRUMBS","Scope","init_scope","newScope","tags","extras","scopeToMerge","propagationContext","maxCrumbs","mergedBreadcrumb","breadcrumb","attachment","getDefaultCurrentScope","getDefaultIsolationScope","init_defaultScopes","getAsyncContextStack","sentry","AsyncContextStack","withScope$1","withSetScope","withIsolationScope","getStackAsyncContextStrategy","init_stackStrategy","assignedScope","assignedIsolationScope","isolationScope","maybePromiseResult","getAsyncContextStrategy","init_asyncContext","getCurrentScope","getIsolationScope","getGlobalScope","withScope","acs","getClient","getTraceContextFromScope","traceContext","traceId","propagationSpanId","parentSpanId","init_currentScopes","createStackParser","WEBPACK_ERROR_REGEXP","STACKTRACE_FRAME_LIMIT","stripSentryFramesAndReverse","stackParserFromStackParserOptions","stackParser","getLastStackFrame","STRIP_FRAME_REGEXP","getFunctionName","defaultFunctionName","getFramesFromEvent","init_stacktrace","normalize","visit","maxProperties","normalizeToSize","normalized","jsonSize","memoBuilder","memoize","unmemoize","memo","stringified","stringifyValue","\"__sentry_skip_normalization__\"","remainingDepth","\"__sentry_override_normalization_depth__\"","valueWithToJSON","numAdded","visitable","visitKey","visitValue","objName","getConstructorName","prototype","utf8Length","inner","init_normalize","exceptionFromError","parseStackFrames","extractType","extractMessage","eventFromPlainObject","normalizeDepth","errorFromProp","getErrorPropertyFromObject","isUnhandledRejection","getNonErrorObjectExceptionValue","eventFromError","stacktrace","skipLines","getSkipFirstStackStringLines","getPopFirstTopFrames","reactMinifiedRegexp","isWebAssemblyException","eventFromException","eventFromUnknownInput","attachStacktrace","eventFromMessage","eventFromString","domException","__sentry_template_string__","__sentry_template_values__","captureType","getObjectClassName","init_eventbuilder","DEFAULT_ENVIRONMENT","init_constants$8","notifyEventProcessors","processors","final","init_eventProcessors","getFilenameToDebugIdMap","debugIdMap","debugIdKeys","cachedFilenameDebugIds","lastKeysCount","parsedStackResults","stackKey","parsedStack","debugId","init_debug_ids","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE","SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE","SEMANTIC_ATTRIBUTE_SENTRY_OP","SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN","SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE","SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME","SEMANTIC_ATTRIBUTE_PROFILE_ID","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME","SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE","init_semanticAttributes","hasSpansEnabled","init_hasSpansEnabled","getSpanStatusFromHttpCode","setHttpStatus","spanStatus","init_spanstatus","setCapturedScopesOnSpan","ISOLATION_SCOPE_ON_START_SPAN_FIELD","SCOPE_ON_START_SPAN_FIELD","getCapturedScopesOnSpan","init_utils$2","parseSampleRate","sampleRate","baggageHeaderToDynamicSamplingContext","baggageObject","parseBaggageHeader","baggageHeader","dynamicSamplingContext","SENTRY_BAGGAGE_KEY_PREFIX_REGEX","nonPrefixedKey","dynamicSamplingContextToSentryBaggageHeader","objectToBaggageHeader","dscKey","dscValue","SENTRY_BAGGAGE_KEY_PREFIX","currBaggageObject","baggageHeaderToObject","baggageEntry","keyOrValue","objectKey","objectValue","newBaggageHeader","init_baggage","extractTraceparentData","traceparent","TRACEPARENT_REGEXP","parentSampled","propagationContextFromHeaders","traceparentData","sentryTrace","baggage","sampleRand","getSampleRandFromTraceparentAndDsc","generateSentryTraceHeader","sampledString","sampled","spanId","parsedSampleRand","dsc","parsedSampleRate","init_tracing","spanToTransactionTraceContext","span_id","trace_id","spanToJSON","spanToTraceContext","parent_span_id","isRemote","spanToTraceHeader","spanIsSampled","convertSpanLinksForEnvelope","links","restContext","traceFlags","spanTimeInputToSeconds","ensureTimestampInSeconds","spanIsSentrySpan","spanIsOpenTelemetrySdkTraceBaseSpan","getStatusMessage","castSpan","addChildSpanToSpan","rootSpan","ROOT_SPAN_FIELD","childSpan","CHILD_SPANS_FIELD","removeChildSpanFromSpan","getSpanDescendants","resultSet","addSpanChildren","span2","childSpans","getRootSpan","getActiveSpan","showSpanDropWarning","hasShownSpanDropWarning","init_spanUtils","freezeDscOnSpan","FROZEN_DSC_FIELD","getDynamicSamplingContextFromClient","public_key","getDynamicSamplingContextFromScope","getDynamicSamplingContextFromSpan","rootSpanJson","rootSpanAttributes","traceState","rootSpanSampleRate","applyLocalSampleRateToDsc","dsc2","frozenDsc","traceStateDsc","dscOnTraceState","init_dynamicSamplingContext","applyScopeDataToEvent","applyDataToEvent","applySpanToEvent","applyFingerprintToEvent","applyBreadcrumbsToEvent","breadcrumbs","applySdkMetadataToEvent","sdkProcessingMetadata","mergeScopeData","mergeData","mergeAndOverwriteScopeData","transactionName","eventProcessors","attachments","mergeVal","mergedBreadcrumbs","init_applyScopeDataToEvent","prepareEvent","prepared","applyClientOptions","applyIntegrationsMetadata","applyDebugIds","finalScope","getFinalScope","clientEventProcessors","applyDebugMeta","normalizeEvent","normalizeMaxBreadth","environment","dist","maxValueLength","filenameDebugIdMap","images","debug_id","integrationNames","maxBreadth","parseEventHintOrCaptureContext","hintIsScopeOrFunction","hintIsScopeContext","captureContextKeys","init_prepareEvent","captureException","captureEvent","isEnabled","startSession","currentScope","currentSession","endSession","_sendSessionUpdate","captureSession","init_exports","shouldIgnoreOnError","ignoreOnError","ignoreNextOnError","wrap","fn2","wrapper","sentryWrapped","wrappedArguments","WINDOW$2","init_helpers$4","getBaseApiEndpoint","dsn","port","_getIngestEndpoint","_encodedAuth","SENTRY_API_VERSION","sdkInfo","getEnvelopeEndpointWithUrlEncodedAuth","tunnel","init_api","isValidProtocol","dsnToString","publicKey","withPassword","pass","dsnFromString","DSN_REGEX","lastPath","split","projectMatch","dsnFromComponents","components","validateDsn","makeDsn","init_dsn","createEnvelope","addItemToEnvelope","envelope","forEachEnvelopeItem","envelopeItems","envelopeItem","envelopeItemType","encodeUTF8","serializeEnvelope","envHeaders","itemHeaders","stringifiedPayload","concatBuffers","totalLength","buffers","createSpanEnvelopeItem","spanJson","createAttachmentEnvelopeItem","envelopeItemTypeToDataCategory","ITEM_TYPE_TO_DATA_CATEGORY_MAP","getSdkMetadataForEnvelopeHeader","metadataOrEvent","createEventEnvelopeHeaders","init_envelope","enhanceEventWithSdkInfo","createSessionEnvelope","createEventEnvelope","envelopeHeaders","createSpanEnvelope","dscHasRequiredProps","spans","beforeSendSpan","convertToSpanJSON","init_envelope$1","filterDuplicates","integrationsByName","currentInstance","getIntegrationsToSetup","defaultIntegrations","userIntegrations","resolvedUserIntegrations","setupIntegrations","integrationIndex","setupIntegration","afterSetupIntegrations","installedIntegrations","defineIntegration","init_integration","getPossibleEventMessages","possibleMessages","lastException","convertTransactionEventToSpanJson","convertSpanJsonToTransactionEvent","init_transactionEvent","createClientReportEnvelope","clientReportItem","init_clientreport","_makeInternalError","INTERNAL_ERROR_SYMBOL","_makeDoNotSendEventError","DO_NOT_SEND_EVENT_SYMBOL","_isInternalError","_isDoNotSendEventError","_validateBeforeSendResult","invalidValueError","beforeSendLabel","beforeSendResult","processBeforeSend","processedEvent","isErrorEvent","beforeSend","isTransactionEvent","processedRootSpanJson","processedSpans","processedSpan","beforeSendTransaction","spanCountBefore","ALREADY_SEEN_ERROR","MISSING_RELEASE_FOR_SESSION_ERROR","Client","init_client","hintWithEventId","eventMessage","promisedEvent","capturedSpanScope","capturedSpanIsolationScope","clientFinished","transportFlushed","eventProcessor","integrationName","isAlreadyInstalled","sendResponse","clientReleaseOption","clientEnvironmentOption","sessionAttrs","hooks","cbIndex","crashed","exceptions","sessionNonTerminal","ticked","finalEvent","isTransaction","dataCategory","spanCount","droppedSpanCount","transactionInfo","outcomes","applySdkMetadata","names","init_sdkMetadata","createLogContainerEnvelopeItem","createLogEnvelope","logs","init_envelope$2","_INTERNAL_flushLogsBuffer","logBuffer","maybeLogBuffer","_INTERNAL_getLogBuffer","clientOptions","init_exports$1","addAutoIpAddressToUser","objWithMaybeUser","addAutoIpAddressToSession","\"ip_address\"","getSDKSource","DEFAULT_FLUSH_INTERVAL","BrowserClient","init_client$1","enableLogs","_experiments","sendDefaultPii","DEBUG_BUILD$1","init_debug_build$1","addHandler$1","handlers$1","maybeInstrument","instrumented$1","instrumentFn","triggerHandlers$1","typeHandlers","init_handlers","addConsoleInstrumentationHandler","instrumentConsole","init_console","WINDOW$1","init_types$1","addClickKeypressInstrumentationHandler","instrumentDOM","triggerDOMHandler","globalDOMEventHandler","makeDOMEventHandler","handlerForType","originalAddEventListener","originalRemoveEventListener","isSimilarToLastCapturedEvent","lastCapturedEventType","lastCapturedEventTargetId","shouldSkipDOMEvent","\"_sentryCaptured\"","getEventTarget","globalListener","debounceTimerID","DEBOUNCE_DURATION","init_dom","addXhrInstrumentationHandler","instrumentXHR","xhrproto","virtualError","startTimestamp","xhrOpenArgArray","parseXhrUrlArg","originalOpen","xhrOpenThisArg","SENTRY_XHR_DATA_KEY","onreadystatechangeHandler","xhrInfo","originalOnreadystatechange","onreadystatechangeThisArg","onreadystatechangeArgArray","setRequestHeaderArgArray","setRequestHeaderThisArg","originalSetRequestHeader","sentryXhrData","sendThisArg","sendArgArray","originalSend","init_xhr$1","supportsHistory","WINDOW","supportsFetch","isNativeFunction","supportsNativeFetch","sandbox","init_supports","addFetchInstrumentationHandler","instrumentFetch","skipNativeFetchCheck","addFetchEndInstrumentationHandler","streamHandler","parseFetchArgs","handlerData","getHeadersFromFetchArgs","onFetchResolved","originalFetch","url2","resolveResponse","responseReader","maxFetchDurationTimeout","readingActive","chunkTimeout","onFinishedResolving","clonedResponseForResolving","hasProp","getUrlFromResource","resource","fetchArgs","requestArgument","optionsArgument","init_fetch$1","addHistoryInstrumentationHandler","instrumentHistory","lastHref","historyReplacementFunction","originalHistoryFunction","init_history","addBreadcrumb","DEFAULT_BREADCRUMBS","finalBreadcrumb","beforeBreadcrumb","init_breadcrumbs","isURLObjectRelative","parseStringToURLObject","isRelative","urlBase","DEFAULT_BASE_URL","fullUrlObject","getSanitizedUrlStringFromUrlObject","newUrl","parseUrl","fragment","stripUrlQueryAndFragment","urlPath","init_url$1","severityLevelFromString","getBreadcrumbLogLevelFromHttpStatusCode","_getSentryBreadcrumbHandler","_getDomBreadcrumbHandler","dom","MAX_ALLOWED_STRING_LENGTH","_isEvent","_getConsoleBreadcrumbHandler","_getXhrBreadcrumbHandler","endTimestamp","status_code","_getFetchBreadcrumbHandler","_getHistoryBreadcrumbHandler","parsedLoc","parsedFrom","parsedTo","INTEGRATION_NAME$6","_breadcrumbsIntegration","breadcrumbsIntegration","init_breadcrumbs$1","_wrapTimeFunction","originalCallback","_wrapRAF","_wrapXHR","wrapOptions","originalFunction","_wrapEventTarget","isEventListenerObject","originalEventHandler","DEFAULT_EVENT_TARGET","INTEGRATION_NAME$5","_browserApiErrorsIntegration","browserApiErrorsIntegration","init_browserapierrors","eventTargetOption","browserSessionIntegration","init_browsersession","addGlobalErrorInstrumentationHandler","instrumentError","_oldOnErrorHandler","init_globalError","addGlobalUnhandledRejectionInstrumentationHandler","instrumentUnhandledRejection","_oldOnUnhandledRejectionHandler","init_globalUnhandledRejection","_installGlobalOnErrorHandler","getOptions","_enhanceEventWithInitialFrame","_installGlobalOnUnhandledRejectionHandler","_getUnhandledRejectionError","_eventFromRejectionWithPrimitive","ev0","ev0s","ev0sf","globalHandlerLog","INTEGRATION_NAME$4","_globalHandlersIntegration","globalHandlersIntegration","init_globalhandlers","httpContextIntegration","init_httpcontext","applyAggregateErrorsToEvent","originalException","aggregateExceptionsFromError","exceptionFromErrorImplementation","prevExceptions","newExceptions","applyExceptionGroupFieldsForParentException","exceptionId","newException","newExceptionId","applyExceptionGroupFieldsForChildException","childError","init_aggregate_errors","DEFAULT_KEY","DEFAULT_LIMIT","INTEGRATION_NAME$3","_linkedErrorsIntegration","linkedErrorsIntegration","init_linkederrors","createFrame","CHROME_PRIORITY","GECKO_PRIORITY","chromeRegexNoFnName","chromeRegex","chromeEvalRegex","chromeStackParserFn","chromeStackLineParser","geckoREgex","geckoEvalRegex","gecko","geckoStackLineParser","defaultStackLineParsers","defaultStackParser","extractSafariExtensionDetails","init_stack_parsers","makePromiseBuffer","isReady","task","SENTRY_BUFFER_FULL_ERROR","taskProducer","drain","capturedSetTimeout","init_promisebuffer","parseRetryAfterHeader","headerDate","DEFAULT_RETRY_AFTER","disabledUntil","limits","isRateLimited","updateRateLimits","updatedRateLimits","rateLimitHeader","retryAfter","categories","namespaces","init_ratelimit","createTransport","rateLimits","filteredEnvelopeItems","filteredEnvelope","recordEnvelopeLoss","makeRequest","init_base$1","DEBUG_BUILD","init_debug_build$2","getNativeImplementation","cachedImplementations","impl","document","contentWindow","clearCachedImplementation","init_getNativeImplementation","makeFetchTransport","pendingBodySize","pendingCount","requestSize","requestOptions","nativeFetch","init_fetch$2","initAndBind","clientClass","setCurrentClient","init_sdk","_mergeOptions","internalOptions","DEFAULT_IGNORE_ERRORS","_shouldDropEvent$1","_isIgnoredError","_isUselessError","_isDeniedUrl","_getEventFilterUrl","_isAllowedUrl","_isIgnoredTransaction","ignoreErrors","ignoreTransactions","denyUrls","allowUrls","_getLastValidUrl","INTEGRATION_NAME$2","eventFiltersIntegration","inboundFiltersIntegration","init_eventFilters","originalFunctionToString","INTEGRATION_NAME$1","SETUP_CLIENTS","_functionToStringIntegration","functionToStringIntegration","init_functiontostring","_shouldDropEvent","previousEvent","_isSameMessageEvent","currentEvent","_isSameExceptionEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","previousException","_getExceptionFromEvent","currentException","currentFrames","previousFrames","frameA","frameB","currentFingerprint","previousFingerprint","INTEGRATION_NAME","_dedupeIntegration","dedupeIntegration","init_dedupe","getDefaultIntegrations","applyDefaultOptions","dropTopLevelUndefinedKeys","optionsArg","mutatetedObj","shouldShowBrowserExtensionError","windowWithMaybeExtension","runtimeId","isDedicatedExtensionPage","isNWjs","init_sdk$1","registerBackgroundTabDetection","activeSpan","cancelledStatus","init_backgroundtab","linkTraces","useSessionStorage","linkPreviousTrace","inMemoryPreviousTraceInfo","getPreviousTraceFromSessionStorage","oldPropagationContext","addPreviousTraceSpanLink","storePreviousTraceInSessionStorage","isFirstTraceOnPageload","consistentTraceSampling","currentPropagationContext","spanContextSampled","mutableSamplingContextData","getSampleRate","updatedPreviousTraceInfo","previousTraceInfo","previousTraceSpanCtx","PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE","PREVIOUS_TRACE_KEY","init_linkedTraces","SentryNonRecordingSpan","init_sentryNonRecordingSpan","spanContext","logSpanStart","isRootSpan","infoParts","op2","description2","logSpanEnd","init_logSpans","sampleSpan","localSampleRateWasApplied","samplingContext","fallbackSampleRate","shouldSample","init_sampling","setMeasurement","unit","timedEventsToMeasurements","measurements","init_measurement","isSpanTimeInput","isFullFinishedSpan","isStandaloneSpan","SentrySpan","sendSpanEnvelope","spanItems","MAX_SPAN_COUNT","init_sentrySpan","timeInput","attributesOrStartTime","transactionEvent","transaction","startInactiveSpan","getAcs","spanArguments","parseSentrySpanArguments","customParentSpan","withActiveSpan","parentSpan","getParentSpan","createChildOrRootSpan","forceTransaction","_startChildSpan","_startRootSpan","initialCtx","mutableSpanSamplingData","finalParentSampled","finalAttributes","SUPPRESS_TRACING_KEY","init_trace","getTraceData","scopeToTraceHeader","init_traceData","instrumentFetchRequest","shouldCreateSpanResult","shouldCreateSpan","endSpan","hasParent","getSpanStartOptions","spanOrigin","shouldAttachHeaders","_addTracingHeadersToFetchRequest","fetchHint","traceHeaders","originalHeaders","fetchOptionsObj","isHeaders","prevBaggageHeader","baggageHeaderHasSentryBaggageValues","prevBaggageHeaderWithSentryValues","existingSentryTraceHeader","existingBaggageHeader","newBaggageHeaders","headerItem","contentLength","contentLengthNum","parsedUrl","getFetchSpanAttributes","init_fetch$3","getRating","bindReporter","init_bindReporter","thresholds","forceReport","reportAllChanges","generateUniqueID","init_generateUniqueID","getNavigationEntry","init_getNavigationEntry","navigationEntry","checkResponseStart","getActivationStart","init_getActivationStart","initMetric","init_initMetric","navEntry","navigationType","observe","init_observe","po","onHidden","init_onHidden","onHiddenOrPageHide","runOnce","init_runOnce","called","firstHiddenTime","initHiddenTime","onVisibilityUpdate","addChangeListeners","removeChangeListeners","getVisibilityWatcher","init_getVisibilityWatcher","whenActivated","init_whenActivated","FCPThresholds","onFCP","init_onFCP","visibilityWatcher","report","onReport","CLSThresholds","onCLS","init_getCLS","sessionValue","sessionEntries","handleEntries","firstSessionEntry","lastSessionEntry","FIDThresholds","onFID","init_getFID","handleEntry","interactionCountEstimate","minKnownInteractionId","maxKnownInteractionId","updateEstimate","getInteractionCount","initInteractionCountPolyfill","init_interactionCountPolyfill","longestInteractionList","longestInteractionMap","prevInteractionCount","getInteractionCountForNavigation","estimateP98LongestInteraction","MAX_INTERACTIONS_TO_CONSIDER","entryPreProcessingCallbacks","processInteractionEntry","init_interactions","candidateInteractionIndex","minLongestInteraction","existingInteraction","interaction","whenIdle","init_whenIdle","rIC","INPThresholds","onINP","init_getINP","inp","LCPThresholds","reportedMetricIDs","onLCP","init_getLCP","stopListening","TTFBThresholds","whenReady","onTTFB","init_onTTFB","addClsInstrumentationHandler","addMetricObserver","instrumentCls","_previousCls","stopOnCallback","addLcpInstrumentationHandler","instrumentLcp","_previousLcp","addFidInstrumentationHandler","instrumentFid","_previousFid","addTtfbInstrumentationHandler","instrumentTtfb","_previousTtfb","addInpInstrumentationHandler","instrumentInp","_previousInp","addPerformanceInstrumentationHandler","addHandler","instrumented","instrumentPerformanceObserver","getCleanupCallback","triggerHandlers","previousValue","isPerformanceEventTiming","init_instrument","isMeasurementValue","startAndEndSpan","parentStartTime","startTimeInSeconds","startStandaloneWebVitalSpan","passedAttributes","replayId","userDisplay","profileId","getBrowserPerformanceAPI","msToSec","extractNetworkProtocol","nextHopProtocol","init_utils$3","instrumentOutgoingRequests","defaultRequestInstrumentationOptions","shouldCreateSpanForRequest","shouldAttachHeadersWithTargets","tracePropagationTargets","traceFetch","updatedTimestamp","spanIdToEndTimestamp","trackFetchStreamPerformance","responseToSpanId","createdSpan","fullUrl","getFullURL","enableHTTPTimings","addHTTPTimings","onRequestSpanStart","traceXHR","xhrCallback","isPerformanceResourceTiming","resourceTimingEntryToSpanData","getAbsoluteTime","resourceTiming","timingSpanData","resolvedUrl","currentOrigin","targetUrl","isSameOriginRequest","isRelativeSameOriginRequest","urlForSpanName","shouldAttachHeaders2","addTracingHeadersToXhrRequest","setHeaderOnXhr","sentryTraceHeader","sentryBaggageHeader","originalBaggageHeader","\"baggage\"","baggageHeaderHasSentryValues","init_request","registerSpanErrorInstrumentation","errorsInstrumented","errorCallback","init_errors","trackClsAsStandaloneSpan","standaloneCLsValue","standaloneClsEntry","pageloadSpanId","supportsLayoutShift","sentSpan","_collectClsOnce","sendStandaloneClsSpan","cleanupClsHandler","unsubscribeStartNavigation","clsValue","routeName","init_cls","startTrackingWebVitals","fidCleanupCallback","_trackFID","lcpCleanupCallback","_trackLCP","ttfbCleanupCallback","_trackTtfb","clsCleanupCallback","recordClsStandaloneSpans","_trackCLS","startTrackingLongTasks","parentOp","parentStartTimestamp","startTrackingLongAnimationFrames","invoker","invokerType","sourceURL","sourceFunctionName","sourceCharPosition","startTrackingInteractions","spanOptions","\"cls\"","\"lcp\"","\"fid\"","\"ttfb\"","addPerformanceEntries","performanceEntries","transactionStartTime","_performanceCursor","_addNavigationSpans","_addMeasureSpans","firstHidden","shouldRecord","\"fp\"","\"fcp\"","_addResourceSpans","_trackNavigator","_addTtfbRequestTimeToMeasurements","_measurements","fidMark","measurementName","measurement","_setWebVitalAttributes","requestTime","measureStartTimestamp","startTimeStamp","measureEndTimestamp","_addPerformanceNavigationTiming","_addRequest","_getEndPropertyNameForNavigationTiming","requestStartTimestamp","responseEndTimestamp","responseStartTimestamp","resourceUrl","setResourceEntrySizeData","deliveryType","renderBlockingStatus","connection","_lcpEntry","_clsEntry","entryVal","MAX_INT_AS_BYTES","dataKey","requestStart","responseStart","init_browserMetrics","startTrackingINP","inpCallback","_trackINP","entry2","INP_ENTRY_MAP","interactionType","spanToUse","interactionId","INTERACTIONS_SPAN_MAP","registerInpInteractionListener","activeRootSpan","LAST_INTERACTIONS","init_inp","startIdleSpan","activities","_finished","_idleTimeoutID","_finishReason","FINISH_REASON_EXTERNAL_FINISH","_autoFinishAllowed","_cleanupHooks","TRACING_DEFAULTS","previousActiveSpan","_startIdleSpan","startSpanOptions","beforeSpanEnd","definedEndTimestamp","spanEndTimestamp","onIdleSpanEnded","childEndTimestamps","timestamp2","latestSpanEndTimestamp","spanStartTimestamp","finalTimeout","_cancelIdleTimeout","_restartIdleTimeout","FINISH_REASON_IDLE_TIMEOUT","idleTimeout","_restartChildSpanTimeout","FINISH_REASON_HEARTBEAT_FAILED","childSpanTimeout","_pushActivity","_popActivity","spanJSON","discardedSpans","childEndTimestamp","childStartTimestamp","spanStartedBeforeIdleSpanEnd","timeoutWithMarginOfError","spanEndedBeforeFinalTimeout","stringifiedSpan","startedSpan","endedSpan","spanToAllowAutoFinish","FINISH_REASON_FINAL_TIMEOUT","init_idleSpan","startBrowserTracingPageLoadSpan","traceOptions","getActiveIdleSpan","startBrowserTracingNavigationSpan","getMetaContent","metaName","registerInteractionListener","optionalWindowDocument","inflightInteractionSpan","activeIdleSpan","currentRootSpanOp","latestRoute","ACTIVE_IDLE_SPAN_PROPERTY","setActiveIdleSpan","BROWSER_TRACING_INTEGRATION_ID","DEFAULT_BROWSER_TRACING_OPTIONS","_hasBeenInitialized","browserTracingIntegration","init_browserTracingIntegration","_collectWebVitals","enableStandaloneClsSpans","enableInp","enableLongAnimationFrame","enableLongTask","enableInteractions","_createRouteSpan","isPageloadTransaction","finalStartSpanOptions","beforeStartSpan","idleSpan","emitFinish","startingUrl","maybeEndActiveSpan","instrumentPageLoad","instrumentNavigation","markBackgroundSpan","webviewGlobalCSS","primaryPageContentIds","Bootstrap$1","init_Bootstrap","contentSummary","shouldRenderContainers","hideDefaultFab","hideShareButton","useAdvancedReadingIndexTracking","HIDE_APP_INSTALL_COOKIE_KEY","HIDE_APP_INSTALL_COOKIE_VALUE","useAppInstallBannerVisibility","init_useAppInstallBannerVisibility","setHidden","expiryDate","NAVER_EP_COOKIE_KEY","NAVER_EP_COOKIE_EXPIRY","useInitializeNaverEp","retrieveNaverEp","retrieveSearchParams","init_useInitializeNaverEp","naverEp","onInit","searchParams","naverCode","withDesktopLazyRender","init_WithLazyRender","init_S9Dp38YA7","init_WebGNB_JO9I","withAppInstallLink","setHref","utmSource","utmCampaign","utmContent","init_WithAppInstallBanner","withMobileWebLazyRender","setIsReady","init_WithLazyRender$1","MotionDivWithAppInstallLink1sl5nzj","MotionDivWithMobileWebLazyRender1mcero2","serializationHash$1","variantClassNames$1","transition1","Transition$1","Variants","getProps$2","createLayoutDependency$1","FramerBlNtXYaR7","init_BlNtXYaR7","contextValue","refBinding","defaultLayoutId","componentViewport","layoutDependency","scopingClassNames","layoutId","gestureHandlers","init_AppInstallBanner_X61X","containerStyles$1","emptyStateStyle$1","NullState","init_nullstate","init_icon_nullstate_js_0_7","Logo","logoURL","isSearch","getLogoUrl","company","srcType","SrcType$1","srcFile","srcUrl","emptyState","baseStyles","radius","init_Logo","\"Upload\"","\"Url\"","containerStyles","emptyStateStyle","defaultEvents","init_constants$9","useOnEnter","useOnSpecificTargetChange","onEnter","useOnExit","onExit","isInTarget","goal","init_useOnNavigationTargetChange","useConstant","init_useConstant","init_colorFromToken","init_isMotionValue","init_useUniqueClassName","init_variantUtils","isBrowserSafari","useIsBrowserSafari","init_isBrowser","init_useOnChange","init_useAutoMotionValue","init_useFontControls","useIsOnCanvas","init_useRenderTarget","init_useControlledState","useRadius","isMixedBorderRadius","topLeftRadius","topRightRadius","bottomRightRadius","bottomLeftRadius","usePadding","paddingPerSide","borderRadiusControl","paddingControl","init_propUtils","init_OIjZRBmWDcIE2B6qgG1j","init_default_utils_js__0_45","isMotionValue","init_isMotionValue$1","useAutoMotionValue","optionsRef","animation","didInitialMount","isOnCanvas","onChangeDeps","onChange","value1","inputValue","init_useAutoMotionValue$1","init_useAutoMotionValue_js__0_3","getProps$1","Video","newProps","VideoMemo","ObjectFitType","SrcType","isMountedAndReadyForProgressChanges","init_Video$1","\"Fill\"","\"Contain\"","\"Cover\"","\"ScaleDown\"","\"Video\"","startTimeProp","isInCurrentNavigationTarget","requestingPlay","wasPausedOnLeave","wasEndedOnLeave","shouldPlay","canvasPlay","autoPlay","playing","isMuted","muted","setProgress","newProgress","rawProgress","isAlreadySet","play","pause","videoProgress","loop","volume","onSeeked","onPause","onPlay","onEnd","posterEnabled","playsinline","FadeInOut","prevVisible","init_FadeInOut","withHeroBannerImage","withHeroBannerBlur","springY","backdropFilter","init_HeroBannerBlur","addPropertyOverrides","nextOverrides","overrides","VideoFonts","VideoWithHeroBannerImage","MotionDivWithHeroBannerBlur","LogoFonts","MotionDivFadeInOut","cycleOrder","serializationHash","variantClassNames","transitions","toImageSrc","Transition","humanReadableVariantMap","getProps","createLayoutDependency","FramersXEZN54Hy","init_sXEZN54Hy","promotions","logo","desktopMainVideoURL","mobileMainVideoURL","desktopPoster","ref1","isDisplayed","baseVariant","isDisplayed1","sharedStyleClassNames","setGestureState","gestureVariant","gFDr8y3Br","QT2shsp_E","gCfdNGMzO","EHnH0b2mU","VFui_42jF","IB66QfGh1","ixl5vkaCb","AWK_gyual","init_HeroBanner_2wn4","Bootstrap","isOnFramerCanvas","hide","APP_INSTALL_HIDE_DURATION","gnb","init_Bootstrap$1","hasDisplayEndAt","KeyVisualImage","init_KeyVisualImage","imageWebp","Breakpoint","MediaType","init_KeyVisual_constants","\"VIDEO\"","\"IMAGE\"","MediaType2","KeyVisualVideoInner","KeyVisualVideo","posterWidthByBreakpoint","init_KeyVisualVideo","KeyVisual","mediaByBreakpoint","mediaStyle","isVideo","isImage","init_KeyVisual","sourceImage","KeyVisual_default","init_KeyVisual$1","ICON_OPTIONS","FramerIcon","init_Icon$2","Icon_default","init_Icon$3","fonts","css$1","init_sbFqQkL8H","useVisibilityAwareInterval","init_useVisibilityAwareInterval","startInterval","stopInterval","Gender$1","GENDER_CONTROLS","init_gender","\"ALL\"","\"FEMALE\"","\"MALE\"","Gender2","Gender","STYLE_ID","addStyle","init_Gender","setUserGender","styleTag","HeadlineMedia","Headline","FramerHeadline","init_Headline$1","horizontalPadding","bodyStyle","bodyGap","useLazySWR","init_useLazySWR","setEnabled","fetch","KEYWORD_COLLECTION_FETCHER_KEY","useLazyFetchKeywordCollection","init_useLazyFetchKeywordCollection","closest","init_closest","getRestScrollWidth","init_getRestScrollWidth","scrollWidth","DraggableTabsContext","Root$5","containerStyle$14","init_Root$1","listRef","firstValue","currentValue","setCurrentValue","listX","focusTo","finalX","dragPaddingLeft","smooth","onValueChange","useDraggableTabsContext","init_Root_hooks$1","COMPONENT_NAME","INITIAL_DAMPING","List$1","containerStyle$13","listStyle","init_List","trackRef","constraints","setConstraints","updateConstraints","newLeft","getChildrenPositions","handleDragEnd","destinationX","velocity","damping","closestX","dragPaddingRight","Panel$1","init_Panel","Trigger$1","containerStyle$12","init_Trigger","isCurrent","register","DraggableTabs","init_DraggableTabs","TagsContext","Root$4","sidePaddingByBreakpoint","init_Root$2","sidePadding","useTagsContext","init_Root_hooks$2","LIST_GAP","SKELETONS_PER_PENDING","FADE_WIDTH","List","useListOverflowed","useListXProgress","Default$2","containerStyle$11","init_List$1","overflowed","xProgress","fadeWidth","maskImage","setOverflowed","init_Tag_styles","init_useTag","init_ToggleTag","TagSkeleton","baseStyleByTheme$1","init_TagSkeleton","Item$2","init_Item","Panels","init_Panels","Panel","init_Panel$1","Tags","init_Tags","useCollectionProductGroupList","init_KeywordCollectionTags_hooks","initialProductGroupId","KeywordCollectionTags","listStyleByBreakpoint","init_KeywordCollectionTags","handleClickTag","createSearchParams","init_createSearchParams","filteredParams","useInViewport","getIsInViewport","getAbsoluteOffsetTop","init_useInViewport","prevIsInViewport","isInViewport","isElementInViewport","EventTriggerContext","Root$3","init_Root$3","isViewportEntered","canTriggerFallbackImpression","observeViewport","types","handleViewportEnter","onImpression","handleViewportLeave","useEventTriggerContext","init_Root_hooks$3","Target","init_Target","setCanTriggerFallbackImpression","EventTrigger","init_EventTrigger","PREVIOUS_PAGE_NAME_QUERY_STRING_KEY","PREVIOUS_SECTION_NAME_QUERY_STRING_KEY","PREVIOUS_SECTION_TITLE_QUERY_STRING_KEY","PREVIOUS_CONTENT_NO_QUERY_STRING_KEY","init_query_params$1","light","viewAllButtonCss","init_ViewAllButton_module_css","buttonSizeByBreakpoint","wrapperStyleByBreakpoint$2","KeywordCollectionButton","init_KeywordCollectionButton","sectionTitle","curr_screen","content_no","collectionUrl","navigateCollectionPage","init_last","getFirstPageKey","EMPTY_PROMISE","infinite","useSWRInfinite","init_dist$8","getKey","didMountRef","infiniteKey","initialSize","resolvePageSize","cachedPageSize","lastPageSizeRef","persistSize","shouldRevalidateOnMount","swr","forceRevalidateAll","pageSize","previousPageData","pageKey","pageArg","parallel","getSWRCache","setSWRCache","pageData","shouldFetchPage","revalidateAll","revalidateFirstPage","shouldRevalidate","setSize","changeSize","getInfiniteCache","DEFAULT_SIZE$1","DEFAULT_MAX_COUNT","getKey$1","useFetchKeywordCollectionProducts","init_useFetchKeywordCollectionProducts","pageIndex","hasError","isFetching","resultList","prevData","defineProperty","init__defineProperty","baseAssignValue","\"configurable\"","\"enumerable\"","\"writable\"","init__baseAssignValue","assignMergeValue","init__assignMergeValue","createBaseFor","fromRight","baseFor","init__baseFor","cloneBuffer","isDeep","freeExports","freeModule","Buffer","init__cloneBuffer","cloneArrayBuffer","arrayBuffer","init__cloneArrayBuffer","cloneTypedArray","init__cloneTypedArray","copyArray","objectCreate","baseCreate","init__baseCreate","getPrototype$1","init__getPrototype","initCloneObject","init__initCloneObject","isArrayLikeObject","init_isArrayLikeObject","isPlainObject","objectTag$1","hasOwnProperty$3","funcToString","objectCtorString","funcProto","objectProto","init_isPlainObject","safeGet","assignValue","hasOwnProperty$2","init__assignValue","copyObject","isNew","init__copyObject","nativeKeysIn","baseKeysIn","isProto","hasOwnProperty$1","init__baseKeysIn","keysIn","init_keysIn","toPlainObject","init_toPlainObject","baseMergeDeep","srcValue","isCommon","isTyped","mergeFunc","srcIndex","init__baseMergeDeep","baseMerge","init__baseMerge","apply","overRest","nativeMax","otherArgs","init__overRest","constant","baseSetToString$1","init__baseSetToString","shortOut","lastCalled","stamp","nativeNow","HOT_SPAN","HOT_COUNT","init__shortOut","setToString","init__setToString","baseRest","init__baseRest","isIterateeCall","init__isIterateeCall","createAssigner","guard","assigner","init__createAssigner","merge","init_merge$2","arrayEach","baseAssign","init__baseAssign","baseAssignIn","init__baseAssignIn","copySymbols","init__copySymbols","getSymbolsIn","init__getSymbolsIn","copySymbolsIn","init__copySymbolsIn","getAllKeysIn","init__getAllKeysIn","initCloneArray","hasOwnProperty","init__initCloneArray","cloneDataView","dataView","init__cloneDataView","cloneRegExp","regexp","reFlags","init__cloneRegExp","cloneSymbol","symbolValueOf","symbolProto","init__cloneSymbol","initCloneByTag","arrayBufferTag$1","boolTag$1","dateTag$1","dataViewTag$1","float32Tag$1","float64Tag$1","int8Tag$1","int16Tag$1","int32Tag$1","uint8Tag$1","uint8ClampedTag$1","uint16Tag$1","uint32Tag$1","mapTag$2","numberTag$1","stringTag$1","regexpTag$1","setTag$2","symbolTag$1","init__initCloneByTag","baseIsMap","mapTag$1","init__baseIsMap","nodeIsMap","isMap","init_isMap","baseIsSet","setTag$1","init__baseIsSet","nodeIsSet","isSet","init_isSet","baseClone","CLONE_DEEP_FLAG$1","isFlat","CLONE_FLAT_FLAG","isFull","CLONE_SYMBOLS_FLAG$1","isFunc","funcTag","genTag","objectTag","argsTag","cloneableTags","subValue","arrayTag","boolTag","dateTag","errorTag","mapTag","numberTag","regexpTag","setTag","stringTag","symbolTag","weakMapTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","init__baseClone","cloneDeep","CLONE_DEEP_FLAG","CLONE_SYMBOLS_FLAG","init_cloneDeep","DEFAULT_ROW_GAP_BY_BREAKPOINT","withDefaultRowGap","createOptionTemplate","getResponsiveWidth","HORIZONTAL_CARD_TOTAL_WIDTH_RATIO","getResponsiveWidthWithProductPeekInset","BAR_PEEK_COLUMN_WIDTH_RATIO","getBarPeekColumnWidth","getHorizontalBarColumnWidth","init_Root_utils","gapTotal","horizontalPaddingPx","columnDisplayCount","rankInset","columnDivider","columnGap","Grid","toPixel","verticalGridStyle","horizontalGridStyle","Default$1","init_Grid","row","minWidth","useProductsContext","init_Root_hooks$4","init_Root$4","ProductsContext","ArrowIcon","containerStyle$10","init_ArrowIcon","svgHeight","svgWidth","HorizontalScrollContext","useHorizontalScrollContext","init_HorizontalScrollContext","NAVIGATOR_SIZE","HorizontalList","getScrollPosition","containerStyle$9","iconColorByTheme","disabledIconColorByTheme","baseNavigatorStyle","leftNavigatorStyle","rightNavigatorStyle","wrapperResetStyle$1","wrapperStyle$1","wrapperStyleByBreakpoint$1","init_HorizontalList","gridRef","card","scrollContextValue","virtualize","hasPrevious","setHasPrevious","hasNext","setHasNext","initialHasNext","applyScrollSnap","shouldRenderNavigator","pagination","scrollTo","hasRemainingNextOffset","hasRemainingPrevOffset","handlePreviousClick","handleNextClick","measure","maxScrollLeft","hasMoreRight","navigatorOffset","fromEntries","init_fromEntries","mergeBase","createSlices","init_createSlices","slices","ProductCardSkeleton","baseStyleByTheme","containerStyle$8","summaryStyle","barStyles","cardStyles","cardWithoutMetaGroupStyles","compactCardWithMetaGroupStyles","cardDetailedStyles","stylesByType","init_ProductCardSkeleton","_hasBadges","isCompactCardWithMetaGroup","isCompactSkeleton","styleSlices","HORIZONTAL_VIRTUAL_ROOT_MARGIN","IN_VIEW_HIDE_DELAY_MS","isProductsListAppend","useHorizontalVirtualItem","init_useHorizontalVirtualItem","horizontalScroll","itemRef","onLastItemViewRef","onLastItemView","wasInScrollViewRef","lastFetchedAtProductCountRef","hideInViewTimerRef","prevProductsSignatureRef","productsSignature","isInScrollView","stableInView","setStableInView","holdFullRender","setHoldFullRender","isPaginationSentinel","justEntered","sentinelAdvanced","init_isLast","init_noop$1","Item$1","ItemWithoutVirtualization","VirtualizedItem","itemStyle","offscreenSlotStyle","init_Item$1","showProductCard","cardStyle","PeekColumnDivider","gutterStyle","lineStyle","dividerColorByTheme","init_PeekColumnDivider","rowSpan","classNames$4","withStyle$4","VerticalList","wrapperResetStyle","wrapperMobileCanvasStyle","wrapperStyleByBreakpoint","init_VerticalList","isAutoColumn","shouldApplyCanvasStyle","Root$2","getDisplayCount$1","shouldRenderPeekColumnDivider","_products","responsiveOptions","rowCount","columnCount","displayCount","isInitialLoading","meetsVirtualizeThreshold","virtualizeLatchRef","prevHeadProductIdRef","headProductId","shouldVirtualizeHorizontal","handleLastItemView","rowDisplayCount","isAutoRow","isEndOfColumn","hasNextColumn","productsLength","Lazy","Default","init_Lazy","elementRef","isIntersecting","Card","ProductRank","containerStyle$7","rankAreaStyle","rankTextStyleByTheme","init_Card","sharedCardStyle","isBarType","isCardType","hideBarTypeRank","hideCardTypeRank","showLazyFallback","Products","init_Products$1","CARD_HORIZONTAL_AUTO","COMPACT_CARD_MOBILE_WIDTH","COMPACT_CARD_HORIZONTAL","BAR_HORIZONTAL_AUTO","init_Root_constants$1","KeywordCollectionProducts","init_KeywordCollectionProducts","HEADLINE_CONTROLS","init_headline","SECTION_CONTROLS","init_section","hideClosestParentByFramerName","init_hideParentElement","targetName","framerName","SegmentGate","init_SegmentGate","anchorRef","hiddenWrapperRef","KeywordCollectionV2Inner","KeywordCollectionV2","KEYWORD_COLLECTION_V2_CONTROLS","TaggedProducts","init_KeywordCollectionV2","hasContent","headlineProps","TaggedProducts_default","init_TaggedProducts","AgreementType","init_agreement","\"PersonalInformation\"","\"Privacy\"","\"Advertising\"","AgreementType2","reservedErrorMessages","throwFailError","RaffleApiService","raffleApi","init_RaffleApiService","isFailError","isReservedErrorMessage","raffleGroupId","raffleId","agreements","agreementTypes","agreementType","AGREEMENTS_FETCHER_KEY","useFetchAgreements","init_useFetchAgreements","NotificationAgreementsToast","descriptionText","titleText$1","init_NotificationAgreementsToast","formattedNow","shouldRenderDescription","hideDescription","pushAdvertisingAgreement","useNotificationAgreementsToast","init_NotificationAgreementsToast_hooks","useDialog","init_useDialog","show","needInAppLayer","closeOnPrimaryButtonClick","closeOnSecondaryButtonClick","needInAppLayerClose","useWithLogin","init_useWithLogin","Checkbox","container$3","text$1","init_Checkbox","CloseIcon","init_CloseIcon","PrivacyAgreementDetailDialog","container$2","closeButton","article","wrapper$1","subtitle","highlightedItem","paragraph","init_PrivacyAgreementDetailDialog","DIALOG_ID$1","usePrivacyAgreementDetailDialog","init_PrivacyAgreementDetailDialog_hooks","NotificationAgreementsBottomSheet","container$1","hr","buttons","cancelButton","detailButton","titleText","init_NotificationAgreementsBottomSheet","isPrivacyAgreementAgreed","setIsPrivacyAgreementAgreed","privacyAgreement","isPushAdvertisingAgreementAgreed","setIsPushAdvertisingAgreementAgreed","canSubmit","onSubmit","onCancel","useNotificationAgreementsBottomSheet","init_NotificationAgreementsBottomSheet_hooks","handleCancel","APP_CRASH_FIX_IOS_BUILD_NUMBER","REQUEST_TYPE$1","useAppNotificationState","init_useAppNotificationState","IOS_REQUEST_TYPE","ANDROID_REQUEST_TYPE","useMarketingPushNotification","init_useMarketingPushNotification","privacyAgreementAlreadyAgreed","advertisingAgreementAlreadyAgreed","advertisingAgreements","requestType","POST_AGREEMENT_MUTATION_KEY","usePostAgreementsMutation","init_usePostAgreementsMutation","parseErrorMessage","parseDirectionCode","isArrayErrorDetail","isErrorDetail","init_error$1","fallbackMessage","detail","NOTIFICATION_PERMISSION_FETCHER_KEY","useFetchNotificationPermission","init_useFetchNotfiicationPermission","fetchNotificationState","useNotificationRequirements","notificationRequirementsErrorHandler","useNotificationAgreements","useNotificationPermission","init_useNotificationRequirements","requestAgreements","requestPermission","postAgreements","apiEndpoint","onNotificationAgreementsError","onNotificationAgreementsSubmit","onNotificationAgreementsCancel","hasNotificationPermission","showToastOnSuccess","toastTitle","onNotificationEnabled","requestMarketingPushNotification","osBottomSheetType","onNotificationDisabled","SubscriptionApiService","subscriptionApi","init_SubscriptionApiService","groupKey","eventKey","eventKeys","SUBSCRIPTIONS_FETCHER_KEY","useFetchSubscriptions","init_useFetchSubscriptions","useRequestSubscription","init_useRequestSubscription","filterSubscription","subscribeMutator","unsubscribeMutator","UPDATE_APP_DIALOG_ID","APP_STORE_LINK","GOOGLE_PLAY_STORE_LINK","useShowUpdateAppDialog","init_useShowUpdateAppDialog","REQUEST_TYPE","useRequestUserAgreementBottomSheet","init_useRequestUserAgreementBottomSheet","confirmHandlerRef","cancelHandlerRef","isUserAgree","isPrivacyAndAdvertisingAgreed","isPushNotificationGranted","onConfirm","showUpdateAppDialog","useCreateOneLink","init_useCreateOneLink","webLink","webviewNavOptions","getCleanUrl","getCurrentHref","init_getCurrentHref","removeQueryParams","generatePath","ops","modules","cell","excavateModules","excavation","getImageSettings","imageSettings","includeMargin","MARGIN_SIZE","numCells","cells","defaultSize","DEFAULT_IMG_SCALE","floorX","floorY","QRCodeSVG","DEFAULT_SIZE","DEFAULT_LEVEL","DEFAULT_BGCOLOR","DEFAULT_FGCOLOR","DEFAULT_INCLUDEMARGIN","__objRest","qrcodegen_default","ERROR_LEVEL_MAP","calculatedImageSettings","fgPath","__spreadValues","bgColor","fgColor","__defProp","__getOwnPropSymbols","__hasOwnProp","__propIsEnum","__defNormalProp","qrcodegen","init_esm$4","_QrCode","errorCorrectionLevel","msk","allCodewords","dataCodewords","minPenalty","assert","segs","qrcodegen2","ecl","minVersion","maxVersion","mask","dataUsedBits","dataCapacityBits2","usedBits","QrSegment","newEcl","boostEcl","bb","appendBits","dataCapacityBits","padByte","alignPatPos","numAlign","rem","getBit","dy","dx","xx","yy","isDark","ver","numBlocks","blockEccLen","rawCodewords","numShortBlocks","shortBlockLen","rsDiv","dat","ecc","block","vert","runColor","runX","runHistory","runY","dark","total","degree","divisor","factor","coef","currentRunColor","currentRunLength","QrCode","cond","_QrSegment","bitData","temp","assignVal","ccbits","_Ecc","ordinal","formatBits","Ecc","_Mode","modeBits","numBitsCharCount","Mode","AppLinkDialog","init_AppLinkDialog","displayDesktopQRCode","oneLink","DIALOG_ID","useAppLinkDialog","init_AppLinkDialog_hooks","redirectApp","useWithApp","init_useWithApp","throttle","FUNC_ERROR_TEXT","\"leading\"","\"maxWait\"","\"trailing\"","init_throttle","SUBSCRIPTION_MESSAGES","createSubscriptionStorageKey","useHandleSubscription","localStorage$1","useBulkSubscriptionRequirements","useSubscriptionRequirements","init_SubscriptionButton_hooks","requestRequirements","requestBulkRequirements","withLogin","withApp","isSubscribed","hasRestEventKeys","restEventKeys","isBulkSubscriptionRequirementsViewed","sectionKey","markAsBulkSubscriptionRequirementsViewed","onErrorWhileSubscribe","trackToggleNotificationClick","alarmStatus","clickEventExtra","requestSubscribe","shouldTrackClickEvent","requestUnsubscribe","toggleSubscription","requestUserAgreementBottomSheet","SwitchButton","getSwitchButtonColors","containerStyle$6","disabledContainerStyle","labelStyle","labelStyleByTheme","thumbStyle","init_SwitchButton","disabled","activeColor","thumb","BUTTON_VARIANT_CONTROLS","BUTTON_SIZE_CONTROLS","BUTTON_FILL_CONTROLS","BUTTON_THEME_CONTROLS","init_button","splitToStringArray","init_splitToStringArray","isSameDay","dateLeftStartOfDay","dateRightStartOfDay","init_isSameDay","createIsomorphicLink","init_createIsomorphicLink","BestApiService","bestApi","formatBestProducts","init_BestApiService","BrandCurationApiService","brandCurationApi","init_BrandCurationApiService","DisplayBffApiService","displayBffApi","init_DisplayBffApiService","MOCK_PRODUCTS","init_mock","prefixIconAssets","postfixIconAssets","PREFIX_ICON_OPTIONS","POSTFIX_ICON_OPTIONS","init_Button_constants","ProductsElementContext","ProductsElementProvider","init_ProductsElementProvider","ScrollDirection","ProductsModuleInputType","PaginationType","init_ProductsModule_types","\"Vertical\"","\"Horizontal\"","ScrollDirection2","ProductsModuleInputType2","\"ExpandButton\"","PaginationType2","useProductsElementContext","init_ProductsElementProvider_hooks","SortType","init_sort","\"FEATURED\"","\"BEST\"","\"NEW\"","\"REVIEW_DESC\"","\"PRICE_DESC\"","\"PRICE_ASC\"","\"DISCOUNT_DESC\"","\"LIKE_DESC\"","\"ORDER_DESC\"","SortType2","DisplayBffSortType","init_DisplayBffApiService_types","\"Recommended\"","\"Newest\"","\"MostReviewed\"","\"LowestPrice\"","\"HighestPrice\"","\"HighestDiscount\"","\"MostLiked\"","\"MostSold\"","\"MostReserved\"","\"UpcomingPerformance\"","DisplayBffSortType2","RecommendApiService","recommendApi","formatCollectionProduct2Product","formatProducts","init_RecommendApiService","captureAPIError","captureNextPageError","init_sentry$1","BRAND_CURATION_PRODUCTS_MAX_SIZE","RECOMMENDATION_PRODUCTS_MAX_SIZE","RANKING_PRODUCTS_PER_REQUEST","RANKING_PRODUCTS_MAX_SIZE","RANKING_PRODUCTS_DEFAULT_AGE","isRankingProductsQuery","getRankingFetchPageSize","getRankingProductsHasNext","getInitialPaginationOptions","useMolocoProductsQuery","NextPageError","useProductsQuery","fetchProducts","fetchKeywordCollectionProducts","fetchFirstProductGroupId","fetchBrandCurationProducts","fetchRecommendationProducts","fetchRankingProducts","fetchCouponCollectionProducts","fetchPreuserProducts","fetchMolocoItems","fetchRankingCategoryProducts","queryProducts","init_ProductsModule_hooks","originalError","_size","userSegment","fetchedProducts","lastPageHasNext","skipped","took","keywordCollectionId","tagIds","isTrending","hasLargeCategoryId","hasMiddleCategoryId","preuserIds","tabName","tabs","cat","categoryIds","useProducts","useSendProductsElementIds","getProductIds","init_ProductsElement_hooks","isMoloco","molocoOptions","infiniteOptions","molocoResult","infiniteResult","ExpandButtonElement","containerStyle$5","init_ExpandButtonElement","fetchNextPage","VerticalPaginationElement","init_VerticalPaginationElement","PaginationElement","init_PaginationElement","getScrollMargin","isElementCrossed","initializeScroll","isExpandable","getDisplayCount","canFetchOnLastItemView","getRequestSize","init_ProductsElement_utils","ProductsElementInner","ProductsElement","containerStyle$4","createOptions","createVerticalOptions","createHorizontalOptions","init_ProductsElement","totalProductsLength","hasScroll","LinkedProductsModule","init_LinkedProductsModule","upstreamRetry","MANUAL_PRODUCTS_MODULE_QUERY","init_ProductsModule_controls","ProductsModuleInner","ProductsModule","init_ProductsModule","cardType","ProductsModule_default","init_ProductsModule$1","COUPON_LAYOUT_RESPONSIVE","COUPON_CONTROLS","COUPON_THEME_TYPE","COUPON_THEME_CONTROLS","DEFAULT_COUPON_NAME_VISIBILITY","DEFAULT_COUPON_MODULE_NAME_VISIBILITY","COUPON_MODULE_NAME_VISIBILITY_CONTROLS","COUPON_NAME_FIXED_TEXT","getCouponDiscountValueText","getCouponApplicationTypeText","getCouponCountText","composeCouponName","composeCouponNameFromCoupon","resolveCouponTheme","resolveCouponLayout","toBackgroundColor","init_coupon$2","colorType","couponKindType","personMaxIssueCount","discountValue","brandName","applicationType","couponCount","couponTheme","couponLayout","\"solid\"","\"gradient\"","isObject","init_object$1","variantByType","variantByStatus","init_Root_constants$2","CouponContext","Root$1","getLinearGradient","containerStyle$3","wrapperStyle","wrapperStyleByLayout","compactWrapperStyleByStatus","skeletonStyle$1","skeletonStyleByTheme$1","skeletonStyleByLayout","init_Root$5","_backgroundColor","getBackground","linearGradient","stops","stop","useCouponContext","init_Root_hooks$5","Description","init_Description$1","Divider","containerStyle$2","containerStyleByTheme","init_Divider","Button","contentByStatus","containerStyle$1","containerStyleByLayout$1","textStyleByLayout","containerStyleByStatus","init_Button$2","shouldRenderIcon","getIconSize","Summary","containerStyleByLayout","init_Summary","Title","styleByLayout","init_Title$2","Coupon","init_Coupon","COUPONS_PER_REQUEST","INVALID_COUPON_ID","CouponApiService","couponApi","init_CouponApiService","slicedCouponIdList","couponIdList","slicedCouponIdListString","couponNoList","safeDownloadCount","downloadCount","couponNo","COUPONS_DOWNLOAD_STATUS_FETCHER_KEY","useFetchCouponsDownloadStatus","init_useFetchCouponsDownloadStatus","COUPON_MULTI_ISSUE_FETCHER_KEY","downloadCoupons","useDownloadCouponsMutation","init_useDownloadCouponsMutation","DOWNLOAD_COUPON_MESSAGES","init_CouponDownloadCTA_constants","DOWNLOAD_RANDOM_COUPON_MUTATION_KEY","useDownloadRandomCouponMutation","init_useDownloadRandomCouponMutation","useDownloadCoupons","getSuccessMessage","createRandomCouponSuccessMessage","getErrorMessage","toCouponNos","init_useDownloadCoupons","isValidOrigin","couponType","downloadRandomCoupon","isRandomCouponLoading","handleSuccess","handleCouponDownloadSuccess","discountType","validate","downloadCountOrSkipValidation","skipValidation","isBulk","couponNosStr","formatToCoupon","init_CouponModule_utils","COUPONS_FETCHER_KEY","useCouponsQuery","fetchCoupons","fetchCouponCollectionCoupon","fetchKeywordCollectionCoupon","queryCoupons","init_CouponModule_hooks","classNames$3","withStyle$3","FoldableListContext","Root","skeletonStyle","skeletonStyleByTheme","init_Root$6","init_Root_hooks$6","useFold","useFoldableListContext","isFolded","setIsFolded","useFoldControls","init_Content_hooks","classNames$2","withStyle$2","Content","init_Content$1","textStyleByTheme","init_Root_constants$3","classNames$1","withStyle$1","Item","init_Item$2","\"container\"","withStyle","Trigger","baseTextStyle","init_Trigger$1","icons","toggleFold","FoldableList","init_FoldableList","DATE_FORMAT","HOURS_IN_DAY","getCouponNotices","createMaxIssueCountNotice","formatMaxDiscountPrice","formatRateCouponMaxDiscountPrice","formatAmountCouponMaxDiscountPrice","formatRandomCouponMaxDiscountPrice","formatAvailablePeriod","uniquifyCouponsByDiscountValue","uniquifyCouponsByMinPayAmount","sortCouponsByDiscountValueAscending$1","getMaxDiscountPrice","RANDOM_COUPON_PERIOD_CUTOFF","getRandomCouponUseablePeriod","getRandomCouponNotices","getRateCouponNotices","getAmountCouponNotices","composeWithUnitByType","composeWithUnit","init_NoticesElement_utils","coupons","formattedAvailablePeriod","formattedMaxDiscountPrice","maxIssueCountNotice","maxIssueCount","coupon2","minPayAmount","maxDiscountPrice","availableStartAt","availableEndAt","availablePeriod","COUPON_NOTICE_THEME_TYPE","COUPON_NOTICES_CONTROLS","resolveCouponNoticeTheme","init_coupon_notices","hasAdditionalNotices","noticeTheme","NoticesElement","noticesLayout","mainNoticesStyle","mainNoticeStyleByTheme","init_NoticesElement","resolvedNoticeTheme","uniqueMainNotices","mainNotices","mergedAdditionalNotices","additionalNotices","uniqueAdditionalNotices","hasMainNotices","notice","RandomDiscountValue","init_RandomDiscountValue","setIndex","discountValues","getCouponUseEndAt","getCouponStatus","getCouponFallbackDescription","unitByDiscountType","textByCouponKindType","getUpcomingText","getDescriptionByStatus","descriptionStyle","getCouponCollectionCouponName","getRandomCouponName","getGeneralCouponName","getCouponNameByCouponType","getCouponName","sortCouponsByDiscountValueAscending","findCurrentSchedule","toSchedule","sortScheduleAscending","toCouponSchedule","init_CouponElement_utils","issueStartAt","issueEndAt","useEndAt","isEnd","isExpired","statuses","_status","minDiscountValue","maxDiscountValue","timeText","couponDiscountValues","topCoupon","currentCoupon","maxCoupon","couponName","schedule","isFirst","shouldUpdateAt","option","updateSchedule","updateAt","dailyCouponIds","MS_IN_SECOND","DEFAULT_COUPON_ITEM_ENTRY","useCouponIds","getCouponCollectionCouponItemEntry","getKeywordCollectionCouponItemEntry","getRandomCouponItemEntry","getNormalCouponItemEntry","getDailyCouponItemEntry","getGeneralCouponItemEntry","getCouponItemEntryByCouponType","getCouponItemEntry","init_CouponElement_hooks","couponItemEntry","setCouponItemEntry","currentSchedule","couponUpdateType","schedules","dailyCouponOptions","validateCoupon","validateDailyUpdateCoupon","validateCouponQuery","validateCouponByQuery","init_CouponElement_validate","CouponElement","errorMessageStyle","attachAdditionalQuery","init_CouponElement","_query","canFetchBySegment","rootRef","isFramer","headCoupon","hasCoupon","isUnlimitedCoupon","isUnlimitedCouponDownloaded","setIsUnlimitedCouponDownloaded","isCouponDownloaded","setIsCouponDownloaded","isRandomCoupon","shouldRender","paddingStyle","shouldRenderError","resolvedCouponLayout","couponDownloadItems","handleImpression","resolvedStatus","LinkedCouponModule","init_LinkedCouponModule","MANUAL_COUPON_MODULE_QUERY","AUTO_COUPON_MODULE_QUERY","init_CouponModule_controls","COUPON_ID_FETCHER_KEY","useCouponIdQuery","fetchKeywordCollectionCouponId","fetchKeywordCollectionsCouponId","queryCouponId","init_AutoCouponModule_hooks","AutoCouponModule","init_AutoCouponModule","CouponModuleInner","CouponModule","init_CouponModule","CouponModule_default","init_CouponModule$1","ellipsis","init_ellipsis","lineClamp","BadgeVariant","BadgePriority","BadgeTone","BadgeSize","init_Badge_types","\"SYSTEM\"","BadgeVariant2","BadgePriority2","\"DEFAULT\"","\"INFORMATION\"","\"POSITIVE\"","\"NEGATIVE\"","BadgeTone2","BadgeSize2","BADGE_CONTROL_ITEMS","init_badge","FramerBadge","init_Badge$2","init_Badge$3","RulerBadge_default","init_RulerBadge"],"sources":["https:/asset.29cm.co.kr/contents/framer/_virtual/index2.js","https:/asset.29cm.co.kr/contents/framer/_virtual/use-sync-external-store-shim.development.js","https:/asset.29cm.co.kr/contents/framer/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js","https:/asset.29cm.co.kr/contents/framer/_virtual/use-sync-external-store-shim.production.min.js","https:/asset.29cm.co.kr/contents/framer/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js","https:/asset.29cm.co.kr/contents/framer/node_modules/use-sync-external-store/shim/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/swr/_internal/dist/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/swr/core/dist/index.js","https:/asset.29cm.co.kr/contents/framer/constants/error.js","https:/asset.29cm.co.kr/contents/framer/apis/@middlewares/throwFailError.js","https:/asset.29cm.co.kr/contents/framer/utils/context.js","https:/asset.29cm.co.kr/contents/framer/constants/domain.js","https:/asset.29cm.co.kr/contents/framer/utils/function.js","https:/asset.29cm.co.kr/contents/framer/utils/location.js","https:/asset.29cm.co.kr/contents/framer/utils/env.js","https:/asset.29cm.co.kr/contents/framer/config/env.development.js","https:/asset.29cm.co.kr/contents/framer/config/env.production.js","https:/asset.29cm.co.kr/contents/framer/config/env.qa.js","https:/asset.29cm.co.kr/contents/framer/config/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/js-cookie/dist/js.cookie.js","https:/asset.29cm.co.kr/contents/framer/utils/cookies.js","https:/asset.29cm.co.kr/contents/framer/libs/services/jwt/tokenExpiredCallbacks.js","https:/asset.29cm.co.kr/contents/framer/libs/services/jwt/utils.js","https:/asset.29cm.co.kr/contents/framer/libs/services/jwt/JwtTokenManager.js","https:/asset.29cm.co.kr/contents/framer/utils/entries.js","https:/asset.29cm.co.kr/contents/framer/utils/definedOnly.js","https:/asset.29cm.co.kr/contents/framer/utils/querify.js","https:/asset.29cm.co.kr/contents/framer/apis/APIService.types.js","https:/asset.29cm.co.kr/contents/framer/apis/APIService.js","https:/asset.29cm.co.kr/contents/framer/apis/brand-sale/BrandSaleApiService.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchBrandSaleGroup.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/toDate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/isAfter.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchBrandSales.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/ko/_lib/formatDistance.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/_lib/buildFormatLongFn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/ko/_lib/formatLong.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/ko/_lib/formatRelative.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/_lib/buildLocalizeFn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/ko/_lib/localize.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/_lib/buildMatchFn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/ko/_lib/match.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/ko.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/defaultOptions.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/constants.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfDay.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInCalendarDays.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/constructFrom.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/getDayOfYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfWeek.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfISOWeek.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/getISOWeekYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfISOWeekYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/getISOWeek.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/getWeekYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfWeekYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/getWeek.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/addLeadingZeros.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/format/lightFormatters.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/format/formatters.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/format/longFormatters.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/protectedTokens.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/isDate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/isValid.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US/_lib/formatDistance.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US/_lib/formatLong.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US/_lib/formatRelative.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US/_lib/localize.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US/_lib/match.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/format.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/parseISO.js","https:/asset.29cm.co.kr/contents/framer/utils/mediaBuilder.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Skeleton/Skeleton.js","https:/asset.29cm.co.kr/contents/framer/node_modules/vite-plugin-node-polyfills/shims/global/dist/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@firebase/util/dist/index.esm2017.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@firebase/component/dist/esm/index.esm2017.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@firebase/logger/dist/esm/index.esm2017.js","https:/asset.29cm.co.kr/contents/framer/node_modules/idb/build/wrap-idb-value.js","https:/asset.29cm.co.kr/contents/framer/node_modules/idb/build/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@firebase/app/dist/esm/index.esm2017.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@firebase/installations/dist/esm/index.esm2017.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@firebase/analytics/dist/esm/index.esm2017.js","https:/asset.29cm.co.kr/contents/framer/node_modules/firebase/app/dist/esm/index.esm.js","https:/asset.29cm.co.kr/contents/framer/apis/user-segment/CategoryFirstOrderApiService.js","https:/asset.29cm.co.kr/contents/framer/apis/framer/FramerApiService.js","https:/asset.29cm.co.kr/contents/framer/apis/highlight-products/HighlightProductsApiService.js","https:/asset.29cm.co.kr/contents/framer/apis/brand-mix/BrandMixApiService.js","https:/asset.29cm.co.kr/contents/framer/apis/one-brand-days/OneBrandDaysApiService.js","https:/asset.29cm.co.kr/contents/framer/apis/taste-sharing/TasteSharingApiService.js","https:/asset.29cm.co.kr/contents/framer/node_modules/map-obj/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/camelcase/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/quick-lru/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/camelcase-keys/index.js","https:/asset.29cm.co.kr/contents/framer/apis/authFetch.js","https:/asset.29cm.co.kr/contents/framer/utils/cache.js","https:/asset.29cm.co.kr/contents/framer/apis/user/UserApiService.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/isBefore.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/isEqual.js","https:/asset.29cm.co.kr/contents/framer/apis/preuser/PreuserApiService.js","https:/asset.29cm.co.kr/contents/framer/node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/tslib/tslib.es6.js","https:/asset.29cm.co.kr/contents/framer/_virtual/rng-browser.js","https:/asset.29cm.co.kr/contents/framer/node_modules/uuid/lib/rng-browser.js","https:/asset.29cm.co.kr/contents/framer/node_modules/uuid/lib/bytesToUuid.js","https:/asset.29cm.co.kr/contents/framer/node_modules/uuid/v1.js","https:/asset.29cm.co.kr/contents/framer/node_modules/uuid/v4.js","https:/asset.29cm.co.kr/contents/framer/node_modules/uuid/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@snowplow/tracker-core/dist/index.module.js","https:/asset.29cm.co.kr/contents/framer/_virtual/_commonjsHelpers.js","https:/asset.29cm.co.kr/contents/framer/_virtual/sha1.js","https:/asset.29cm.co.kr/contents/framer/_virtual/crypt.js","https:/asset.29cm.co.kr/contents/framer/node_modules/crypt/crypt.js","https:/asset.29cm.co.kr/contents/framer/node_modules/charenc/charenc.js","https:/asset.29cm.co.kr/contents/framer/node_modules/sha1/sha1.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/snowplow/node_modules/@snowplow/browser-tracker-core/dist/index.module.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/snowplow/node_modules/@snowplow/browser-tracker/dist/index.module.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@snowplow/webview-tracker/dist/index.modern.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/snowplow/dist/esm/constants.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/snowplow/dist/esm/utils/logger.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/snowplow/dist/esm/utils/parser.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/snowplow/dist/esm/core/snowplow.js","https:/asset.29cm.co.kr/contents/framer/node_modules/swr/mutation/dist/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/zustand/esm/vanilla.js","https:/asset.29cm.co.kr/contents/framer/_virtual/with-selector.js","https:/asset.29cm.co.kr/contents/framer/_virtual/with-selector.development.js","https:/asset.29cm.co.kr/contents/framer/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js","https:/asset.29cm.co.kr/contents/framer/_virtual/with-selector.production.min.js","https:/asset.29cm.co.kr/contents/framer/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js","https:/asset.29cm.co.kr/contents/framer/node_modules/use-sync-external-store/shim/with-selector.js","https:/asset.29cm.co.kr/contents/framer/node_modules/zustand/esm/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/zustand/esm/middleware.js","https:/asset.29cm.co.kr/contents/framer/utils/unique.js","https:/asset.29cm.co.kr/contents/framer/hooks/stores/content/content.store.js","https:/asset.29cm.co.kr/contents/framer/hooks/stores/dialog/dialog.store.js","https:/asset.29cm.co.kr/contents/framer/hooks/stores/global-layout/global-layout.store.js","https:/asset.29cm.co.kr/contents/framer/hooks/stores/toast/toast.store.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/providers/ThemeProvider/ThemeProvider.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/providers/ThemeProvider/ThemeProvider.hooks.js","https:/asset.29cm.co.kr/contents/framer/hooks/useTheme.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/providers/BreakpointProvider/BreakpointProvider.js","https:/asset.29cm.co.kr/contents/framer/hooks/stores/bottom-sheet/bottom-sheet.store.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Dialog/Dialog.module.css.js","https:/asset.29cm.co.kr/contents/framer/containers/DialogContainer/DialogContainer.emitter.js","https:/asset.29cm.co.kr/contents/framer/utils/base64.js","https:/asset.29cm.co.kr/contents/framer/libs/services/user/UserService.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchUserInfo.js","https:/asset.29cm.co.kr/contents/framer/hooks/useCurrentUser.js","https:/asset.29cm.co.kr/contents/framer/hooks/useFeatureFlag.js","https:/asset.29cm.co.kr/contents/framer/utils/custom-tab/isTabView.js","https:/asset.29cm.co.kr/contents/framer/utils/navigate.js","https:/asset.29cm.co.kr/contents/framer/utils/postMessageAsync.js","https:/asset.29cm.co.kr/contents/framer/utils/url.js","https:/asset.29cm.co.kr/contents/framer/utils/redirectLogin.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/source.js","https:/asset.29cm.co.kr/contents/framer/utils/device.js","https:/asset.29cm.co.kr/contents/framer/utils/postMessage.js","https:/asset.29cm.co.kr/contents/framer/hooks/analytics/useFirebase.js","https:/asset.29cm.co.kr/contents/framer/constants/firebase.js","https:/asset.29cm.co.kr/contents/framer/utils/framer/isCanvas.js","https:/asset.29cm.co.kr/contents/framer/utils/analytics/braze/web/brazeInstance.js","https:/asset.29cm.co.kr/contents/framer/utils/analytics/braze/web/trackWebBraze.js","https:/asset.29cm.co.kr/contents/framer/utils/analytics/braze/webview/trackWebviewBraze.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/snowplow/dist/esm/core/track-snowplow.js","https:/asset.29cm.co.kr/contents/framer/hooks/analytics/useAnalytics.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/content.js","https:/asset.29cm.co.kr/contents/framer/hooks/useCreateAppSchemeLink.js","https:/asset.29cm.co.kr/contents/framer/utils/getAnchorTarget.js","https:/asset.29cm.co.kr/contents/framer/hooks/useNavigatePage.js","https:/asset.29cm.co.kr/contents/framer/hooks/events/useTrackViewComponentEvent.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/EventTrackingProvider/EventTrackingProvider.js","https:/asset.29cm.co.kr/contents/framer/hooks/events/useTrackClickComponentEvent.js","https:/asset.29cm.co.kr/contents/framer/utils/map.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/EventTrackingProvider/EventTrackingProvider.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/searchList.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/search.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/download.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/downloadSlim.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/close.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/plus.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/minus.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/arrowLeft.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/arrowRight.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/chevronRight.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/chevronLeft.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/chevronDown.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/chevronUp.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/check.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/document.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/my.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/box.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/home.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/heart.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/house.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/bag.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/bell.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/bellOff.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/star.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/setting.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/question.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/gift.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/remove.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/share.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/comment.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/caution.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/disclosureOff.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/disclosureOn.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/filter.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/scrap.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/trash.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/lock.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/lockOff.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/coupon.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/clock.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/redo.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/won.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/pencil.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/delivery.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/law.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/eyeOn.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/eyeOff.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/bars.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/filterDot.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/checkCalendar.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/hanger.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/assets/index.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/Icon.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Icon/Icon.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/providers/BreakpointProvider/BreakpointProvider.hooks.js","https:/asset.29cm.co.kr/contents/framer/hooks/useBreakpoint.js","https:/asset.29cm.co.kr/contents/framer/_virtual/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/styled-jsx/dist/index/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/styled-jsx/style.js","https:/asset.29cm.co.kr/contents/framer/styles/colors.js","https:/asset.29cm.co.kr/contents/framer/styles/css.js","https:/asset.29cm.co.kr/contents/framer/styles/typography.js","https:/asset.29cm.co.kr/contents/framer/utils/clsx.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Spinner/Spinner.types.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Spinner/Spinner.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Button/Button.types.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Button/Button.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ErrorFallback/ErrorFallback.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/NoContent/NoContent.js","https:/asset.29cm.co.kr/contents/framer/hooks/beacon/ComponentTimingContext.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/SWRErrorBoundary/SWRErrorBoundary.js","https:/asset.29cm.co.kr/contents/framer/styles/theme.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/theme.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@beacon/shared/dist/constants/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@beacon/shared/dist/util/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@beacon/sdk-core-ts/dist/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@beacon/shared/dist/masking.js","https:/asset.29cm.co.kr/contents/framer/node_modules/web-vitals/dist/web-vitals.attribution.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@beacon/sdk-core-ts/dist/constants-DO_NTY2-.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@beacon/sdk-browser/dist/index.js","https:/asset.29cm.co.kr/contents/framer/hooks/beacon/useComponentTiming.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_freeGlobal.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_root.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/now.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_trimmedEndIndex.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseTrim.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Symbol.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getRawTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_objectToString.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseGetTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isObjectLike.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isSymbol.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/toNumber.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/debounce.js","https:/asset.29cm.co.kr/contents/framer/styles/breakpoint.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/breakpoint.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/component-id.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineModule.types.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/IntersectionProvider/IntersectionProvider.js","https:/asset.29cm.co.kr/contents/framer/hooks/code-overrides/useCurrentUser.js","https:/asset.29cm.co.kr/contents/framer/apis/user-segment/UserSegment.js","https:/asset.29cm.co.kr/contents/framer/hooks/code-overrides/useUserTargetSegment.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useCategoryNewBuyerCoupon.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useCategoryNewBuyerProduct.js","https:/asset.29cm.co.kr/contents/framer/hooks/useIsMounted.js","https:/asset.29cm.co.kr/contents/framer/utils/framer/isFramerPreview.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/providers/SegmentProvider/SegmentProvider.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/SectionLayout/SectionLayout.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Root.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Root.constants.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Image.js","https:/asset.29cm.co.kr/contents/framer/hooks/usePageVisibility.js","https:/asset.29cm.co.kr/contents/framer/hooks/react/useIsomorphicLayoutEffect.js","https:/asset.29cm.co.kr/contents/framer/hooks/useEventCallback.js","https:/asset.29cm.co.kr/contents/framer/hooks/useReceiveMessage.js","https:/asset.29cm.co.kr/contents/framer/hooks/useVideoVisibility.js","https:/asset.29cm.co.kr/contents/framer/utils/react/mergeRefs.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Video.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/styles/ComponentName.js","https:/asset.29cm.co.kr/contents/framer/node_modules/stylis/src/Enum.js","https:/asset.29cm.co.kr/contents/framer/node_modules/stylis/src/Utility.js","https:/asset.29cm.co.kr/contents/framer/node_modules/stylis/src/Tokenizer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/stylis/src/Parser.js","https:/asset.29cm.co.kr/contents/framer/node_modules/stylis/src/Serializer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/stylis/src/Prefixer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/stylis/src/Middleware.js","https:/asset.29cm.co.kr/contents/framer/styles/createWithStyle.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Content.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Title.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Description.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Action.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Gradient.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Body.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/index.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineMediaElement/HeadlineMediaElement.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/TextButton/TextButton.js","https:/asset.29cm.co.kr/contents/framer/components/modules/types.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineActionElement/HeadlineLinkActionElement.utils.js","https:/asset.29cm.co.kr/contents/framer/constants/eventName.js","https:/asset.29cm.co.kr/contents/framer/constants/snowplow/snowplowSchema.js","https:/asset.29cm.co.kr/contents/framer/utils/getSeriesPath.js","https:/asset.29cm.co.kr/contents/framer/hooks/snowplow/useTrackSnowplowEvent.utils.js","https:/asset.29cm.co.kr/contents/framer/utils/getSearchParamsObject.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/addAdCodeToProperties.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/addCategoryFilterProperties.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/addExperimentDataProperties.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/subTab.js","https:/asset.29cm.co.kr/contents/framer/hooks/snowplow/useTrackSnowplowEvent.js","https:/asset.29cm.co.kr/contents/framer/components/modules/module-store/module.store.js","https:/asset.29cm.co.kr/contents/framer/node_modules/zustand/esm/shallow.js","https:/asset.29cm.co.kr/contents/framer/components/modules/hooks.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineActionElement/HeadlineLinkActionElement.js","https:/asset.29cm.co.kr/contents/framer/hooks/useVisibilityAwareTimer.js","https:/asset.29cm.co.kr/contents/framer/hooks/react/useEffectOnce.js","https:/asset.29cm.co.kr/contents/framer/components/systems/RollingNumber/RollingNumber.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/RollingNumber/RollingValue.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/RollingNumber/RollingValue.js","https:/asset.29cm.co.kr/contents/framer/components/systems/RollingNumber/RollingNumber.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Countdown/Countdown.module.css.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/getRoundingMethod.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInMilliseconds.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInSeconds.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Countdown/Countdown.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineActionElement/HeadlineCountdownActionElement.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineActionElement/HeadlineActionElement.js","https:/asset.29cm.co.kr/contents/framer/components/modules/query-store/query.store.js","https:/asset.29cm.co.kr/contents/framer/utils/spacing.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineElement/HeadlineElement.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@date-fns/utc/date/mini.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@date-fns/utc/date/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/_lib/tzTokenizeDate/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/_lib/newDateUTC/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/_lib/tzPattern/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/toDate/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/toZonedTime/index.js","https:/asset.29cm.co.kr/contents/framer/utils/createUTCDate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/compareAsc.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/isWithinInterval.js","https:/asset.29cm.co.kr/contents/framer/utils/date.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineModule.utils.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/LinkedHeadlineModule/LinkedHeadlineModule.utils.js","https:/asset.29cm.co.kr/contents/framer/components/modules/utils/key.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/LinkedHeadlineModule/LinkedHeadlineModule.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProfilesModule/ProfilesModule.types.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/helpers.js","https:/asset.29cm.co.kr/contents/framer/types/models/coupon.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponModule.types.js","https:/asset.29cm.co.kr/contents/framer/components/modules/controls.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineModule.controls.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/IntersectionProvider/IntersectionProvider.hooks.js","https:/asset.29cm.co.kr/contents/framer/apis/keyword-collections/KeywordCollectionApiService.js","https:/asset.29cm.co.kr/contents/framer/components/systems/KeywordCollection/KeywordCollectionTags/KeywordCollectionTags.utils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/addDays.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/subDays.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/addMonths.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/subMonths.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/sub.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/formatISO.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/KeywordCollectionV2/TimeSaleCollectionTags/TimeSaleCollectionTags.utils.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/KeywordCollectionV2/TimeSaleCollection.utils.js","https:/asset.29cm.co.kr/contents/framer/utils/filterMap.js","https:/asset.29cm.co.kr/contents/framer/utils/splitToNumberArray.js","https:/asset.29cm.co.kr/contents/framer/apis/collection/CollectionApiService.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineModule.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/AutoHeadlineModule/AutoHeadlineModule.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/segment.js","https:/asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineModule.js","https:/framerusercontent.com/modules/PueLRXpmraBi4DPH0bQS/EXPZgr67fHEDGc5sLEZJ/HeadlineModule.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Expandable/Expandable.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/canvas/ComponentEventTracker/ComponentEventTracker.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Placeholder/Placeholder.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Placeholder/Placeholder.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Expandable/Expandable.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ScrollProgressBar/ScrollProgressBar.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ScrollProgressBar/ScrollProgressBar.js","https:/asset.29cm.co.kr/contents/framer/components/systems/FixedScrollProgressBar/FixedScrollProgressBar.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/FixedScrollProgressBar/FixedScrollProgressBar.js","https:/asset.29cm.co.kr/contents/framer/hooks/useToast.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButton/ShareButton.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/utils/share/appshare.js","https:/asset.29cm.co.kr/contents/framer/node_modules/toggle-selection/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/copy-to-clipboard/index.js","https:/asset.29cm.co.kr/contents/framer/utils/share/webshare.js","https:/asset.29cm.co.kr/contents/framer/utils/share/isShareInternalLinkAvailable.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButton/ShareButton.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButton/useIsShareButtonRenewed.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButton/ShareIcon.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareIcon.js","https:/asset.29cm.co.kr/contents/framer/hooks/useBottomSheet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/node_modules/@floating-ui/core/dist/floating-ui.core.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/node_modules/@floating-ui/dom/dist/floating-ui.dom.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js","https:/asset.29cm.co.kr/contents/framer/node_modules/aria-hidden/dist/es2015/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/tabbable/dist/index.esm.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/dist/floating-ui.react.esm.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/utils/generateUUID.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/hooks/useEffectDisableScroll.js","https:/asset.29cm.co.kr/contents/framer/node_modules/tailwind-variants/dist/chunk-JXBJZR5A.js","https:/asset.29cm.co.kr/contents/framer/node_modules/tailwind-merge/dist/bundle-mjs.js","https:/asset.29cm.co.kr/contents/framer/node_modules/tailwind-variants/dist/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/color.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/radius.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/screens.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/space.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/_virtual/_commonjsHelpers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/_virtual/default-theme.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/node_modules/.pnpm/tailwindcss@3.4.17_ts-node@10.5.0/node_modules/tailwindcss/defaultTheme.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/typography.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/zIndex.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/theme.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind-variants/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/styles/layer.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/styles/dialog.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/loader.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Icon/Icon.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/TextButton/TextButton.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/contexts/RulerStackContext.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/contexts/constants.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Dialog/Dialog.hooks.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Dialog/Dialog.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/hooks/usePressedState.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Icon/Icon.types.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Spinner/Spinner.types.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Spinner/Spinner.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Button/Button.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Button/Button.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Dialog/Dialog.js","https:/asset.29cm.co.kr/contents/framer/components/ruler/Badge/Badge.constants.js","https:/asset.29cm.co.kr/contents/framer/components/ruler/Badge/Badge.utils.js","https:/asset.29cm.co.kr/contents/framer/components/ruler/Badge/Badge.js","https:/asset.29cm.co.kr/contents/framer/utils/image/getImageUrl.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareTypeSelector/PreviewCard.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareTypeSelector/RadioIndicator.js","https:/asset.29cm.co.kr/contents/framer/apis/onelink/OnelinkAPIService.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchRewardKey.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js","https:/asset.29cm.co.kr/contents/framer/utils/date-helpers/createUTCFromKST.js","https:/asset.29cm.co.kr/contents/framer/components/systems/FloatingShareButton/TasteShareHelpTooltip/TasteShareHelpTooltip.utils.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareTypeSelector/ShareTypeSelector.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareTypeSelector/ShareTypeSelectorView.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareTypeSelector/ShareTypeSelectorBottomSheet.hooks.js","https:/asset.29cm.co.kr/contents/framer/styles/getStyle.js","https:/asset.29cm.co.kr/contents/framer/node_modules/react-use/esm/misc/util.js","https:/asset.29cm.co.kr/contents/framer/node_modules/react-use/esm/factory/createBreakpoint.js","https:/asset.29cm.co.kr/contents/framer/styles/createUseStyle.js","https:/asset.29cm.co.kr/contents/framer/utils/storage/local-storage.js","https:/asset.29cm.co.kr/contents/framer/hooks/useLocalStorage.js","https:/asset.29cm.co.kr/contents/framer/components/systems/FloatingShareButton/TasteShareHelpTooltip/TasteShareHelpTooltip.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/FloatingShareButton/TasteShareHelpTooltip/TasteShareHelpTooltip.js","https:/asset.29cm.co.kr/contents/framer/hooks/useMediaQuery.js","https:/asset.29cm.co.kr/contents/framer/hooks/useIsMobileDevice.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareButtonWithReferralEvent.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchTasteSharingActiveProgram.js","https:/asset.29cm.co.kr/contents/framer/hooks/mutations/useRewardVisitMutation.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/AlertDialog/AlertDialog.hooks.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/AlertDialog/AlertDialog.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/AlertDialog/AlertDialog.js","https:/asset.29cm.co.kr/contents/framer/containers/AlertDialogContainer/AlertDialogContainer.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/hooks/useRewardVisitErrorHandler.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/hooks/useRemoveRewardKey.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/tooltip/LoginTooltip.js","https:/asset.29cm.co.kr/contents/framer/hooks/useIsWebview.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/hooks/useNavigateToEventHub.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/tooltip/MileageTooltip.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/tooltip/Tooltip.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useMyRewards.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/utils/getMileageText.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/ReferralEventRewardHandler.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButton/ShareButton.js","https:/asset.29cm.co.kr/contents/framer/components/systems/FloatingShareButton/FloatingShareButton.js","https:/asset.29cm.co.kr/contents/framer/utils/event-emitter/event-emitter.js","https:/asset.29cm.co.kr/contents/framer/utils/event-emitter/product-event-emitter.js","https:/asset.29cm.co.kr/contents/framer/hooks/product/useSendProductIds.js","https:/asset.29cm.co.kr/contents/framer/apis/product/ProductApiService.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchHeartProductList.js","https:/asset.29cm.co.kr/contents/framer/hooks/product/useProductGroupHeart.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/ProductCard.types.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/utils/src/numbers/commaizeNumber.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Badge/Badge.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Badge/Badge.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/OptionFee.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductHorizontalCard/ProductHorizontalCard.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/utils/src/numbers/formatNumberWithKoreanUnit.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/LikeCountButton/LikeCountButton.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/IconButton/IconButton.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/IconButton/IconButton.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductHorizontalCard/ProductHorizontalCardPostfix.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductHorizontalCard/ProductHorizontalCard.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/PreuserProductCard/PreuserProductCardInfo.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcAiOff.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcApple.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArrayBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArrayBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArrayRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArrowLeftBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArrowLeftBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArrowLeftLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArrowLeftRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArrowRightBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArrowRightBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArrowRightLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcArrowRightRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBagBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBagBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBagRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBarsBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBarsBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBarsLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBarsRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBellBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBellBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBellLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBellRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBelloffBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBelloffBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBelloffLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBelloffRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBoxBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBoxBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBoxLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcBoxRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCameraBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCameraBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCameraLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCameraRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCategoryBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCategoryBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCategoryRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCautionBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCautionBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCautionLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCautionRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckCalendarBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckCalendarBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckCalendarLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckCalendarRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckCircleBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckCircleBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckCircleLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckCircleRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCheckRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronDownBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronDownBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronDownLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronDownRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronLeftBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronLeftBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronLeftLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronLeftRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronRightBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronRightBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronRightLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronRightRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronUpBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronUpBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronUpLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcChevronUpRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcClockBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcClockBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcClockLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcClockRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCloseBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCloseBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCloseLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCloseRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCommentBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCommentBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCommentLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCommentRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCommentRound.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCouponBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCouponBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCouponLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcCouponRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDeliveryBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDeliveryBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDeliveryLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDeliveryRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDisclosureOffBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDisclosureOffBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDisclosureOffLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDisclosureOffRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDisclosureOnBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDisclosureOnBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDisclosureOnLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDisclosureOnRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDocumentBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDocumentBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDocumentLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDocumentRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDownloadBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDownloadBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDownloadLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcDownloadRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEditOutlined.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEnlargementBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEnlargementBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEnlargementLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEnlargementRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEyeOffBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEyeOffBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEyeOffLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEyeOffRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEyeOnBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEyeOnBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEyeOnLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcEyeOnRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFacebook.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFilterBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFilterBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFilterDotBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFilterDotBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFilterDotLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFilterDotRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFilterLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFilterRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFoldChevronLeftBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFoldChevronLeftBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFoldChevronLeftLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFoldChevronLeftRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFoldChevronRightBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFoldChevronRightBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFoldChevronRightLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFoldChevronRightRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcFulfillmentLogo.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcGiftBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcGiftBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcGiftLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcGiftRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcGithub.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcGoogle.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHangerBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHangerBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHangerLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHangerRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHeartBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHeartBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHeartRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHomeBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHomeBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHomeLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHomeRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHouseBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHouseBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcHouseRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcInfoCircleBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcInfoCircleBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcInfoCircleLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcInfoCircleRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcInstagram.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcKakao.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLawBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLawBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLawLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLawRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLetterBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLetterFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLetterLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLetterRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLikeFilled.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLikeOutlined.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLockBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLockBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLockRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLockoffBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLockoffBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcLockoffRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcMil.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcMinusBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcMinusBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcMinusLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcMinusRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcMute.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcMyBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcMyBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcMyRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcNaver.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPencilBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPencilBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPencilLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPencilRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPictureBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPictureBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPictureLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPictureRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPlay.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPlusBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPlusBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPlusLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPlusRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPoint.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcPricedown.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcQuestionBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcQuestionBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcQuestionLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcQuestionRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcRedoBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcRedoBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcRedoLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcRedoRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcRemoveBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcRemoveRoundedBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcRemoveBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcRemoveLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcRemoveRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcScrapBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcScrapBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcScrapLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcScrapRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSearchBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSearchBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSearchListBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSearchListBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSearchListLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSearchListRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSearchRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSettingBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSettingBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSettingLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSettingRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcShareBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcShareBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcShareLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcShareRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSocialApple.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSocialGoogle.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSocialInstagram.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSocialYoutube.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSpaceBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSpaceBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSpaceLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcSpaceRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcStarBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcStarBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcStarHalfBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcStarHalfBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcStarHalfLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcStarHalfRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcStarLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcStarRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcThreeGridBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcThreeGridBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcThreeGridLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcThreeGridRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcTrashBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcTrashBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcTrash.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcTrashLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcTrashRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcTrashUnion.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcTwoGridBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcTwoGridBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcTwoGridLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcTwoGridRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcVolumeOff.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcVolumeOn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcVolume.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcWonBoldFill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcWonBold.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcWonLight.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcWonRegular.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcWon.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/components/IcYoutube.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/utils/mapIconName.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/utils/normalizeImageBadges.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/PreuserProductCard/PreuserProductCardPreview.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/CompactPreuserProductCard/CompactPreuserCardPreview.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/CompactPreuserProductCard/CompactPreuserProductCard.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/ColorChip.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/ProductCardInfo.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/ProductCardInfo.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/LikeButton/LikeButton.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/CompactProductCard/CompactCardPreview.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/CompactProductCard/CompactProductCard.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/PreuserProductCard/PreuserProductCard.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/PreuserProductCard/PreuserProductCard.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/CardPreview.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/ProductCard.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/ProductCard.js","https:/asset.29cm.co.kr/contents/framer/utils/sendAppSchemeMessage.js","https:/asset.29cm.co.kr/contents/framer/hooks/useRedirectLoginDialog.js","https:/asset.29cm.co.kr/contents/framer/hooks/useShowSelectionEntryPoint.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/HeartIcon.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/isPast.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/ProductCard.utils.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/product.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/head.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInHours.js","https:/asset.29cm.co.kr/contents/framer/hooks/product/useEvent.js","https:/asset.29cm.co.kr/contents/framer/hooks/product/useProductHeart.js","https:/asset.29cm.co.kr/contents/framer/hooks/stores/global-scene-stack/global-scene-stack.types.js","https:/asset.29cm.co.kr/contents/framer/hooks/stores/global-scene-stack/global-scene-stack.store.js","https:/asset.29cm.co.kr/contents/framer/node_modules/body-scroll-lock/lib/bodyScrollLock.esm.js","https:/asset.29cm.co.kr/contents/framer/hooks/useBodyScrollLock.js","https:/asset.29cm.co.kr/contents/framer/hooks/useGlobalSceneStack.js","https:/asset.29cm.co.kr/contents/framer/hooks/useTargetAppVersion.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/bottom-sheets/BottomSheet/BottomSheet.js","https:/asset.29cm.co.kr/contents/framer/hooks/useDeviceInfo.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ResponsiveSplitView/ResponsiveSplitView.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ResponsiveSplitView/styles.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ResponsiveSplitView/ResponsiveSplitView.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBar/TabBar.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBar/TabBarContext.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBar/TabBarItem.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBar/TabBar.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TimeProgressBar/TimeProgressBar.module.css.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInMinutes.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TimeProgressBar/TimeProgressBar.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ViewportContainer/ViewportContainer.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ViewportContainer/ViewportContainer.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV2/TabBarV2.utils.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV2/TabBarItem.js","https:/asset.29cm.co.kr/contents/framer/utils/playHaptic.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV2/useTabBarSegments.js","https:/asset.29cm.co.kr/contents/framer/node_modules/react-use/esm/useIsomorphicLayoutEffect.js","https:/asset.29cm.co.kr/contents/framer/node_modules/react-use/esm/useMeasure.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV2/TabBarV2.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV3/TabBarItem.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV3/TabBarV3.utils.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useCategoryNewBuyerCoupons.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV3/useTabBarSegments.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV3/TabBarV3.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV4/TabBarItem.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV4/TabBarV4.utils.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV4/useHashAnchorLock.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV4/useTabBarSegments.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV4/TabBarV4.js","https:/asset.29cm.co.kr/contents/framer/utils/moloco-tracker.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/ProductCard.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/ProductCard.styles.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInDays.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/ProductCard.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/Products.type.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/ProductsLayout/ProductsLayout.js","https:/asset.29cm.co.kr/contents/framer/hooks/events/useTrackClickButtonContentEvent.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/ExpandButton/ExpandButton.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Intersection/Intersection.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/ProductLoading/ProductLoading.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchProductList.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/Products.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/Products.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Portal/Portal.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Dialog/Dialog.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Dialog/Dialog.js","https:/asset.29cm.co.kr/contents/framer/containers/DialogContainer/DialogContainer.hooks.js","https:/asset.29cm.co.kr/contents/framer/containers/DialogContainer/DialogContainer.js","https:/asset.29cm.co.kr/contents/framer/containers/BottomSheetContainer/BottomSheetContainer.js","https:/asset.29cm.co.kr/contents/framer/containers/UIContainer/UIManager.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/BottomSheet/BottomSheet.hooks.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/BottomSheet/BottomSheet.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/BottomSheet/BottomSheet.js","https:/asset.29cm.co.kr/contents/framer/containers/UIContainer/AppCompatBottomSheet.js","https:/asset.29cm.co.kr/contents/framer/containers/UIContainer/ui.js","https:/asset.29cm.co.kr/contents/framer/containers/UIContainer/UIContainer.js","https:/asset.29cm.co.kr/contents/framer/containers/ToastContainer/ToastContainer.module.css.js","https:/asset.29cm.co.kr/contents/framer/containers/ToastContainer/ToastContainer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/node_modules/tslib/tslib.es6.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/utils/snippet-helper.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/version.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/language.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/plugins/context.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/storage/browser-storage.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/global-scope.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/storage/local-storage.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/storage/session-storage.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-types/lib/esm/status.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/constants.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/cookie-name.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/cookie-migration/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/constants.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-types/lib/esm/logger.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/logger.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/config.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/node_modules/tslib/tslib.es6.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/transports/fetch.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/node_modules/tslib/tslib.es6.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/query-params.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/storage/cookie.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/config.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/plugins/form-interaction-tracking.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/plugins/file-download-tracking.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/det-notification.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/plugins/network-connectivity-checker.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-remote-config/node_modules/tslib/tslib.es6.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-types/lib/esm/server-zone.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-remote-config/lib/esm/remote-config.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-remote-config/lib/esm/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-connector/dist/analytics-connector.esm.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/analytics-connector.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/default-tracking.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-types/lib/esm/event.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/identify.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/revenue.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/messages.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/timeline.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/core-client.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-autocapture-browser/node_modules/tslib/tslib.es6.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/constants.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/finder.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/messenger.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/hierarchy.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/isFunction.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/lift.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/Subscription.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/config.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/noop.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/Subscriber.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/pairwise.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/filter.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/Scheduler.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduler/async.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/debounceTime.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/map.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/isArrayLike.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/isPromise.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/symbol/observable.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/identity.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/pipe.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/errorContext.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/Observable.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/isInteropObservable.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/isAsyncIterable.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/throwUnobservableError.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/symbol/iterator.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/isIterable.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/mergeInternals.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/observable/empty.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/isScheduler.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/args.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/subscribeOn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduled/schedulePromise.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/scheduled/scheduled.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/observable/from.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/observable/merge.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/concatAll.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/observable/concat.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/take.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/ignoreElements.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/mapTo.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/delayWhen.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/isDate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/observable/timer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/delay.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/buffer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-click.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-change.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/switchMap.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/operators/timeout.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-action-click.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/util/mapOneOrManyArgs.js","https:/asset.29cm.co.kr/contents/framer/node_modules/rxjs/dist/esm5/internal/observable/fromEvent.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-page-view-tracking-browser/node_modules/tslib/tslib.es6.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/utils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/attribution/constants.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/attribution/campaign-parser.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/plugins/identity.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/attribution/helpers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/storage/helpers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/session.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-client-common/lib/esm/attribution/web-attribution.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/browser-client-factory.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-types/lib/esm/element-interactions.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-types/lib/esm/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/analytics-browser/lib/esm/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/experiment-core/dist/experiment-core.esm.js","https:/asset.29cm.co.kr/contents/framer/_virtual/ua-parser.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/ua-parser-js/src/ua-parser.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@amplitude/experiment-js-client/dist/experiment.esm.js","https:/asset.29cm.co.kr/contents/framer/hooks/amplitude-variant/WebAmplitudeService.js","https:/asset.29cm.co.kr/contents/framer/hooks/amplitude-variant/useWebAmplitudeVariants.js","https:/asset.29cm.co.kr/contents/framer/apis/auth/AuthApiService.js","https:/asset.29cm.co.kr/contents/framer/hooks/mss-one/useCheckOne.js","https:/asset.29cm.co.kr/contents/framer/hooks/mss-one/useForceOneMemberRedirect.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchFramerContentIdCollection.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/Bootstrap.constants.js","https:/asset.29cm.co.kr/contents/framer/utils/deduplicate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/react-use/esm/usePrevious.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_listCacheClear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/eq.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_assocIndexOf.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_listCacheDelete.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_listCacheGet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_listCacheHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_listCacheSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_ListCache.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_stackClear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_stackDelete.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_stackGet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_stackHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isFunction.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_coreJsData.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_isMasked.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_toSource.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsNative.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getValue.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getNative.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Map.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_nativeCreate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_hashClear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_hashDelete.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_hashGet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_hashHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_hashSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Hash.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapCacheClear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_isKeyable.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getMapData.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapCacheDelete.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapCacheGet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapCacheHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapCacheSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_MapCache.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_stackSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Stack.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_setCacheAdd.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_setCacheHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_SetCache.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arraySome.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cacheHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_equalArrays.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Uint8Array.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapToArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_setToArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_equalByTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arrayPush.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseGetAllKeys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arrayFilter.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/stubArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getSymbols.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseTimes.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsArguments.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isArguments.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/stubFalse.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isBuffer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_isIndex.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isLength.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsTypedArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseUnary.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_nodeUtil.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isTypedArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arrayLikeKeys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_isPrototype.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_overArg.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_nativeKeys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseKeys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isArrayLike.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/keys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getAllKeys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_equalObjects.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_DataView.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Promise.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Set.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_WeakMap.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsEqualDeep.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsEqual.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isEqual.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/Bootstrap.hooks.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/reward.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/parseViewAttribution.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/Bootstrap.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/hooks/useUpdatedRef.js","https:/asset.29cm.co.kr/contents/framer/hooks/useWindowEventListener.js","https:/asset.29cm.co.kr/contents/framer/hooks/useOverHalfInView.js","https:/asset.29cm.co.kr/contents/framer/hooks/useWindowScrollEndEventListener.js","https:/asset.29cm.co.kr/contents/framer/hooks/useWindowScrollStartEventListener.js","https:/asset.29cm.co.kr/contents/framer/hooks/useElementsRefById.js","https:/asset.29cm.co.kr/contents/framer/node_modules/react-use/esm/useInterval.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/advanced-reading-index-tracker/AdvancedReadingIndexTracker.hooks.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/advanced-reading-index-tracker/AdvancedReadingIndexTracker.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/reading-index-tracker/ReadingIndexTracker.hooks.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/reading-index-tracker/ReadingIndexTracker.js","https:/asset.29cm.co.kr/contents/framer/utils/analytics/firebase.js","https:/asset.29cm.co.kr/contents/framer/hooks/analytics/braze/useInitBrazeCDN.js","https:/asset.29cm.co.kr/contents/framer/components/systems/CampaignBanner/CampaignBanner.utils.js","https:/asset.29cm.co.kr/contents/framer/components/systems/CampaignBanner/Title.js","https:/asset.29cm.co.kr/contents/framer/components/systems/CampaignBanner/CampaignBanner.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/add.js","https:/asset.29cm.co.kr/contents/framer/components/systems/CampaignBanner/CampaignBanner.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/number-event/dist/main.js","https:/asset.29cm.co.kr/contents/framer/components/systems/EventGateBanner/EventGateBanner.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/components/systems/EventGateBanner/EventGateBanner.utils.js","https:/asset.29cm.co.kr/contents/framer/components/systems/EventGateBanner/EventGateBanner.js","https:/asset.29cm.co.kr/contents/framer/constants/sentry.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@beacon/sdk-browser/dist/screenRegistry/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@musinsa/screen-registry/dist/29cm/web.js","https:/asset.29cm.co.kr/contents/framer/core/beacon.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/debug-build.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/is.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/worldwide.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/browser.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/version.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/carrier.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/logger.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/string.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/object.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/misc.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/syncpromise.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/time.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/session.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/merge.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/spanOnScope.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/propagationContext.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/scope.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/defaultScopes.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/asyncContext/stackStrategy.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/asyncContext/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/currentScopes.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/stacktrace.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/normalize.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/eventbuilder.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/constants.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/eventProcessors.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/debug-ids.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/semanticAttributes.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/hasSpansEnabled.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/spanstatus.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/utils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/baggage.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/tracing.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/spanUtils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/dynamicSamplingContext.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/applyScopeDataToEvent.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/prepareEvent.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/exports.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/helpers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/api.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/dsn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/envelope.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/envelope.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/integration.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/eventUtils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/transactionEvent.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/clientreport.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/client.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/logs/envelope.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/logs/exports.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/ipAddress.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/env.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/client.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/debug-build.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/instrument/handlers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/instrument/console.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/types.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/instrument/dom.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/supports.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/instrument/fetch.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/breadcrumbs.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/url.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/severity.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/breadcrumb-log-level.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/breadcrumbs.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/browserapierrors.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/browsersession.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/instrument/globalError.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/instrument/globalUnhandledRejection.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/globalhandlers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/httpcontext.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/aggregate-errors.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/linkederrors.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/stack-parsers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/promisebuffer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/ratelimit.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/transports/base.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/transports/fetch.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/sdk.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/integrations/eventFilters.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/integrations/functiontostring.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/integrations/dedupe.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/sdk.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/tracing/backgroundtab.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/tracing/linkedTraces.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/sentryNonRecordingSpan.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/logSpans.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/sampling.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/measurement.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/sentrySpan.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/trace.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/traceData.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/fetch.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/bindReporter.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/generateUniqueID.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getNavigationEntry.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getActivationStart.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/initMetric.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/observe.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/onHidden.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/runOnce.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getVisibilityWatcher.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/whenActivated.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/onFCP.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getCLS.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getFID.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/polyfills/interactionCountPolyfill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/interactions.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/whenIdle.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getINP.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getLCP.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/onTTFB.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/instrument.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/utils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/tracing/request.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/errors.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/cls.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/browserMetrics.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/inp.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/idleSpan.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/tracing/browserTracingIntegration.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/Bootstrap.js","https:/asset.29cm.co.kr/contents/framer/hooks/useAppInstallBannerVisibility.js","https:/asset.29cm.co.kr/contents/framer/hooks/useInitializeNaverEp.js","https:/framerusercontent.com/modules/y7oaWiZbkQVWph54vUZd/zdn5ZLCHnFZkH6Ccx1mf/WithLazyRender.js","https:/framerusercontent.com/modules/I9ht8jBctZPguy6Qpt3k/80nWBjrnJFW0OScYfNAq/S9Dp38YA7.js","https:/framer.com/m/WebGNB-JO9I.js@80nWBjrnJFW0OScYfNAq","https:/framerusercontent.com/modules/ssKC8GEyZlkclfUGHZyl/gNceh1KRgTXQeqQBanCM/WithAppInstallBanner.js","https:/framerusercontent.com/modules/y7oaWiZbkQVWph54vUZd/eBrIazCWGkDFwPLmboSh/WithLazyRender.js","https:/framerusercontent.com/modules/mFtD9hXCAxZQTFQaZ4zU/GK9ydw7l5nDfXKN65tAc/BlNtXYaR7.js","https:/framer.com/m/AppInstallBanner-X61X.js@GK9ydw7l5nDfXKN65tAc","https:/framerusercontent.com/modules/DyldKav0OOAWR3bCAlhK/8c3l9FzyOlGpbPncYhfc/nullstate.js","https:/framer.com/m/framer/icon-nullstate.js@0.7.0","https:/framerusercontent.com/modules/IQXqjAGXltPKLdfjcdtf/AdYVRfUvx2HLE5qL3Xfw/Logo.js","https:/framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js","https:/framerusercontent.com/modules/D4TWeLfcxT6Tysr2BlYg/iZjmqdxVx1EOiM3k1FaW/useOnNavigationTargetChange.js","https:/framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js","https:/framerusercontent.com/modules/D2Lz5CmnNVPZFFiZXalt/QaCzPbriZBfXWZIIycFI/colorFromToken.js","https:/framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js","https:/framerusercontent.com/modules/xDiQsqBGXzmMsv7AlEVy/uhunpMiNsbXxzjlXsg1y/useUniqueClassName.js","https:/framerusercontent.com/modules/ETACN5BJyFTSo0VVDJfu/NHRqowOiXkF9UwOzczF7/variantUtils.js","https:/framerusercontent.com/modules/eMBrwoqQK7h6mEeGQUH8/GuplvPJVjmxpk9zqOTcb/isBrowser.js","https:/framerusercontent.com/modules/v9AWX2URmiYsHf7GbctE/XxKAZ9KlhWqf5x1JMyyF/useOnChange.js","https:/framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/fSIr3AOAYbGlfSPgXpYu/useAutoMotionValue.js","https:/framerusercontent.com/modules/cuQH4dmpDnV8YK1mSgQX/KqRXqunFjE6ufhpc7ZRu/useFontControls.js","https:/framerusercontent.com/modules/afBE9Yx1W6bY5q32qPxe/m3q7puE2tbo1S2C0s0CT/useRenderTarget.js","https:/framerusercontent.com/modules/zGkoP8tPDCkoBzMdt5uq/0zFSjxIYliHxrQQnryFX/useControlledState.js","https:/framerusercontent.com/modules/5SM58HxZHxjjv7aLMOgQ/WXz9i6mVki0bBCrKdqB3/propUtils.js","https:/framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js","https:/framer.com/m/framer/default-utils.js@^0.45.0","https:/framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/TbXI1XaZFNevVKcgIt7G/isMotionValue.js","https:/framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/V4SPg9g59hF1vFH3ZTF0/useAutoMotionValue.js","https:/framer.com/m/framer/useAutoMotionValue.js@^0.3.0","https:/framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/0jtlswBvrookcx7EpjBD/Video.js","https:/framerusercontent.com/modules/fJRNYRZQGLBX4YACgYdl/FPpfmWGuWkaGvvOrXms8/FadeInOut.js","https:/framerusercontent.com/modules/QY4tN3egvv4KYUbynXBs/2SxLPQguTLcxRLtMlKhD/HeroBannerBlur.js","https:/framerusercontent.com/modules/aaRHInB5Hb8uvFjxVMtg/4mHBDtH2gTLemCxxmPRx/sXEZN54Hy.js","https:/framer.com/m/HeroBanner-2wn4.js@4mHBDtH2gTLemCxxmPRx","https:/framerusercontent.com/modules/SJt6X3sESKF8jfod5SiW/chjO5rDuU21hGrNyBhnY/Bootstrap.js","https:/asset.29cm.co.kr/contents/framer/components/systems/KeyVisual/KeyVisualImage/KeyVisualImage.js","https:/asset.29cm.co.kr/contents/framer/components/systems/KeyVisual/KeyVisual.constants.js","https:/asset.29cm.co.kr/contents/framer/components/systems/KeyVisual/KeyVisualVideo/KeyVisualVideo.js","https:/asset.29cm.co.kr/contents/framer/components/systems/KeyVisual/KeyVisual.js","https:/framerusercontent.com/modules/Jd4PPpQoFAzEN1eFj2F3/r6FRCVvPZdkepdglxjqL/KeyVisual.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Icon/Icon.js","https:/framerusercontent.com/modules/SG4xUagjjnWfRbTksrvL/1SmWPZhe6a5JiRkDyVjO/Icon.js","https:/framerusercontent.com/modules/2evMsk4ohLgdZXkh4f2X/UePPNHhVR9PR8ydD4mli/sbFqQkL8H.js","https:/asset.29cm.co.kr/contents/framer/hooks/useVisibilityAwareInterval.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/gender.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Gender/Gender.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Headline/Headline.js","https:/asset.29cm.co.kr/contents/framer/hooks/swr/useLazySWR.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useLazyFetchKeywordCollection.js","https:/asset.29cm.co.kr/contents/framer/utils/closest.js","https:/asset.29cm.co.kr/contents/framer/utils/getRestScrollWidth.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/Root.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/List.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/Panel.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/Trigger.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/index.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/Root.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/List.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Tag/Tag.styles.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Tag/useTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Tag/ToggleTag/ToggleTag.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/TagSkeleton/TagSkeleton.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/Item.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/Panels.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/Panel.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/index.js","https:/asset.29cm.co.kr/contents/framer/components/systems/KeywordCollection/KeywordCollectionTags/KeywordCollectionTags.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/KeywordCollectionV2/KeywordCollectionTags/KeywordCollectionTags.js","https:/asset.29cm.co.kr/contents/framer/utils/createSearchParams.js","https:/asset.29cm.co.kr/contents/framer/hooks/useInViewport.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/EventTrigger/Root.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/EventTrigger/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/EventTrigger/Target.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/EventTrigger/index.js","https:/asset.29cm.co.kr/contents/framer/constants/query-params.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/ViewAllButton.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/KeywordCollectionV2/KeywordCollectionButton/KeywordCollectionButton.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/last.js","https:/asset.29cm.co.kr/contents/framer/node_modules/swr/infinite/dist/index.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchKeywordCollectionProducts.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_defineProperty.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseAssignValue.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_assignMergeValue.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_createBaseFor.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseFor.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneBuffer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneArrayBuffer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneTypedArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_copyArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseCreate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getPrototype.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_initCloneObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isArrayLikeObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isPlainObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_safeGet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_assignValue.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_copyObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_nativeKeysIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseKeysIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/keysIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/toPlainObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseMergeDeep.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseMerge.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/identity.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_apply.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_overRest.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/constant.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseSetToString.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_shortOut.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_setToString.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseRest.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_isIterateeCall.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_createAssigner.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/merge.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arrayEach.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseAssign.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseAssignIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_copySymbols.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getSymbolsIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_copySymbolsIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getAllKeysIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_initCloneArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneDataView.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneRegExp.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneSymbol.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_initCloneByTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsMap.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isMap.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseClone.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/cloneDeep.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/Root.utils.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/layouts/Grid.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/ArrowIcon/ArrowIcon.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/HorizontalScrollContext.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/HorizontalList.js","https:/asset.29cm.co.kr/contents/framer/utils/fromEntries.js","https:/asset.29cm.co.kr/contents/framer/utils/createSlices.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCardSkeleton/ProductCardSkeleton.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/useHorizontalVirtualItem.js","https:/asset.29cm.co.kr/contents/framer/utils/isLast.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/noop.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/Item.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/PeekColumnDivider.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/VerticalList.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/Root.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Lazy/Lazy.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/Card.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/index.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/Root.constants.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/KeywordCollectionV2/KeywordCollectionProducts/KeywordCollectionProducts.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/headline.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/section.js","https:/asset.29cm.co.kr/contents/framer/utils/hideParentElement.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/SegmentGate/SegmentGate.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/KeywordCollectionV2/KeywordCollectionV2.js","https:/framerusercontent.com/modules/KCdMQ7OKXvHZV8auT4OZ/nIkmy4B0x9iGneMMPCnI/TaggedProducts.js","https:/asset.29cm.co.kr/contents/framer/types/agreement.js","https:/asset.29cm.co.kr/contents/framer/apis/raffle/RaffleApiService.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchAgreements.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/toasts/NotificationAgreementsToast/NotificationAgreementsToast.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/toasts/NotificationAgreementsToast/NotificationAgreementsToast.hooks.js","https:/asset.29cm.co.kr/contents/framer/hooks/useDialog.js","https:/asset.29cm.co.kr/contents/framer/hooks/useWithLogin.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/checkbox/Checkbox.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/icons/CloseIcon.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/dialogs/PrivacyAgreementDetailDialog/PrivacyAgreementDetailDialog.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/dialogs/PrivacyAgreementDetailDialog/PrivacyAgreementDetailDialog.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/bottom-sheets/NotificationAgreementsBottomSheet/NotificationAgreementsBottomSheet.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/bottom-sheets/NotificationAgreementsBottomSheet/NotificationAgreementsBottomSheet.hooks.js","https:/asset.29cm.co.kr/contents/framer/hooks/useAppNotificationState.js","https:/asset.29cm.co.kr/contents/framer/hooks/useMarketingPushNotification.js","https:/asset.29cm.co.kr/contents/framer/hooks/mutations/usePostAgreementsMutation.js","https:/asset.29cm.co.kr/contents/framer/utils/error/error.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchNotfiicationPermission.js","https:/asset.29cm.co.kr/contents/framer/hooks/useNotificationRequirements.js","https:/asset.29cm.co.kr/contents/framer/apis/subscription/SubscriptionApiService.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchSubscriptions.js","https:/asset.29cm.co.kr/contents/framer/hooks/useRequestSubscription.js","https:/asset.29cm.co.kr/contents/framer/hooks/useShowUpdateAppDialog.js","https:/asset.29cm.co.kr/contents/framer/hooks/useRequestUserAgreementBottomSheet.js","https:/asset.29cm.co.kr/contents/framer/hooks/useCreateOneLink.js","https:/asset.29cm.co.kr/contents/framer/utils/getCurrentHref.js","https:/asset.29cm.co.kr/contents/framer/node_modules/qrcode.react/lib/esm/index.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/dialogs/AppLinkDialog/AppLinkDialog.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/dialogs/AppLinkDialog/AppLinkDialog.hooks.js","https:/asset.29cm.co.kr/contents/framer/hooks/useWithApp.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/throttle.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/SubscriptionButton/SubscriptionButton.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/SwitchButton/SwitchButton.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/button.js","https:/asset.29cm.co.kr/contents/framer/utils/splitToStringArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/isSameDay.js","https:/asset.29cm.co.kr/contents/framer/utils/createIsomorphicLink.js","https:/asset.29cm.co.kr/contents/framer/apis/best/BestApiService.js","https:/asset.29cm.co.kr/contents/framer/apis/brand-curation/BrandCurationApiService.js","https:/asset.29cm.co.kr/contents/framer/apis/display-bff/DisplayBffApiService.js","https:/asset.29cm.co.kr/contents/framer/components/modules/mock.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Button/Button.constants.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsElementProvider/ProductsElementProvider.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsModule.types.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsElementProvider/ProductsElementProvider.hooks.js","https:/asset.29cm.co.kr/contents/framer/types/models/sort.js","https:/asset.29cm.co.kr/contents/framer/apis/display-bff/DisplayBffApiService.types.js","https:/asset.29cm.co.kr/contents/framer/apis/recommend/RecommendApiService.js","https:/asset.29cm.co.kr/contents/framer/utils/error/sentry.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsModule.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsElement/ProductsElement.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsElement/PaginationElement/ExpandButtonElement/ExpandButtonElement.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsElement/PaginationElement/VerticalPaginationElement/VerticalPaginationElement.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsElement/PaginationElement/PaginationElement.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsElement/ProductsElement.utils.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsElement/ProductsElement.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/LinkedProductsModule/LinkedProductsModule.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsModule.controls.js","https:/asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsModule.js","https:/framerusercontent.com/modules/m3WciOarwtFjChbrrQMz/UgKfY5LLfEJhNhGuri0i/ProductsModule.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/coupon.js","https:/asset.29cm.co.kr/contents/framer/utils/object.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Root.constants.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Root.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Description.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Divider.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Button.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Summary.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Title.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Coupon/index.js","https:/asset.29cm.co.kr/contents/framer/apis/coupon/CouponApiService.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchCouponsDownloadStatus.js","https:/asset.29cm.co.kr/contents/framer/hooks/mutations/useDownloadCouponsMutation.js","https:/asset.29cm.co.kr/contents/framer/components/canvas/CouponDownloadCTA/CouponDownloadCTA.constants.js","https:/asset.29cm.co.kr/contents/framer/hooks/mutations/useDownloadRandomCouponMutation.js","https:/asset.29cm.co.kr/contents/framer/hooks/useDownloadCoupons.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponModule.utils.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponModule.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/FoldableList/Root.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/FoldableList/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/FoldableList/Content.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/FoldableList/Content.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/FoldableList/Root.constants.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/FoldableList/Item.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/FoldableList/Trigger.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/FoldableList/index.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/NoticesElement/NoticesElement.utils.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/coupon-notices.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/NoticesElement/NoticesElement.js","https:/asset.29cm.co.kr/contents/framer/components/systems/RandomDiscountValue/RandomDiscountValue.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponElement/CouponElement.utils.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponElement/CouponElement.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponElement/CouponElement.validate.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponElement/CouponElement.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/LinkedCouponModule/LinkedCouponModule.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponModule.controls.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/AutoCouponModule/AutoCouponModule.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/AutoCouponModule/AutoCouponModule.js","https:/asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponModule.js","https:/framerusercontent.com/modules/v2w1uRsZPJslVNIRLCeW/yhkl6WqA7KyG9pSUFZiW/CouponModule.js","https:/asset.29cm.co.kr/contents/framer/styles/ellipsis.js","https:/asset.29cm.co.kr/contents/framer/components/ruler/Badge/Badge.types.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/badge.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Badge/Badge.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Badge/index.js","https:/framerusercontent.com/modules/ujMK2tuF8Uh4yfdgJfeZ/IubTds5GYI6HTrke7tQJ/RulerBadge.js"],"sourcesContent":["var shim = { exports: {} };\nexport {\n  shim as __module\n};\n","var useSyncExternalStoreShim_development = {};\nexport {\n  useSyncExternalStoreShim_development as __exports\n};\n","import process$1 from \"../../vite-plugin-node-polyfills/shims/process/dist/index.js\";\nimport { __exports as useSyncExternalStoreShim_development } from \"../../../_virtual/use-sync-external-store-shim.development.js\";\nimport React__default from \"react\";\nvar hasRequiredUseSyncExternalStoreShim_development;\nfunction requireUseSyncExternalStoreShim_development() {\n  if (hasRequiredUseSyncExternalStoreShim_development)\n    return useSyncExternalStoreShim_development;\n  hasRequiredUseSyncExternalStoreShim_development = 1;\n  if (process$1.env.NODE_ENV !== \"production\") {\n    (function() {\n      if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== \"undefined\" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === \"function\") {\n        __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());\n      }\n      var React = React__default;\n      var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n      function error(format) {\n        {\n          {\n            for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n              args[_key2 - 1] = arguments[_key2];\n            }\n            printWarning(\"error\", format, args);\n          }\n        }\n      }\n      function printWarning(level, format, args) {\n        {\n          var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n          var stack = ReactDebugCurrentFrame.getStackAddendum();\n          if (stack !== \"\") {\n            format += \"%s\";\n            args = args.concat([stack]);\n          }\n          var argsWithFormat = args.map(function(item) {\n            return String(item);\n          });\n          argsWithFormat.unshift(\"Warning: \" + format);\n          Function.prototype.apply.call(console[level], console, argsWithFormat);\n        }\n      }\n      function is(x, y) {\n        return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;\n      }\n      var objectIs = typeof Object.is === \"function\" ? Object.is : is;\n      var useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue;\n      var didWarnOld18Alpha = false;\n      var didWarnUncachedGetSnapshot = false;\n      function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {\n        {\n          if (!didWarnOld18Alpha) {\n            if (React.startTransition !== void 0) {\n              didWarnOld18Alpha = true;\n              error(\"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\");\n            }\n          }\n        }\n        var value = getSnapshot();\n        {\n          if (!didWarnUncachedGetSnapshot) {\n            var cachedValue = getSnapshot();\n            if (!objectIs(value, cachedValue)) {\n              error(\"The result of getSnapshot should be cached to avoid an infinite loop\");\n              didWarnUncachedGetSnapshot = true;\n            }\n          }\n        }\n        var _useState = useState({\n          inst: {\n            value,\n            getSnapshot\n          }\n        }), inst = _useState[0].inst, forceUpdate = _useState[1];\n        useLayoutEffect(function() {\n          inst.value = value;\n          inst.getSnapshot = getSnapshot;\n          if (checkIfSnapshotChanged(inst)) {\n            forceUpdate({\n              inst\n            });\n          }\n        }, [subscribe, value, getSnapshot]);\n        useEffect(function() {\n          if (checkIfSnapshotChanged(inst)) {\n            forceUpdate({\n              inst\n            });\n          }\n          var handleStoreChange = function() {\n            if (checkIfSnapshotChanged(inst)) {\n              forceUpdate({\n                inst\n              });\n            }\n          };\n          return subscribe(handleStoreChange);\n        }, [subscribe]);\n        useDebugValue(value);\n        return value;\n      }\n      function checkIfSnapshotChanged(inst) {\n        var latestGetSnapshot = inst.getSnapshot;\n        var prevValue = inst.value;\n        try {\n          var nextValue = latestGetSnapshot();\n          return !objectIs(prevValue, nextValue);\n        } catch (error2) {\n          return true;\n        }\n      }\n      function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {\n        return getSnapshot();\n      }\n      var canUseDOM = !!(typeof window !== \"undefined\" && typeof window.document !== \"undefined\" && typeof window.document.createElement !== \"undefined\");\n      var isServerEnvironment = !canUseDOM;\n      var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;\n      var useSyncExternalStore$2 = React.useSyncExternalStore !== void 0 ? React.useSyncExternalStore : shim;\n      useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;\n      if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== \"undefined\" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === \"function\") {\n        __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());\n      }\n    })();\n  }\n  return useSyncExternalStoreShim_development;\n}\nexport {\n  requireUseSyncExternalStoreShim_development as __require\n};\n","var useSyncExternalStoreShim_production_min = {};\nexport {\n  useSyncExternalStoreShim_production_min as __exports\n};\n","import { __exports as useSyncExternalStoreShim_production_min } from \"../../../_virtual/use-sync-external-store-shim.production.min.js\";\nimport React__default from \"react\";\n/**\n * @license React\n * use-sync-external-store-shim.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nvar hasRequiredUseSyncExternalStoreShim_production_min;\nfunction requireUseSyncExternalStoreShim_production_min() {\n  if (hasRequiredUseSyncExternalStoreShim_production_min)\n    return useSyncExternalStoreShim_production_min;\n  hasRequiredUseSyncExternalStoreShim_production_min = 1;\n  var e = React__default;\n  function h(a, b) {\n    return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;\n  }\n  var k = \"function\" === typeof Object.is ? Object.is : h, l = e.useState, m = e.useEffect, n = e.useLayoutEffect, p = e.useDebugValue;\n  function q(a, b) {\n    var d = b(), f = l({ inst: { value: d, getSnapshot: b } }), c = f[0].inst, g = f[1];\n    n(function() {\n      c.value = d;\n      c.getSnapshot = b;\n      r(c) && g({ inst: c });\n    }, [a, d, b]);\n    m(function() {\n      r(c) && g({ inst: c });\n      return a(function() {\n        r(c) && g({ inst: c });\n      });\n    }, [a]);\n    p(d);\n    return d;\n  }\n  function r(a) {\n    var b = a.getSnapshot;\n    a = a.value;\n    try {\n      var d = b();\n      return !k(a, d);\n    } catch (f) {\n      return true;\n    }\n  }\n  function t(a, b) {\n    return b();\n  }\n  var u = \"undefined\" === typeof window || \"undefined\" === typeof window.document || \"undefined\" === typeof window.document.createElement ? t : q;\n  useSyncExternalStoreShim_production_min.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExternalStore : u;\n  return useSyncExternalStoreShim_production_min;\n}\nexport {\n  requireUseSyncExternalStoreShim_production_min as __require\n};\n","import process$1 from \"../../vite-plugin-node-polyfills/shims/process/dist/index.js\";\nimport { __module as shim } from \"../../../_virtual/index2.js\";\nimport { __require as requireUseSyncExternalStoreShim_development } from \"../cjs/use-sync-external-store-shim.development.js\";\nimport { __require as requireUseSyncExternalStoreShim_production_min } from \"../cjs/use-sync-external-store-shim.production.min.js\";\nif (process$1.env.NODE_ENV === \"production\") {\n  shim.exports = requireUseSyncExternalStoreShim_production_min();\n} else {\n  shim.exports = requireUseSyncExternalStoreShim_development();\n}\nvar shimExports = shim.exports;\nexport {\n  shimExports as s\n};\n","import React__default, { createContext, useContext, useMemo, useRef, createElement, useEffect, useLayoutEffect } from \"react\";\nconst noop = () => {\n};\nconst UNDEFINED = (\n  /*#__NOINLINE__*/\n  noop()\n);\nconst OBJECT = Object;\nconst isUndefined = (v) => v === UNDEFINED;\nconst isFunction = (v) => typeof v == \"function\";\nconst mergeObjects = (a, b) => ({\n  ...a,\n  ...b\n});\nconst isPromiseLike = (x) => isFunction(x.then);\nconst table = /* @__PURE__ */ new WeakMap();\nlet counter = 0;\nconst stableHash = (arg) => {\n  const type = typeof arg;\n  const constructor = arg && arg.constructor;\n  const isDate = constructor == Date;\n  let result;\n  let index;\n  if (OBJECT(arg) === arg && !isDate && constructor != RegExp) {\n    result = table.get(arg);\n    if (result)\n      return result;\n    result = ++counter + \"~\";\n    table.set(arg, result);\n    if (constructor == Array) {\n      result = \"@\";\n      for (index = 0; index < arg.length; index++) {\n        result += stableHash(arg[index]) + \",\";\n      }\n      table.set(arg, result);\n    }\n    if (constructor == OBJECT) {\n      result = \"#\";\n      const keys = OBJECT.keys(arg).sort();\n      while (!isUndefined(index = keys.pop())) {\n        if (!isUndefined(arg[index])) {\n          result += index + \":\" + stableHash(arg[index]) + \",\";\n        }\n      }\n      table.set(arg, result);\n    }\n  } else {\n    result = isDate ? arg.toJSON() : type == \"symbol\" ? arg.toString() : type == \"string\" ? JSON.stringify(arg) : \"\" + arg;\n  }\n  return result;\n};\nconst SWRGlobalState = /* @__PURE__ */ new WeakMap();\nconst EMPTY_CACHE = {};\nconst INITIAL_CACHE = {};\nconst STR_UNDEFINED = \"undefined\";\nconst isWindowDefined = typeof window != STR_UNDEFINED;\nconst isDocumentDefined = typeof document != STR_UNDEFINED;\nconst hasRequestAnimationFrame = () => isWindowDefined && typeof window[\"requestAnimationFrame\"] != STR_UNDEFINED;\nconst createCacheHelper = (cache2, key) => {\n  const state = SWRGlobalState.get(cache2);\n  return [\n    // Getter\n    () => !isUndefined(key) && cache2.get(key) || EMPTY_CACHE,\n    // Setter\n    (info) => {\n      if (!isUndefined(key)) {\n        const prev = cache2.get(key);\n        if (!(key in INITIAL_CACHE)) {\n          INITIAL_CACHE[key] = prev;\n        }\n        state[5](key, mergeObjects(prev, info), prev || EMPTY_CACHE);\n      }\n    },\n    // Subscriber\n    state[6],\n    // Get server cache snapshot\n    () => {\n      if (!isUndefined(key)) {\n        if (key in INITIAL_CACHE)\n          return INITIAL_CACHE[key];\n      }\n      return !isUndefined(key) && cache2.get(key) || EMPTY_CACHE;\n    }\n  ];\n};\nlet online = true;\nconst isOnline = () => online;\nconst [onWindowEvent, offWindowEvent] = isWindowDefined && window.addEventListener ? [\n  window.addEventListener.bind(window),\n  window.removeEventListener.bind(window)\n] : [\n  noop,\n  noop\n];\nconst isVisible = () => {\n  const visibilityState = isDocumentDefined && document.visibilityState;\n  return isUndefined(visibilityState) || visibilityState !== \"hidden\";\n};\nconst initFocus = (callback) => {\n  if (isDocumentDefined) {\n    document.addEventListener(\"visibilitychange\", callback);\n  }\n  onWindowEvent(\"focus\", callback);\n  return () => {\n    if (isDocumentDefined) {\n      document.removeEventListener(\"visibilitychange\", callback);\n    }\n    offWindowEvent(\"focus\", callback);\n  };\n};\nconst initReconnect = (callback) => {\n  const onOnline = () => {\n    online = true;\n    callback();\n  };\n  const onOffline = () => {\n    online = false;\n  };\n  onWindowEvent(\"online\", onOnline);\n  onWindowEvent(\"offline\", onOffline);\n  return () => {\n    offWindowEvent(\"online\", onOnline);\n    offWindowEvent(\"offline\", onOffline);\n  };\n};\nconst preset = {\n  isOnline,\n  isVisible\n};\nconst defaultConfigOptions = {\n  initFocus,\n  initReconnect\n};\nconst IS_REACT_LEGACY = !React__default.useId;\nconst IS_SERVER = !isWindowDefined || \"Deno\" in window;\nconst rAF = (f) => hasRequestAnimationFrame() ? window[\"requestAnimationFrame\"](f) : setTimeout(f, 1);\nconst useIsomorphicLayoutEffect = IS_SERVER ? useEffect : useLayoutEffect;\nconst navigatorConnection = typeof navigator !== \"undefined\" && navigator.connection;\nconst slowConnection = !IS_SERVER && navigatorConnection && ([\n  \"slow-2g\",\n  \"2g\"\n].includes(navigatorConnection.effectiveType) || navigatorConnection.saveData);\nconst serialize = (key) => {\n  if (isFunction(key)) {\n    try {\n      key = key();\n    } catch (err) {\n      key = \"\";\n    }\n  }\n  const args = key;\n  key = typeof key == \"string\" ? key : (Array.isArray(key) ? key.length : key) ? stableHash(key) : \"\";\n  return [\n    key,\n    args\n  ];\n};\nlet __timestamp = 0;\nconst getTimestamp = () => ++__timestamp;\nconst FOCUS_EVENT = 0;\nconst RECONNECT_EVENT = 1;\nconst MUTATE_EVENT = 2;\nconst ERROR_REVALIDATE_EVENT = 3;\nvar events = {\n  __proto__: null,\n  ERROR_REVALIDATE_EVENT,\n  FOCUS_EVENT,\n  MUTATE_EVENT,\n  RECONNECT_EVENT\n};\nasync function internalMutate(...args) {\n  const [cache2, _key, _data, _opts] = args;\n  const options = mergeObjects({\n    populateCache: true,\n    throwOnError: true\n  }, typeof _opts === \"boolean\" ? {\n    revalidate: _opts\n  } : _opts || {});\n  let populateCache = options.populateCache;\n  const rollbackOnErrorOption = options.rollbackOnError;\n  let optimisticData = options.optimisticData;\n  const revalidate = options.revalidate !== false;\n  const rollbackOnError = (error) => {\n    return typeof rollbackOnErrorOption === \"function\" ? rollbackOnErrorOption(error) : rollbackOnErrorOption !== false;\n  };\n  const throwOnError = options.throwOnError;\n  if (isFunction(_key)) {\n    const keyFilter = _key;\n    const matchedKeys = [];\n    const it = cache2.keys();\n    for (const key of it) {\n      if (\n        // Skip the special useSWRInfinite and useSWRSubscription keys.\n        !/^\\$(inf|sub)\\$/.test(key) && keyFilter(cache2.get(key)._k)\n      ) {\n        matchedKeys.push(key);\n      }\n    }\n    return Promise.all(matchedKeys.map(mutateByKey));\n  }\n  return mutateByKey(_key);\n  async function mutateByKey(_k) {\n    const [key] = serialize(_k);\n    if (!key)\n      return;\n    const [get, set] = createCacheHelper(cache2, key);\n    const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache2);\n    const startRevalidate = () => {\n      const revalidators = EVENT_REVALIDATORS[key];\n      if (revalidate) {\n        delete FETCH[key];\n        delete PRELOAD[key];\n        if (revalidators && revalidators[0]) {\n          return revalidators[0](MUTATE_EVENT).then(() => get().data);\n        }\n      }\n      return get().data;\n    };\n    if (args.length < 3) {\n      return startRevalidate();\n    }\n    let data = _data;\n    let error;\n    const beforeMutationTs = getTimestamp();\n    MUTATION[key] = [\n      beforeMutationTs,\n      0\n    ];\n    const hasOptimisticData = !isUndefined(optimisticData);\n    const state = get();\n    const displayedData = state.data;\n    const currentData = state._c;\n    const committedData = isUndefined(currentData) ? displayedData : currentData;\n    if (hasOptimisticData) {\n      optimisticData = isFunction(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData;\n      set({\n        data: optimisticData,\n        _c: committedData\n      });\n    }\n    if (isFunction(data)) {\n      try {\n        data = data(committedData);\n      } catch (err) {\n        error = err;\n      }\n    }\n    if (data && isPromiseLike(data)) {\n      data = await data.catch((err) => {\n        error = err;\n      });\n      if (beforeMutationTs !== MUTATION[key][0]) {\n        if (error)\n          throw error;\n        return data;\n      } else if (error && hasOptimisticData && rollbackOnError(error)) {\n        populateCache = true;\n        set({\n          data: committedData,\n          _c: UNDEFINED\n        });\n      }\n    }\n    if (populateCache) {\n      if (!error) {\n        if (isFunction(populateCache)) {\n          const populateCachedData = populateCache(data, committedData);\n          set({\n            data: populateCachedData,\n            error: UNDEFINED,\n            _c: UNDEFINED\n          });\n        } else {\n          set({\n            data,\n            error: UNDEFINED,\n            _c: UNDEFINED\n          });\n        }\n      }\n    }\n    MUTATION[key][1] = getTimestamp();\n    Promise.resolve(startRevalidate()).then(() => {\n      set({\n        _c: UNDEFINED\n      });\n    });\n    if (error) {\n      if (throwOnError)\n        throw error;\n      return;\n    }\n    return data;\n  }\n}\nconst revalidateAllKeys = (revalidators, type) => {\n  for (const key in revalidators) {\n    if (revalidators[key][0])\n      revalidators[key][0](type);\n  }\n};\nconst initCache = (provider, options) => {\n  if (!SWRGlobalState.has(provider)) {\n    const opts = mergeObjects(defaultConfigOptions, options);\n    const EVENT_REVALIDATORS = {};\n    const mutate2 = internalMutate.bind(UNDEFINED, provider);\n    let unmount = noop;\n    const subscriptions = {};\n    const subscribe = (key, callback) => {\n      const subs = subscriptions[key] || [];\n      subscriptions[key] = subs;\n      subs.push(callback);\n      return () => subs.splice(subs.indexOf(callback), 1);\n    };\n    const setter = (key, value, prev) => {\n      provider.set(key, value);\n      const subs = subscriptions[key];\n      if (subs) {\n        for (const fn of subs) {\n          fn(value, prev);\n        }\n      }\n    };\n    const initProvider = () => {\n      if (!SWRGlobalState.has(provider)) {\n        SWRGlobalState.set(provider, [\n          EVENT_REVALIDATORS,\n          {},\n          {},\n          {},\n          mutate2,\n          setter,\n          subscribe\n        ]);\n        if (!IS_SERVER) {\n          const releaseFocus = opts.initFocus(setTimeout.bind(UNDEFINED, revalidateAllKeys.bind(UNDEFINED, EVENT_REVALIDATORS, FOCUS_EVENT)));\n          const releaseReconnect = opts.initReconnect(setTimeout.bind(UNDEFINED, revalidateAllKeys.bind(UNDEFINED, EVENT_REVALIDATORS, RECONNECT_EVENT)));\n          unmount = () => {\n            releaseFocus && releaseFocus();\n            releaseReconnect && releaseReconnect();\n            SWRGlobalState.delete(provider);\n          };\n        }\n      }\n    };\n    initProvider();\n    return [\n      provider,\n      mutate2,\n      initProvider,\n      unmount\n    ];\n  }\n  return [\n    provider,\n    SWRGlobalState.get(provider)[4]\n  ];\n};\nconst onErrorRetry = (_, __, config, revalidate, opts) => {\n  const maxRetryCount = config.errorRetryCount;\n  const currentRetryCount = opts.retryCount;\n  const timeout = ~~((Math.random() + 0.5) * (1 << (currentRetryCount < 8 ? currentRetryCount : 8))) * config.errorRetryInterval;\n  if (!isUndefined(maxRetryCount) && currentRetryCount > maxRetryCount) {\n    return;\n  }\n  setTimeout(revalidate, timeout, opts);\n};\nconst compare = (currentData, newData) => stableHash(currentData) == stableHash(newData);\nconst [cache, mutate] = initCache(/* @__PURE__ */ new Map());\nconst defaultConfig = mergeObjects(\n  {\n    // events\n    onLoadingSlow: noop,\n    onSuccess: noop,\n    onError: noop,\n    onErrorRetry,\n    onDiscarded: noop,\n    // switches\n    revalidateOnFocus: true,\n    revalidateOnReconnect: true,\n    revalidateIfStale: true,\n    shouldRetryOnError: true,\n    // timeouts\n    errorRetryInterval: slowConnection ? 1e4 : 5e3,\n    focusThrottleInterval: 5 * 1e3,\n    dedupingInterval: 2 * 1e3,\n    loadingTimeout: slowConnection ? 5e3 : 3e3,\n    // providers\n    compare,\n    isPaused: () => false,\n    cache,\n    mutate,\n    fallback: {}\n  },\n  // use web preset by default\n  preset\n);\nconst mergeConfigs = (a, b) => {\n  const v = mergeObjects(a, b);\n  if (b) {\n    const { use: u1, fallback: f1 } = a;\n    const { use: u2, fallback: f2 } = b;\n    if (u1 && u2) {\n      v.use = u1.concat(u2);\n    }\n    if (f1 && f2) {\n      v.fallback = mergeObjects(f1, f2);\n    }\n  }\n  return v;\n};\nconst SWRConfigContext = createContext({});\nconst SWRConfig = (props) => {\n  const { value } = props;\n  const parentConfig = useContext(SWRConfigContext);\n  const isFunctionalConfig = isFunction(value);\n  const config = useMemo(() => isFunctionalConfig ? value(parentConfig) : value, [\n    isFunctionalConfig,\n    parentConfig,\n    value\n  ]);\n  const extendedConfig = useMemo(() => isFunctionalConfig ? config : mergeConfigs(parentConfig, config), [\n    isFunctionalConfig,\n    parentConfig,\n    config\n  ]);\n  const provider = config && config.provider;\n  const cacheContextRef = useRef(UNDEFINED);\n  if (provider && !cacheContextRef.current) {\n    cacheContextRef.current = initCache(provider(extendedConfig.cache || cache), config);\n  }\n  const cacheContext = cacheContextRef.current;\n  if (cacheContext) {\n    extendedConfig.cache = cacheContext[0];\n    extendedConfig.mutate = cacheContext[1];\n  }\n  useIsomorphicLayoutEffect(() => {\n    if (cacheContext) {\n      cacheContext[2] && cacheContext[2]();\n      return cacheContext[3];\n    }\n  }, []);\n  return createElement(SWRConfigContext.Provider, mergeObjects(props, {\n    value: extendedConfig\n  }));\n};\nconst INFINITE_PREFIX = \"$inf$\";\nconst enableDevtools = isWindowDefined && window.__SWR_DEVTOOLS_USE__;\nconst use = enableDevtools ? window.__SWR_DEVTOOLS_USE__ : [];\nconst setupDevTools = () => {\n  if (enableDevtools) {\n    window.__SWR_DEVTOOLS_REACT__ = React__default;\n  }\n};\nconst normalize = (args) => {\n  return isFunction(args[1]) ? [\n    args[0],\n    args[1],\n    args[2] || {}\n  ] : [\n    args[0],\n    null,\n    (args[1] === null ? args[2] : args[1]) || {}\n  ];\n};\nconst useSWRConfig = () => {\n  return mergeObjects(defaultConfig, useContext(SWRConfigContext));\n};\nconst middleware = (useSWRNext) => (key_, fetcher_, config) => {\n  const fetcher = fetcher_ && ((...args) => {\n    const [key] = serialize(key_);\n    const [, , , PRELOAD] = SWRGlobalState.get(cache);\n    if (key.startsWith(INFINITE_PREFIX)) {\n      return fetcher_(...args);\n    }\n    const req = PRELOAD[key];\n    if (isUndefined(req))\n      return fetcher_(...args);\n    delete PRELOAD[key];\n    return req;\n  });\n  return useSWRNext(key_, fetcher, config);\n};\nconst BUILT_IN_MIDDLEWARE = use.concat(middleware);\nconst withArgs = (hook) => {\n  return function useSWRArgs(...args) {\n    const fallbackConfig = useSWRConfig();\n    const [key, fn, _config] = normalize(args);\n    const config = mergeConfigs(fallbackConfig, _config);\n    let next = hook;\n    const { use: use2 } = config;\n    const middleware2 = (use2 || []).concat(BUILT_IN_MIDDLEWARE);\n    for (let i = middleware2.length; i--; ) {\n      next = middleware2[i](next);\n    }\n    return next(key, fn || config.fetcher || null, config);\n  };\n};\nconst subscribeCallback = (key, callbacks, callback) => {\n  const keyedRevalidators = callbacks[key] || (callbacks[key] = []);\n  keyedRevalidators.push(callback);\n  return () => {\n    const index = keyedRevalidators.indexOf(callback);\n    if (index >= 0) {\n      keyedRevalidators[index] = keyedRevalidators[keyedRevalidators.length - 1];\n      keyedRevalidators.pop();\n    }\n  };\n};\nconst withMiddleware = (useSWR, middleware2) => {\n  return (...args) => {\n    const [key, fn, config] = normalize(args);\n    const uses = (config.use || []).concat(middleware2);\n    return useSWR(key, fn, {\n      ...config,\n      use: uses\n    });\n  };\n};\nsetupDevTools();\nexport {\n  INFINITE_PREFIX,\n  IS_REACT_LEGACY,\n  IS_SERVER,\n  OBJECT,\n  SWRConfig,\n  SWRGlobalState,\n  UNDEFINED,\n  cache,\n  compare,\n  createCacheHelper,\n  defaultConfig,\n  defaultConfigOptions,\n  getTimestamp,\n  hasRequestAnimationFrame,\n  initCache,\n  internalMutate,\n  isDocumentDefined,\n  isFunction,\n  isPromiseLike,\n  isUndefined,\n  isWindowDefined,\n  mergeConfigs,\n  mergeObjects,\n  mutate,\n  noop,\n  normalize,\n  preset,\n  rAF,\n  events as revalidateEvents,\n  serialize,\n  slowConnection,\n  stableHash,\n  subscribeCallback,\n  useIsomorphicLayoutEffect,\n  useSWRConfig,\n  withArgs,\n  withMiddleware\n};\n","import React__default, { useRef, useMemo, useCallback, useDebugValue } from \"react\";\nimport { s as shimExports } from \"../../../use-sync-external-store/shim/index.js\";\nimport { OBJECT, SWRConfig as SWRConfig$1, defaultConfig, withArgs, SWRGlobalState, serialize, createCacheHelper, isUndefined, getTimestamp, UNDEFINED, isFunction, revalidateEvents as events, internalMutate, useIsomorphicLayoutEffect, subscribeCallback, IS_SERVER, rAF, IS_REACT_LEGACY, mergeObjects } from \"../../_internal/dist/index.js\";\nimport { mutate, useSWRConfig } from \"../../_internal/dist/index.js\";\nconst use = React__default.use || ((promise) => {\n  if (promise.status === \"pending\") {\n    throw promise;\n  } else if (promise.status === \"fulfilled\") {\n    return promise.value;\n  } else if (promise.status === \"rejected\") {\n    throw promise.reason;\n  } else {\n    promise.status = \"pending\";\n    promise.then((v) => {\n      promise.status = \"fulfilled\";\n      promise.value = v;\n    }, (e) => {\n      promise.status = \"rejected\";\n      promise.reason = e;\n    });\n    throw promise;\n  }\n});\nconst WITH_DEDUPE = {\n  dedupe: true\n};\nconst useSWRHandler = (_key, fetcher, config) => {\n  const { cache, compare, suspense, fallbackData, revalidateOnMount, revalidateIfStale, refreshInterval, refreshWhenHidden, refreshWhenOffline, keepPreviousData } = config;\n  const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache);\n  const [key, fnArg] = serialize(_key);\n  const initialMountedRef = useRef(false);\n  const unmountedRef = useRef(false);\n  const keyRef = useRef(key);\n  const fetcherRef = useRef(fetcher);\n  const configRef = useRef(config);\n  const getConfig = () => configRef.current;\n  const isActive = () => getConfig().isVisible() && getConfig().isOnline();\n  const [getCache, setCache, subscribeCache, getInitialCache] = createCacheHelper(cache, key);\n  const stateDependencies = useRef({}).current;\n  const fallback = isUndefined(fallbackData) ? config.fallback[key] : fallbackData;\n  const isEqual = (prev, current) => {\n    for (const _ in stateDependencies) {\n      const t = _;\n      if (t === \"data\") {\n        if (!compare(prev[t], current[t])) {\n          if (!isUndefined(prev[t])) {\n            return false;\n          }\n          if (!compare(returnedData, current[t])) {\n            return false;\n          }\n        }\n      } else {\n        if (current[t] !== prev[t]) {\n          return false;\n        }\n      }\n    }\n    return true;\n  };\n  const getSnapshot = useMemo(() => {\n    const shouldStartRequest = (() => {\n      if (!key)\n        return false;\n      if (!fetcher)\n        return false;\n      if (!isUndefined(revalidateOnMount))\n        return revalidateOnMount;\n      if (getConfig().isPaused())\n        return false;\n      if (suspense)\n        return false;\n      if (!isUndefined(revalidateIfStale))\n        return revalidateIfStale;\n      return true;\n    })();\n    const getSelectedCache = (state) => {\n      const snapshot = mergeObjects(state);\n      delete snapshot._k;\n      if (!shouldStartRequest) {\n        return snapshot;\n      }\n      return {\n        isValidating: true,\n        isLoading: true,\n        ...snapshot\n      };\n    };\n    const cachedData2 = getCache();\n    const initialData = getInitialCache();\n    const clientSnapshot = getSelectedCache(cachedData2);\n    const serverSnapshot = cachedData2 === initialData ? clientSnapshot : getSelectedCache(initialData);\n    let memorizedSnapshot = clientSnapshot;\n    return [\n      () => {\n        const newSnapshot = getSelectedCache(getCache());\n        const compareResult = isEqual(newSnapshot, memorizedSnapshot);\n        if (compareResult) {\n          memorizedSnapshot.data = newSnapshot.data;\n          memorizedSnapshot.isLoading = newSnapshot.isLoading;\n          memorizedSnapshot.isValidating = newSnapshot.isValidating;\n          memorizedSnapshot.error = newSnapshot.error;\n          return memorizedSnapshot;\n        } else {\n          memorizedSnapshot = newSnapshot;\n          return newSnapshot;\n        }\n      },\n      () => serverSnapshot\n    ];\n  }, [\n    cache,\n    key\n  ]);\n  const cached = shimExports.useSyncExternalStore(useCallback(\n    (callback) => subscribeCache(key, (current, prev) => {\n      if (!isEqual(prev, current))\n        callback();\n    }),\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [\n      cache,\n      key\n    ]\n  ), getSnapshot[0], getSnapshot[1]);\n  const isInitialMount = !initialMountedRef.current;\n  const hasRevalidator = EVENT_REVALIDATORS[key] && EVENT_REVALIDATORS[key].length > 0;\n  const cachedData = cached.data;\n  const data = isUndefined(cachedData) ? fallback : cachedData;\n  const error = cached.error;\n  const laggyDataRef = useRef(data);\n  const returnedData = keepPreviousData ? isUndefined(cachedData) ? laggyDataRef.current : cachedData : data;\n  const shouldDoInitialRevalidation = (() => {\n    if (hasRevalidator && !isUndefined(error))\n      return false;\n    if (isInitialMount && !isUndefined(revalidateOnMount))\n      return revalidateOnMount;\n    if (getConfig().isPaused())\n      return false;\n    if (suspense)\n      return isUndefined(data) ? false : revalidateIfStale;\n    return isUndefined(data) || revalidateIfStale;\n  })();\n  const defaultValidatingState = !!(key && fetcher && isInitialMount && shouldDoInitialRevalidation);\n  const isValidating = isUndefined(cached.isValidating) ? defaultValidatingState : cached.isValidating;\n  const isLoading = isUndefined(cached.isLoading) ? defaultValidatingState : cached.isLoading;\n  const revalidate = useCallback(\n    async (revalidateOpts) => {\n      const currentFetcher = fetcherRef.current;\n      if (!key || !currentFetcher || unmountedRef.current || getConfig().isPaused()) {\n        return false;\n      }\n      let newData;\n      let startAt;\n      let loading = true;\n      const opts = revalidateOpts || {};\n      const shouldStartNewRequest = !FETCH[key] || !opts.dedupe;\n      const callbackSafeguard = () => {\n        if (IS_REACT_LEGACY) {\n          return !unmountedRef.current && key === keyRef.current && initialMountedRef.current;\n        }\n        return key === keyRef.current;\n      };\n      const finalState = {\n        isValidating: false,\n        isLoading: false\n      };\n      const finishRequestAndUpdateState = () => {\n        setCache(finalState);\n      };\n      const cleanupState = () => {\n        const requestInfo = FETCH[key];\n        if (requestInfo && requestInfo[1] === startAt) {\n          delete FETCH[key];\n        }\n      };\n      const initialState = {\n        isValidating: true\n      };\n      if (isUndefined(getCache().data)) {\n        initialState.isLoading = true;\n      }\n      try {\n        if (shouldStartNewRequest) {\n          setCache(initialState);\n          if (config.loadingTimeout && isUndefined(getCache().data)) {\n            setTimeout(() => {\n              if (loading && callbackSafeguard()) {\n                getConfig().onLoadingSlow(key, config);\n              }\n            }, config.loadingTimeout);\n          }\n          FETCH[key] = [\n            currentFetcher(fnArg),\n            getTimestamp()\n          ];\n        }\n        [newData, startAt] = FETCH[key];\n        newData = await newData;\n        if (shouldStartNewRequest) {\n          setTimeout(cleanupState, config.dedupingInterval);\n        }\n        if (!FETCH[key] || FETCH[key][1] !== startAt) {\n          if (shouldStartNewRequest) {\n            if (callbackSafeguard()) {\n              getConfig().onDiscarded(key);\n            }\n          }\n          return false;\n        }\n        finalState.error = UNDEFINED;\n        const mutationInfo = MUTATION[key];\n        if (!isUndefined(mutationInfo) && // case 1\n        (startAt <= mutationInfo[0] || // case 2\n        startAt <= mutationInfo[1] || // case 3\n        mutationInfo[1] === 0)) {\n          finishRequestAndUpdateState();\n          if (shouldStartNewRequest) {\n            if (callbackSafeguard()) {\n              getConfig().onDiscarded(key);\n            }\n          }\n          return false;\n        }\n        const cacheData = getCache().data;\n        finalState.data = compare(cacheData, newData) ? cacheData : newData;\n        if (shouldStartNewRequest) {\n          if (callbackSafeguard()) {\n            getConfig().onSuccess(newData, key, config);\n          }\n        }\n      } catch (err) {\n        cleanupState();\n        const currentConfig = getConfig();\n        const { shouldRetryOnError } = currentConfig;\n        if (!currentConfig.isPaused()) {\n          finalState.error = err;\n          if (shouldStartNewRequest && callbackSafeguard()) {\n            currentConfig.onError(err, key, currentConfig);\n            if (shouldRetryOnError === true || isFunction(shouldRetryOnError) && shouldRetryOnError(err)) {\n              if (isActive()) {\n                currentConfig.onErrorRetry(err, key, currentConfig, (_opts) => {\n                  const revalidators = EVENT_REVALIDATORS[key];\n                  if (revalidators && revalidators[0]) {\n                    revalidators[0](events.ERROR_REVALIDATE_EVENT, _opts);\n                  }\n                }, {\n                  retryCount: (opts.retryCount || 0) + 1,\n                  dedupe: true\n                });\n              }\n            }\n          }\n        }\n      }\n      loading = false;\n      finishRequestAndUpdateState();\n      return true;\n    },\n    // `setState` is immutable, and `eventsCallback`, `fnArg`, and\n    // `keyValidating` are depending on `key`, so we can exclude them from\n    // the deps array.\n    //\n    // FIXME:\n    // `fn` and `config` might be changed during the lifecycle,\n    // but they might be changed every render like this.\n    // `useSWR('key', () => fetch('/api/'), { suspense: true })`\n    // So we omit the values from the deps array\n    // even though it might cause unexpected behaviors.\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [\n      key,\n      cache\n    ]\n  );\n  const boundMutate = useCallback(\n    // Use callback to make sure `keyRef.current` returns latest result every time\n    (...args) => {\n      return internalMutate(cache, keyRef.current, ...args);\n    },\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    []\n  );\n  useIsomorphicLayoutEffect(() => {\n    fetcherRef.current = fetcher;\n    configRef.current = config;\n    if (!isUndefined(cachedData)) {\n      laggyDataRef.current = cachedData;\n    }\n  });\n  useIsomorphicLayoutEffect(() => {\n    if (!key)\n      return;\n    const softRevalidate = revalidate.bind(UNDEFINED, WITH_DEDUPE);\n    let nextFocusRevalidatedAt = 0;\n    const onRevalidate = (type, opts = {}) => {\n      if (type == events.FOCUS_EVENT) {\n        const now = Date.now();\n        if (getConfig().revalidateOnFocus && now > nextFocusRevalidatedAt && isActive()) {\n          nextFocusRevalidatedAt = now + getConfig().focusThrottleInterval;\n          softRevalidate();\n        }\n      } else if (type == events.RECONNECT_EVENT) {\n        if (getConfig().revalidateOnReconnect && isActive()) {\n          softRevalidate();\n        }\n      } else if (type == events.MUTATE_EVENT) {\n        return revalidate();\n      } else if (type == events.ERROR_REVALIDATE_EVENT) {\n        return revalidate(opts);\n      }\n      return;\n    };\n    const unsubEvents = subscribeCallback(key, EVENT_REVALIDATORS, onRevalidate);\n    unmountedRef.current = false;\n    keyRef.current = key;\n    initialMountedRef.current = true;\n    setCache({\n      _k: fnArg\n    });\n    if (shouldDoInitialRevalidation) {\n      if (isUndefined(data) || IS_SERVER) {\n        softRevalidate();\n      } else {\n        rAF(softRevalidate);\n      }\n    }\n    return () => {\n      unmountedRef.current = true;\n      unsubEvents();\n    };\n  }, [\n    key\n  ]);\n  useIsomorphicLayoutEffect(() => {\n    let timer;\n    function next() {\n      const interval = isFunction(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;\n      if (interval && timer !== -1) {\n        timer = setTimeout(execute, interval);\n      }\n    }\n    function execute() {\n      if (!getCache().error && (refreshWhenHidden || getConfig().isVisible()) && (refreshWhenOffline || getConfig().isOnline())) {\n        revalidate(WITH_DEDUPE).then(next);\n      } else {\n        next();\n      }\n    }\n    next();\n    return () => {\n      if (timer) {\n        clearTimeout(timer);\n        timer = -1;\n      }\n    };\n  }, [\n    refreshInterval,\n    refreshWhenHidden,\n    refreshWhenOffline,\n    key\n  ]);\n  useDebugValue(returnedData);\n  if (suspense && isUndefined(data) && key) {\n    if (!IS_REACT_LEGACY && IS_SERVER) {\n      throw new Error(\"Fallback data is required when using suspense in SSR.\");\n    }\n    fetcherRef.current = fetcher;\n    configRef.current = config;\n    unmountedRef.current = false;\n    const req = PRELOAD[key];\n    if (!isUndefined(req)) {\n      const promise = boundMutate(req);\n      use(promise);\n    }\n    if (isUndefined(error)) {\n      const promise = revalidate(WITH_DEDUPE);\n      if (!isUndefined(returnedData)) {\n        promise.status = \"fulfilled\";\n        promise.value = true;\n      }\n      use(promise);\n    } else {\n      throw error;\n    }\n  }\n  return {\n    mutate: boundMutate,\n    get data() {\n      stateDependencies.data = true;\n      return returnedData;\n    },\n    get error() {\n      stateDependencies.error = true;\n      return error;\n    },\n    get isValidating() {\n      stateDependencies.isValidating = true;\n      return isValidating;\n    },\n    get isLoading() {\n      stateDependencies.isLoading = true;\n      return isLoading;\n    }\n  };\n};\nconst SWRConfig = OBJECT.defineProperty(SWRConfig$1, \"defaultValue\", {\n  value: defaultConfig\n});\nconst useSWR = withArgs(useSWRHandler);\nexport {\n  SWRConfig,\n  useSWR as default,\n  mutate,\n  useSWRConfig\n};\n","const GENERAL_ERROR = \"일시적인 오류가 발생하였습니다.\\n잠시 후 다시 시도해주세요.\";\nexport {\n  GENERAL_ERROR\n};\n","import { GENERAL_ERROR } from \"../../constants/error.js\";\nconst throwFailError = (response) => {\n  if (response.result === \"FAIL\" || response.data === null) {\n    throw new Error(response.message ?? GENERAL_ERROR);\n  }\n};\nexport {\n  throwFailError\n};\n","const isClient = () => {\n  return typeof window !== \"undefined\";\n};\nconst isServer = () => {\n  return !isClient();\n};\nexport {\n  isClient,\n  isServer\n};\n","const DOMAIN = {\n  // Production\n  PRODUCTION: \"29cm.co.kr\",\n  WWW_PRODUCTION: \"www.29cm.co.kr\",\n  LEGACY_CONTENT: \"content.29cm.co.kr\",\n  // Development\n  DEV: \"ndev.29cm.co.kr\",\n  // QA\n  QA: \"nqa.29cm.co.kr\",\n  STAGE: \"stg.29cm.co.kr\"\n};\nexport {\n  DOMAIN\n};\n","const conditional = (condition, truthy, falsy) => (...args) => {\n  const value = isFunction(condition) ? condition(...args) : condition;\n  if (value) {\n    return isFunction(truthy) ? truthy(...args) : truthy;\n  }\n  return isFunction(falsy) ? falsy == null ? void 0 : falsy(...args) : falsy;\n};\nconst compose = (...fns) => (...args) => {\n  fns.forEach((fn) => fn(...args));\n};\nconst isFunction = (value) => {\n  return typeof value === \"function\";\n};\nexport {\n  compose,\n  conditional,\n  isFunction\n};\n","import { DOMAIN } from \"../constants/domain.js\";\nimport { isServer } from \"./context.js\";\nimport { conditional } from \"./function.js\";\nconst getQueryParams = () => {\n  if (isServer()) {\n    return {};\n  }\n  const {\n    search\n  } = window.location;\n  const entries = new URLSearchParams(search).entries();\n  return paramsToObject(Array.from(entries));\n};\nconst paramsToObject = (entries) => entries.reduce((acc, [key, value]) => {\n  acc[key] = value;\n  return acc;\n}, {});\nconst isContentOrigin = () => {\n  if (isServer()) {\n    return false;\n  }\n  const {\n    hostname,\n    pathname\n  } = window.location;\n  const isDevDomain = hostname === DOMAIN.DEV || hostname === DOMAIN.QA || hostname === DOMAIN.STAGE;\n  const isLegacyContent = hostname === DOMAIN.LEGACY_CONTENT;\n  const isNewProduction = hostname === DOMAIN.PRODUCTION || hostname === DOMAIN.WWW_PRODUCTION;\n  const isContentPath = pathname.startsWith(\"/content\");\n  if (isLegacyContent || isDevDomain) {\n    return true;\n  }\n  if (isContentPath && (isNewProduction || isDevDomain)) {\n    return true;\n  }\n  return false;\n};\nconst isStageOrigin = () => {\n  if (isServer()) {\n    return false;\n  }\n  return window.location.hostname === DOMAIN.STAGE;\n};\nconst PATH_START_INDEX = 3;\nconst parsePathname = () => {\n  const pathname = window.location.pathname;\n  const pathParts = pathname.split(\"/\");\n  const parser = conditional(pathParts.length > PATH_START_INDEX, `/${pathParts.slice(PATH_START_INDEX).join(\"/\")}`, \"\");\n  return parser();\n};\nconst removeQueryString = (href) => {\n  const url = new URL(href);\n  url.search = \"\";\n  return url.toString();\n};\nexport {\n  getQueryParams,\n  isContentOrigin,\n  isStageOrigin,\n  paramsToObject,\n  parsePathname,\n  removeQueryString\n};\n","import { isServer } from \"./context.js\";\nimport { isContentOrigin } from \"./location.js\";\nconst getRuntimeEnvName = () => {\n  switch (getEnvNameFromUrl()) {\n    case \"ndev\":\n      return \"development\";\n    case \"nqa\":\n      return \"qa\";\n    default:\n      return \"production\";\n  }\n};\nconst getEnvNameFromUrl = () => {\n  if (!isContentOrigin() || isServer()) {\n    return \"\";\n  }\n  const url = window.location.origin;\n  const match = url.match(/https:\\/\\/(ndev|nqa)\\.29cm\\.co\\.kr/);\n  return match ? match[1] : \"\";\n};\nexport {\n  getRuntimeEnvName\n};\n","const env = {\n  name: \"development\",\n  cookieDomain: \".29cm.co.kr\",\n  workspace: {\n    auth: \"https://dev-auth.29cm.co.kr\",\n    shop: \"https://dev-shop.29cm.co.kr\",\n    product: \"https://dev-product.29cm.co.kr\",\n    order: \"https://dev-order.29cm.co.kr\",\n    search: \"https://dev-shop.29cm.co.kr/search\",\n    post: \"https://dev-content.29cm.co.kr/post\",\n    inbox: \"https://dev-inbox.29cm.co.kr\",\n    customer: \"https://dev-customer.29cm.co.kr\",\n    content: \"https://dev-content.29cm.co.kr\",\n    home: \"https://dev-home.29cm.co.kr\",\n    legacy: {\n      home: \"https://ndev.29cm.co.kr\"\n    }\n  },\n  api: {\n    apihub: \"https://apihub-dev.29cm.co.kr\",\n    user: \"https://dev-user-api.29cm.co.kr\",\n    userAuth: \"https://dev-user-auth-api.29cm.co.kr\",\n    content: \"https://dev-content-api.29cm.co.kr\",\n    front: \"https://dev-front-api.29cm.co.kr\",\n    search: \"https://dev-search-api.29cm.co.kr\",\n    promotion: \"https://dev-promotion-api.29cm.co.kr\",\n    collector: \"https://dev-dataplatform-collector.29cm.co.kr\",\n    displayBff: \"https://dev-display-bff-api.29cm.co.kr\",\n    activation: \"https://dev-activation-api.29cm.co.kr\",\n    community: \"https://dev-community-api.29cm.co.kr\"\n  },\n  image: {\n    host: \"img.29cm.co.kr\"\n  },\n  sdk: {\n    braze: {\n      apiKey: \"cdfd9b11-9457-4aa8-a9fa-b1dc31fa4c8f\",\n      endPoint: \"sdk.iad-03.braze.com\"\n    },\n    amplitude: {\n      apiKey: \"929ca24bfc097c1caac43f13f7eaf6c8\",\n      experimentClientKey: \"client-NTBiInvoI22t1HFO35v296b5cqsU0gk1\",\n      analyticsKey: \"ad2b2fa4f53f446559832081a7275198\"\n    },\n    kakao: {\n      clientId: \"2ee9d9be5d84fbc184912ed61afdc34f\"\n    },\n    shoplive: {\n      accessKey: \"bFU4uGJNEhrSt50z26mG\",\n      pluginAccessKey: \"bFU4uGJNEhrSt50z26mG\"\n    },\n    unleash: {\n      proxyUrl: \"https://dev-flag.29cm.co.kr/proxy\",\n      clientKey: \"0f5e8ef7-f1ea-4bec-af65-abb5e1925bea\"\n    }\n  },\n  beacon: {\n    endpoint: \"https://dev-beacon-api.29cm.co.kr\",\n    deployEnvironment: \"development\"\n  }\n};\nexport {\n  env\n};\n","const env = {\n  name: \"production\",\n  cookieDomain: \".29cm.co.kr\",\n  workspace: {\n    auth: \"https://auth.29cm.co.kr\",\n    shop: \"https://shop.29cm.co.kr\",\n    product: \"https://product.29cm.co.kr\",\n    order: \"https://order.29cm.co.kr\",\n    search: \"https://shop.29cm.co.kr/search\",\n    post: \"https://content.29cm.co.kr/post\",\n    inbox: \"https://inbox.29cm.co.kr\",\n    customer: \"https://customer.29cm.co.kr\",\n    content: \"https://content.29cm.co.kr\",\n    home: \"https://home.29cm.co.kr\",\n    legacy: {\n      home: \"https://www.29cm.co.kr\"\n    }\n  },\n  api: {\n    apihub: \"https://apihub.29cm.co.kr\",\n    user: \"https://user-api.29cm.co.kr\",\n    userAuth: \"https://user-auth-api.29cm.co.kr\",\n    content: \"https://content-api.29cm.co.kr\",\n    front: \"https://front-api.29cm.co.kr\",\n    search: \"https://search-api.29cm.co.kr\",\n    promotion: \"https://promotion-api.29cm.co.kr\",\n    collector: \"https://dataplatform-collector.29cm.co.kr\",\n    displayBff: \"https://display-bff-api.29cm.co.kr\",\n    activation: \"https://activation-api.29cm.co.kr\",\n    community: \"https://community-api.29cm.co.kr\"\n  },\n  image: {\n    host: \"img.29cm.co.kr\"\n  },\n  sdk: {\n    braze: {\n      apiKey: \"b9a58994-a795-4f4d-b145-1023fd6a1e11\",\n      endPoint: \"sdk.iad-03.braze.com\"\n    },\n    amplitude: {\n      apiKey: \"9591d6dba297fabb6457fa48ab12156c\",\n      experimentClientKey: \"client-CkSrf9T6MzqTEpjmtAhQS8j8iPmDGnHf\",\n      analyticsKey: \"9591d6dba297fabb6457fa48ab12156c\"\n    },\n    kakao: {\n      clientId: \"0576138ae835b86d79d9ca905a58b03d\"\n    },\n    shoplive: {\n      accessKey: \"5vFD93Q1U589HOm4qNJp\",\n      pluginAccessKey: \"5vFD93Q1U589HOm4qNJp\"\n    },\n    unleash: {\n      proxyUrl: \"https://flag.29cm.co.kr/proxy\",\n      clientKey: \"3efc121a-0d46-4c9a-bdd1-a155c5488474\"\n    }\n  },\n  // NOTE: prd 수집 서버. 29cm-framer-web 은 10/7 prd 배포에 등재됨 (AEGIS-212, HOST_APP_INTEGRATION §2.1).\n  // stg 호스트는 런타임 환경이 production 으로 접히지만 initBeacon 의 isStageOrigin() 가드로 초기화하지 않는다\n  beacon: {\n    endpoint: \"https://beacon-api.29cm.co.kr\",\n    deployEnvironment: \"production\"\n  }\n};\nexport {\n  env\n};\n","const env = {\n  name: \"qa\",\n  cookieDomain: \".29cm.co.kr\",\n  workspace: {\n    auth: \"https://qa-auth.29cm.co.kr\",\n    shop: \"https://qa-shop.29cm.co.kr\",\n    product: \"https://qa-product.29cm.co.kr\",\n    order: \"https://qa-order.29cm.co.kr\",\n    search: \"https://qa-shop.29cm.co.kr/search\",\n    post: \"https://qa-content.29cm.co.kr/post\",\n    inbox: \"https://qa-inbox.29cm.co.kr\",\n    customer: \"https://qa-customer.29cm.co.kr\",\n    content: \"https://qa-content.29cm.co.kr\",\n    home: \"https://qa-home.29cm.co.kr\",\n    legacy: {\n      home: \"https://nqa.29cm.co.kr\"\n    }\n  },\n  api: {\n    apihub: \"https://apihub-qa.29cm.co.kr\",\n    user: \"https://qa-user-api.29cm.co.kr\",\n    userAuth: \"https://qa-user-auth-api.29cm.co.kr\",\n    content: \"https://qa-content-api.29cm.co.kr\",\n    front: \"https://qa-front-api.29cm.co.kr\",\n    search: \"https://qa-search-api.29cm.co.kr\",\n    promotion: \"https://qa-promotion-api.29cm.co.kr\",\n    // NOTE: (김홍동) qa환경의 스노우플로우 대시보드 부재f로 dev 환경의 키비나로 이벤트를 적재합니다.\n    collector: \"https://dev-dataplatform-collector.29cm.co.kr\",\n    displayBff: \"https://qa-display-bff-api.29cm.co.kr\",\n    activation: \"https://qa-activation-api.29cm.co.kr\",\n    community: \"https://qa-community-api.29cm.co.kr\"\n  },\n  image: {\n    host: \"img.29cm.co.kr\"\n  },\n  sdk: {\n    braze: {\n      apiKey: \"7ad7b590-5b0a-4eb5-8df8-c374fb23d9f4\",\n      endPoint: \"sdk.iad-03.braze.com\"\n    },\n    amplitude: {\n      apiKey: \"929ca24bfc097c1caac43f13f7eaf6c8\",\n      experimentClientKey: \"client-NTBiInvoI22t1HFO35v296b5cqsU0gk1\",\n      analyticsKey: \"ad2b2fa4f53f446559832081a7275198\"\n    },\n    kakao: {\n      clientId: \"2ee9d9be5d84fbc184912ed61afdc34f\"\n    },\n    shoplive: {\n      accessKey: \"hPV3fgOAuyjmPYQPX2H2\",\n      pluginAccessKey: \"bFU4uGJNEhrSt50z26mG\"\n    },\n    unleash: {\n      proxyUrl: \"https://dev-flag.29cm.co.kr/proxy\",\n      clientKey: \"0f5e8ef7-f1ea-4bec-af65-abb5e1925bea\"\n    }\n  },\n  // NOTE: 29CM qa 는 Beacon 수집 서버가 따로 없어 dev 로 접힌다 (Beacon HOST_APP_INTEGRATION §2.1)\n  beacon: {\n    endpoint: \"https://dev-beacon-api.29cm.co.kr\",\n    deployEnvironment: \"development\"\n  }\n};\nexport {\n  env\n};\n","import { getRuntimeEnvName } from \"../utils/env.js\";\nimport { env as env$1 } from \"./env.development.js\";\nimport { env as env$3 } from \"./env.production.js\";\nimport { env as env$2 } from \"./env.qa.js\";\nconst runtimeEnvName = getRuntimeEnvName();\nconst environments = {\n  development: env$1,\n  qa: env$2,\n  production: env$3\n};\nconst env = environments[runtimeEnvName] ?? environments.production;\nexport {\n  env,\n  environments\n};\n","/*! js-cookie v3.0.5 | MIT */\nfunction assign(target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = arguments[i];\n    for (var key in source) {\n      target[key] = source[key];\n    }\n  }\n  return target;\n}\nvar defaultConverter = {\n  read: function(value) {\n    if (value[0] === '\"') {\n      value = value.slice(1, -1);\n    }\n    return value.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent);\n  },\n  write: function(value) {\n    return encodeURIComponent(value).replace(\n      /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,\n      decodeURIComponent\n    );\n  }\n};\nfunction init(converter, defaultAttributes) {\n  function set(name, value, attributes) {\n    if (typeof document === \"undefined\") {\n      return;\n    }\n    attributes = assign({}, defaultAttributes, attributes);\n    if (typeof attributes.expires === \"number\") {\n      attributes.expires = new Date(Date.now() + attributes.expires * 864e5);\n    }\n    if (attributes.expires) {\n      attributes.expires = attributes.expires.toUTCString();\n    }\n    name = encodeURIComponent(name).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);\n    var stringifiedAttributes = \"\";\n    for (var attributeName in attributes) {\n      if (!attributes[attributeName]) {\n        continue;\n      }\n      stringifiedAttributes += \"; \" + attributeName;\n      if (attributes[attributeName] === true) {\n        continue;\n      }\n      stringifiedAttributes += \"=\" + attributes[attributeName].split(\";\")[0];\n    }\n    return document.cookie = name + \"=\" + converter.write(value, name) + stringifiedAttributes;\n  }\n  function get(name) {\n    if (typeof document === \"undefined\" || arguments.length && !name) {\n      return;\n    }\n    var cookies = document.cookie ? document.cookie.split(\"; \") : [];\n    var jar = {};\n    for (var i = 0; i < cookies.length; i++) {\n      var parts = cookies[i].split(\"=\");\n      var value = parts.slice(1).join(\"=\");\n      try {\n        var found = decodeURIComponent(parts[0]);\n        jar[found] = converter.read(value, found);\n        if (name === found) {\n          break;\n        }\n      } catch (e) {\n      }\n    }\n    return name ? jar[name] : jar;\n  }\n  return Object.create(\n    {\n      set,\n      get,\n      remove: function(name, attributes) {\n        set(\n          name,\n          \"\",\n          assign({}, attributes, {\n            expires: -1\n          })\n        );\n      },\n      withAttributes: function(attributes) {\n        return init(this.converter, assign({}, this.attributes, attributes));\n      },\n      withConverter: function(converter2) {\n        return init(assign({}, this.converter, converter2), this.attributes);\n      }\n    },\n    {\n      attributes: { value: Object.freeze(defaultAttributes) },\n      converter: { value: Object.freeze(converter) }\n    }\n  );\n}\nvar api = init(defaultConverter, { path: \"/\" });\nexport {\n  api as default\n};\n","import api from \"../node_modules/js-cookie/dist/js.cookie.js\";\nclass Cookies {\n  get(name) {\n    return api.get(name);\n  }\n  set(name, value, options) {\n    api.set(name, value, options);\n  }\n  remove(name, options) {\n    api.remove(name, options);\n  }\n}\nexport {\n  Cookies\n};\n","const callbacks = /* @__PURE__ */ new Set();\nconst onTokenExpired = (cb) => {\n  callbacks.add(cb);\n};\nconst notifyTokenExpired = () => {\n  callbacks.forEach((cb) => cb());\n};\nexport {\n  notifyTokenExpired,\n  onTokenExpired\n};\n","import { env } from \"../../../config/index.js\";\nimport { Cookies } from \"../../../utils/cookies.js\";\nimport { JwtTokenManager } from \"./JwtTokenManager.js\";\nimport { notifyTokenExpired } from \"./tokenExpiredCallbacks.js\";\nconst isWebview = () => {\n  var _a;\n  try {\n    return /APP29CM([^)]+)\\)/gi.test(((_a = globalThis.navigator) == null ? void 0 : _a.userAgent) ?? \"\");\n  } catch {\n    return false;\n  }\n};\nconst sendAppSchemeMessage = (key, message) => {\n  var _a;\n  if (!isWebview()) {\n    return;\n  }\n  let url = \"app29cm://webappif/\";\n  if (key) {\n    url += key;\n  }\n  if (message) {\n    url += `?${message}`;\n  }\n  let iframe = document.createElement(\"iframe\");\n  iframe.setAttribute(\"src\", url);\n  document.documentElement.appendChild(iframe);\n  (_a = iframe.parentNode) == null ? void 0 : _a.removeChild(iframe);\n  iframe = null;\n};\nconst sendPostMessage = (type, payload) => {\n  var _a, _b, _c, _d, _e;\n  if (!isWebview()) {\n    return;\n  }\n  try {\n    const message = JSON.stringify({\n      type,\n      payload\n    });\n    if (typeof window !== \"undefined\" && ((_a = window.ReactNativeWebView) == null ? void 0 : _a.postMessage)) {\n      window.ReactNativeWebView.postMessage(message);\n      return;\n    }\n    if (typeof window !== \"undefined\" && ((_d = (_c = (_b = window.webkit) == null ? void 0 : _b.messageHandlers) == null ? void 0 : _c.appInterface) == null ? void 0 : _d.postMessage)) {\n      window.webkit.messageHandlers.appInterface.postMessage(message);\n      return;\n    }\n    if (typeof window !== \"undefined\" && ((_e = window.appInterface) == null ? void 0 : _e.postMessage)) {\n      window.appInterface.postMessage(message);\n      return;\n    }\n  } catch {\n  }\n};\nconst getClientAccessToken = () => {\n  var _a;\n  if (!hasXDeviceId()) {\n    return void 0;\n  }\n  return ((_a = JwtTokenManager.shared().getAccessTokenFromCookie()) == null ? void 0 : _a.trim()) || void 0;\n};\nconst getValidAccessToken = () => {\n  return getClientAccessToken();\n};\nconst hasNewAccessToken = () => {\n  var _a;\n  const token = ((_a = JwtTokenManager.shared().getAccessTokenFromCookie()) == null ? void 0 : _a.trim()) || \"\";\n  return Boolean(token);\n};\nconst hasSessionCookie = () => {\n  try {\n    const cookies = new Cookies();\n    return Boolean(cookies.get(\"_user_segment\"));\n  } catch {\n    return false;\n  }\n};\nconst hasXDeviceId = () => {\n  try {\n    const cookies = new Cookies();\n    return Boolean(cookies.get(\"x-device-id\"));\n  } catch {\n    return false;\n  }\n};\nconst canRefreshToken = () => {\n  if (!hasSessionCookie()) {\n    return false;\n  }\n  if (isWebview()) {\n    return hasXDeviceId();\n  }\n  return true;\n};\nconst LOGOUT_PATH = \"/api/v1/auth/logout\";\nconst FORCE_LOGOUT_PATH = \"/api/auth/force-logout\";\nconst TIMEOUT_MS = 5e3;\nconst SESSION_KEY = \"token_expired_handling\";\nconst LAST_RELOAD_KEY = \"token_expired_last_reload_ts\";\nconst RELOAD_COOLDOWN_MS = 1e4;\nconst isAlreadyHandling = () => {\n  try {\n    return sessionStorage.getItem(SESSION_KEY) === \"true\";\n  } catch {\n    return false;\n  }\n};\nconst setHandlingFlag = () => {\n  try {\n    sessionStorage.setItem(SESSION_KEY, \"true\");\n  } catch {\n  }\n};\nconst clearHandlingFlag = () => {\n  try {\n    sessionStorage.removeItem(SESSION_KEY);\n  } catch {\n  }\n};\nconst isWithinReloadCooldown = () => {\n  try {\n    const ts = Number(sessionStorage.getItem(LAST_RELOAD_KEY));\n    return Number.isFinite(ts) && ts > 0 && Date.now() - ts < RELOAD_COOLDOWN_MS;\n  } catch {\n    return false;\n  }\n};\nconst markReload = () => {\n  try {\n    sessionStorage.setItem(LAST_RELOAD_KEY, String(Date.now()));\n  } catch {\n  }\n};\nconst clearAccessTokenCookie = () => {\n  const cookieDomain = env.cookieDomain;\n  const cookieParts = [\"access_token=\", \"Path=/\", \"Max-Age=0\", \"Expires=Thu, 01 Jan 1970 00:00:00 GMT\", \"Secure\", \"SameSite=Lax\"];\n  if (cookieDomain) {\n    cookieParts.push(`Domain=${cookieDomain}`);\n  }\n  document.cookie = cookieParts.join(\"; \");\n};\nconst fetchWithTimeout = async (url, init, timeoutMs) => {\n  if (typeof AbortSignal.timeout === \"function\") {\n    return fetch(url, {\n      ...init ?? {},\n      signal: AbortSignal.timeout(timeoutMs)\n    });\n  }\n  let timeoutId;\n  const timeoutPromise = new Promise((_, reject) => {\n    timeoutId = setTimeout(() => reject(new Error(`[fetchWithTimeout] timeout ${timeoutMs}ms exceeded`)), timeoutMs);\n  });\n  try {\n    return await Promise.race([fetch(url, init), timeoutPromise]);\n  } finally {\n    if (timeoutId) {\n      clearTimeout(timeoutId);\n    }\n  }\n};\nconst handleTokenExpired = async () => {\n  if (isAlreadyHandling()) {\n    return;\n  }\n  if (isWithinReloadCooldown()) {\n    return;\n  }\n  setHandlingFlag();\n  clearAccessTokenCookie();\n  notifyTokenExpired();\n  if (isWebview()) {\n    clearHandlingFlag();\n    sendPostMessage(\"logout\");\n    return;\n  }\n  const logoutUrl = `${env.api.userAuth}${LOGOUT_PATH}`;\n  const forceLogoutUrl = `${env.workspace.auth}${FORCE_LOGOUT_PATH}`;\n  try {\n    await fetchWithTimeout(logoutUrl, {\n      method: \"POST\",\n      credentials: \"include\"\n    }, TIMEOUT_MS);\n  } catch {\n  }\n  try {\n    await fetchWithTimeout(forceLogoutUrl, {\n      method: \"POST\",\n      credentials: \"include\"\n    }, TIMEOUT_MS);\n  } catch {\n  }\n  clearHandlingFlag();\n  markReload();\n  window.location.reload();\n};\nconst ensureAccessToken = async () => {\n  if (getClientAccessToken()) {\n    return;\n  }\n  if (canRefreshToken()) {\n    try {\n      await JwtTokenManager.shared().refresh();\n    } catch {\n    }\n  }\n};\nexport {\n  canRefreshToken,\n  ensureAccessToken,\n  getClientAccessToken,\n  getValidAccessToken,\n  handleTokenExpired,\n  hasNewAccessToken,\n  hasSessionCookie,\n  hasXDeviceId,\n  isWebview,\n  sendAppSchemeMessage,\n  sendPostMessage\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nimport { env } from \"../../../config/index.js\";\nimport { Cookies } from \"../../../utils/cookies.js\";\nimport { isWebview, handleTokenExpired } from \"./utils.js\";\nconst REFRESH_PATH = \"/api/v1/auth/refresh\";\nconst TOKEN_REFRESH_TIMEOUT_MS = 5e3;\nconst X_DEVICE_ID_COOKIE_KEY = \"x-device-id\";\nconst X_DEVICE_ID_COOKIE_MAX_AGE_SECONDS = 60 * 60 * 24 * 365 * 2;\nconst ACCESS_TOKEN_COOKIE_KEY = \"access_token\";\nconst ERROR_MESSAGES = {\n  REFRESH_FAILED: \"TOKEN_REFRESH_FAILED\",\n  NETWORK_ERROR: \"TOKEN_REFRESH_NETWORK_ERROR\"\n};\nconst createXDeviceId = () => {\n  var _a;\n  try {\n    if (typeof ((_a = globalThis.crypto) == null ? void 0 : _a.randomUUID) === \"function\") {\n      return globalThis.crypto.randomUUID();\n    }\n  } catch {\n  }\n  try {\n    return `web-${Date.now()}-${Math.random().toString(16).slice(2)}`;\n  } catch {\n    return void 0;\n  }\n};\nconst getXDeviceIdFromCookie = () => {\n  try {\n    const cookies = new Cookies();\n    const value = cookies.get(X_DEVICE_ID_COOKIE_KEY);\n    return (value == null ? void 0 : value.trim()) || void 0;\n  } catch {\n    return void 0;\n  }\n};\nconst touchXDeviceIdCookie = (deviceId) => {\n  var _a;\n  try {\n    const secure = typeof window !== \"undefined\" && ((_a = window.location) == null ? void 0 : _a.protocol) === \"https:\";\n    const domain = getCookieDomain();\n    const cookies = new Cookies();\n    cookies.set(X_DEVICE_ID_COOKIE_KEY, deviceId, {\n      path: \"/\",\n      expires: new Date(Date.now() + X_DEVICE_ID_COOKIE_MAX_AGE_SECONDS * 1e3),\n      secure,\n      domain\n    });\n  } catch {\n  }\n};\nconst getCookieDomain = () => \".29cm.co.kr\";\nconst getTimeoutSignal = (timeout) => {\n  return typeof AbortSignal.timeout === \"function\" ? AbortSignal.timeout(timeout) : void 0;\n};\nconst getRefreshUrl = () => {\n  return `${env.api.userAuth}${REFRESH_PATH}`;\n};\nconst GLOBAL_SINGLETON_KEY = \"__29CM_JWT_TOKEN_MANAGER__\";\nclass JwtTokenManager {\n  constructor() {\n    __publicField(this, \"refreshPromise\");\n  }\n  static shared() {\n    const globalInstance = globalThis[GLOBAL_SINGLETON_KEY];\n    if (globalInstance) {\n      return globalInstance;\n    }\n    const newInstance = new JwtTokenManager();\n    globalThis[GLOBAL_SINGLETON_KEY] = newInstance;\n    return newInstance;\n  }\n  /**\n   * 쿠키에서 access_token 조회\n   */\n  getAccessTokenFromCookie() {\n    return this.getCookieValue(ACCESS_TOKEN_COOKIE_KEY) || void 0;\n  }\n  /**\n   * 토큰을 갱신합니다.\n   *\n   * @remarks\n   * - Single-flight 패턴으로 구현되어 있어 동시에 여러 요청이 와도 하나의 refresh 요청만 실행됩니다.\n   * - Race Condition을 방지하기 위해 refreshPromise를 공유하여 동시 요청을 하나로 묶습니다.\n   * - 첫 번째 요청이 완료되면 모든 대기 중인 요청이 동일한 결과를 받습니다.\n   */\n  refresh() {\n    if (!this.refreshPromise) {\n      this.refreshPromise = this.performRefresh().finally(() => {\n        this.refreshPromise = void 0;\n      });\n    }\n    return this.refreshPromise;\n  }\n  async performRefresh() {\n    var _a, _b;\n    try {\n      const existingXDeviceId = getXDeviceIdFromCookie();\n      const xDeviceId = existingXDeviceId ?? (isWebview() ? void 0 : createXDeviceId());\n      if (!existingXDeviceId && xDeviceId) {\n        touchXDeviceIdCookie(xDeviceId);\n      }\n      const response = await fetch(getRefreshUrl(), {\n        method: \"POST\",\n        credentials: \"include\",\n        headers: xDeviceId ? {\n          \"x-device-id\": xDeviceId\n        } : void 0,\n        signal: getTimeoutSignal(TOKEN_REFRESH_TIMEOUT_MS)\n      });\n      if (!response.ok) {\n        if (response.status === 401) {\n          await handleTokenExpired();\n        }\n        throw new Error(ERROR_MESSAGES.REFRESH_FAILED);\n      }\n      const data = await response.json();\n      if ((data == null ? void 0 : data.result) !== \"SUCCESS\") {\n        throw new Error((data == null ? void 0 : data.message) ?? ERROR_MESSAGES.REFRESH_FAILED);\n      }\n      const accessToken = (_a = data == null ? void 0 : data.data) == null ? void 0 : _a.accessToken;\n      const expiresIn = (_b = data == null ? void 0 : data.data) == null ? void 0 : _b.expiresIn;\n      if (accessToken) {\n        this.setAccessTokenCookie(accessToken, expiresIn);\n      }\n      if (xDeviceId) {\n        touchXDeviceIdCookie(xDeviceId);\n      }\n      return accessToken;\n    } catch (error) {\n      if (error instanceof Error) {\n        throw new Error(error.message || ERROR_MESSAGES.NETWORK_ERROR);\n      }\n      throw new Error(ERROR_MESSAGES.NETWORK_ERROR);\n    }\n  }\n  /**\n   * access_token 쿠키 설정\n   */\n  setAccessTokenCookie(accessToken, expiresIn) {\n    if (!accessToken) {\n      return;\n    }\n    const maxAge = typeof expiresIn === \"number\" && expiresIn > 0 ? expiresIn : 0;\n    const domain = getCookieDomain();\n    const cookies = new Cookies();\n    cookies.set(ACCESS_TOKEN_COOKIE_KEY, accessToken, {\n      path: \"/\",\n      secure: true,\n      domain,\n      expires: maxAge > 0 ? new Date(Date.now() + maxAge * 1e3) : void 0\n    });\n  }\n  getCookieValue(key) {\n    try {\n      const cookies = new Cookies();\n      return cookies.get(key) ?? \"\";\n    } catch {\n      return \"\";\n    }\n  }\n}\nexport {\n  JwtTokenManager\n};\n","const entries = (obj) => {\n  return Object.entries(obj);\n};\nexport {\n  entries\n};\n","import { entries } from \"./entries.js\";\nconst definedOnly = (obj) => {\n  return entries(obj).reduce((acc, [key, value]) => {\n    if (value === void 0) {\n      return acc;\n    }\n    acc[key] = value;\n    return acc;\n  }, {});\n};\nexport {\n  definedOnly\n};\n","import { definedOnly } from \"./definedOnly.js\";\nconst querify = (obj) => {\n  return new URLSearchParams(definedOnly(obj)).toString();\n};\nexport {\n  querify\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nclass APIError extends Error {\n  constructor(message, errorCode, data) {\n    super(message);\n    /** 서버에서 반환한 에러 코드 (예: 'COMMON_INVALID_PARAMETER') */\n    __publicField(this, \"errorCode\");\n    /** 서버 응답의 전체 데이터 */\n    __publicField(this, \"data\");\n    this.name = \"APIError\";\n    this.errorCode = errorCode;\n    this.data = data;\n  }\n}\nclass HttpStatusError extends Error {\n  constructor(message, status) {\n    super(message);\n    __publicField(this, \"status\");\n    this.name = \"HttpStatusError\";\n    this.status = status;\n  }\n}\nexport {\n  APIError,\n  HttpStatusError\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nimport { GENERAL_ERROR } from \"../constants/error.js\";\nimport { JwtTokenManager } from \"../libs/services/jwt/JwtTokenManager.js\";\nimport { ensureAccessToken, canRefreshToken, handleTokenExpired, getClientAccessToken } from \"../libs/services/jwt/utils.js\";\nimport { querify } from \"../utils/querify.js\";\nimport { HttpStatusError } from \"./APIService.types.js\";\nconst DEFAULT_GET_TIMEOUT_MS = 5e3;\nclass APIService {\n  constructor() {\n    __publicField(this, \"baseUrl\", \"\");\n    __publicField(this, \"middleware\");\n  }\n  async request(method, url, data, config) {\n    var _a, _b;\n    const {\n      skipAuthRefresh = false,\n      skipAuthorization = false,\n      timeout = method === \"GET\" ? DEFAULT_GET_TIMEOUT_MS : void 0,\n      ...restConfig\n    } = config ?? {};\n    if (!skipAuthorization) {\n      await ensureAccessToken();\n    }\n    const configWithAuth = skipAuthorization ? restConfig : injectAuthHeader(restConfig);\n    const response = await fetch(...configure(method, url, data, withTimeout(configWithAuth, timeout)));\n    if (response.status === 401 && !skipAuthRefresh && canRefreshToken()) {\n      try {\n        await JwtTokenManager.shared().refresh();\n        const newConfigWithAuth = injectAuthHeader(restConfig);\n        const retryResponse = await fetch(...configure(method, url, data, newConfigWithAuth));\n        if (!retryResponse.ok) {\n          if (retryResponse.status === 401) {\n            await handleTokenExpired();\n          }\n          throw new Error(GENERAL_ERROR);\n        }\n        const retryJson = await retryResponse.json();\n        (_a = this.middleware) == null ? void 0 : _a.call(this, retryJson);\n        return retryJson;\n      } catch {\n        await handleTokenExpired();\n        throw new Error(GENERAL_ERROR);\n      }\n    }\n    if (!response.ok) {\n      throw new HttpStatusError(GENERAL_ERROR, response.status);\n    }\n    const json = await response.json();\n    (_b = this.middleware) == null ? void 0 : _b.call(this, json);\n    return json;\n  }\n  setMiddleware(middleware) {\n    this.middleware = middleware;\n  }\n  setBaseUrl(baseUrl) {\n    this.baseUrl = baseUrl;\n  }\n  get(path, data, config) {\n    return this.request(\"GET\", `${this.baseUrl}${path}`, data, config);\n  }\n  post(path, data, config) {\n    return this.request(\"POST\", `${this.baseUrl}${path}`, data, config);\n  }\n  put(path, data, config) {\n    return this.request(\"PUT\", `${this.baseUrl}${path}`, data, config);\n  }\n  delete(path, data, config) {\n    return this.request(\"DELETE\", `${this.baseUrl}${path}`, data, config);\n  }\n}\nconst withTimeout = (config, timeout) => {\n  if (timeout === void 0 || config.signal) {\n    return config;\n  }\n  return {\n    ...config,\n    signal: createTimeoutSignal(timeout)\n  };\n};\nconst createTimeoutSignal = (timeout) => {\n  if (typeof AbortSignal.timeout === \"function\") {\n    return AbortSignal.timeout(timeout);\n  }\n  const controller = new AbortController();\n  setTimeout(() => controller.abort(new DOMException(\"signal timed out\", \"TimeoutError\")), timeout);\n  return controller.signal;\n};\nconst injectAuthHeader = (config) => {\n  const accessToken = getClientAccessToken();\n  if (!accessToken) {\n    return config ?? {};\n  }\n  const existingHeaders = (config == null ? void 0 : config.headers) ?? {};\n  return {\n    ...config,\n    headers: {\n      ...existingHeaders,\n      Authorization: `Bearer ${accessToken}`\n    }\n  };\n};\nconst configure = (method, url, data, config) => {\n  const headers = createHeaders(config);\n  const {\n    headers: _configHeaders,\n    ...restConfig\n  } = config ?? {};\n  const options = {\n    method,\n    headers,\n    credentials: \"include\",\n    ...restConfig\n  };\n  const isGetMethod = method === \"GET\";\n  if (!isGetMethod) {\n    options.body = JSON.stringify(data);\n  }\n  return [appendQuery(url, isGetMethod ? data : void 0), options];\n};\nconst createHeaders = (config) => {\n  const configHeaders = (config == null ? void 0 : config.headers) ?? {};\n  return {\n    \"Content-Type\": \"application/json\",\n    \"Accept\": \"application/json\",\n    ...configHeaders\n    // config.headers가 기본 헤더를 덮어쓸 수 있음\n  };\n};\nconst appendQuery = (url, query) => {\n  const hasQuery = new URL(url).search.length > 0;\n  const separator = hasQuery ? \"&\" : query !== void 0 ? \"?\" : \"\";\n  return `${url}${separator}${query ? querify(query) : \"\"}`;\n};\nexport {\n  APIService,\n  DEFAULT_GET_TIMEOUT_MS,\n  configure\n};\n","import { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { APIService } from \"../APIService.js\";\nimport { env } from \"../../config/index.js\";\nclass BrandSaleApiService extends APIService {\n  constructor() {\n    super();\n    this.setBaseUrl(env.api.content);\n    this.setMiddleware(throwFailError);\n  }\n  // NOTE: (김홍동) 구 이굿입점회(BrandTimeSale) 신 이굿입점회(CouponCollection)에서 사용되는 api로 brandSaleList를 받아옵니다.\n  // brandSaleList은 그룹별로 어떤 brandSaleId이 있는지 확인할 수 있습니다. 이굿입점회에서는 그룹별 시작 날짜를 가져와 탭을 그리는데 사용됩니다.\n  getBrandSaleGroup(brandSaleGroupId) {\n    return this.get(`/api/v4/framers/proxy/content-api/api/v4/brand-sale-groups/${brandSaleGroupId}`);\n  }\n  // NOTE: (김홍동) 구 이굿입점회(BrandTimeSale) 신 이굿입점회(CouponCollection)에서 사용되는 api로 brandSaleCouponList를 받아옵니다.\n  // brandSaleCouponList에서는 쿠폰의 정보, 브랜드의 정보를 알 수 있습니다.\n  getBrandSales(brandSaleId) {\n    return this.get(`/api/v4/framers/proxy/content-api/api/v4/brand-sales/${brandSaleId}`);\n  }\n  // NOTE: (김홍동) 구 이굿입점회(CouponCollection)에서 사용되는 api로 상품리스트를 받아옵니다. 페이지네이션을 제공하지 않습니다.\n  getBrandSaleCouponDetail(brandSaleCouponId, size) {\n    return this.get(`/api/v4/framers/proxy/content-api/api/v4/brand-sale-coupons/${brandSaleCouponId}`, {\n      size\n    });\n  }\n}\nconst brandSaleApi = new BrandSaleApiService();\nexport {\n  brandSaleApi\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { brandSaleApi } from \"../../apis/brand-sale/BrandSaleApiService.js\";\nconst BRAND_SALE_GROUP = \"brand-sale-group\";\nconst useFetchBrandSaleGroup = (brandSaleGroupId, enabled = true) => {\n  const {\n    isLoading,\n    ...rest\n  } = useSWR(enabled ? [BRAND_SALE_GROUP, brandSaleGroupId] : null, () => brandSaleApi.getBrandSaleGroup(brandSaleGroupId), {\n    keepPreviousData: true\n  });\n  return {\n    isLoading: isLoading || !enabled,\n    ...rest\n  };\n};\nexport {\n  useFetchBrandSaleGroup\n};\n","function toDate(argument) {\n  const argStr = Object.prototype.toString.call(argument);\n  if (argument instanceof Date || typeof argument === \"object\" && argStr === \"[object Date]\") {\n    return new argument.constructor(+argument);\n  } else if (typeof argument === \"number\" || argStr === \"[object Number]\" || typeof argument === \"string\" || argStr === \"[object String]\") {\n    return new Date(argument);\n  } else {\n    return /* @__PURE__ */ new Date(NaN);\n  }\n}\nexport {\n  toDate as default,\n  toDate\n};\n","import { toDate } from \"./toDate.js\";\nfunction isAfter(date, dateToCompare) {\n  const _date = toDate(date);\n  const _dateToCompare = toDate(dateToCompare);\n  return _date.getTime() > _dateToCompare.getTime();\n}\nexport {\n  isAfter as default,\n  isAfter\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { brandSaleApi } from \"../../apis/brand-sale/BrandSaleApiService.js\";\nconst BRAND_SALES = \"brand-sales\";\nconst useFetchBrandSales = (brandSaleId, enabled = true) => {\n  const {\n    isLoading,\n    ...rest\n  } = useSWR(enabled ? [BRAND_SALES, brandSaleId] : null, () => brandSaleApi.getBrandSales(brandSaleId), {\n    keepPreviousData: true\n  });\n  return {\n    isLoading: isLoading || !enabled,\n    ...rest\n  };\n};\nexport {\n  useFetchBrandSales\n};\n","const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"1초 미만\",\n    other: \"{{count}}초 미만\"\n  },\n  xSeconds: {\n    one: \"1초\",\n    other: \"{{count}}초\"\n  },\n  halfAMinute: \"30초\",\n  lessThanXMinutes: {\n    one: \"1분 미만\",\n    other: \"{{count}}분 미만\"\n  },\n  xMinutes: {\n    one: \"1분\",\n    other: \"{{count}}분\"\n  },\n  aboutXHours: {\n    one: \"약 1시간\",\n    other: \"약 {{count}}시간\"\n  },\n  xHours: {\n    one: \"1시간\",\n    other: \"{{count}}시간\"\n  },\n  xDays: {\n    one: \"1일\",\n    other: \"{{count}}일\"\n  },\n  aboutXWeeks: {\n    one: \"약 1주\",\n    other: \"약 {{count}}주\"\n  },\n  xWeeks: {\n    one: \"1주\",\n    other: \"{{count}}주\"\n  },\n  aboutXMonths: {\n    one: \"약 1개월\",\n    other: \"약 {{count}}개월\"\n  },\n  xMonths: {\n    one: \"1개월\",\n    other: \"{{count}}개월\"\n  },\n  aboutXYears: {\n    one: \"약 1년\",\n    other: \"약 {{count}}년\"\n  },\n  xYears: {\n    one: \"1년\",\n    other: \"{{count}}년\"\n  },\n  overXYears: {\n    one: \"1년 이상\",\n    other: \"{{count}}년 이상\"\n  },\n  almostXYears: {\n    one: \"거의 1년\",\n    other: \"거의 {{count}}년\"\n  }\n};\nconst formatDistance = (token, count, options) => {\n  let result;\n  const tokenValue = formatDistanceLocale[token];\n  if (typeof tokenValue === \"string\") {\n    result = tokenValue;\n  } else if (count === 1) {\n    result = tokenValue.one;\n  } else {\n    result = tokenValue.other.replace(\"{{count}}\", count.toString());\n  }\n  if (options == null ? void 0 : options.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return result + \" 후\";\n    } else {\n      return result + \" 전\";\n    }\n  }\n  return result;\n};\nexport {\n  formatDistance\n};\n","function buildFormatLongFn(args) {\n  return (options = {}) => {\n    const width = options.width ? String(options.width) : args.defaultWidth;\n    const format = args.formats[width] || args.formats[args.defaultWidth];\n    return format;\n  };\n}\nexport {\n  buildFormatLongFn\n};\n","import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\nconst dateFormats = {\n  full: \"y년 M월 d일 EEEE\",\n  long: \"y년 M월 d일\",\n  medium: \"y.MM.dd\",\n  short: \"y.MM.dd\"\n};\nconst timeFormats = {\n  full: \"a H시 mm분 ss초 zzzz\",\n  long: \"a H:mm:ss z\",\n  medium: \"HH:mm:ss\",\n  short: \"HH:mm\"\n};\nconst dateTimeFormats = {\n  full: \"{{date}} {{time}}\",\n  long: \"{{date}} {{time}}\",\n  medium: \"{{date}} {{time}}\",\n  short: \"{{date}} {{time}}\"\n};\nconst formatLong = {\n  date: buildFormatLongFn({\n    formats: dateFormats,\n    defaultWidth: \"full\"\n  }),\n  time: buildFormatLongFn({\n    formats: timeFormats,\n    defaultWidth: \"full\"\n  }),\n  dateTime: buildFormatLongFn({\n    formats: dateTimeFormats,\n    defaultWidth: \"full\"\n  })\n};\nexport {\n  formatLong\n};\n","const formatRelativeLocale = {\n  lastWeek: \"'지난' eeee p\",\n  yesterday: \"'어제' p\",\n  today: \"'오늘' p\",\n  tomorrow: \"'내일' p\",\n  nextWeek: \"'다음' eeee p\",\n  other: \"P\"\n};\nconst formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];\nexport {\n  formatRelative\n};\n","function buildLocalizeFn(args) {\n  return (value, options) => {\n    const context = (options == null ? void 0 : options.context) ? String(options.context) : \"standalone\";\n    let valuesArray;\n    if (context === \"formatting\" && args.formattingValues) {\n      const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n      const width = (options == null ? void 0 : options.width) ? String(options.width) : defaultWidth;\n      valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n    } else {\n      const defaultWidth = args.defaultWidth;\n      const width = (options == null ? void 0 : options.width) ? String(options.width) : args.defaultWidth;\n      valuesArray = args.values[width] || args.values[defaultWidth];\n    }\n    const index = args.argumentCallback ? args.argumentCallback(value) : value;\n    return valuesArray[index];\n  };\n}\nexport {\n  buildLocalizeFn\n};\n","import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.js\";\nconst eraValues = {\n  narrow: [\"BC\", \"AD\"],\n  abbreviated: [\"BC\", \"AD\"],\n  wide: [\"기원전\", \"서기\"]\n};\nconst quarterValues = {\n  narrow: [\"1\", \"2\", \"3\", \"4\"],\n  abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n  wide: [\"1분기\", \"2분기\", \"3분기\", \"4분기\"]\n};\nconst monthValues = {\n  narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"],\n  abbreviated: [\n    \"1월\",\n    \"2월\",\n    \"3월\",\n    \"4월\",\n    \"5월\",\n    \"6월\",\n    \"7월\",\n    \"8월\",\n    \"9월\",\n    \"10월\",\n    \"11월\",\n    \"12월\"\n  ],\n  wide: [\n    \"1월\",\n    \"2월\",\n    \"3월\",\n    \"4월\",\n    \"5월\",\n    \"6월\",\n    \"7월\",\n    \"8월\",\n    \"9월\",\n    \"10월\",\n    \"11월\",\n    \"12월\"\n  ]\n};\nconst dayValues = {\n  narrow: [\"일\", \"월\", \"화\", \"수\", \"목\", \"금\", \"토\"],\n  short: [\"일\", \"월\", \"화\", \"수\", \"목\", \"금\", \"토\"],\n  abbreviated: [\"일\", \"월\", \"화\", \"수\", \"목\", \"금\", \"토\"],\n  wide: [\"일요일\", \"월요일\", \"화요일\", \"수요일\", \"목요일\", \"금요일\", \"토요일\"]\n};\nconst dayPeriodValues = {\n  narrow: {\n    am: \"오전\",\n    pm: \"오후\",\n    midnight: \"자정\",\n    noon: \"정오\",\n    morning: \"아침\",\n    afternoon: \"오후\",\n    evening: \"저녁\",\n    night: \"밤\"\n  },\n  abbreviated: {\n    am: \"오전\",\n    pm: \"오후\",\n    midnight: \"자정\",\n    noon: \"정오\",\n    morning: \"아침\",\n    afternoon: \"오후\",\n    evening: \"저녁\",\n    night: \"밤\"\n  },\n  wide: {\n    am: \"오전\",\n    pm: \"오후\",\n    midnight: \"자정\",\n    noon: \"정오\",\n    morning: \"아침\",\n    afternoon: \"오후\",\n    evening: \"저녁\",\n    night: \"밤\"\n  }\n};\nconst formattingDayPeriodValues = {\n  narrow: {\n    am: \"오전\",\n    pm: \"오후\",\n    midnight: \"자정\",\n    noon: \"정오\",\n    morning: \"아침\",\n    afternoon: \"오후\",\n    evening: \"저녁\",\n    night: \"밤\"\n  },\n  abbreviated: {\n    am: \"오전\",\n    pm: \"오후\",\n    midnight: \"자정\",\n    noon: \"정오\",\n    morning: \"아침\",\n    afternoon: \"오후\",\n    evening: \"저녁\",\n    night: \"밤\"\n  },\n  wide: {\n    am: \"오전\",\n    pm: \"오후\",\n    midnight: \"자정\",\n    noon: \"정오\",\n    morning: \"아침\",\n    afternoon: \"오후\",\n    evening: \"저녁\",\n    night: \"밤\"\n  }\n};\nconst ordinalNumber = (dirtyNumber, options) => {\n  const number = Number(dirtyNumber);\n  const unit = String(options == null ? void 0 : options.unit);\n  switch (unit) {\n    case \"minute\":\n    case \"second\":\n      return String(number);\n    case \"date\":\n      return number + \"일\";\n    default:\n      return number + \"번째\";\n  }\n};\nconst localize = {\n  ordinalNumber,\n  era: buildLocalizeFn({\n    values: eraValues,\n    defaultWidth: \"wide\"\n  }),\n  quarter: buildLocalizeFn({\n    values: quarterValues,\n    defaultWidth: \"wide\",\n    argumentCallback: (quarter) => quarter - 1\n  }),\n  month: buildLocalizeFn({\n    values: monthValues,\n    defaultWidth: \"wide\"\n  }),\n  day: buildLocalizeFn({\n    values: dayValues,\n    defaultWidth: \"wide\"\n  }),\n  dayPeriod: buildLocalizeFn({\n    values: dayPeriodValues,\n    defaultWidth: \"wide\",\n    formattingValues: formattingDayPeriodValues,\n    defaultFormattingWidth: \"wide\"\n  })\n};\nexport {\n  localize\n};\n","function buildMatchFn(args) {\n  return (string, options = {}) => {\n    const width = options.width;\n    const matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n    const matchResult = string.match(matchPattern);\n    if (!matchResult) {\n      return null;\n    }\n    const matchedString = matchResult[0];\n    const parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n    const key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString)) : (\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type\n      findKey(parsePatterns, (pattern) => pattern.test(matchedString))\n    );\n    let value;\n    value = args.valueCallback ? args.valueCallback(key) : key;\n    value = options.valueCallback ? (\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type\n      options.valueCallback(value)\n    ) : value;\n    const rest = string.slice(matchedString.length);\n    return { value, rest };\n  };\n}\nfunction findKey(object, predicate) {\n  for (const key in object) {\n    if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {\n      return key;\n    }\n  }\n  return void 0;\n}\nfunction findIndex(array, predicate) {\n  for (let key = 0; key < array.length; key++) {\n    if (predicate(array[key])) {\n      return key;\n    }\n  }\n  return void 0;\n}\nexport {\n  buildMatchFn\n};\n","function buildMatchPatternFn(args) {\n  return (string, options = {}) => {\n    const matchResult = string.match(args.matchPattern);\n    if (!matchResult)\n      return null;\n    const matchedString = matchResult[0];\n    const parseResult = string.match(args.parsePattern);\n    if (!parseResult)\n      return null;\n    let value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n    value = options.valueCallback ? options.valueCallback(value) : value;\n    const rest = string.slice(matchedString.length);\n    return { value, rest };\n  };\n}\nexport {\n  buildMatchPatternFn\n};\n","import { buildMatchFn } from \"../../_lib/buildMatchFn.js\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.js\";\nconst matchOrdinalNumberPattern = /^(\\d+)(일|번째)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\nconst matchEraPatterns = {\n  narrow: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n  abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n  wide: /^(기원전|서기)/i\n};\nconst parseEraPatterns = {\n  any: [/^(bc|기원전)/i, /^(ad|서기)/i]\n};\nconst matchQuarterPatterns = {\n  narrow: /^[1234]/i,\n  abbreviated: /^q[1234]/i,\n  wide: /^[1234]사?분기/i\n};\nconst parseQuarterPatterns = {\n  any: [/1/i, /2/i, /3/i, /4/i]\n};\nconst matchMonthPatterns = {\n  narrow: /^(1[012]|[123456789])/,\n  abbreviated: /^(1[012]|[123456789])월/i,\n  wide: /^(1[012]|[123456789])월/i\n};\nconst parseMonthPatterns = {\n  any: [\n    /^1월?$/,\n    /^2/,\n    /^3/,\n    /^4/,\n    /^5/,\n    /^6/,\n    /^7/,\n    /^8/,\n    /^9/,\n    /^10/,\n    /^11/,\n    /^12/\n  ]\n};\nconst matchDayPatterns = {\n  narrow: /^[일월화수목금토]/,\n  short: /^[일월화수목금토]/,\n  abbreviated: /^[일월화수목금토]/,\n  wide: /^[일월화수목금토]요일/\n};\nconst parseDayPatterns = {\n  any: [/^일/, /^월/, /^화/, /^수/, /^목/, /^금/, /^토/]\n};\nconst matchDayPeriodPatterns = {\n  any: /^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i\n};\nconst parseDayPeriodPatterns = {\n  any: {\n    am: /^(am|오전)/i,\n    pm: /^(pm|오후)/i,\n    midnight: /^자정/i,\n    noon: /^정오/i,\n    morning: /^아침/i,\n    afternoon: /^오후/i,\n    evening: /^저녁/i,\n    night: /^밤/i\n  }\n};\nconst match = {\n  ordinalNumber: buildMatchPatternFn({\n    matchPattern: matchOrdinalNumberPattern,\n    parsePattern: parseOrdinalNumberPattern,\n    valueCallback: (value) => parseInt(value, 10)\n  }),\n  era: buildMatchFn({\n    matchPatterns: matchEraPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseEraPatterns,\n    defaultParseWidth: \"any\"\n  }),\n  quarter: buildMatchFn({\n    matchPatterns: matchQuarterPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseQuarterPatterns,\n    defaultParseWidth: \"any\",\n    valueCallback: (index) => index + 1\n  }),\n  month: buildMatchFn({\n    matchPatterns: matchMonthPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseMonthPatterns,\n    defaultParseWidth: \"any\"\n  }),\n  day: buildMatchFn({\n    matchPatterns: matchDayPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseDayPatterns,\n    defaultParseWidth: \"any\"\n  }),\n  dayPeriod: buildMatchFn({\n    matchPatterns: matchDayPeriodPatterns,\n    defaultMatchWidth: \"any\",\n    parsePatterns: parseDayPeriodPatterns,\n    defaultParseWidth: \"any\"\n  })\n};\nexport {\n  match\n};\n","import { formatDistance } from \"./ko/_lib/formatDistance.js\";\nimport { formatLong } from \"./ko/_lib/formatLong.js\";\nimport { formatRelative } from \"./ko/_lib/formatRelative.js\";\nimport { localize } from \"./ko/_lib/localize.js\";\nimport { match } from \"./ko/_lib/match.js\";\nconst ko = {\n  code: \"ko\",\n  formatDistance,\n  formatLong,\n  formatRelative,\n  localize,\n  match,\n  options: {\n    weekStartsOn: 0,\n    firstWeekContainsDate: 1\n  }\n};\nexport {\n  ko as default,\n  ko\n};\n","let defaultOptions = {};\nfunction getDefaultOptions() {\n  return defaultOptions;\n}\nexport {\n  getDefaultOptions\n};\n","const millisecondsInWeek = 6048e5;\nconst millisecondsInDay = 864e5;\nconst millisecondsInMinute = 6e4;\nconst millisecondsInHour = 36e5;\nconst millisecondsInSecond = 1e3;\nexport {\n  millisecondsInDay,\n  millisecondsInHour,\n  millisecondsInMinute,\n  millisecondsInSecond,\n  millisecondsInWeek\n};\n","import { toDate } from \"./toDate.js\";\nfunction startOfDay(date) {\n  const _date = toDate(date);\n  _date.setHours(0, 0, 0, 0);\n  return _date;\n}\nexport {\n  startOfDay as default,\n  startOfDay\n};\n","import { toDate } from \"../toDate.js\";\nfunction getTimezoneOffsetInMilliseconds(date) {\n  const _date = toDate(date);\n  const utcDate = new Date(\n    Date.UTC(\n      _date.getFullYear(),\n      _date.getMonth(),\n      _date.getDate(),\n      _date.getHours(),\n      _date.getMinutes(),\n      _date.getSeconds(),\n      _date.getMilliseconds()\n    )\n  );\n  utcDate.setUTCFullYear(_date.getFullYear());\n  return +date - +utcDate;\n}\nexport {\n  getTimezoneOffsetInMilliseconds\n};\n","import { millisecondsInDay } from \"./constants.js\";\nimport { startOfDay } from \"./startOfDay.js\";\nimport { getTimezoneOffsetInMilliseconds } from \"./_lib/getTimezoneOffsetInMilliseconds.js\";\nfunction differenceInCalendarDays(dateLeft, dateRight) {\n  const startOfDayLeft = startOfDay(dateLeft);\n  const startOfDayRight = startOfDay(dateRight);\n  const timestampLeft = +startOfDayLeft - getTimezoneOffsetInMilliseconds(startOfDayLeft);\n  const timestampRight = +startOfDayRight - getTimezoneOffsetInMilliseconds(startOfDayRight);\n  return Math.round((timestampLeft - timestampRight) / millisecondsInDay);\n}\nexport {\n  differenceInCalendarDays as default,\n  differenceInCalendarDays\n};\n","function constructFrom(date, value) {\n  if (date instanceof Date) {\n    return new date.constructor(value);\n  } else {\n    return new Date(value);\n  }\n}\nexport {\n  constructFrom,\n  constructFrom as default\n};\n","import { toDate } from \"./toDate.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nfunction startOfYear(date) {\n  const cleanDate = toDate(date);\n  const _date = constructFrom(date, 0);\n  _date.setFullYear(cleanDate.getFullYear(), 0, 1);\n  _date.setHours(0, 0, 0, 0);\n  return _date;\n}\nexport {\n  startOfYear as default,\n  startOfYear\n};\n","import { differenceInCalendarDays } from \"./differenceInCalendarDays.js\";\nimport { startOfYear } from \"./startOfYear.js\";\nimport { toDate } from \"./toDate.js\";\nfunction getDayOfYear(date) {\n  const _date = toDate(date);\n  const diff = differenceInCalendarDays(_date, startOfYear(_date));\n  const dayOfYear = diff + 1;\n  return dayOfYear;\n}\nexport {\n  getDayOfYear as default,\n  getDayOfYear\n};\n","import { toDate } from \"./toDate.js\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nfunction startOfWeek(date, options) {\n  var _a, _b, _c, _d;\n  const defaultOptions = getDefaultOptions();\n  const weekStartsOn = (options == null ? void 0 : options.weekStartsOn) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.weekStartsOn) ?? defaultOptions.weekStartsOn ?? ((_d = (_c = defaultOptions.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.weekStartsOn) ?? 0;\n  const _date = toDate(date);\n  const day = _date.getDay();\n  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n  _date.setDate(_date.getDate() - diff);\n  _date.setHours(0, 0, 0, 0);\n  return _date;\n}\nexport {\n  startOfWeek as default,\n  startOfWeek\n};\n","import { startOfWeek } from \"./startOfWeek.js\";\nfunction startOfISOWeek(date) {\n  return startOfWeek(date, { weekStartsOn: 1 });\n}\nexport {\n  startOfISOWeek as default,\n  startOfISOWeek\n};\n","import { constructFrom } from \"./constructFrom.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\nimport { toDate } from \"./toDate.js\";\nfunction getISOWeekYear(date) {\n  const _date = toDate(date);\n  const year = _date.getFullYear();\n  const fourthOfJanuaryOfNextYear = constructFrom(date, 0);\n  fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);\n  fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);\n  const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);\n  const fourthOfJanuaryOfThisYear = constructFrom(date, 0);\n  fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);\n  fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);\n  const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);\n  if (_date.getTime() >= startOfNextYear.getTime()) {\n    return year + 1;\n  } else if (_date.getTime() >= startOfThisYear.getTime()) {\n    return year;\n  } else {\n    return year - 1;\n  }\n}\nexport {\n  getISOWeekYear as default,\n  getISOWeekYear\n};\n","import { getISOWeekYear } from \"./getISOWeekYear.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nfunction startOfISOWeekYear(date) {\n  const year = getISOWeekYear(date);\n  const fourthOfJanuary = constructFrom(date, 0);\n  fourthOfJanuary.setFullYear(year, 0, 4);\n  fourthOfJanuary.setHours(0, 0, 0, 0);\n  return startOfISOWeek(fourthOfJanuary);\n}\nexport {\n  startOfISOWeekYear as default,\n  startOfISOWeekYear\n};\n","import { millisecondsInWeek } from \"./constants.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\nimport { startOfISOWeekYear } from \"./startOfISOWeekYear.js\";\nimport { toDate } from \"./toDate.js\";\nfunction getISOWeek(date) {\n  const _date = toDate(date);\n  const diff = +startOfISOWeek(_date) - +startOfISOWeekYear(_date);\n  return Math.round(diff / millisecondsInWeek) + 1;\n}\nexport {\n  getISOWeek as default,\n  getISOWeek\n};\n","import { constructFrom } from \"./constructFrom.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\nimport { toDate } from \"./toDate.js\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nfunction getWeekYear(date, options) {\n  var _a, _b, _c, _d;\n  const _date = toDate(date);\n  const year = _date.getFullYear();\n  const defaultOptions = getDefaultOptions();\n  const firstWeekContainsDate = (options == null ? void 0 : options.firstWeekContainsDate) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? defaultOptions.firstWeekContainsDate ?? ((_d = (_c = defaultOptions.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.firstWeekContainsDate) ?? 1;\n  const firstWeekOfNextYear = constructFrom(date, 0);\n  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);\n  firstWeekOfNextYear.setHours(0, 0, 0, 0);\n  const startOfNextYear = startOfWeek(firstWeekOfNextYear, options);\n  const firstWeekOfThisYear = constructFrom(date, 0);\n  firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate);\n  firstWeekOfThisYear.setHours(0, 0, 0, 0);\n  const startOfThisYear = startOfWeek(firstWeekOfThisYear, options);\n  if (_date.getTime() >= startOfNextYear.getTime()) {\n    return year + 1;\n  } else if (_date.getTime() >= startOfThisYear.getTime()) {\n    return year;\n  } else {\n    return year - 1;\n  }\n}\nexport {\n  getWeekYear as default,\n  getWeekYear\n};\n","import { constructFrom } from \"./constructFrom.js\";\nimport { getWeekYear } from \"./getWeekYear.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nfunction startOfWeekYear(date, options) {\n  var _a, _b, _c, _d;\n  const defaultOptions = getDefaultOptions();\n  const firstWeekContainsDate = (options == null ? void 0 : options.firstWeekContainsDate) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? defaultOptions.firstWeekContainsDate ?? ((_d = (_c = defaultOptions.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.firstWeekContainsDate) ?? 1;\n  const year = getWeekYear(date, options);\n  const firstWeek = constructFrom(date, 0);\n  firstWeek.setFullYear(year, 0, firstWeekContainsDate);\n  firstWeek.setHours(0, 0, 0, 0);\n  const _date = startOfWeek(firstWeek, options);\n  return _date;\n}\nexport {\n  startOfWeekYear as default,\n  startOfWeekYear\n};\n","import { millisecondsInWeek } from \"./constants.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\nimport { startOfWeekYear } from \"./startOfWeekYear.js\";\nimport { toDate } from \"./toDate.js\";\nfunction getWeek(date, options) {\n  const _date = toDate(date);\n  const diff = +startOfWeek(_date, options) - +startOfWeekYear(_date, options);\n  return Math.round(diff / millisecondsInWeek) + 1;\n}\nexport {\n  getWeek as default,\n  getWeek\n};\n","function addLeadingZeros(number, targetLength) {\n  const sign = number < 0 ? \"-\" : \"\";\n  const output = Math.abs(number).toString().padStart(targetLength, \"0\");\n  return sign + output;\n}\nexport {\n  addLeadingZeros\n};\n","import { addLeadingZeros } from \"../addLeadingZeros.js\";\nconst lightFormatters = {\n  // Year\n  y(date, token) {\n    const signedYear = date.getFullYear();\n    const year = signedYear > 0 ? signedYear : 1 - signedYear;\n    return addLeadingZeros(token === \"yy\" ? year % 100 : year, token.length);\n  },\n  // Month\n  M(date, token) {\n    const month = date.getMonth();\n    return token === \"M\" ? String(month + 1) : addLeadingZeros(month + 1, 2);\n  },\n  // Day of the month\n  d(date, token) {\n    return addLeadingZeros(date.getDate(), token.length);\n  },\n  // AM or PM\n  a(date, token) {\n    const dayPeriodEnumValue = date.getHours() / 12 >= 1 ? \"pm\" : \"am\";\n    switch (token) {\n      case \"a\":\n      case \"aa\":\n        return dayPeriodEnumValue.toUpperCase();\n      case \"aaa\":\n        return dayPeriodEnumValue;\n      case \"aaaaa\":\n        return dayPeriodEnumValue[0];\n      case \"aaaa\":\n      default:\n        return dayPeriodEnumValue === \"am\" ? \"a.m.\" : \"p.m.\";\n    }\n  },\n  // Hour [1-12]\n  h(date, token) {\n    return addLeadingZeros(date.getHours() % 12 || 12, token.length);\n  },\n  // Hour [0-23]\n  H(date, token) {\n    return addLeadingZeros(date.getHours(), token.length);\n  },\n  // Minute\n  m(date, token) {\n    return addLeadingZeros(date.getMinutes(), token.length);\n  },\n  // Second\n  s(date, token) {\n    return addLeadingZeros(date.getSeconds(), token.length);\n  },\n  // Fraction of second\n  S(date, token) {\n    const numberOfDigits = token.length;\n    const milliseconds = date.getMilliseconds();\n    const fractionalSeconds = Math.trunc(\n      milliseconds * Math.pow(10, numberOfDigits - 3)\n    );\n    return addLeadingZeros(fractionalSeconds, token.length);\n  }\n};\nexport {\n  lightFormatters\n};\n","import { getDayOfYear } from \"../../getDayOfYear.js\";\nimport { getISOWeek } from \"../../getISOWeek.js\";\nimport { getISOWeekYear } from \"../../getISOWeekYear.js\";\nimport { getWeek } from \"../../getWeek.js\";\nimport { getWeekYear } from \"../../getWeekYear.js\";\nimport { addLeadingZeros } from \"../addLeadingZeros.js\";\nimport { lightFormatters } from \"./lightFormatters.js\";\nconst dayPeriodEnum = {\n  am: \"am\",\n  pm: \"pm\",\n  midnight: \"midnight\",\n  noon: \"noon\",\n  morning: \"morning\",\n  afternoon: \"afternoon\",\n  evening: \"evening\",\n  night: \"night\"\n};\nconst formatters = {\n  // Era\n  G: function(date, token, localize) {\n    const era = date.getFullYear() > 0 ? 1 : 0;\n    switch (token) {\n      case \"G\":\n      case \"GG\":\n      case \"GGG\":\n        return localize.era(era, { width: \"abbreviated\" });\n      case \"GGGGG\":\n        return localize.era(era, { width: \"narrow\" });\n      case \"GGGG\":\n      default:\n        return localize.era(era, { width: \"wide\" });\n    }\n  },\n  // Year\n  y: function(date, token, localize) {\n    if (token === \"yo\") {\n      const signedYear = date.getFullYear();\n      const year = signedYear > 0 ? signedYear : 1 - signedYear;\n      return localize.ordinalNumber(year, { unit: \"year\" });\n    }\n    return lightFormatters.y(date, token);\n  },\n  // Local week-numbering year\n  Y: function(date, token, localize, options) {\n    const signedWeekYear = getWeekYear(date, options);\n    const weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear;\n    if (token === \"YY\") {\n      const twoDigitYear = weekYear % 100;\n      return addLeadingZeros(twoDigitYear, 2);\n    }\n    if (token === \"Yo\") {\n      return localize.ordinalNumber(weekYear, { unit: \"year\" });\n    }\n    return addLeadingZeros(weekYear, token.length);\n  },\n  // ISO week-numbering year\n  R: function(date, token) {\n    const isoWeekYear = getISOWeekYear(date);\n    return addLeadingZeros(isoWeekYear, token.length);\n  },\n  // Extended year. This is a single number designating the year of this calendar system.\n  // The main difference between `y` and `u` localizers are B.C. years:\n  // | Year | `y` | `u` |\n  // |------|-----|-----|\n  // | AC 1 |   1 |   1 |\n  // | BC 1 |   1 |   0 |\n  // | BC 2 |   2 |  -1 |\n  // Also `yy` always returns the last two digits of a year,\n  // while `uu` pads single digit years to 2 characters and returns other years unchanged.\n  u: function(date, token) {\n    const year = date.getFullYear();\n    return addLeadingZeros(year, token.length);\n  },\n  // Quarter\n  Q: function(date, token, localize) {\n    const quarter = Math.ceil((date.getMonth() + 1) / 3);\n    switch (token) {\n      case \"Q\":\n        return String(quarter);\n      case \"QQ\":\n        return addLeadingZeros(quarter, 2);\n      case \"Qo\":\n        return localize.ordinalNumber(quarter, { unit: \"quarter\" });\n      case \"QQQ\":\n        return localize.quarter(quarter, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"QQQQQ\":\n        return localize.quarter(quarter, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"QQQQ\":\n      default:\n        return localize.quarter(quarter, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // Stand-alone quarter\n  q: function(date, token, localize) {\n    const quarter = Math.ceil((date.getMonth() + 1) / 3);\n    switch (token) {\n      case \"q\":\n        return String(quarter);\n      case \"qq\":\n        return addLeadingZeros(quarter, 2);\n      case \"qo\":\n        return localize.ordinalNumber(quarter, { unit: \"quarter\" });\n      case \"qqq\":\n        return localize.quarter(quarter, {\n          width: \"abbreviated\",\n          context: \"standalone\"\n        });\n      case \"qqqqq\":\n        return localize.quarter(quarter, {\n          width: \"narrow\",\n          context: \"standalone\"\n        });\n      case \"qqqq\":\n      default:\n        return localize.quarter(quarter, {\n          width: \"wide\",\n          context: \"standalone\"\n        });\n    }\n  },\n  // Month\n  M: function(date, token, localize) {\n    const month = date.getMonth();\n    switch (token) {\n      case \"M\":\n      case \"MM\":\n        return lightFormatters.M(date, token);\n      case \"Mo\":\n        return localize.ordinalNumber(month + 1, { unit: \"month\" });\n      case \"MMM\":\n        return localize.month(month, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"MMMMM\":\n        return localize.month(month, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"MMMM\":\n      default:\n        return localize.month(month, { width: \"wide\", context: \"formatting\" });\n    }\n  },\n  // Stand-alone month\n  L: function(date, token, localize) {\n    const month = date.getMonth();\n    switch (token) {\n      case \"L\":\n        return String(month + 1);\n      case \"LL\":\n        return addLeadingZeros(month + 1, 2);\n      case \"Lo\":\n        return localize.ordinalNumber(month + 1, { unit: \"month\" });\n      case \"LLL\":\n        return localize.month(month, {\n          width: \"abbreviated\",\n          context: \"standalone\"\n        });\n      case \"LLLLL\":\n        return localize.month(month, {\n          width: \"narrow\",\n          context: \"standalone\"\n        });\n      case \"LLLL\":\n      default:\n        return localize.month(month, { width: \"wide\", context: \"standalone\" });\n    }\n  },\n  // Local week of year\n  w: function(date, token, localize, options) {\n    const week = getWeek(date, options);\n    if (token === \"wo\") {\n      return localize.ordinalNumber(week, { unit: \"week\" });\n    }\n    return addLeadingZeros(week, token.length);\n  },\n  // ISO week of year\n  I: function(date, token, localize) {\n    const isoWeek = getISOWeek(date);\n    if (token === \"Io\") {\n      return localize.ordinalNumber(isoWeek, { unit: \"week\" });\n    }\n    return addLeadingZeros(isoWeek, token.length);\n  },\n  // Day of the month\n  d: function(date, token, localize) {\n    if (token === \"do\") {\n      return localize.ordinalNumber(date.getDate(), { unit: \"date\" });\n    }\n    return lightFormatters.d(date, token);\n  },\n  // Day of year\n  D: function(date, token, localize) {\n    const dayOfYear = getDayOfYear(date);\n    if (token === \"Do\") {\n      return localize.ordinalNumber(dayOfYear, { unit: \"dayOfYear\" });\n    }\n    return addLeadingZeros(dayOfYear, token.length);\n  },\n  // Day of week\n  E: function(date, token, localize) {\n    const dayOfWeek = date.getDay();\n    switch (token) {\n      case \"E\":\n      case \"EE\":\n      case \"EEE\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"EEEEE\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"EEEEEE\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"formatting\"\n        });\n      case \"EEEE\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // Local day of week\n  e: function(date, token, localize, options) {\n    const dayOfWeek = date.getDay();\n    const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n    switch (token) {\n      case \"e\":\n        return String(localDayOfWeek);\n      case \"ee\":\n        return addLeadingZeros(localDayOfWeek, 2);\n      case \"eo\":\n        return localize.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n      case \"eee\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"eeeee\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"eeeeee\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"formatting\"\n        });\n      case \"eeee\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // Stand-alone local day of week\n  c: function(date, token, localize, options) {\n    const dayOfWeek = date.getDay();\n    const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n    switch (token) {\n      case \"c\":\n        return String(localDayOfWeek);\n      case \"cc\":\n        return addLeadingZeros(localDayOfWeek, token.length);\n      case \"co\":\n        return localize.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n      case \"ccc\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"standalone\"\n        });\n      case \"ccccc\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"standalone\"\n        });\n      case \"cccccc\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"standalone\"\n        });\n      case \"cccc\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"standalone\"\n        });\n    }\n  },\n  // ISO day of week\n  i: function(date, token, localize) {\n    const dayOfWeek = date.getDay();\n    const isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n    switch (token) {\n      case \"i\":\n        return String(isoDayOfWeek);\n      case \"ii\":\n        return addLeadingZeros(isoDayOfWeek, token.length);\n      case \"io\":\n        return localize.ordinalNumber(isoDayOfWeek, { unit: \"day\" });\n      case \"iii\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"iiiii\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"iiiiii\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"formatting\"\n        });\n      case \"iiii\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // AM or PM\n  a: function(date, token, localize) {\n    const hours = date.getHours();\n    const dayPeriodEnumValue = hours / 12 >= 1 ? \"pm\" : \"am\";\n    switch (token) {\n      case \"a\":\n      case \"aa\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"aaa\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        }).toLowerCase();\n      case \"aaaaa\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"aaaa\":\n      default:\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // AM, PM, midnight, noon\n  b: function(date, token, localize) {\n    const hours = date.getHours();\n    let dayPeriodEnumValue;\n    if (hours === 12) {\n      dayPeriodEnumValue = dayPeriodEnum.noon;\n    } else if (hours === 0) {\n      dayPeriodEnumValue = dayPeriodEnum.midnight;\n    } else {\n      dayPeriodEnumValue = hours / 12 >= 1 ? \"pm\" : \"am\";\n    }\n    switch (token) {\n      case \"b\":\n      case \"bb\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"bbb\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        }).toLowerCase();\n      case \"bbbbb\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"bbbb\":\n      default:\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // in the morning, in the afternoon, in the evening, at night\n  B: function(date, token, localize) {\n    const hours = date.getHours();\n    let dayPeriodEnumValue;\n    if (hours >= 17) {\n      dayPeriodEnumValue = dayPeriodEnum.evening;\n    } else if (hours >= 12) {\n      dayPeriodEnumValue = dayPeriodEnum.afternoon;\n    } else if (hours >= 4) {\n      dayPeriodEnumValue = dayPeriodEnum.morning;\n    } else {\n      dayPeriodEnumValue = dayPeriodEnum.night;\n    }\n    switch (token) {\n      case \"B\":\n      case \"BB\":\n      case \"BBB\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"BBBBB\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"BBBB\":\n      default:\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // Hour [1-12]\n  h: function(date, token, localize) {\n    if (token === \"ho\") {\n      let hours = date.getHours() % 12;\n      if (hours === 0)\n        hours = 12;\n      return localize.ordinalNumber(hours, { unit: \"hour\" });\n    }\n    return lightFormatters.h(date, token);\n  },\n  // Hour [0-23]\n  H: function(date, token, localize) {\n    if (token === \"Ho\") {\n      return localize.ordinalNumber(date.getHours(), { unit: \"hour\" });\n    }\n    return lightFormatters.H(date, token);\n  },\n  // Hour [0-11]\n  K: function(date, token, localize) {\n    const hours = date.getHours() % 12;\n    if (token === \"Ko\") {\n      return localize.ordinalNumber(hours, { unit: \"hour\" });\n    }\n    return addLeadingZeros(hours, token.length);\n  },\n  // Hour [1-24]\n  k: function(date, token, localize) {\n    let hours = date.getHours();\n    if (hours === 0)\n      hours = 24;\n    if (token === \"ko\") {\n      return localize.ordinalNumber(hours, { unit: \"hour\" });\n    }\n    return addLeadingZeros(hours, token.length);\n  },\n  // Minute\n  m: function(date, token, localize) {\n    if (token === \"mo\") {\n      return localize.ordinalNumber(date.getMinutes(), { unit: \"minute\" });\n    }\n    return lightFormatters.m(date, token);\n  },\n  // Second\n  s: function(date, token, localize) {\n    if (token === \"so\") {\n      return localize.ordinalNumber(date.getSeconds(), { unit: \"second\" });\n    }\n    return lightFormatters.s(date, token);\n  },\n  // Fraction of second\n  S: function(date, token) {\n    return lightFormatters.S(date, token);\n  },\n  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)\n  X: function(date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n    if (timezoneOffset === 0) {\n      return \"Z\";\n    }\n    switch (token) {\n      case \"X\":\n        return formatTimezoneWithOptionalMinutes(timezoneOffset);\n      case \"XXXX\":\n      case \"XX\":\n        return formatTimezone(timezoneOffset);\n      case \"XXXXX\":\n      case \"XXX\":\n      default:\n        return formatTimezone(timezoneOffset, \":\");\n    }\n  },\n  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)\n  x: function(date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n    switch (token) {\n      case \"x\":\n        return formatTimezoneWithOptionalMinutes(timezoneOffset);\n      case \"xxxx\":\n      case \"xx\":\n        return formatTimezone(timezoneOffset);\n      case \"xxxxx\":\n      case \"xxx\":\n      default:\n        return formatTimezone(timezoneOffset, \":\");\n    }\n  },\n  // Timezone (GMT)\n  O: function(date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n    switch (token) {\n      case \"O\":\n      case \"OO\":\n      case \"OOO\":\n        return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n      case \"OOOO\":\n      default:\n        return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n    }\n  },\n  // Timezone (specific non-location)\n  z: function(date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n    switch (token) {\n      case \"z\":\n      case \"zz\":\n      case \"zzz\":\n        return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n      case \"zzzz\":\n      default:\n        return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n    }\n  },\n  // Seconds timestamp\n  t: function(date, token, _localize) {\n    const timestamp = Math.trunc(date.getTime() / 1e3);\n    return addLeadingZeros(timestamp, token.length);\n  },\n  // Milliseconds timestamp\n  T: function(date, token, _localize) {\n    const timestamp = date.getTime();\n    return addLeadingZeros(timestamp, token.length);\n  }\n};\nfunction formatTimezoneShort(offset, delimiter = \"\") {\n  const sign = offset > 0 ? \"-\" : \"+\";\n  const absOffset = Math.abs(offset);\n  const hours = Math.trunc(absOffset / 60);\n  const minutes = absOffset % 60;\n  if (minutes === 0) {\n    return sign + String(hours);\n  }\n  return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\nfunction formatTimezoneWithOptionalMinutes(offset, delimiter) {\n  if (offset % 60 === 0) {\n    const sign = offset > 0 ? \"-\" : \"+\";\n    return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n  }\n  return formatTimezone(offset, delimiter);\n}\nfunction formatTimezone(offset, delimiter = \"\") {\n  const sign = offset > 0 ? \"-\" : \"+\";\n  const absOffset = Math.abs(offset);\n  const hours = addLeadingZeros(Math.trunc(absOffset / 60), 2);\n  const minutes = addLeadingZeros(absOffset % 60, 2);\n  return sign + hours + delimiter + minutes;\n}\nexport {\n  formatters\n};\n","const dateLongFormatter = (pattern, formatLong) => {\n  switch (pattern) {\n    case \"P\":\n      return formatLong.date({ width: \"short\" });\n    case \"PP\":\n      return formatLong.date({ width: \"medium\" });\n    case \"PPP\":\n      return formatLong.date({ width: \"long\" });\n    case \"PPPP\":\n    default:\n      return formatLong.date({ width: \"full\" });\n  }\n};\nconst timeLongFormatter = (pattern, formatLong) => {\n  switch (pattern) {\n    case \"p\":\n      return formatLong.time({ width: \"short\" });\n    case \"pp\":\n      return formatLong.time({ width: \"medium\" });\n    case \"ppp\":\n      return formatLong.time({ width: \"long\" });\n    case \"pppp\":\n    default:\n      return formatLong.time({ width: \"full\" });\n  }\n};\nconst dateTimeLongFormatter = (pattern, formatLong) => {\n  const matchResult = pattern.match(/(P+)(p+)?/) || [];\n  const datePattern = matchResult[1];\n  const timePattern = matchResult[2];\n  if (!timePattern) {\n    return dateLongFormatter(pattern, formatLong);\n  }\n  let dateTimeFormat;\n  switch (datePattern) {\n    case \"P\":\n      dateTimeFormat = formatLong.dateTime({ width: \"short\" });\n      break;\n    case \"PP\":\n      dateTimeFormat = formatLong.dateTime({ width: \"medium\" });\n      break;\n    case \"PPP\":\n      dateTimeFormat = formatLong.dateTime({ width: \"long\" });\n      break;\n    case \"PPPP\":\n    default:\n      dateTimeFormat = formatLong.dateTime({ width: \"full\" });\n      break;\n  }\n  return dateTimeFormat.replace(\"{{date}}\", dateLongFormatter(datePattern, formatLong)).replace(\"{{time}}\", timeLongFormatter(timePattern, formatLong));\n};\nconst longFormatters = {\n  p: timeLongFormatter,\n  P: dateTimeLongFormatter\n};\nexport {\n  longFormatters\n};\n","const dayOfYearTokenRE = /^D+$/;\nconst weekYearTokenRE = /^Y+$/;\nconst throwTokens = [\"D\", \"DD\", \"YY\", \"YYYY\"];\nfunction isProtectedDayOfYearToken(token) {\n  return dayOfYearTokenRE.test(token);\n}\nfunction isProtectedWeekYearToken(token) {\n  return weekYearTokenRE.test(token);\n}\nfunction warnOrThrowProtectedError(token, format, input) {\n  const _message = message(token, format, input);\n  console.warn(_message);\n  if (throwTokens.includes(token))\n    throw new RangeError(_message);\n}\nfunction message(token, format, input) {\n  const subject = token[0] === \"Y\" ? \"years\" : \"days of the month\";\n  return `Use \\`${token.toLowerCase()}\\` instead of \\`${token}\\` (in \\`${format}\\`) for formatting ${subject} to the input \\`${input}\\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;\n}\nexport {\n  isProtectedDayOfYearToken,\n  isProtectedWeekYearToken,\n  warnOrThrowProtectedError\n};\n","function isDate(value) {\n  return value instanceof Date || typeof value === \"object\" && Object.prototype.toString.call(value) === \"[object Date]\";\n}\nexport {\n  isDate as default,\n  isDate\n};\n","import { isDate } from \"./isDate.js\";\nimport { toDate } from \"./toDate.js\";\nfunction isValid(date) {\n  if (!isDate(date) && typeof date !== \"number\") {\n    return false;\n  }\n  const _date = toDate(date);\n  return !isNaN(Number(_date));\n}\nexport {\n  isValid as default,\n  isValid\n};\n","const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"less than a second\",\n    other: \"less than {{count}} seconds\"\n  },\n  xSeconds: {\n    one: \"1 second\",\n    other: \"{{count}} seconds\"\n  },\n  halfAMinute: \"half a minute\",\n  lessThanXMinutes: {\n    one: \"less than a minute\",\n    other: \"less than {{count}} minutes\"\n  },\n  xMinutes: {\n    one: \"1 minute\",\n    other: \"{{count}} minutes\"\n  },\n  aboutXHours: {\n    one: \"about 1 hour\",\n    other: \"about {{count}} hours\"\n  },\n  xHours: {\n    one: \"1 hour\",\n    other: \"{{count}} hours\"\n  },\n  xDays: {\n    one: \"1 day\",\n    other: \"{{count}} days\"\n  },\n  aboutXWeeks: {\n    one: \"about 1 week\",\n    other: \"about {{count}} weeks\"\n  },\n  xWeeks: {\n    one: \"1 week\",\n    other: \"{{count}} weeks\"\n  },\n  aboutXMonths: {\n    one: \"about 1 month\",\n    other: \"about {{count}} months\"\n  },\n  xMonths: {\n    one: \"1 month\",\n    other: \"{{count}} months\"\n  },\n  aboutXYears: {\n    one: \"about 1 year\",\n    other: \"about {{count}} years\"\n  },\n  xYears: {\n    one: \"1 year\",\n    other: \"{{count}} years\"\n  },\n  overXYears: {\n    one: \"over 1 year\",\n    other: \"over {{count}} years\"\n  },\n  almostXYears: {\n    one: \"almost 1 year\",\n    other: \"almost {{count}} years\"\n  }\n};\nconst formatDistance = (token, count, options) => {\n  let result;\n  const tokenValue = formatDistanceLocale[token];\n  if (typeof tokenValue === \"string\") {\n    result = tokenValue;\n  } else if (count === 1) {\n    result = tokenValue.one;\n  } else {\n    result = tokenValue.other.replace(\"{{count}}\", count.toString());\n  }\n  if (options == null ? void 0 : options.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return \"in \" + result;\n    } else {\n      return result + \" ago\";\n    }\n  }\n  return result;\n};\nexport {\n  formatDistance\n};\n","import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\nconst dateFormats = {\n  full: \"EEEE, MMMM do, y\",\n  long: \"MMMM do, y\",\n  medium: \"MMM d, y\",\n  short: \"MM/dd/yyyy\"\n};\nconst timeFormats = {\n  full: \"h:mm:ss a zzzz\",\n  long: \"h:mm:ss a z\",\n  medium: \"h:mm:ss a\",\n  short: \"h:mm a\"\n};\nconst dateTimeFormats = {\n  full: \"{{date}} 'at' {{time}}\",\n  long: \"{{date}} 'at' {{time}}\",\n  medium: \"{{date}}, {{time}}\",\n  short: \"{{date}}, {{time}}\"\n};\nconst formatLong = {\n  date: buildFormatLongFn({\n    formats: dateFormats,\n    defaultWidth: \"full\"\n  }),\n  time: buildFormatLongFn({\n    formats: timeFormats,\n    defaultWidth: \"full\"\n  }),\n  dateTime: buildFormatLongFn({\n    formats: dateTimeFormats,\n    defaultWidth: \"full\"\n  })\n};\nexport {\n  formatLong\n};\n","const formatRelativeLocale = {\n  lastWeek: \"'last' eeee 'at' p\",\n  yesterday: \"'yesterday at' p\",\n  today: \"'today at' p\",\n  tomorrow: \"'tomorrow at' p\",\n  nextWeek: \"eeee 'at' p\",\n  other: \"P\"\n};\nconst formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];\nexport {\n  formatRelative\n};\n","import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.js\";\nconst eraValues = {\n  narrow: [\"B\", \"A\"],\n  abbreviated: [\"BC\", \"AD\"],\n  wide: [\"Before Christ\", \"Anno Domini\"]\n};\nconst quarterValues = {\n  narrow: [\"1\", \"2\", \"3\", \"4\"],\n  abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n  wide: [\"1st quarter\", \"2nd quarter\", \"3rd quarter\", \"4th quarter\"]\n};\nconst monthValues = {\n  narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n  abbreviated: [\n    \"Jan\",\n    \"Feb\",\n    \"Mar\",\n    \"Apr\",\n    \"May\",\n    \"Jun\",\n    \"Jul\",\n    \"Aug\",\n    \"Sep\",\n    \"Oct\",\n    \"Nov\",\n    \"Dec\"\n  ],\n  wide: [\n    \"January\",\n    \"February\",\n    \"March\",\n    \"April\",\n    \"May\",\n    \"June\",\n    \"July\",\n    \"August\",\n    \"September\",\n    \"October\",\n    \"November\",\n    \"December\"\n  ]\n};\nconst dayValues = {\n  narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n  short: [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"],\n  abbreviated: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n  wide: [\n    \"Sunday\",\n    \"Monday\",\n    \"Tuesday\",\n    \"Wednesday\",\n    \"Thursday\",\n    \"Friday\",\n    \"Saturday\"\n  ]\n};\nconst dayPeriodValues = {\n  narrow: {\n    am: \"a\",\n    pm: \"p\",\n    midnight: \"mi\",\n    noon: \"n\",\n    morning: \"morning\",\n    afternoon: \"afternoon\",\n    evening: \"evening\",\n    night: \"night\"\n  },\n  abbreviated: {\n    am: \"AM\",\n    pm: \"PM\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"morning\",\n    afternoon: \"afternoon\",\n    evening: \"evening\",\n    night: \"night\"\n  },\n  wide: {\n    am: \"a.m.\",\n    pm: \"p.m.\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"morning\",\n    afternoon: \"afternoon\",\n    evening: \"evening\",\n    night: \"night\"\n  }\n};\nconst formattingDayPeriodValues = {\n  narrow: {\n    am: \"a\",\n    pm: \"p\",\n    midnight: \"mi\",\n    noon: \"n\",\n    morning: \"in the morning\",\n    afternoon: \"in the afternoon\",\n    evening: \"in the evening\",\n    night: \"at night\"\n  },\n  abbreviated: {\n    am: \"AM\",\n    pm: \"PM\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"in the morning\",\n    afternoon: \"in the afternoon\",\n    evening: \"in the evening\",\n    night: \"at night\"\n  },\n  wide: {\n    am: \"a.m.\",\n    pm: \"p.m.\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"in the morning\",\n    afternoon: \"in the afternoon\",\n    evening: \"in the evening\",\n    night: \"at night\"\n  }\n};\nconst ordinalNumber = (dirtyNumber, _options) => {\n  const number = Number(dirtyNumber);\n  const rem100 = number % 100;\n  if (rem100 > 20 || rem100 < 10) {\n    switch (rem100 % 10) {\n      case 1:\n        return number + \"st\";\n      case 2:\n        return number + \"nd\";\n      case 3:\n        return number + \"rd\";\n    }\n  }\n  return number + \"th\";\n};\nconst localize = {\n  ordinalNumber,\n  era: buildLocalizeFn({\n    values: eraValues,\n    defaultWidth: \"wide\"\n  }),\n  quarter: buildLocalizeFn({\n    values: quarterValues,\n    defaultWidth: \"wide\",\n    argumentCallback: (quarter) => quarter - 1\n  }),\n  month: buildLocalizeFn({\n    values: monthValues,\n    defaultWidth: \"wide\"\n  }),\n  day: buildLocalizeFn({\n    values: dayValues,\n    defaultWidth: \"wide\"\n  }),\n  dayPeriod: buildLocalizeFn({\n    values: dayPeriodValues,\n    defaultWidth: \"wide\",\n    formattingValues: formattingDayPeriodValues,\n    defaultFormattingWidth: \"wide\"\n  })\n};\nexport {\n  localize\n};\n","import { buildMatchFn } from \"../../_lib/buildMatchFn.js\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.js\";\nconst matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\nconst matchEraPatterns = {\n  narrow: /^(b|a)/i,\n  abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n  wide: /^(before christ|before common era|anno domini|common era)/i\n};\nconst parseEraPatterns = {\n  any: [/^b/i, /^(a|c)/i]\n};\nconst matchQuarterPatterns = {\n  narrow: /^[1234]/i,\n  abbreviated: /^q[1234]/i,\n  wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nconst parseQuarterPatterns = {\n  any: [/1/i, /2/i, /3/i, /4/i]\n};\nconst matchMonthPatterns = {\n  narrow: /^[jfmasond]/i,\n  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nconst parseMonthPatterns = {\n  narrow: [\n    /^j/i,\n    /^f/i,\n    /^m/i,\n    /^a/i,\n    /^m/i,\n    /^j/i,\n    /^j/i,\n    /^a/i,\n    /^s/i,\n    /^o/i,\n    /^n/i,\n    /^d/i\n  ],\n  any: [\n    /^ja/i,\n    /^f/i,\n    /^mar/i,\n    /^ap/i,\n    /^may/i,\n    /^jun/i,\n    /^jul/i,\n    /^au/i,\n    /^s/i,\n    /^o/i,\n    /^n/i,\n    /^d/i\n  ]\n};\nconst matchDayPatterns = {\n  narrow: /^[smtwf]/i,\n  short: /^(su|mo|tu|we|th|fr|sa)/i,\n  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nconst parseDayPatterns = {\n  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nconst matchDayPeriodPatterns = {\n  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n  any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nconst parseDayPeriodPatterns = {\n  any: {\n    am: /^a/i,\n    pm: /^p/i,\n    midnight: /^mi/i,\n    noon: /^no/i,\n    morning: /morning/i,\n    afternoon: /afternoon/i,\n    evening: /evening/i,\n    night: /night/i\n  }\n};\nconst match = {\n  ordinalNumber: buildMatchPatternFn({\n    matchPattern: matchOrdinalNumberPattern,\n    parsePattern: parseOrdinalNumberPattern,\n    valueCallback: (value) => parseInt(value, 10)\n  }),\n  era: buildMatchFn({\n    matchPatterns: matchEraPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseEraPatterns,\n    defaultParseWidth: \"any\"\n  }),\n  quarter: buildMatchFn({\n    matchPatterns: matchQuarterPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseQuarterPatterns,\n    defaultParseWidth: \"any\",\n    valueCallback: (index) => index + 1\n  }),\n  month: buildMatchFn({\n    matchPatterns: matchMonthPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseMonthPatterns,\n    defaultParseWidth: \"any\"\n  }),\n  day: buildMatchFn({\n    matchPatterns: matchDayPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseDayPatterns,\n    defaultParseWidth: \"any\"\n  }),\n  dayPeriod: buildMatchFn({\n    matchPatterns: matchDayPeriodPatterns,\n    defaultMatchWidth: \"any\",\n    parsePatterns: parseDayPeriodPatterns,\n    defaultParseWidth: \"any\"\n  })\n};\nexport {\n  match\n};\n","import { formatDistance } from \"./en-US/_lib/formatDistance.js\";\nimport { formatLong } from \"./en-US/_lib/formatLong.js\";\nimport { formatRelative } from \"./en-US/_lib/formatRelative.js\";\nimport { localize } from \"./en-US/_lib/localize.js\";\nimport { match } from \"./en-US/_lib/match.js\";\nconst enUS = {\n  code: \"en-US\",\n  formatDistance,\n  formatLong,\n  formatRelative,\n  localize,\n  match,\n  options: {\n    weekStartsOn: 0,\n    firstWeekContainsDate: 1\n  }\n};\nexport {\n  enUS as default,\n  enUS\n};\n","import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { formatters } from \"./_lib/format/formatters.js\";\nimport { longFormatters } from \"./_lib/format/longFormatters.js\";\nimport { isProtectedWeekYearToken, isProtectedDayOfYearToken, warnOrThrowProtectedError } from \"./_lib/protectedTokens.js\";\nimport { isValid } from \"./isValid.js\";\nimport { toDate } from \"./toDate.js\";\nimport { enUS } from \"./locale/en-US.js\";\nconst formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\nconst longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nconst escapedStringRegExp = /^'([^]*?)'?$/;\nconst doubleQuoteRegExp = /''/g;\nconst unescapedLatinCharacterRegExp = /[a-zA-Z]/;\nfunction format(date, formatStr, options) {\n  var _a, _b, _c, _d, _e, _f, _g, _h;\n  const defaultOptions = getDefaultOptions();\n  const locale = (options == null ? void 0 : options.locale) ?? defaultOptions.locale ?? enUS;\n  const firstWeekContainsDate = (options == null ? void 0 : options.firstWeekContainsDate) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? defaultOptions.firstWeekContainsDate ?? ((_d = (_c = defaultOptions.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.firstWeekContainsDate) ?? 1;\n  const weekStartsOn = (options == null ? void 0 : options.weekStartsOn) ?? ((_f = (_e = options == null ? void 0 : options.locale) == null ? void 0 : _e.options) == null ? void 0 : _f.weekStartsOn) ?? defaultOptions.weekStartsOn ?? ((_h = (_g = defaultOptions.locale) == null ? void 0 : _g.options) == null ? void 0 : _h.weekStartsOn) ?? 0;\n  const originalDate = toDate(date);\n  if (!isValid(originalDate)) {\n    throw new RangeError(\"Invalid time value\");\n  }\n  let parts = formatStr.match(longFormattingTokensRegExp).map((substring) => {\n    const firstCharacter = substring[0];\n    if (firstCharacter === \"p\" || firstCharacter === \"P\") {\n      const longFormatter = longFormatters[firstCharacter];\n      return longFormatter(substring, locale.formatLong);\n    }\n    return substring;\n  }).join(\"\").match(formattingTokensRegExp).map((substring) => {\n    if (substring === \"''\") {\n      return { isToken: false, value: \"'\" };\n    }\n    const firstCharacter = substring[0];\n    if (firstCharacter === \"'\") {\n      return { isToken: false, value: cleanEscapedString(substring) };\n    }\n    if (formatters[firstCharacter]) {\n      return { isToken: true, value: substring };\n    }\n    if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n      throw new RangeError(\n        \"Format string contains an unescaped latin alphabet character `\" + firstCharacter + \"`\"\n      );\n    }\n    return { isToken: false, value: substring };\n  });\n  if (locale.localize.preprocessor) {\n    parts = locale.localize.preprocessor(originalDate, parts);\n  }\n  const formatterOptions = {\n    firstWeekContainsDate,\n    weekStartsOn,\n    locale\n  };\n  return parts.map((part) => {\n    if (!part.isToken)\n      return part.value;\n    const token = part.value;\n    if (!(options == null ? void 0 : options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(token) || !(options == null ? void 0 : options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(token)) {\n      warnOrThrowProtectedError(token, formatStr, String(date));\n    }\n    const formatter = formatters[token[0]];\n    return formatter(originalDate, token, locale.localize, formatterOptions);\n  }).join(\"\");\n}\nfunction cleanEscapedString(input) {\n  const matched = input.match(escapedStringRegExp);\n  if (!matched) {\n    return input;\n  }\n  return matched[1].replace(doubleQuoteRegExp, \"'\");\n}\nexport {\n  format as default,\n  format,\n  format as formatDate,\n  formatters,\n  longFormatters\n};\n","import { millisecondsInHour, millisecondsInMinute } from \"./constants.js\";\nfunction parseISO(argument, options) {\n  const additionalDigits = (options == null ? void 0 : options.additionalDigits) ?? 2;\n  const dateStrings = splitDateString(argument);\n  let date;\n  if (dateStrings.date) {\n    const parseYearResult = parseYear(dateStrings.date, additionalDigits);\n    date = parseDate(parseYearResult.restDateString, parseYearResult.year);\n  }\n  if (!date || isNaN(date.getTime())) {\n    return /* @__PURE__ */ new Date(NaN);\n  }\n  const timestamp = date.getTime();\n  let time = 0;\n  let offset;\n  if (dateStrings.time) {\n    time = parseTime(dateStrings.time);\n    if (isNaN(time)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n  }\n  if (dateStrings.timezone) {\n    offset = parseTimezone(dateStrings.timezone);\n    if (isNaN(offset)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n  } else {\n    const dirtyDate = new Date(timestamp + time);\n    const result = /* @__PURE__ */ new Date(0);\n    result.setFullYear(\n      dirtyDate.getUTCFullYear(),\n      dirtyDate.getUTCMonth(),\n      dirtyDate.getUTCDate()\n    );\n    result.setHours(\n      dirtyDate.getUTCHours(),\n      dirtyDate.getUTCMinutes(),\n      dirtyDate.getUTCSeconds(),\n      dirtyDate.getUTCMilliseconds()\n    );\n    return result;\n  }\n  return new Date(timestamp + time + offset);\n}\nconst patterns = {\n  dateTimeDelimiter: /[T ]/,\n  timeZoneDelimiter: /[Z ]/i,\n  timezone: /([Z+-].*)$/\n};\nconst dateRegex = /^-?(?:(\\d{3})|(\\d{2})(?:-?(\\d{2}))?|W(\\d{2})(?:-?(\\d{1}))?|)$/;\nconst timeRegex = /^(\\d{2}(?:[.,]\\d*)?)(?::?(\\d{2}(?:[.,]\\d*)?))?(?::?(\\d{2}(?:[.,]\\d*)?))?$/;\nconst timezoneRegex = /^([+-])(\\d{2})(?::?(\\d{2}))?$/;\nfunction splitDateString(dateString) {\n  const dateStrings = {};\n  const array = dateString.split(patterns.dateTimeDelimiter);\n  let timeString;\n  if (array.length > 2) {\n    return dateStrings;\n  }\n  if (/:/.test(array[0])) {\n    timeString = array[0];\n  } else {\n    dateStrings.date = array[0];\n    timeString = array[1];\n    if (patterns.timeZoneDelimiter.test(dateStrings.date)) {\n      dateStrings.date = dateString.split(patterns.timeZoneDelimiter)[0];\n      timeString = dateString.substr(\n        dateStrings.date.length,\n        dateString.length\n      );\n    }\n  }\n  if (timeString) {\n    const token = patterns.timezone.exec(timeString);\n    if (token) {\n      dateStrings.time = timeString.replace(token[1], \"\");\n      dateStrings.timezone = token[1];\n    } else {\n      dateStrings.time = timeString;\n    }\n  }\n  return dateStrings;\n}\nfunction parseYear(dateString, additionalDigits) {\n  const regex = new RegExp(\n    \"^(?:(\\\\d{4}|[+-]\\\\d{\" + (4 + additionalDigits) + \"})|(\\\\d{2}|[+-]\\\\d{\" + (2 + additionalDigits) + \"})$)\"\n  );\n  const captures = dateString.match(regex);\n  if (!captures)\n    return { year: NaN, restDateString: \"\" };\n  const year = captures[1] ? parseInt(captures[1]) : null;\n  const century = captures[2] ? parseInt(captures[2]) : null;\n  return {\n    year: century === null ? year : century * 100,\n    restDateString: dateString.slice((captures[1] || captures[2]).length)\n  };\n}\nfunction parseDate(dateString, year) {\n  if (year === null)\n    return /* @__PURE__ */ new Date(NaN);\n  const captures = dateString.match(dateRegex);\n  if (!captures)\n    return /* @__PURE__ */ new Date(NaN);\n  const isWeekDate = !!captures[4];\n  const dayOfYear = parseDateUnit(captures[1]);\n  const month = parseDateUnit(captures[2]) - 1;\n  const day = parseDateUnit(captures[3]);\n  const week = parseDateUnit(captures[4]);\n  const dayOfWeek = parseDateUnit(captures[5]) - 1;\n  if (isWeekDate) {\n    if (!validateWeekDate(year, week, dayOfWeek)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    return dayOfISOWeekYear(year, week, dayOfWeek);\n  } else {\n    const date = /* @__PURE__ */ new Date(0);\n    if (!validateDate(year, month, day) || !validateDayOfYearDate(year, dayOfYear)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    date.setUTCFullYear(year, month, Math.max(dayOfYear, day));\n    return date;\n  }\n}\nfunction parseDateUnit(value) {\n  return value ? parseInt(value) : 1;\n}\nfunction parseTime(timeString) {\n  const captures = timeString.match(timeRegex);\n  if (!captures)\n    return NaN;\n  const hours = parseTimeUnit(captures[1]);\n  const minutes = parseTimeUnit(captures[2]);\n  const seconds = parseTimeUnit(captures[3]);\n  if (!validateTime(hours, minutes, seconds)) {\n    return NaN;\n  }\n  return hours * millisecondsInHour + minutes * millisecondsInMinute + seconds * 1e3;\n}\nfunction parseTimeUnit(value) {\n  return value && parseFloat(value.replace(\",\", \".\")) || 0;\n}\nfunction parseTimezone(timezoneString) {\n  if (timezoneString === \"Z\")\n    return 0;\n  const captures = timezoneString.match(timezoneRegex);\n  if (!captures)\n    return 0;\n  const sign = captures[1] === \"+\" ? -1 : 1;\n  const hours = parseInt(captures[2]);\n  const minutes = captures[3] && parseInt(captures[3]) || 0;\n  if (!validateTimezone(hours, minutes)) {\n    return NaN;\n  }\n  return sign * (hours * millisecondsInHour + minutes * millisecondsInMinute);\n}\nfunction dayOfISOWeekYear(isoWeekYear, week, day) {\n  const date = /* @__PURE__ */ new Date(0);\n  date.setUTCFullYear(isoWeekYear, 0, 4);\n  const fourthOfJanuaryDay = date.getUTCDay() || 7;\n  const diff = (week - 1) * 7 + day + 1 - fourthOfJanuaryDay;\n  date.setUTCDate(date.getUTCDate() + diff);\n  return date;\n}\nconst daysInMonths = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nfunction isLeapYearIndex(year) {\n  return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\nfunction validateDate(year, month, date) {\n  return month >= 0 && month <= 11 && date >= 1 && date <= (daysInMonths[month] || (isLeapYearIndex(year) ? 29 : 28));\n}\nfunction validateDayOfYearDate(year, dayOfYear) {\n  return dayOfYear >= 1 && dayOfYear <= (isLeapYearIndex(year) ? 366 : 365);\n}\nfunction validateWeekDate(_year, week, day) {\n  return week >= 1 && week <= 53 && day >= 0 && day <= 6;\n}\nfunction validateTime(hours, minutes, seconds) {\n  if (hours === 24) {\n    return minutes === 0 && seconds === 0;\n  }\n  return seconds >= 0 && seconds < 60 && minutes >= 0 && minutes < 60 && hours >= 0 && hours < 25;\n}\nfunction validateTimezone(_hours, minutes) {\n  return minutes >= 0 && minutes <= 59;\n}\nexport {\n  parseISO as default,\n  parseISO\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nclass MediaBuilder {\n  constructor(src) {\n    __publicField(this, \"src\");\n    this.src = new URL(src);\n  }\n  set(name, value) {\n    this.src.searchParams.set(name, value);\n  }\n  setWidth(width) {\n    this.set(\"width\", `${width}`);\n    return this;\n  }\n  getSrc() {\n    const url = new URL(this.src);\n    url.searchParams.set(\"format\", \"webp\");\n    return url.href;\n  }\n  getSrcSet() {\n    const unique = Array.from(new Set(DEFAULT_SRC_SET_WIDTHS));\n    const array = unique.map((width) => {\n      const url = new URL(this.src);\n      url.searchParams.set(\"width\", `${width}`);\n      url.searchParams.set(\"format\", \"webp\");\n      return `${url.href} ${width}w`;\n    });\n    return array.join(\",\");\n  }\n}\nconst DEFAULT_SRC_SET_WIDTHS = [375, 408, 564, 720, 828, 1080, 1440, 1920, 2048, 3840];\nconst mediaBuilder = (src) => new MediaBuilder(src);\nexport {\n  DEFAULT_SRC_SET_WIDTHS,\n  mediaBuilder\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nconst Skeleton = forwardRef(({\n  style\n}, ref) => {\n  return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    ...containerStyle,\n    ...style\n  } });\n});\nconst containerStyle = {\n  background: \"#dee2e6\"\n};\nexport {\n  Skeleton\n};\n","const global = globalThis || void 0 || self;\nexport {\n  global as default,\n  global\n};\n","import global from \"../../../vite-plugin-node-polyfills/shims/global/dist/index.js\";\nimport process$1 from \"../../../vite-plugin-node-polyfills/shims/process/dist/index.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst stringToByteArray$1 = function(str) {\n  const out = [];\n  let p = 0;\n  for (let i = 0; i < str.length; i++) {\n    let c = str.charCodeAt(i);\n    if (c < 128) {\n      out[p++] = c;\n    } else if (c < 2048) {\n      out[p++] = c >> 6 | 192;\n      out[p++] = c & 63 | 128;\n    } else if ((c & 64512) === 55296 && i + 1 < str.length && (str.charCodeAt(i + 1) & 64512) === 56320) {\n      c = 65536 + ((c & 1023) << 10) + (str.charCodeAt(++i) & 1023);\n      out[p++] = c >> 18 | 240;\n      out[p++] = c >> 12 & 63 | 128;\n      out[p++] = c >> 6 & 63 | 128;\n      out[p++] = c & 63 | 128;\n    } else {\n      out[p++] = c >> 12 | 224;\n      out[p++] = c >> 6 & 63 | 128;\n      out[p++] = c & 63 | 128;\n    }\n  }\n  return out;\n};\nconst byteArrayToString = function(bytes) {\n  const out = [];\n  let pos = 0, c = 0;\n  while (pos < bytes.length) {\n    const c1 = bytes[pos++];\n    if (c1 < 128) {\n      out[c++] = String.fromCharCode(c1);\n    } else if (c1 > 191 && c1 < 224) {\n      const c2 = bytes[pos++];\n      out[c++] = String.fromCharCode((c1 & 31) << 6 | c2 & 63);\n    } else if (c1 > 239 && c1 < 365) {\n      const c2 = bytes[pos++];\n      const c3 = bytes[pos++];\n      const c4 = bytes[pos++];\n      const u = ((c1 & 7) << 18 | (c2 & 63) << 12 | (c3 & 63) << 6 | c4 & 63) - 65536;\n      out[c++] = String.fromCharCode(55296 + (u >> 10));\n      out[c++] = String.fromCharCode(56320 + (u & 1023));\n    } else {\n      const c2 = bytes[pos++];\n      const c3 = bytes[pos++];\n      out[c++] = String.fromCharCode((c1 & 15) << 12 | (c2 & 63) << 6 | c3 & 63);\n    }\n  }\n  return out.join(\"\");\n};\nconst base64 = {\n  /**\n   * Maps bytes to characters.\n   */\n  byteToCharMap_: null,\n  /**\n   * Maps characters to bytes.\n   */\n  charToByteMap_: null,\n  /**\n   * Maps bytes to websafe characters.\n   * @private\n   */\n  byteToCharMapWebSafe_: null,\n  /**\n   * Maps websafe characters to bytes.\n   * @private\n   */\n  charToByteMapWebSafe_: null,\n  /**\n   * Our default alphabet, shared between\n   * ENCODED_VALS and ENCODED_VALS_WEBSAFE\n   */\n  ENCODED_VALS_BASE: \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\",\n  /**\n   * Our default alphabet. Value 64 (=) is special; it means \"nothing.\"\n   */\n  get ENCODED_VALS() {\n    return this.ENCODED_VALS_BASE + \"+/=\";\n  },\n  /**\n   * Our websafe alphabet.\n   */\n  get ENCODED_VALS_WEBSAFE() {\n    return this.ENCODED_VALS_BASE + \"-_.\";\n  },\n  /**\n   * Whether this browser supports the atob and btoa functions. This extension\n   * started at Mozilla but is now implemented by many browsers. We use the\n   * ASSUME_* variables to avoid pulling in the full useragent detection library\n   * but still allowing the standard per-browser compilations.\n   *\n   */\n  HAS_NATIVE_SUPPORT: typeof atob === \"function\",\n  /**\n   * Base64-encode an array of bytes.\n   *\n   * @param input An array of bytes (numbers with\n   *     value in [0, 255]) to encode.\n   * @param webSafe Boolean indicating we should use the\n   *     alternative alphabet.\n   * @return The base64 encoded string.\n   */\n  encodeByteArray(input, webSafe) {\n    if (!Array.isArray(input)) {\n      throw Error(\"encodeByteArray takes an array as a parameter\");\n    }\n    this.init_();\n    const byteToCharMap = webSafe ? this.byteToCharMapWebSafe_ : this.byteToCharMap_;\n    const output = [];\n    for (let i = 0; i < input.length; i += 3) {\n      const byte1 = input[i];\n      const haveByte2 = i + 1 < input.length;\n      const byte2 = haveByte2 ? input[i + 1] : 0;\n      const haveByte3 = i + 2 < input.length;\n      const byte3 = haveByte3 ? input[i + 2] : 0;\n      const outByte1 = byte1 >> 2;\n      const outByte2 = (byte1 & 3) << 4 | byte2 >> 4;\n      let outByte3 = (byte2 & 15) << 2 | byte3 >> 6;\n      let outByte4 = byte3 & 63;\n      if (!haveByte3) {\n        outByte4 = 64;\n        if (!haveByte2) {\n          outByte3 = 64;\n        }\n      }\n      output.push(byteToCharMap[outByte1], byteToCharMap[outByte2], byteToCharMap[outByte3], byteToCharMap[outByte4]);\n    }\n    return output.join(\"\");\n  },\n  /**\n   * Base64-encode a string.\n   *\n   * @param input A string to encode.\n   * @param webSafe If true, we should use the\n   *     alternative alphabet.\n   * @return The base64 encoded string.\n   */\n  encodeString(input, webSafe) {\n    if (this.HAS_NATIVE_SUPPORT && !webSafe) {\n      return btoa(input);\n    }\n    return this.encodeByteArray(stringToByteArray$1(input), webSafe);\n  },\n  /**\n   * Base64-decode a string.\n   *\n   * @param input to decode.\n   * @param webSafe True if we should use the\n   *     alternative alphabet.\n   * @return string representing the decoded value.\n   */\n  decodeString(input, webSafe) {\n    if (this.HAS_NATIVE_SUPPORT && !webSafe) {\n      return atob(input);\n    }\n    return byteArrayToString(this.decodeStringToByteArray(input, webSafe));\n  },\n  /**\n   * Base64-decode a string.\n   *\n   * In base-64 decoding, groups of four characters are converted into three\n   * bytes.  If the encoder did not apply padding, the input length may not\n   * be a multiple of 4.\n   *\n   * In this case, the last group will have fewer than 4 characters, and\n   * padding will be inferred.  If the group has one or two characters, it decodes\n   * to one byte.  If the group has three characters, it decodes to two bytes.\n   *\n   * @param input Input to decode.\n   * @param webSafe True if we should use the web-safe alphabet.\n   * @return bytes representing the decoded value.\n   */\n  decodeStringToByteArray(input, webSafe) {\n    this.init_();\n    const charToByteMap = webSafe ? this.charToByteMapWebSafe_ : this.charToByteMap_;\n    const output = [];\n    for (let i = 0; i < input.length; ) {\n      const byte1 = charToByteMap[input.charAt(i++)];\n      const haveByte2 = i < input.length;\n      const byte2 = haveByte2 ? charToByteMap[input.charAt(i)] : 0;\n      ++i;\n      const haveByte3 = i < input.length;\n      const byte3 = haveByte3 ? charToByteMap[input.charAt(i)] : 64;\n      ++i;\n      const haveByte4 = i < input.length;\n      const byte4 = haveByte4 ? charToByteMap[input.charAt(i)] : 64;\n      ++i;\n      if (byte1 == null || byte2 == null || byte3 == null || byte4 == null) {\n        throw new DecodeBase64StringError();\n      }\n      const outByte1 = byte1 << 2 | byte2 >> 4;\n      output.push(outByte1);\n      if (byte3 !== 64) {\n        const outByte2 = byte2 << 4 & 240 | byte3 >> 2;\n        output.push(outByte2);\n        if (byte4 !== 64) {\n          const outByte3 = byte3 << 6 & 192 | byte4;\n          output.push(outByte3);\n        }\n      }\n    }\n    return output;\n  },\n  /**\n   * Lazy static initialization function. Called before\n   * accessing any of the static map variables.\n   * @private\n   */\n  init_() {\n    if (!this.byteToCharMap_) {\n      this.byteToCharMap_ = {};\n      this.charToByteMap_ = {};\n      this.byteToCharMapWebSafe_ = {};\n      this.charToByteMapWebSafe_ = {};\n      for (let i = 0; i < this.ENCODED_VALS.length; i++) {\n        this.byteToCharMap_[i] = this.ENCODED_VALS.charAt(i);\n        this.charToByteMap_[this.byteToCharMap_[i]] = i;\n        this.byteToCharMapWebSafe_[i] = this.ENCODED_VALS_WEBSAFE.charAt(i);\n        this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[i]] = i;\n        if (i >= this.ENCODED_VALS_BASE.length) {\n          this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(i)] = i;\n          this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(i)] = i;\n        }\n      }\n    }\n  }\n};\nclass DecodeBase64StringError extends Error {\n  constructor() {\n    super(...arguments);\n    this.name = \"DecodeBase64StringError\";\n  }\n}\nconst base64Encode = function(str) {\n  const utf8Bytes = stringToByteArray$1(str);\n  return base64.encodeByteArray(utf8Bytes, true);\n};\nconst base64urlEncodeWithoutPadding = function(str) {\n  return base64Encode(str).replace(/\\./g, \"\");\n};\nconst base64Decode = function(str) {\n  try {\n    return base64.decodeString(str, true);\n  } catch (e) {\n    console.error(\"base64Decode failed: \", e);\n  }\n  return null;\n};\n/**\n * @license\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction getGlobal() {\n  if (typeof self !== \"undefined\") {\n    return self;\n  }\n  if (typeof window !== \"undefined\") {\n    return window;\n  }\n  if (typeof global !== \"undefined\") {\n    return global;\n  }\n  throw new Error(\"Unable to locate global object.\");\n}\n/**\n * @license\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst getDefaultsFromGlobal = () => getGlobal().__FIREBASE_DEFAULTS__;\nconst getDefaultsFromEnvVariable = () => {\n  if (typeof process$1 === \"undefined\" || typeof process$1.env === \"undefined\") {\n    return;\n  }\n  const defaultsJsonString = process$1.env.__FIREBASE_DEFAULTS__;\n  if (defaultsJsonString) {\n    return JSON.parse(defaultsJsonString);\n  }\n};\nconst getDefaultsFromCookie = () => {\n  if (typeof document === \"undefined\") {\n    return;\n  }\n  let match;\n  try {\n    match = document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/);\n  } catch (e) {\n    return;\n  }\n  const decoded = match && base64Decode(match[1]);\n  return decoded && JSON.parse(decoded);\n};\nconst getDefaults = () => {\n  try {\n    return getDefaultsFromGlobal() || getDefaultsFromEnvVariable() || getDefaultsFromCookie();\n  } catch (e) {\n    console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);\n    return;\n  }\n};\nconst getDefaultAppConfig = () => {\n  var _a;\n  return (_a = getDefaults()) === null || _a === void 0 ? void 0 : _a.config;\n};\n/**\n * @license\n * Copyright 2017 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nclass Deferred {\n  constructor() {\n    this.reject = () => {\n    };\n    this.resolve = () => {\n    };\n    this.promise = new Promise((resolve, reject) => {\n      this.resolve = resolve;\n      this.reject = reject;\n    });\n  }\n  /**\n   * Our API internals are not promiseified and cannot because our callback APIs have subtle expectations around\n   * invoking promises inline, which Promises are forbidden to do. This method accepts an optional node-style callback\n   * and returns a node-style callback which will resolve or reject the Deferred's promise.\n   */\n  wrapCallback(callback) {\n    return (error, value) => {\n      if (error) {\n        this.reject(error);\n      } else {\n        this.resolve(value);\n      }\n      if (typeof callback === \"function\") {\n        this.promise.catch(() => {\n        });\n        if (callback.length === 1) {\n          callback(error);\n        } else {\n          callback(error, value);\n        }\n      }\n    };\n  }\n}\nfunction isBrowserExtension() {\n  const runtime = typeof chrome === \"object\" ? chrome.runtime : typeof browser === \"object\" ? browser.runtime : void 0;\n  return typeof runtime === \"object\" && runtime.id !== void 0;\n}\nfunction isIndexedDBAvailable() {\n  try {\n    return typeof indexedDB === \"object\";\n  } catch (e) {\n    return false;\n  }\n}\nfunction validateIndexedDBOpenable() {\n  return new Promise((resolve, reject) => {\n    try {\n      let preExist = true;\n      const DB_CHECK_NAME = \"validate-browser-context-for-indexeddb-analytics-module\";\n      const request = self.indexedDB.open(DB_CHECK_NAME);\n      request.onsuccess = () => {\n        request.result.close();\n        if (!preExist) {\n          self.indexedDB.deleteDatabase(DB_CHECK_NAME);\n        }\n        resolve(true);\n      };\n      request.onupgradeneeded = () => {\n        preExist = false;\n      };\n      request.onerror = () => {\n        var _a;\n        reject(((_a = request.error) === null || _a === void 0 ? void 0 : _a.message) || \"\");\n      };\n    } catch (error) {\n      reject(error);\n    }\n  });\n}\nfunction areCookiesEnabled() {\n  if (typeof navigator === \"undefined\" || !navigator.cookieEnabled) {\n    return false;\n  }\n  return true;\n}\n/**\n * @license\n * Copyright 2017 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst ERROR_NAME = \"FirebaseError\";\nclass FirebaseError extends Error {\n  constructor(code, message, customData) {\n    super(message);\n    this.code = code;\n    this.customData = customData;\n    this.name = ERROR_NAME;\n    Object.setPrototypeOf(this, FirebaseError.prototype);\n    if (Error.captureStackTrace) {\n      Error.captureStackTrace(this, ErrorFactory.prototype.create);\n    }\n  }\n}\nclass ErrorFactory {\n  constructor(service, serviceName, errors) {\n    this.service = service;\n    this.serviceName = serviceName;\n    this.errors = errors;\n  }\n  create(code, ...data) {\n    const customData = data[0] || {};\n    const fullCode = `${this.service}/${code}`;\n    const template = this.errors[code];\n    const message = template ? replaceTemplate(template, customData) : \"Error\";\n    const fullMessage = `${this.serviceName}: ${message} (${fullCode}).`;\n    const error = new FirebaseError(fullCode, fullMessage, customData);\n    return error;\n  }\n}\nfunction replaceTemplate(template, data) {\n  return template.replace(PATTERN, (_, key) => {\n    const value = data[key];\n    return value != null ? String(value) : `<${key}?>`;\n  });\n}\nconst PATTERN = /\\{\\$([^}]+)}/g;\nfunction deepEqual(a, b) {\n  if (a === b) {\n    return true;\n  }\n  const aKeys = Object.keys(a);\n  const bKeys = Object.keys(b);\n  for (const k of aKeys) {\n    if (!bKeys.includes(k)) {\n      return false;\n    }\n    const aProp = a[k];\n    const bProp = b[k];\n    if (isObject(aProp) && isObject(bProp)) {\n      if (!deepEqual(aProp, bProp)) {\n        return false;\n      }\n    } else if (aProp !== bProp) {\n      return false;\n    }\n  }\n  for (const k of bKeys) {\n    if (!aKeys.includes(k)) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction isObject(thing) {\n  return thing !== null && typeof thing === \"object\";\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst DEFAULT_INTERVAL_MILLIS = 1e3;\nconst DEFAULT_BACKOFF_FACTOR = 2;\nconst MAX_VALUE_MILLIS = 4 * 60 * 60 * 1e3;\nconst RANDOM_FACTOR = 0.5;\nfunction calculateBackoffMillis(backoffCount, intervalMillis = DEFAULT_INTERVAL_MILLIS, backoffFactor = DEFAULT_BACKOFF_FACTOR) {\n  const currBaseValue = intervalMillis * Math.pow(backoffFactor, backoffCount);\n  const randomWait = Math.round(\n    // A fraction of the backoff value to add/subtract.\n    // Deviation: changes multiplication order to improve readability.\n    RANDOM_FACTOR * currBaseValue * // A random float (rounded to int by Math.round above) in the range [-1, 1]. Determines\n    // if we add or subtract.\n    (Math.random() - 0.5) * 2\n  );\n  return Math.min(MAX_VALUE_MILLIS, currBaseValue + randomWait);\n}\n/**\n * @license\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction getModularInstance(service) {\n  if (service && service._delegate) {\n    return service._delegate;\n  } else {\n    return service;\n  }\n}\nexport {\n  DecodeBase64StringError,\n  Deferred,\n  ErrorFactory,\n  FirebaseError,\n  MAX_VALUE_MILLIS,\n  RANDOM_FACTOR,\n  areCookiesEnabled,\n  base64,\n  base64Decode,\n  base64Encode,\n  base64urlEncodeWithoutPadding,\n  calculateBackoffMillis,\n  deepEqual,\n  getDefaultAppConfig,\n  getDefaults,\n  getGlobal,\n  getModularInstance,\n  isBrowserExtension,\n  isIndexedDBAvailable,\n  validateIndexedDBOpenable\n};\n","import { Deferred } from \"../../../util/dist/index.esm2017.js\";\nclass Component {\n  /**\n   *\n   * @param name The public service name, e.g. app, auth, firestore, database\n   * @param instanceFactory Service factory responsible for creating the public interface\n   * @param type whether the service provided by the component is public or private\n   */\n  constructor(name, instanceFactory, type) {\n    this.name = name;\n    this.instanceFactory = instanceFactory;\n    this.type = type;\n    this.multipleInstances = false;\n    this.serviceProps = {};\n    this.instantiationMode = \"LAZY\";\n    this.onInstanceCreated = null;\n  }\n  setInstantiationMode(mode) {\n    this.instantiationMode = mode;\n    return this;\n  }\n  setMultipleInstances(multipleInstances) {\n    this.multipleInstances = multipleInstances;\n    return this;\n  }\n  setServiceProps(props) {\n    this.serviceProps = props;\n    return this;\n  }\n  setInstanceCreatedCallback(callback) {\n    this.onInstanceCreated = callback;\n    return this;\n  }\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst DEFAULT_ENTRY_NAME = \"[DEFAULT]\";\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nclass Provider {\n  constructor(name, container) {\n    this.name = name;\n    this.container = container;\n    this.component = null;\n    this.instances = /* @__PURE__ */ new Map();\n    this.instancesDeferred = /* @__PURE__ */ new Map();\n    this.instancesOptions = /* @__PURE__ */ new Map();\n    this.onInitCallbacks = /* @__PURE__ */ new Map();\n  }\n  /**\n   * @param identifier A provider can provide mulitple instances of a service\n   * if this.component.multipleInstances is true.\n   */\n  get(identifier) {\n    const normalizedIdentifier = this.normalizeInstanceIdentifier(identifier);\n    if (!this.instancesDeferred.has(normalizedIdentifier)) {\n      const deferred = new Deferred();\n      this.instancesDeferred.set(normalizedIdentifier, deferred);\n      if (this.isInitialized(normalizedIdentifier) || this.shouldAutoInitialize()) {\n        try {\n          const instance = this.getOrInitializeService({\n            instanceIdentifier: normalizedIdentifier\n          });\n          if (instance) {\n            deferred.resolve(instance);\n          }\n        } catch (e) {\n        }\n      }\n    }\n    return this.instancesDeferred.get(normalizedIdentifier).promise;\n  }\n  getImmediate(options) {\n    var _a;\n    const normalizedIdentifier = this.normalizeInstanceIdentifier(options === null || options === void 0 ? void 0 : options.identifier);\n    const optional = (_a = options === null || options === void 0 ? void 0 : options.optional) !== null && _a !== void 0 ? _a : false;\n    if (this.isInitialized(normalizedIdentifier) || this.shouldAutoInitialize()) {\n      try {\n        return this.getOrInitializeService({\n          instanceIdentifier: normalizedIdentifier\n        });\n      } catch (e) {\n        if (optional) {\n          return null;\n        } else {\n          throw e;\n        }\n      }\n    } else {\n      if (optional) {\n        return null;\n      } else {\n        throw Error(`Service ${this.name} is not available`);\n      }\n    }\n  }\n  getComponent() {\n    return this.component;\n  }\n  setComponent(component) {\n    if (component.name !== this.name) {\n      throw Error(`Mismatching Component ${component.name} for Provider ${this.name}.`);\n    }\n    if (this.component) {\n      throw Error(`Component for ${this.name} has already been provided`);\n    }\n    this.component = component;\n    if (!this.shouldAutoInitialize()) {\n      return;\n    }\n    if (isComponentEager(component)) {\n      try {\n        this.getOrInitializeService({ instanceIdentifier: DEFAULT_ENTRY_NAME });\n      } catch (e) {\n      }\n    }\n    for (const [instanceIdentifier, instanceDeferred] of this.instancesDeferred.entries()) {\n      const normalizedIdentifier = this.normalizeInstanceIdentifier(instanceIdentifier);\n      try {\n        const instance = this.getOrInitializeService({\n          instanceIdentifier: normalizedIdentifier\n        });\n        instanceDeferred.resolve(instance);\n      } catch (e) {\n      }\n    }\n  }\n  clearInstance(identifier = DEFAULT_ENTRY_NAME) {\n    this.instancesDeferred.delete(identifier);\n    this.instancesOptions.delete(identifier);\n    this.instances.delete(identifier);\n  }\n  // app.delete() will call this method on every provider to delete the services\n  // TODO: should we mark the provider as deleted?\n  async delete() {\n    const services = Array.from(this.instances.values());\n    await Promise.all([\n      ...services.filter((service) => \"INTERNAL\" in service).map((service) => service.INTERNAL.delete()),\n      ...services.filter((service) => \"_delete\" in service).map((service) => service._delete())\n    ]);\n  }\n  isComponentSet() {\n    return this.component != null;\n  }\n  isInitialized(identifier = DEFAULT_ENTRY_NAME) {\n    return this.instances.has(identifier);\n  }\n  getOptions(identifier = DEFAULT_ENTRY_NAME) {\n    return this.instancesOptions.get(identifier) || {};\n  }\n  initialize(opts = {}) {\n    const { options = {} } = opts;\n    const normalizedIdentifier = this.normalizeInstanceIdentifier(opts.instanceIdentifier);\n    if (this.isInitialized(normalizedIdentifier)) {\n      throw Error(`${this.name}(${normalizedIdentifier}) has already been initialized`);\n    }\n    if (!this.isComponentSet()) {\n      throw Error(`Component ${this.name} has not been registered yet`);\n    }\n    const instance = this.getOrInitializeService({\n      instanceIdentifier: normalizedIdentifier,\n      options\n    });\n    for (const [instanceIdentifier, instanceDeferred] of this.instancesDeferred.entries()) {\n      const normalizedDeferredIdentifier = this.normalizeInstanceIdentifier(instanceIdentifier);\n      if (normalizedIdentifier === normalizedDeferredIdentifier) {\n        instanceDeferred.resolve(instance);\n      }\n    }\n    return instance;\n  }\n  /**\n   *\n   * @param callback - a function that will be invoked  after the provider has been initialized by calling provider.initialize().\n   * The function is invoked SYNCHRONOUSLY, so it should not execute any longrunning tasks in order to not block the program.\n   *\n   * @param identifier An optional instance identifier\n   * @returns a function to unregister the callback\n   */\n  onInit(callback, identifier) {\n    var _a;\n    const normalizedIdentifier = this.normalizeInstanceIdentifier(identifier);\n    const existingCallbacks = (_a = this.onInitCallbacks.get(normalizedIdentifier)) !== null && _a !== void 0 ? _a : /* @__PURE__ */ new Set();\n    existingCallbacks.add(callback);\n    this.onInitCallbacks.set(normalizedIdentifier, existingCallbacks);\n    const existingInstance = this.instances.get(normalizedIdentifier);\n    if (existingInstance) {\n      callback(existingInstance, normalizedIdentifier);\n    }\n    return () => {\n      existingCallbacks.delete(callback);\n    };\n  }\n  /**\n   * Invoke onInit callbacks synchronously\n   * @param instance the service instance`\n   */\n  invokeOnInitCallbacks(instance, identifier) {\n    const callbacks = this.onInitCallbacks.get(identifier);\n    if (!callbacks) {\n      return;\n    }\n    for (const callback of callbacks) {\n      try {\n        callback(instance, identifier);\n      } catch (_a) {\n      }\n    }\n  }\n  getOrInitializeService({ instanceIdentifier, options = {} }) {\n    let instance = this.instances.get(instanceIdentifier);\n    if (!instance && this.component) {\n      instance = this.component.instanceFactory(this.container, {\n        instanceIdentifier: normalizeIdentifierForFactory(instanceIdentifier),\n        options\n      });\n      this.instances.set(instanceIdentifier, instance);\n      this.instancesOptions.set(instanceIdentifier, options);\n      this.invokeOnInitCallbacks(instance, instanceIdentifier);\n      if (this.component.onInstanceCreated) {\n        try {\n          this.component.onInstanceCreated(this.container, instanceIdentifier, instance);\n        } catch (_a) {\n        }\n      }\n    }\n    return instance || null;\n  }\n  normalizeInstanceIdentifier(identifier = DEFAULT_ENTRY_NAME) {\n    if (this.component) {\n      return this.component.multipleInstances ? identifier : DEFAULT_ENTRY_NAME;\n    } else {\n      return identifier;\n    }\n  }\n  shouldAutoInitialize() {\n    return !!this.component && this.component.instantiationMode !== \"EXPLICIT\";\n  }\n}\nfunction normalizeIdentifierForFactory(identifier) {\n  return identifier === DEFAULT_ENTRY_NAME ? void 0 : identifier;\n}\nfunction isComponentEager(component) {\n  return component.instantiationMode === \"EAGER\";\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nclass ComponentContainer {\n  constructor(name) {\n    this.name = name;\n    this.providers = /* @__PURE__ */ new Map();\n  }\n  /**\n   *\n   * @param component Component being added\n   * @param overwrite When a component with the same name has already been registered,\n   * if overwrite is true: overwrite the existing component with the new component and create a new\n   * provider with the new component. It can be useful in tests where you want to use different mocks\n   * for different tests.\n   * if overwrite is false: throw an exception\n   */\n  addComponent(component) {\n    const provider = this.getProvider(component.name);\n    if (provider.isComponentSet()) {\n      throw new Error(`Component ${component.name} has already been registered with ${this.name}`);\n    }\n    provider.setComponent(component);\n  }\n  addOrOverwriteComponent(component) {\n    const provider = this.getProvider(component.name);\n    if (provider.isComponentSet()) {\n      this.providers.delete(component.name);\n    }\n    this.addComponent(component);\n  }\n  /**\n   * getProvider provides a type safe interface where it can only be called with a field name\n   * present in NameServiceMapping interface.\n   *\n   * Firebase SDKs providing services should extend NameServiceMapping interface to register\n   * themselves.\n   */\n  getProvider(name) {\n    if (this.providers.has(name)) {\n      return this.providers.get(name);\n    }\n    const provider = new Provider(name, this);\n    this.providers.set(name, provider);\n    return provider;\n  }\n  getProviders() {\n    return Array.from(this.providers.values());\n  }\n}\nexport {\n  Component,\n  ComponentContainer,\n  Provider\n};\n","/**\n * @license\n * Copyright 2017 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar LogLevel;\n(function(LogLevel2) {\n  LogLevel2[LogLevel2[\"DEBUG\"] = 0] = \"DEBUG\";\n  LogLevel2[LogLevel2[\"VERBOSE\"] = 1] = \"VERBOSE\";\n  LogLevel2[LogLevel2[\"INFO\"] = 2] = \"INFO\";\n  LogLevel2[LogLevel2[\"WARN\"] = 3] = \"WARN\";\n  LogLevel2[LogLevel2[\"ERROR\"] = 4] = \"ERROR\";\n  LogLevel2[LogLevel2[\"SILENT\"] = 5] = \"SILENT\";\n})(LogLevel || (LogLevel = {}));\nconst levelStringToEnum = {\n  \"debug\": LogLevel.DEBUG,\n  \"verbose\": LogLevel.VERBOSE,\n  \"info\": LogLevel.INFO,\n  \"warn\": LogLevel.WARN,\n  \"error\": LogLevel.ERROR,\n  \"silent\": LogLevel.SILENT\n};\nconst defaultLogLevel = LogLevel.INFO;\nconst ConsoleMethod = {\n  [LogLevel.DEBUG]: \"log\",\n  [LogLevel.VERBOSE]: \"log\",\n  [LogLevel.INFO]: \"info\",\n  [LogLevel.WARN]: \"warn\",\n  [LogLevel.ERROR]: \"error\"\n};\nconst defaultLogHandler = (instance, logType, ...args) => {\n  if (logType < instance.logLevel) {\n    return;\n  }\n  const now = (/* @__PURE__ */ new Date()).toISOString();\n  const method = ConsoleMethod[logType];\n  if (method) {\n    console[method](`[${now}]  ${instance.name}:`, ...args);\n  } else {\n    throw new Error(`Attempted to log a message with an invalid logType (value: ${logType})`);\n  }\n};\nclass Logger {\n  /**\n   * Gives you an instance of a Logger to capture messages according to\n   * Firebase's logging scheme.\n   *\n   * @param name The name that the logs will be associated with\n   */\n  constructor(name) {\n    this.name = name;\n    this._logLevel = defaultLogLevel;\n    this._logHandler = defaultLogHandler;\n    this._userLogHandler = null;\n  }\n  get logLevel() {\n    return this._logLevel;\n  }\n  set logLevel(val) {\n    if (!(val in LogLevel)) {\n      throw new TypeError(`Invalid value \"${val}\" assigned to \\`logLevel\\``);\n    }\n    this._logLevel = val;\n  }\n  // Workaround for setter/getter having to be the same type.\n  setLogLevel(val) {\n    this._logLevel = typeof val === \"string\" ? levelStringToEnum[val] : val;\n  }\n  get logHandler() {\n    return this._logHandler;\n  }\n  set logHandler(val) {\n    if (typeof val !== \"function\") {\n      throw new TypeError(\"Value assigned to `logHandler` must be a function\");\n    }\n    this._logHandler = val;\n  }\n  get userLogHandler() {\n    return this._userLogHandler;\n  }\n  set userLogHandler(val) {\n    this._userLogHandler = val;\n  }\n  /**\n   * The functions below are all based on the `console` interface\n   */\n  debug(...args) {\n    this._userLogHandler && this._userLogHandler(this, LogLevel.DEBUG, ...args);\n    this._logHandler(this, LogLevel.DEBUG, ...args);\n  }\n  log(...args) {\n    this._userLogHandler && this._userLogHandler(this, LogLevel.VERBOSE, ...args);\n    this._logHandler(this, LogLevel.VERBOSE, ...args);\n  }\n  info(...args) {\n    this._userLogHandler && this._userLogHandler(this, LogLevel.INFO, ...args);\n    this._logHandler(this, LogLevel.INFO, ...args);\n  }\n  warn(...args) {\n    this._userLogHandler && this._userLogHandler(this, LogLevel.WARN, ...args);\n    this._logHandler(this, LogLevel.WARN, ...args);\n  }\n  error(...args) {\n    this._userLogHandler && this._userLogHandler(this, LogLevel.ERROR, ...args);\n    this._logHandler(this, LogLevel.ERROR, ...args);\n  }\n}\nexport {\n  LogLevel,\n  Logger\n};\n","const instanceOfAny = (object, constructors) => constructors.some((c) => object instanceof c);\nlet idbProxyableTypes;\nlet cursorAdvanceMethods;\nfunction getIdbProxyableTypes() {\n  return idbProxyableTypes || (idbProxyableTypes = [\n    IDBDatabase,\n    IDBObjectStore,\n    IDBIndex,\n    IDBCursor,\n    IDBTransaction\n  ]);\n}\nfunction getCursorAdvanceMethods() {\n  return cursorAdvanceMethods || (cursorAdvanceMethods = [\n    IDBCursor.prototype.advance,\n    IDBCursor.prototype.continue,\n    IDBCursor.prototype.continuePrimaryKey\n  ]);\n}\nconst cursorRequestMap = /* @__PURE__ */ new WeakMap();\nconst transactionDoneMap = /* @__PURE__ */ new WeakMap();\nconst transactionStoreNamesMap = /* @__PURE__ */ new WeakMap();\nconst transformCache = /* @__PURE__ */ new WeakMap();\nconst reverseTransformCache = /* @__PURE__ */ new WeakMap();\nfunction promisifyRequest(request) {\n  const promise = new Promise((resolve, reject) => {\n    const unlisten = () => {\n      request.removeEventListener(\"success\", success);\n      request.removeEventListener(\"error\", error);\n    };\n    const success = () => {\n      resolve(wrap(request.result));\n      unlisten();\n    };\n    const error = () => {\n      reject(request.error);\n      unlisten();\n    };\n    request.addEventListener(\"success\", success);\n    request.addEventListener(\"error\", error);\n  });\n  promise.then((value) => {\n    if (value instanceof IDBCursor) {\n      cursorRequestMap.set(value, request);\n    }\n  }).catch(() => {\n  });\n  reverseTransformCache.set(promise, request);\n  return promise;\n}\nfunction cacheDonePromiseForTransaction(tx) {\n  if (transactionDoneMap.has(tx))\n    return;\n  const done = new Promise((resolve, reject) => {\n    const unlisten = () => {\n      tx.removeEventListener(\"complete\", complete);\n      tx.removeEventListener(\"error\", error);\n      tx.removeEventListener(\"abort\", error);\n    };\n    const complete = () => {\n      resolve();\n      unlisten();\n    };\n    const error = () => {\n      reject(tx.error || new DOMException(\"AbortError\", \"AbortError\"));\n      unlisten();\n    };\n    tx.addEventListener(\"complete\", complete);\n    tx.addEventListener(\"error\", error);\n    tx.addEventListener(\"abort\", error);\n  });\n  transactionDoneMap.set(tx, done);\n}\nlet idbProxyTraps = {\n  get(target, prop, receiver) {\n    if (target instanceof IDBTransaction) {\n      if (prop === \"done\")\n        return transactionDoneMap.get(target);\n      if (prop === \"objectStoreNames\") {\n        return target.objectStoreNames || transactionStoreNamesMap.get(target);\n      }\n      if (prop === \"store\") {\n        return receiver.objectStoreNames[1] ? void 0 : receiver.objectStore(receiver.objectStoreNames[0]);\n      }\n    }\n    return wrap(target[prop]);\n  },\n  set(target, prop, value) {\n    target[prop] = value;\n    return true;\n  },\n  has(target, prop) {\n    if (target instanceof IDBTransaction && (prop === \"done\" || prop === \"store\")) {\n      return true;\n    }\n    return prop in target;\n  }\n};\nfunction replaceTraps(callback) {\n  idbProxyTraps = callback(idbProxyTraps);\n}\nfunction wrapFunction(func) {\n  if (func === IDBDatabase.prototype.transaction && !(\"objectStoreNames\" in IDBTransaction.prototype)) {\n    return function(storeNames, ...args) {\n      const tx = func.call(unwrap(this), storeNames, ...args);\n      transactionStoreNamesMap.set(tx, storeNames.sort ? storeNames.sort() : [storeNames]);\n      return wrap(tx);\n    };\n  }\n  if (getCursorAdvanceMethods().includes(func)) {\n    return function(...args) {\n      func.apply(unwrap(this), args);\n      return wrap(cursorRequestMap.get(this));\n    };\n  }\n  return function(...args) {\n    return wrap(func.apply(unwrap(this), args));\n  };\n}\nfunction transformCachableValue(value) {\n  if (typeof value === \"function\")\n    return wrapFunction(value);\n  if (value instanceof IDBTransaction)\n    cacheDonePromiseForTransaction(value);\n  if (instanceOfAny(value, getIdbProxyableTypes()))\n    return new Proxy(value, idbProxyTraps);\n  return value;\n}\nfunction wrap(value) {\n  if (value instanceof IDBRequest)\n    return promisifyRequest(value);\n  if (transformCache.has(value))\n    return transformCache.get(value);\n  const newValue = transformCachableValue(value);\n  if (newValue !== value) {\n    transformCache.set(value, newValue);\n    reverseTransformCache.set(newValue, value);\n  }\n  return newValue;\n}\nconst unwrap = (value) => reverseTransformCache.get(value);\nexport {\n  reverseTransformCache as a,\n  instanceOfAny as i,\n  replaceTraps as r,\n  unwrap as u,\n  wrap as w\n};\n","import { r as replaceTraps, w as wrap } from \"./wrap-idb-value.js\";\nimport { u } from \"./wrap-idb-value.js\";\nfunction openDB(name, version, { blocked, upgrade, blocking, terminated } = {}) {\n  const request = indexedDB.open(name, version);\n  const openPromise = wrap(request);\n  if (upgrade) {\n    request.addEventListener(\"upgradeneeded\", (event) => {\n      upgrade(wrap(request.result), event.oldVersion, event.newVersion, wrap(request.transaction), event);\n    });\n  }\n  if (blocked) {\n    request.addEventListener(\"blocked\", (event) => blocked(\n      // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405\n      event.oldVersion,\n      event.newVersion,\n      event\n    ));\n  }\n  openPromise.then((db) => {\n    if (terminated)\n      db.addEventListener(\"close\", () => terminated());\n    if (blocking) {\n      db.addEventListener(\"versionchange\", (event) => blocking(event.oldVersion, event.newVersion, event));\n    }\n  }).catch(() => {\n  });\n  return openPromise;\n}\nconst readMethods = [\"get\", \"getKey\", \"getAll\", \"getAllKeys\", \"count\"];\nconst writeMethods = [\"put\", \"add\", \"delete\", \"clear\"];\nconst cachedMethods = /* @__PURE__ */ new Map();\nfunction getMethod(target, prop) {\n  if (!(target instanceof IDBDatabase && !(prop in target) && typeof prop === \"string\")) {\n    return;\n  }\n  if (cachedMethods.get(prop))\n    return cachedMethods.get(prop);\n  const targetFuncName = prop.replace(/FromIndex$/, \"\");\n  const useIndex = prop !== targetFuncName;\n  const isWrite = writeMethods.includes(targetFuncName);\n  if (\n    // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.\n    !(targetFuncName in (useIndex ? IDBIndex : IDBObjectStore).prototype) || !(isWrite || readMethods.includes(targetFuncName))\n  ) {\n    return;\n  }\n  const method = async function(storeName, ...args) {\n    const tx = this.transaction(storeName, isWrite ? \"readwrite\" : \"readonly\");\n    let target2 = tx.store;\n    if (useIndex)\n      target2 = target2.index(args.shift());\n    return (await Promise.all([\n      target2[targetFuncName](...args),\n      isWrite && tx.done\n    ]))[0];\n  };\n  cachedMethods.set(prop, method);\n  return method;\n}\nreplaceTraps((oldTraps) => ({\n  ...oldTraps,\n  get: (target, prop, receiver) => getMethod(target, prop) || oldTraps.get(target, prop, receiver),\n  has: (target, prop) => !!getMethod(target, prop) || oldTraps.has(target, prop)\n}));\nexport {\n  openDB,\n  u as unwrap,\n  wrap\n};\n","import { Component, ComponentContainer } from \"../../../component/dist/esm/index.esm2017.js\";\nimport { Logger } from \"../../../logger/dist/esm/index.esm2017.js\";\nimport { getDefaultAppConfig, deepEqual, ErrorFactory, base64urlEncodeWithoutPadding, isIndexedDBAvailable, validateIndexedDBOpenable, FirebaseError } from \"../../../util/dist/index.esm2017.js\";\nimport { openDB } from \"../../../../idb/build/index.js\";\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nclass PlatformLoggerServiceImpl {\n  constructor(container) {\n    this.container = container;\n  }\n  // In initial implementation, this will be called by installations on\n  // auth token refresh, and installations will send this string.\n  getPlatformInfoString() {\n    const providers = this.container.getProviders();\n    return providers.map((provider) => {\n      if (isVersionServiceProvider(provider)) {\n        const service = provider.getImmediate();\n        return `${service.library}/${service.version}`;\n      } else {\n        return null;\n      }\n    }).filter((logString) => logString).join(\" \");\n  }\n}\nfunction isVersionServiceProvider(provider) {\n  const component = provider.getComponent();\n  return (component === null || component === void 0 ? void 0 : component.type) === \"VERSION\";\n}\nconst name$p = \"@firebase/app\";\nconst version$1 = \"0.10.5\";\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst logger = new Logger(\"@firebase/app\");\nconst name$o = \"@firebase/app-compat\";\nconst name$n = \"@firebase/analytics-compat\";\nconst name$m = \"@firebase/analytics\";\nconst name$l = \"@firebase/app-check-compat\";\nconst name$k = \"@firebase/app-check\";\nconst name$j = \"@firebase/auth\";\nconst name$i = \"@firebase/auth-compat\";\nconst name$h = \"@firebase/database\";\nconst name$g = \"@firebase/database-compat\";\nconst name$f = \"@firebase/functions\";\nconst name$e = \"@firebase/functions-compat\";\nconst name$d = \"@firebase/installations\";\nconst name$c = \"@firebase/installations-compat\";\nconst name$b = \"@firebase/messaging\";\nconst name$a = \"@firebase/messaging-compat\";\nconst name$9 = \"@firebase/performance\";\nconst name$8 = \"@firebase/performance-compat\";\nconst name$7 = \"@firebase/remote-config\";\nconst name$6 = \"@firebase/remote-config-compat\";\nconst name$5 = \"@firebase/storage\";\nconst name$4 = \"@firebase/storage-compat\";\nconst name$3 = \"@firebase/firestore\";\nconst name$2 = \"@firebase/vertexai-preview\";\nconst name$1 = \"@firebase/firestore-compat\";\nconst name = \"firebase\";\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst DEFAULT_ENTRY_NAME = \"[DEFAULT]\";\nconst PLATFORM_LOG_STRING = {\n  [name$p]: \"fire-core\",\n  [name$o]: \"fire-core-compat\",\n  [name$m]: \"fire-analytics\",\n  [name$n]: \"fire-analytics-compat\",\n  [name$k]: \"fire-app-check\",\n  [name$l]: \"fire-app-check-compat\",\n  [name$j]: \"fire-auth\",\n  [name$i]: \"fire-auth-compat\",\n  [name$h]: \"fire-rtdb\",\n  [name$g]: \"fire-rtdb-compat\",\n  [name$f]: \"fire-fn\",\n  [name$e]: \"fire-fn-compat\",\n  [name$d]: \"fire-iid\",\n  [name$c]: \"fire-iid-compat\",\n  [name$b]: \"fire-fcm\",\n  [name$a]: \"fire-fcm-compat\",\n  [name$9]: \"fire-perf\",\n  [name$8]: \"fire-perf-compat\",\n  [name$7]: \"fire-rc\",\n  [name$6]: \"fire-rc-compat\",\n  [name$5]: \"fire-gcs\",\n  [name$4]: \"fire-gcs-compat\",\n  [name$3]: \"fire-fst\",\n  [name$1]: \"fire-fst-compat\",\n  [name$2]: \"fire-vertex\",\n  \"fire-js\": \"fire-js\",\n  [name]: \"fire-js-all\"\n};\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst _apps = /* @__PURE__ */ new Map();\nconst _serverApps = /* @__PURE__ */ new Map();\nconst _components = /* @__PURE__ */ new Map();\nfunction _addComponent(app, component) {\n  try {\n    app.container.addComponent(component);\n  } catch (e) {\n    logger.debug(`Component ${component.name} failed to register with FirebaseApp ${app.name}`, e);\n  }\n}\nfunction _registerComponent(component) {\n  const componentName = component.name;\n  if (_components.has(componentName)) {\n    logger.debug(`There were multiple attempts to register component ${componentName}.`);\n    return false;\n  }\n  _components.set(componentName, component);\n  for (const app of _apps.values()) {\n    _addComponent(app, component);\n  }\n  for (const serverApp of _serverApps.values()) {\n    _addComponent(serverApp, component);\n  }\n  return true;\n}\nfunction _getProvider(app, name2) {\n  const heartbeatController = app.container.getProvider(\"heartbeat\").getImmediate({ optional: true });\n  if (heartbeatController) {\n    void heartbeatController.triggerHeartbeat();\n  }\n  return app.container.getProvider(name2);\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst ERRORS = {\n  [\n    \"no-app\"\n    /* AppError.NO_APP */\n  ]: \"No Firebase App '{$appName}' has been created - call initializeApp() first\",\n  [\n    \"bad-app-name\"\n    /* AppError.BAD_APP_NAME */\n  ]: \"Illegal App name: '{$appName}'\",\n  [\n    \"duplicate-app\"\n    /* AppError.DUPLICATE_APP */\n  ]: \"Firebase App named '{$appName}' already exists with different options or config\",\n  [\n    \"app-deleted\"\n    /* AppError.APP_DELETED */\n  ]: \"Firebase App named '{$appName}' already deleted\",\n  [\n    \"server-app-deleted\"\n    /* AppError.SERVER_APP_DELETED */\n  ]: \"Firebase Server App has been deleted\",\n  [\n    \"no-options\"\n    /* AppError.NO_OPTIONS */\n  ]: \"Need to provide options, when not being deployed to hosting via source.\",\n  [\n    \"invalid-app-argument\"\n    /* AppError.INVALID_APP_ARGUMENT */\n  ]: \"firebase.{$appName}() takes either no argument or a Firebase App instance.\",\n  [\n    \"invalid-log-argument\"\n    /* AppError.INVALID_LOG_ARGUMENT */\n  ]: \"First argument to `onLog` must be null or a function.\",\n  [\n    \"idb-open\"\n    /* AppError.IDB_OPEN */\n  ]: \"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.\",\n  [\n    \"idb-get\"\n    /* AppError.IDB_GET */\n  ]: \"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.\",\n  [\n    \"idb-set\"\n    /* AppError.IDB_WRITE */\n  ]: \"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.\",\n  [\n    \"idb-delete\"\n    /* AppError.IDB_DELETE */\n  ]: \"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.\",\n  [\n    \"finalization-registry-not-supported\"\n    /* AppError.FINALIZATION_REGISTRY_NOT_SUPPORTED */\n  ]: \"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.\",\n  [\n    \"invalid-server-app-environment\"\n    /* AppError.INVALID_SERVER_APP_ENVIRONMENT */\n  ]: \"FirebaseServerApp is not for use in browser environments.\"\n};\nconst ERROR_FACTORY = new ErrorFactory(\"app\", \"Firebase\", ERRORS);\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nclass FirebaseAppImpl {\n  constructor(options, config, container) {\n    this._isDeleted = false;\n    this._options = Object.assign({}, options);\n    this._config = Object.assign({}, config);\n    this._name = config.name;\n    this._automaticDataCollectionEnabled = config.automaticDataCollectionEnabled;\n    this._container = container;\n    this.container.addComponent(new Component(\n      \"app\",\n      () => this,\n      \"PUBLIC\"\n      /* ComponentType.PUBLIC */\n    ));\n  }\n  get automaticDataCollectionEnabled() {\n    this.checkDestroyed();\n    return this._automaticDataCollectionEnabled;\n  }\n  set automaticDataCollectionEnabled(val) {\n    this.checkDestroyed();\n    this._automaticDataCollectionEnabled = val;\n  }\n  get name() {\n    this.checkDestroyed();\n    return this._name;\n  }\n  get options() {\n    this.checkDestroyed();\n    return this._options;\n  }\n  get config() {\n    this.checkDestroyed();\n    return this._config;\n  }\n  get container() {\n    return this._container;\n  }\n  get isDeleted() {\n    return this._isDeleted;\n  }\n  set isDeleted(val) {\n    this._isDeleted = val;\n  }\n  /**\n   * This function will throw an Error if the App has already been deleted -\n   * use before performing API actions on the App.\n   */\n  checkDestroyed() {\n    if (this.isDeleted) {\n      throw ERROR_FACTORY.create(\"app-deleted\", { appName: this._name });\n    }\n  }\n}\nfunction initializeApp(_options, rawConfig = {}) {\n  let options = _options;\n  if (typeof rawConfig !== \"object\") {\n    const name3 = rawConfig;\n    rawConfig = { name: name3 };\n  }\n  const config = Object.assign({ name: DEFAULT_ENTRY_NAME, automaticDataCollectionEnabled: false }, rawConfig);\n  const name2 = config.name;\n  if (typeof name2 !== \"string\" || !name2) {\n    throw ERROR_FACTORY.create(\"bad-app-name\", {\n      appName: String(name2)\n    });\n  }\n  options || (options = getDefaultAppConfig());\n  if (!options) {\n    throw ERROR_FACTORY.create(\n      \"no-options\"\n      /* AppError.NO_OPTIONS */\n    );\n  }\n  const existingApp = _apps.get(name2);\n  if (existingApp) {\n    if (deepEqual(options, existingApp.options) && deepEqual(config, existingApp.config)) {\n      return existingApp;\n    } else {\n      throw ERROR_FACTORY.create(\"duplicate-app\", { appName: name2 });\n    }\n  }\n  const container = new ComponentContainer(name2);\n  for (const component of _components.values()) {\n    container.addComponent(component);\n  }\n  const newApp = new FirebaseAppImpl(options, config, container);\n  _apps.set(name2, newApp);\n  return newApp;\n}\nfunction getApp(name2 = DEFAULT_ENTRY_NAME) {\n  const app = _apps.get(name2);\n  if (!app && name2 === DEFAULT_ENTRY_NAME && getDefaultAppConfig()) {\n    return initializeApp();\n  }\n  if (!app) {\n    throw ERROR_FACTORY.create(\"no-app\", { appName: name2 });\n  }\n  return app;\n}\nfunction getApps() {\n  return Array.from(_apps.values());\n}\nfunction registerVersion(libraryKeyOrName, version, variant) {\n  var _a;\n  let library = (_a = PLATFORM_LOG_STRING[libraryKeyOrName]) !== null && _a !== void 0 ? _a : libraryKeyOrName;\n  if (variant) {\n    library += `-${variant}`;\n  }\n  const libraryMismatch = library.match(/\\s|\\//);\n  const versionMismatch = version.match(/\\s|\\//);\n  if (libraryMismatch || versionMismatch) {\n    const warning = [\n      `Unable to register library \"${library}\" with version \"${version}\":`\n    ];\n    if (libraryMismatch) {\n      warning.push(`library name \"${library}\" contains illegal characters (whitespace or \"/\")`);\n    }\n    if (libraryMismatch && versionMismatch) {\n      warning.push(\"and\");\n    }\n    if (versionMismatch) {\n      warning.push(`version name \"${version}\" contains illegal characters (whitespace or \"/\")`);\n    }\n    logger.warn(warning.join(\" \"));\n    return;\n  }\n  _registerComponent(new Component(\n    `${library}-version`,\n    () => ({ library, version }),\n    \"VERSION\"\n    /* ComponentType.VERSION */\n  ));\n}\n/**\n * @license\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst DB_NAME = \"firebase-heartbeat-database\";\nconst DB_VERSION = 1;\nconst STORE_NAME = \"firebase-heartbeat-store\";\nlet dbPromise = null;\nfunction getDbPromise() {\n  if (!dbPromise) {\n    dbPromise = openDB(DB_NAME, DB_VERSION, {\n      upgrade: (db, oldVersion) => {\n        switch (oldVersion) {\n          case 0:\n            try {\n              db.createObjectStore(STORE_NAME);\n            } catch (e) {\n              console.warn(e);\n            }\n        }\n      }\n    }).catch((e) => {\n      throw ERROR_FACTORY.create(\"idb-open\", {\n        originalErrorMessage: e.message\n      });\n    });\n  }\n  return dbPromise;\n}\nasync function readHeartbeatsFromIndexedDB(app) {\n  try {\n    const db = await getDbPromise();\n    const tx = db.transaction(STORE_NAME);\n    const result = await tx.objectStore(STORE_NAME).get(computeKey(app));\n    await tx.done;\n    return result;\n  } catch (e) {\n    if (e instanceof FirebaseError) {\n      logger.warn(e.message);\n    } else {\n      const idbGetError = ERROR_FACTORY.create(\"idb-get\", {\n        originalErrorMessage: e === null || e === void 0 ? void 0 : e.message\n      });\n      logger.warn(idbGetError.message);\n    }\n  }\n}\nasync function writeHeartbeatsToIndexedDB(app, heartbeatObject) {\n  try {\n    const db = await getDbPromise();\n    const tx = db.transaction(STORE_NAME, \"readwrite\");\n    const objectStore = tx.objectStore(STORE_NAME);\n    await objectStore.put(heartbeatObject, computeKey(app));\n    await tx.done;\n  } catch (e) {\n    if (e instanceof FirebaseError) {\n      logger.warn(e.message);\n    } else {\n      const idbGetError = ERROR_FACTORY.create(\"idb-set\", {\n        originalErrorMessage: e === null || e === void 0 ? void 0 : e.message\n      });\n      logger.warn(idbGetError.message);\n    }\n  }\n}\nfunction computeKey(app) {\n  return `${app.name}!${app.options.appId}`;\n}\n/**\n * @license\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst MAX_HEADER_BYTES = 1024;\nconst STORED_HEARTBEAT_RETENTION_MAX_MILLIS = 30 * 24 * 60 * 60 * 1e3;\nclass HeartbeatServiceImpl {\n  constructor(container) {\n    this.container = container;\n    this._heartbeatsCache = null;\n    const app = this.container.getProvider(\"app\").getImmediate();\n    this._storage = new HeartbeatStorageImpl(app);\n    this._heartbeatsCachePromise = this._storage.read().then((result) => {\n      this._heartbeatsCache = result;\n      return result;\n    });\n  }\n  /**\n   * Called to report a heartbeat. The function will generate\n   * a HeartbeatsByUserAgent object, update heartbeatsCache, and persist it\n   * to IndexedDB.\n   * Note that we only store one heartbeat per day. So if a heartbeat for today is\n   * already logged, subsequent calls to this function in the same day will be ignored.\n   */\n  async triggerHeartbeat() {\n    var _a, _b;\n    const platformLogger = this.container.getProvider(\"platform-logger\").getImmediate();\n    const agent = platformLogger.getPlatformInfoString();\n    const date = getUTCDateString();\n    if (((_a = this._heartbeatsCache) === null || _a === void 0 ? void 0 : _a.heartbeats) == null) {\n      this._heartbeatsCache = await this._heartbeatsCachePromise;\n      if (((_b = this._heartbeatsCache) === null || _b === void 0 ? void 0 : _b.heartbeats) == null) {\n        return;\n      }\n    }\n    if (this._heartbeatsCache.lastSentHeartbeatDate === date || this._heartbeatsCache.heartbeats.some((singleDateHeartbeat) => singleDateHeartbeat.date === date)) {\n      return;\n    } else {\n      this._heartbeatsCache.heartbeats.push({ date, agent });\n    }\n    this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((singleDateHeartbeat) => {\n      const hbTimestamp = new Date(singleDateHeartbeat.date).valueOf();\n      const now = Date.now();\n      return now - hbTimestamp <= STORED_HEARTBEAT_RETENTION_MAX_MILLIS;\n    });\n    return this._storage.overwrite(this._heartbeatsCache);\n  }\n  /**\n   * Returns a base64 encoded string which can be attached to the heartbeat-specific header directly.\n   * It also clears all heartbeats from memory as well as in IndexedDB.\n   *\n   * NOTE: Consuming product SDKs should not send the header if this method\n   * returns an empty string.\n   */\n  async getHeartbeatsHeader() {\n    var _a;\n    if (this._heartbeatsCache === null) {\n      await this._heartbeatsCachePromise;\n    }\n    if (((_a = this._heartbeatsCache) === null || _a === void 0 ? void 0 : _a.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0) {\n      return \"\";\n    }\n    const date = getUTCDateString();\n    const { heartbeatsToSend, unsentEntries } = extractHeartbeatsForHeader(this._heartbeatsCache.heartbeats);\n    const headerString = base64urlEncodeWithoutPadding(JSON.stringify({ version: 2, heartbeats: heartbeatsToSend }));\n    this._heartbeatsCache.lastSentHeartbeatDate = date;\n    if (unsentEntries.length > 0) {\n      this._heartbeatsCache.heartbeats = unsentEntries;\n      await this._storage.overwrite(this._heartbeatsCache);\n    } else {\n      this._heartbeatsCache.heartbeats = [];\n      void this._storage.overwrite(this._heartbeatsCache);\n    }\n    return headerString;\n  }\n}\nfunction getUTCDateString() {\n  const today = /* @__PURE__ */ new Date();\n  return today.toISOString().substring(0, 10);\n}\nfunction extractHeartbeatsForHeader(heartbeatsCache, maxSize = MAX_HEADER_BYTES) {\n  const heartbeatsToSend = [];\n  let unsentEntries = heartbeatsCache.slice();\n  for (const singleDateHeartbeat of heartbeatsCache) {\n    const heartbeatEntry = heartbeatsToSend.find((hb) => hb.agent === singleDateHeartbeat.agent);\n    if (!heartbeatEntry) {\n      heartbeatsToSend.push({\n        agent: singleDateHeartbeat.agent,\n        dates: [singleDateHeartbeat.date]\n      });\n      if (countBytes(heartbeatsToSend) > maxSize) {\n        heartbeatsToSend.pop();\n        break;\n      }\n    } else {\n      heartbeatEntry.dates.push(singleDateHeartbeat.date);\n      if (countBytes(heartbeatsToSend) > maxSize) {\n        heartbeatEntry.dates.pop();\n        break;\n      }\n    }\n    unsentEntries = unsentEntries.slice(1);\n  }\n  return {\n    heartbeatsToSend,\n    unsentEntries\n  };\n}\nclass HeartbeatStorageImpl {\n  constructor(app) {\n    this.app = app;\n    this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();\n  }\n  async runIndexedDBEnvironmentCheck() {\n    if (!isIndexedDBAvailable()) {\n      return false;\n    } else {\n      return validateIndexedDBOpenable().then(() => true).catch(() => false);\n    }\n  }\n  /**\n   * Read all heartbeats.\n   */\n  async read() {\n    const canUseIndexedDB = await this._canUseIndexedDBPromise;\n    if (!canUseIndexedDB) {\n      return { heartbeats: [] };\n    } else {\n      const idbHeartbeatObject = await readHeartbeatsFromIndexedDB(this.app);\n      if (idbHeartbeatObject === null || idbHeartbeatObject === void 0 ? void 0 : idbHeartbeatObject.heartbeats) {\n        return idbHeartbeatObject;\n      } else {\n        return { heartbeats: [] };\n      }\n    }\n  }\n  // overwrite the storage with the provided heartbeats\n  async overwrite(heartbeatsObject) {\n    var _a;\n    const canUseIndexedDB = await this._canUseIndexedDBPromise;\n    if (!canUseIndexedDB) {\n      return;\n    } else {\n      const existingHeartbeatsObject = await this.read();\n      return writeHeartbeatsToIndexedDB(this.app, {\n        lastSentHeartbeatDate: (_a = heartbeatsObject.lastSentHeartbeatDate) !== null && _a !== void 0 ? _a : existingHeartbeatsObject.lastSentHeartbeatDate,\n        heartbeats: heartbeatsObject.heartbeats\n      });\n    }\n  }\n  // add heartbeats\n  async add(heartbeatsObject) {\n    var _a;\n    const canUseIndexedDB = await this._canUseIndexedDBPromise;\n    if (!canUseIndexedDB) {\n      return;\n    } else {\n      const existingHeartbeatsObject = await this.read();\n      return writeHeartbeatsToIndexedDB(this.app, {\n        lastSentHeartbeatDate: (_a = heartbeatsObject.lastSentHeartbeatDate) !== null && _a !== void 0 ? _a : existingHeartbeatsObject.lastSentHeartbeatDate,\n        heartbeats: [\n          ...existingHeartbeatsObject.heartbeats,\n          ...heartbeatsObject.heartbeats\n        ]\n      });\n    }\n  }\n}\nfunction countBytes(heartbeatsCache) {\n  return base64urlEncodeWithoutPadding(\n    // heartbeatsCache wrapper properties\n    JSON.stringify({ version: 2, heartbeats: heartbeatsCache })\n  ).length;\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction registerCoreComponents(variant) {\n  _registerComponent(new Component(\n    \"platform-logger\",\n    (container) => new PlatformLoggerServiceImpl(container),\n    \"PRIVATE\"\n    /* ComponentType.PRIVATE */\n  ));\n  _registerComponent(new Component(\n    \"heartbeat\",\n    (container) => new HeartbeatServiceImpl(container),\n    \"PRIVATE\"\n    /* ComponentType.PRIVATE */\n  ));\n  registerVersion(name$p, version$1, variant);\n  registerVersion(name$p, version$1, \"esm2017\");\n  registerVersion(\"fire-js\", \"\");\n}\nregisterCoreComponents(\"\");\nexport {\n  FirebaseError,\n  DEFAULT_ENTRY_NAME as _DEFAULT_ENTRY_NAME,\n  _addComponent,\n  _apps,\n  _components,\n  _getProvider,\n  _registerComponent,\n  _serverApps,\n  getApp,\n  getApps,\n  initializeApp,\n  registerVersion\n};\n","import { registerVersion, _registerComponent, _getProvider } from \"../../../app/dist/esm/index.esm2017.js\";\nimport { Component } from \"../../../component/dist/esm/index.esm2017.js\";\nimport { ErrorFactory, FirebaseError } from \"../../../util/dist/index.esm2017.js\";\nimport { openDB } from \"../../../../idb/build/index.js\";\nconst name = \"@firebase/installations\";\nconst version = \"0.6.7\";\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst PENDING_TIMEOUT_MS = 1e4;\nconst PACKAGE_VERSION = `w:${version}`;\nconst INTERNAL_AUTH_VERSION = \"FIS_v2\";\nconst INSTALLATIONS_API_URL = \"https://firebaseinstallations.googleapis.com/v1\";\nconst TOKEN_EXPIRATION_BUFFER = 60 * 60 * 1e3;\nconst SERVICE = \"installations\";\nconst SERVICE_NAME = \"Installations\";\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst ERROR_DESCRIPTION_MAP = {\n  [\n    \"missing-app-config-values\"\n    /* ErrorCode.MISSING_APP_CONFIG_VALUES */\n  ]: 'Missing App configuration value: \"{$valueName}\"',\n  [\n    \"not-registered\"\n    /* ErrorCode.NOT_REGISTERED */\n  ]: \"Firebase Installation is not registered.\",\n  [\n    \"installation-not-found\"\n    /* ErrorCode.INSTALLATION_NOT_FOUND */\n  ]: \"Firebase Installation not found.\",\n  [\n    \"request-failed\"\n    /* ErrorCode.REQUEST_FAILED */\n  ]: '{$requestName} request failed with error \"{$serverCode} {$serverStatus}: {$serverMessage}\"',\n  [\n    \"app-offline\"\n    /* ErrorCode.APP_OFFLINE */\n  ]: \"Could not process request. Application offline.\",\n  [\n    \"delete-pending-registration\"\n    /* ErrorCode.DELETE_PENDING_REGISTRATION */\n  ]: \"Can't delete installation while there is a pending registration request.\"\n};\nconst ERROR_FACTORY = new ErrorFactory(SERVICE, SERVICE_NAME, ERROR_DESCRIPTION_MAP);\nfunction isServerError(error) {\n  return error instanceof FirebaseError && error.code.includes(\n    \"request-failed\"\n    /* ErrorCode.REQUEST_FAILED */\n  );\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction getInstallationsEndpoint({ projectId }) {\n  return `${INSTALLATIONS_API_URL}/projects/${projectId}/installations`;\n}\nfunction extractAuthTokenInfoFromResponse(response) {\n  return {\n    token: response.token,\n    requestStatus: 2,\n    expiresIn: getExpiresInFromResponseExpiresIn(response.expiresIn),\n    creationTime: Date.now()\n  };\n}\nasync function getErrorFromResponse(requestName, response) {\n  const responseJson = await response.json();\n  const errorData = responseJson.error;\n  return ERROR_FACTORY.create(\"request-failed\", {\n    requestName,\n    serverCode: errorData.code,\n    serverMessage: errorData.message,\n    serverStatus: errorData.status\n  });\n}\nfunction getHeaders({ apiKey }) {\n  return new Headers({\n    \"Content-Type\": \"application/json\",\n    Accept: \"application/json\",\n    \"x-goog-api-key\": apiKey\n  });\n}\nfunction getHeadersWithAuth(appConfig, { refreshToken }) {\n  const headers = getHeaders(appConfig);\n  headers.append(\"Authorization\", getAuthorizationHeader(refreshToken));\n  return headers;\n}\nasync function retryIfServerError(fn) {\n  const result = await fn();\n  if (result.status >= 500 && result.status < 600) {\n    return fn();\n  }\n  return result;\n}\nfunction getExpiresInFromResponseExpiresIn(responseExpiresIn) {\n  return Number(responseExpiresIn.replace(\"s\", \"000\"));\n}\nfunction getAuthorizationHeader(refreshToken) {\n  return `${INTERNAL_AUTH_VERSION} ${refreshToken}`;\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nasync function createInstallationRequest({ appConfig, heartbeatServiceProvider }, { fid }) {\n  const endpoint = getInstallationsEndpoint(appConfig);\n  const headers = getHeaders(appConfig);\n  const heartbeatService = heartbeatServiceProvider.getImmediate({\n    optional: true\n  });\n  if (heartbeatService) {\n    const heartbeatsHeader = await heartbeatService.getHeartbeatsHeader();\n    if (heartbeatsHeader) {\n      headers.append(\"x-firebase-client\", heartbeatsHeader);\n    }\n  }\n  const body = {\n    fid,\n    authVersion: INTERNAL_AUTH_VERSION,\n    appId: appConfig.appId,\n    sdkVersion: PACKAGE_VERSION\n  };\n  const request = {\n    method: \"POST\",\n    headers,\n    body: JSON.stringify(body)\n  };\n  const response = await retryIfServerError(() => fetch(endpoint, request));\n  if (response.ok) {\n    const responseValue = await response.json();\n    const registeredInstallationEntry = {\n      fid: responseValue.fid || fid,\n      registrationStatus: 2,\n      refreshToken: responseValue.refreshToken,\n      authToken: extractAuthTokenInfoFromResponse(responseValue.authToken)\n    };\n    return registeredInstallationEntry;\n  } else {\n    throw await getErrorFromResponse(\"Create Installation\", response);\n  }\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction sleep(ms) {\n  return new Promise((resolve) => {\n    setTimeout(resolve, ms);\n  });\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction bufferToBase64UrlSafe(array) {\n  const b64 = btoa(String.fromCharCode(...array));\n  return b64.replace(/\\+/g, \"-\").replace(/\\//g, \"_\");\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst VALID_FID_PATTERN = /^[cdef][\\w-]{21}$/;\nconst INVALID_FID = \"\";\nfunction generateFid() {\n  try {\n    const fidByteArray = new Uint8Array(17);\n    const crypto = self.crypto || self.msCrypto;\n    crypto.getRandomValues(fidByteArray);\n    fidByteArray[0] = 112 + fidByteArray[0] % 16;\n    const fid = encode(fidByteArray);\n    return VALID_FID_PATTERN.test(fid) ? fid : INVALID_FID;\n  } catch (_a) {\n    return INVALID_FID;\n  }\n}\nfunction encode(fidByteArray) {\n  const b64String = bufferToBase64UrlSafe(fidByteArray);\n  return b64String.substr(0, 22);\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction getKey(appConfig) {\n  return `${appConfig.appName}!${appConfig.appId}`;\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst fidChangeCallbacks = /* @__PURE__ */ new Map();\nfunction fidChanged(appConfig, fid) {\n  const key = getKey(appConfig);\n  callFidChangeCallbacks(key, fid);\n  broadcastFidChange(key, fid);\n}\nfunction callFidChangeCallbacks(key, fid) {\n  const callbacks = fidChangeCallbacks.get(key);\n  if (!callbacks) {\n    return;\n  }\n  for (const callback of callbacks) {\n    callback(fid);\n  }\n}\nfunction broadcastFidChange(key, fid) {\n  const channel = getBroadcastChannel();\n  if (channel) {\n    channel.postMessage({ key, fid });\n  }\n  closeBroadcastChannel();\n}\nlet broadcastChannel = null;\nfunction getBroadcastChannel() {\n  if (!broadcastChannel && \"BroadcastChannel\" in self) {\n    broadcastChannel = new BroadcastChannel(\"[Firebase] FID Change\");\n    broadcastChannel.onmessage = (e) => {\n      callFidChangeCallbacks(e.data.key, e.data.fid);\n    };\n  }\n  return broadcastChannel;\n}\nfunction closeBroadcastChannel() {\n  if (fidChangeCallbacks.size === 0 && broadcastChannel) {\n    broadcastChannel.close();\n    broadcastChannel = null;\n  }\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst DATABASE_NAME = \"firebase-installations-database\";\nconst DATABASE_VERSION = 1;\nconst OBJECT_STORE_NAME = \"firebase-installations-store\";\nlet dbPromise = null;\nfunction getDbPromise() {\n  if (!dbPromise) {\n    dbPromise = openDB(DATABASE_NAME, DATABASE_VERSION, {\n      upgrade: (db, oldVersion) => {\n        switch (oldVersion) {\n          case 0:\n            db.createObjectStore(OBJECT_STORE_NAME);\n        }\n      }\n    });\n  }\n  return dbPromise;\n}\nasync function set(appConfig, value) {\n  const key = getKey(appConfig);\n  const db = await getDbPromise();\n  const tx = db.transaction(OBJECT_STORE_NAME, \"readwrite\");\n  const objectStore = tx.objectStore(OBJECT_STORE_NAME);\n  const oldValue = await objectStore.get(key);\n  await objectStore.put(value, key);\n  await tx.done;\n  if (!oldValue || oldValue.fid !== value.fid) {\n    fidChanged(appConfig, value.fid);\n  }\n  return value;\n}\nasync function remove(appConfig) {\n  const key = getKey(appConfig);\n  const db = await getDbPromise();\n  const tx = db.transaction(OBJECT_STORE_NAME, \"readwrite\");\n  await tx.objectStore(OBJECT_STORE_NAME).delete(key);\n  await tx.done;\n}\nasync function update(appConfig, updateFn) {\n  const key = getKey(appConfig);\n  const db = await getDbPromise();\n  const tx = db.transaction(OBJECT_STORE_NAME, \"readwrite\");\n  const store = tx.objectStore(OBJECT_STORE_NAME);\n  const oldValue = await store.get(key);\n  const newValue = updateFn(oldValue);\n  if (newValue === void 0) {\n    await store.delete(key);\n  } else {\n    await store.put(newValue, key);\n  }\n  await tx.done;\n  if (newValue && (!oldValue || oldValue.fid !== newValue.fid)) {\n    fidChanged(appConfig, newValue.fid);\n  }\n  return newValue;\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nasync function getInstallationEntry(installations) {\n  let registrationPromise;\n  const installationEntry = await update(installations.appConfig, (oldEntry) => {\n    const installationEntry2 = updateOrCreateInstallationEntry(oldEntry);\n    const entryWithPromise = triggerRegistrationIfNecessary(installations, installationEntry2);\n    registrationPromise = entryWithPromise.registrationPromise;\n    return entryWithPromise.installationEntry;\n  });\n  if (installationEntry.fid === INVALID_FID) {\n    return { installationEntry: await registrationPromise };\n  }\n  return {\n    installationEntry,\n    registrationPromise\n  };\n}\nfunction updateOrCreateInstallationEntry(oldEntry) {\n  const entry = oldEntry || {\n    fid: generateFid(),\n    registrationStatus: 0\n    /* RequestStatus.NOT_STARTED */\n  };\n  return clearTimedOutRequest(entry);\n}\nfunction triggerRegistrationIfNecessary(installations, installationEntry) {\n  if (installationEntry.registrationStatus === 0) {\n    if (!navigator.onLine) {\n      const registrationPromiseWithError = Promise.reject(ERROR_FACTORY.create(\n        \"app-offline\"\n        /* ErrorCode.APP_OFFLINE */\n      ));\n      return {\n        installationEntry,\n        registrationPromise: registrationPromiseWithError\n      };\n    }\n    const inProgressEntry = {\n      fid: installationEntry.fid,\n      registrationStatus: 1,\n      registrationTime: Date.now()\n    };\n    const registrationPromise = registerInstallation(installations, inProgressEntry);\n    return { installationEntry: inProgressEntry, registrationPromise };\n  } else if (installationEntry.registrationStatus === 1) {\n    return {\n      installationEntry,\n      registrationPromise: waitUntilFidRegistration(installations)\n    };\n  } else {\n    return { installationEntry };\n  }\n}\nasync function registerInstallation(installations, installationEntry) {\n  try {\n    const registeredInstallationEntry = await createInstallationRequest(installations, installationEntry);\n    return set(installations.appConfig, registeredInstallationEntry);\n  } catch (e) {\n    if (isServerError(e) && e.customData.serverCode === 409) {\n      await remove(installations.appConfig);\n    } else {\n      await set(installations.appConfig, {\n        fid: installationEntry.fid,\n        registrationStatus: 0\n        /* RequestStatus.NOT_STARTED */\n      });\n    }\n    throw e;\n  }\n}\nasync function waitUntilFidRegistration(installations) {\n  let entry = await updateInstallationRequest(installations.appConfig);\n  while (entry.registrationStatus === 1) {\n    await sleep(100);\n    entry = await updateInstallationRequest(installations.appConfig);\n  }\n  if (entry.registrationStatus === 0) {\n    const { installationEntry, registrationPromise } = await getInstallationEntry(installations);\n    if (registrationPromise) {\n      return registrationPromise;\n    } else {\n      return installationEntry;\n    }\n  }\n  return entry;\n}\nfunction updateInstallationRequest(appConfig) {\n  return update(appConfig, (oldEntry) => {\n    if (!oldEntry) {\n      throw ERROR_FACTORY.create(\n        \"installation-not-found\"\n        /* ErrorCode.INSTALLATION_NOT_FOUND */\n      );\n    }\n    return clearTimedOutRequest(oldEntry);\n  });\n}\nfunction clearTimedOutRequest(entry) {\n  if (hasInstallationRequestTimedOut(entry)) {\n    return {\n      fid: entry.fid,\n      registrationStatus: 0\n      /* RequestStatus.NOT_STARTED */\n    };\n  }\n  return entry;\n}\nfunction hasInstallationRequestTimedOut(installationEntry) {\n  return installationEntry.registrationStatus === 1 && installationEntry.registrationTime + PENDING_TIMEOUT_MS < Date.now();\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nasync function generateAuthTokenRequest({ appConfig, heartbeatServiceProvider }, installationEntry) {\n  const endpoint = getGenerateAuthTokenEndpoint(appConfig, installationEntry);\n  const headers = getHeadersWithAuth(appConfig, installationEntry);\n  const heartbeatService = heartbeatServiceProvider.getImmediate({\n    optional: true\n  });\n  if (heartbeatService) {\n    const heartbeatsHeader = await heartbeatService.getHeartbeatsHeader();\n    if (heartbeatsHeader) {\n      headers.append(\"x-firebase-client\", heartbeatsHeader);\n    }\n  }\n  const body = {\n    installation: {\n      sdkVersion: PACKAGE_VERSION,\n      appId: appConfig.appId\n    }\n  };\n  const request = {\n    method: \"POST\",\n    headers,\n    body: JSON.stringify(body)\n  };\n  const response = await retryIfServerError(() => fetch(endpoint, request));\n  if (response.ok) {\n    const responseValue = await response.json();\n    const completedAuthToken = extractAuthTokenInfoFromResponse(responseValue);\n    return completedAuthToken;\n  } else {\n    throw await getErrorFromResponse(\"Generate Auth Token\", response);\n  }\n}\nfunction getGenerateAuthTokenEndpoint(appConfig, { fid }) {\n  return `${getInstallationsEndpoint(appConfig)}/${fid}/authTokens:generate`;\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nasync function refreshAuthToken(installations, forceRefresh = false) {\n  let tokenPromise;\n  const entry = await update(installations.appConfig, (oldEntry) => {\n    if (!isEntryRegistered(oldEntry)) {\n      throw ERROR_FACTORY.create(\n        \"not-registered\"\n        /* ErrorCode.NOT_REGISTERED */\n      );\n    }\n    const oldAuthToken = oldEntry.authToken;\n    if (!forceRefresh && isAuthTokenValid(oldAuthToken)) {\n      return oldEntry;\n    } else if (oldAuthToken.requestStatus === 1) {\n      tokenPromise = waitUntilAuthTokenRequest(installations, forceRefresh);\n      return oldEntry;\n    } else {\n      if (!navigator.onLine) {\n        throw ERROR_FACTORY.create(\n          \"app-offline\"\n          /* ErrorCode.APP_OFFLINE */\n        );\n      }\n      const inProgressEntry = makeAuthTokenRequestInProgressEntry(oldEntry);\n      tokenPromise = fetchAuthTokenFromServer(installations, inProgressEntry);\n      return inProgressEntry;\n    }\n  });\n  const authToken = tokenPromise ? await tokenPromise : entry.authToken;\n  return authToken;\n}\nasync function waitUntilAuthTokenRequest(installations, forceRefresh) {\n  let entry = await updateAuthTokenRequest(installations.appConfig);\n  while (entry.authToken.requestStatus === 1) {\n    await sleep(100);\n    entry = await updateAuthTokenRequest(installations.appConfig);\n  }\n  const authToken = entry.authToken;\n  if (authToken.requestStatus === 0) {\n    return refreshAuthToken(installations, forceRefresh);\n  } else {\n    return authToken;\n  }\n}\nfunction updateAuthTokenRequest(appConfig) {\n  return update(appConfig, (oldEntry) => {\n    if (!isEntryRegistered(oldEntry)) {\n      throw ERROR_FACTORY.create(\n        \"not-registered\"\n        /* ErrorCode.NOT_REGISTERED */\n      );\n    }\n    const oldAuthToken = oldEntry.authToken;\n    if (hasAuthTokenRequestTimedOut(oldAuthToken)) {\n      return Object.assign(Object.assign({}, oldEntry), { authToken: {\n        requestStatus: 0\n        /* RequestStatus.NOT_STARTED */\n      } });\n    }\n    return oldEntry;\n  });\n}\nasync function fetchAuthTokenFromServer(installations, installationEntry) {\n  try {\n    const authToken = await generateAuthTokenRequest(installations, installationEntry);\n    const updatedInstallationEntry = Object.assign(Object.assign({}, installationEntry), { authToken });\n    await set(installations.appConfig, updatedInstallationEntry);\n    return authToken;\n  } catch (e) {\n    if (isServerError(e) && (e.customData.serverCode === 401 || e.customData.serverCode === 404)) {\n      await remove(installations.appConfig);\n    } else {\n      const updatedInstallationEntry = Object.assign(Object.assign({}, installationEntry), { authToken: {\n        requestStatus: 0\n        /* RequestStatus.NOT_STARTED */\n      } });\n      await set(installations.appConfig, updatedInstallationEntry);\n    }\n    throw e;\n  }\n}\nfunction isEntryRegistered(installationEntry) {\n  return installationEntry !== void 0 && installationEntry.registrationStatus === 2;\n}\nfunction isAuthTokenValid(authToken) {\n  return authToken.requestStatus === 2 && !isAuthTokenExpired(authToken);\n}\nfunction isAuthTokenExpired(authToken) {\n  const now = Date.now();\n  return now < authToken.creationTime || authToken.creationTime + authToken.expiresIn < now + TOKEN_EXPIRATION_BUFFER;\n}\nfunction makeAuthTokenRequestInProgressEntry(oldEntry) {\n  const inProgressAuthToken = {\n    requestStatus: 1,\n    requestTime: Date.now()\n  };\n  return Object.assign(Object.assign({}, oldEntry), { authToken: inProgressAuthToken });\n}\nfunction hasAuthTokenRequestTimedOut(authToken) {\n  return authToken.requestStatus === 1 && authToken.requestTime + PENDING_TIMEOUT_MS < Date.now();\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nasync function getId(installations) {\n  const installationsImpl = installations;\n  const { installationEntry, registrationPromise } = await getInstallationEntry(installationsImpl);\n  if (registrationPromise) {\n    registrationPromise.catch(console.error);\n  } else {\n    refreshAuthToken(installationsImpl).catch(console.error);\n  }\n  return installationEntry.fid;\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nasync function getToken(installations, forceRefresh = false) {\n  const installationsImpl = installations;\n  await completeInstallationRegistration(installationsImpl);\n  const authToken = await refreshAuthToken(installationsImpl, forceRefresh);\n  return authToken.token;\n}\nasync function completeInstallationRegistration(installations) {\n  const { registrationPromise } = await getInstallationEntry(installations);\n  if (registrationPromise) {\n    await registrationPromise;\n  }\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction extractAppConfig(app) {\n  if (!app || !app.options) {\n    throw getMissingValueError(\"App Configuration\");\n  }\n  if (!app.name) {\n    throw getMissingValueError(\"App Name\");\n  }\n  const configKeys = [\n    \"projectId\",\n    \"apiKey\",\n    \"appId\"\n  ];\n  for (const keyName of configKeys) {\n    if (!app.options[keyName]) {\n      throw getMissingValueError(keyName);\n    }\n  }\n  return {\n    appName: app.name,\n    projectId: app.options.projectId,\n    apiKey: app.options.apiKey,\n    appId: app.options.appId\n  };\n}\nfunction getMissingValueError(valueName) {\n  return ERROR_FACTORY.create(\"missing-app-config-values\", {\n    valueName\n  });\n}\n/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst INSTALLATIONS_NAME = \"installations\";\nconst INSTALLATIONS_NAME_INTERNAL = \"installations-internal\";\nconst publicFactory = (container) => {\n  const app = container.getProvider(\"app\").getImmediate();\n  const appConfig = extractAppConfig(app);\n  const heartbeatServiceProvider = _getProvider(app, \"heartbeat\");\n  const installationsImpl = {\n    app,\n    appConfig,\n    heartbeatServiceProvider,\n    _delete: () => Promise.resolve()\n  };\n  return installationsImpl;\n};\nconst internalFactory = (container) => {\n  const app = container.getProvider(\"app\").getImmediate();\n  const installations = _getProvider(app, INSTALLATIONS_NAME).getImmediate();\n  const installationsInternal = {\n    getId: () => getId(installations),\n    getToken: (forceRefresh) => getToken(installations, forceRefresh)\n  };\n  return installationsInternal;\n};\nfunction registerInstallations() {\n  _registerComponent(new Component(\n    INSTALLATIONS_NAME,\n    publicFactory,\n    \"PUBLIC\"\n    /* ComponentType.PUBLIC */\n  ));\n  _registerComponent(new Component(\n    INSTALLATIONS_NAME_INTERNAL,\n    internalFactory,\n    \"PRIVATE\"\n    /* ComponentType.PRIVATE */\n  ));\n}\nregisterInstallations();\nregisterVersion(name, version);\nregisterVersion(name, version, \"esm2017\");\nexport {\n  getId,\n  getToken\n};\n","import { _registerComponent, registerVersion, _getProvider, getApp } from \"../../../app/dist/esm/index.esm2017.js\";\nimport { Logger } from \"../../../logger/dist/esm/index.esm2017.js\";\nimport { getModularInstance, deepEqual, ErrorFactory, isBrowserExtension, calculateBackoffMillis, FirebaseError, isIndexedDBAvailable, validateIndexedDBOpenable, areCookiesEnabled } from \"../../../util/dist/index.esm2017.js\";\nimport { Component } from \"../../../component/dist/esm/index.esm2017.js\";\nimport \"../../../installations/dist/esm/index.esm2017.js\";\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst ANALYTICS_TYPE = \"analytics\";\nconst GA_FID_KEY = \"firebase_id\";\nconst ORIGIN_KEY = \"origin\";\nconst FETCH_TIMEOUT_MILLIS = 60 * 1e3;\nconst DYNAMIC_CONFIG_URL = \"https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig\";\nconst GTAG_URL = \"https://www.googletagmanager.com/gtag/js\";\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst logger = new Logger(\"@firebase/analytics\");\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst ERRORS = {\n  [\n    \"already-exists\"\n    /* AnalyticsError.ALREADY_EXISTS */\n  ]: \"A Firebase Analytics instance with the appId {$id}  already exists. Only one Firebase Analytics instance can be created for each appId.\",\n  [\n    \"already-initialized\"\n    /* AnalyticsError.ALREADY_INITIALIZED */\n  ]: \"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-intialized instance.\",\n  [\n    \"already-initialized-settings\"\n    /* AnalyticsError.ALREADY_INITIALIZED_SETTINGS */\n  ]: \"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.\",\n  [\n    \"interop-component-reg-failed\"\n    /* AnalyticsError.INTEROP_COMPONENT_REG_FAILED */\n  ]: \"Firebase Analytics Interop Component failed to instantiate: {$reason}\",\n  [\n    \"invalid-analytics-context\"\n    /* AnalyticsError.INVALID_ANALYTICS_CONTEXT */\n  ]: \"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}\",\n  [\n    \"indexeddb-unavailable\"\n    /* AnalyticsError.INDEXEDDB_UNAVAILABLE */\n  ]: \"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}\",\n  [\n    \"fetch-throttle\"\n    /* AnalyticsError.FETCH_THROTTLE */\n  ]: \"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.\",\n  [\n    \"config-fetch-failed\"\n    /* AnalyticsError.CONFIG_FETCH_FAILED */\n  ]: \"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}\",\n  [\n    \"no-api-key\"\n    /* AnalyticsError.NO_API_KEY */\n  ]: 'The \"apiKey\" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',\n  [\n    \"no-app-id\"\n    /* AnalyticsError.NO_APP_ID */\n  ]: 'The \"appId\" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.',\n  [\n    \"no-client-id\"\n    /* AnalyticsError.NO_CLIENT_ID */\n  ]: 'The \"client_id\" field is empty.',\n  [\n    \"invalid-gtag-resource\"\n    /* AnalyticsError.INVALID_GTAG_RESOURCE */\n  ]: \"Trusted Types detected an invalid gtag resource: {$gtagURL}.\"\n};\nconst ERROR_FACTORY = new ErrorFactory(\"analytics\", \"Analytics\", ERRORS);\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction createGtagTrustedTypesScriptURL(url) {\n  if (!url.startsWith(GTAG_URL)) {\n    const err = ERROR_FACTORY.create(\"invalid-gtag-resource\", {\n      gtagURL: url\n    });\n    logger.warn(err.message);\n    return \"\";\n  }\n  return url;\n}\nfunction promiseAllSettled(promises) {\n  return Promise.all(promises.map((promise) => promise.catch((e) => e)));\n}\nfunction createTrustedTypesPolicy(policyName, policyOptions) {\n  let trustedTypesPolicy;\n  if (window.trustedTypes) {\n    trustedTypesPolicy = window.trustedTypes.createPolicy(policyName, policyOptions);\n  }\n  return trustedTypesPolicy;\n}\nfunction insertScriptTag(dataLayerName2, measurementId) {\n  const trustedTypesPolicy = createTrustedTypesPolicy(\"firebase-js-sdk-policy\", {\n    createScriptURL: createGtagTrustedTypesScriptURL\n  });\n  const script = document.createElement(\"script\");\n  const gtagScriptURL = `${GTAG_URL}?l=${dataLayerName2}&id=${measurementId}`;\n  script.src = trustedTypesPolicy ? trustedTypesPolicy === null || trustedTypesPolicy === void 0 ? void 0 : trustedTypesPolicy.createScriptURL(gtagScriptURL) : gtagScriptURL;\n  script.async = true;\n  document.head.appendChild(script);\n}\nfunction getOrCreateDataLayer(dataLayerName2) {\n  let dataLayer = [];\n  if (Array.isArray(window[dataLayerName2])) {\n    dataLayer = window[dataLayerName2];\n  } else {\n    window[dataLayerName2] = dataLayer;\n  }\n  return dataLayer;\n}\nasync function gtagOnConfig(gtagCore, initializationPromisesMap2, dynamicConfigPromisesList2, measurementIdToAppId2, measurementId, gtagParams) {\n  const correspondingAppId = measurementIdToAppId2[measurementId];\n  try {\n    if (correspondingAppId) {\n      await initializationPromisesMap2[correspondingAppId];\n    } else {\n      const dynamicConfigResults = await promiseAllSettled(dynamicConfigPromisesList2);\n      const foundConfig = dynamicConfigResults.find((config) => config.measurementId === measurementId);\n      if (foundConfig) {\n        await initializationPromisesMap2[foundConfig.appId];\n      }\n    }\n  } catch (e) {\n    logger.error(e);\n  }\n  gtagCore(\"config\", measurementId, gtagParams);\n}\nasync function gtagOnEvent(gtagCore, initializationPromisesMap2, dynamicConfigPromisesList2, measurementId, gtagParams) {\n  try {\n    let initializationPromisesToWaitFor = [];\n    if (gtagParams && gtagParams[\"send_to\"]) {\n      let gaSendToList = gtagParams[\"send_to\"];\n      if (!Array.isArray(gaSendToList)) {\n        gaSendToList = [gaSendToList];\n      }\n      const dynamicConfigResults = await promiseAllSettled(dynamicConfigPromisesList2);\n      for (const sendToId of gaSendToList) {\n        const foundConfig = dynamicConfigResults.find((config) => config.measurementId === sendToId);\n        const initializationPromise = foundConfig && initializationPromisesMap2[foundConfig.appId];\n        if (initializationPromise) {\n          initializationPromisesToWaitFor.push(initializationPromise);\n        } else {\n          initializationPromisesToWaitFor = [];\n          break;\n        }\n      }\n    }\n    if (initializationPromisesToWaitFor.length === 0) {\n      initializationPromisesToWaitFor = Object.values(initializationPromisesMap2);\n    }\n    await Promise.all(initializationPromisesToWaitFor);\n    gtagCore(\"event\", measurementId, gtagParams || {});\n  } catch (e) {\n    logger.error(e);\n  }\n}\nfunction wrapGtag(gtagCore, initializationPromisesMap2, dynamicConfigPromisesList2, measurementIdToAppId2) {\n  async function gtagWrapper(command, ...args) {\n    try {\n      if (command === \"event\") {\n        const [measurementId, gtagParams] = args;\n        await gtagOnEvent(gtagCore, initializationPromisesMap2, dynamicConfigPromisesList2, measurementId, gtagParams);\n      } else if (command === \"config\") {\n        const [measurementId, gtagParams] = args;\n        await gtagOnConfig(gtagCore, initializationPromisesMap2, dynamicConfigPromisesList2, measurementIdToAppId2, measurementId, gtagParams);\n      } else if (command === \"consent\") {\n        const [consentAction, gtagParams] = args;\n        gtagCore(\"consent\", consentAction, gtagParams);\n      } else if (command === \"get\") {\n        const [measurementId, fieldName, callback] = args;\n        gtagCore(\"get\", measurementId, fieldName, callback);\n      } else if (command === \"set\") {\n        const [customParams] = args;\n        gtagCore(\"set\", customParams);\n      } else {\n        gtagCore(command, ...args);\n      }\n    } catch (e) {\n      logger.error(e);\n    }\n  }\n  return gtagWrapper;\n}\nfunction wrapOrCreateGtag(initializationPromisesMap2, dynamicConfigPromisesList2, measurementIdToAppId2, dataLayerName2, gtagFunctionName) {\n  let gtagCore = function(..._args) {\n    window[dataLayerName2].push(arguments);\n  };\n  if (window[gtagFunctionName] && typeof window[gtagFunctionName] === \"function\") {\n    gtagCore = window[gtagFunctionName];\n  }\n  window[gtagFunctionName] = wrapGtag(gtagCore, initializationPromisesMap2, dynamicConfigPromisesList2, measurementIdToAppId2);\n  return {\n    gtagCore,\n    wrappedGtag: window[gtagFunctionName]\n  };\n}\nfunction findGtagScriptOnPage(dataLayerName2) {\n  const scriptTags = window.document.getElementsByTagName(\"script\");\n  for (const tag of Object.values(scriptTags)) {\n    if (tag.src && tag.src.includes(GTAG_URL) && tag.src.includes(dataLayerName2)) {\n      return tag;\n    }\n  }\n  return null;\n}\n/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst LONG_RETRY_FACTOR = 30;\nconst BASE_INTERVAL_MILLIS = 1e3;\nclass RetryData {\n  constructor(throttleMetadata = {}, intervalMillis = BASE_INTERVAL_MILLIS) {\n    this.throttleMetadata = throttleMetadata;\n    this.intervalMillis = intervalMillis;\n  }\n  getThrottleMetadata(appId) {\n    return this.throttleMetadata[appId];\n  }\n  setThrottleMetadata(appId, metadata) {\n    this.throttleMetadata[appId] = metadata;\n  }\n  deleteThrottleMetadata(appId) {\n    delete this.throttleMetadata[appId];\n  }\n}\nconst defaultRetryData = new RetryData();\nfunction getHeaders(apiKey) {\n  return new Headers({\n    Accept: \"application/json\",\n    \"x-goog-api-key\": apiKey\n  });\n}\nasync function fetchDynamicConfig(appFields) {\n  var _a;\n  const { appId, apiKey } = appFields;\n  const request = {\n    method: \"GET\",\n    headers: getHeaders(apiKey)\n  };\n  const appUrl = DYNAMIC_CONFIG_URL.replace(\"{app-id}\", appId);\n  const response = await fetch(appUrl, request);\n  if (response.status !== 200 && response.status !== 304) {\n    let errorMessage = \"\";\n    try {\n      const jsonResponse = await response.json();\n      if ((_a = jsonResponse.error) === null || _a === void 0 ? void 0 : _a.message) {\n        errorMessage = jsonResponse.error.message;\n      }\n    } catch (_ignored) {\n    }\n    throw ERROR_FACTORY.create(\"config-fetch-failed\", {\n      httpStatus: response.status,\n      responseMessage: errorMessage\n    });\n  }\n  return response.json();\n}\nasync function fetchDynamicConfigWithRetry(app, retryData = defaultRetryData, timeoutMillis) {\n  const { appId, apiKey, measurementId } = app.options;\n  if (!appId) {\n    throw ERROR_FACTORY.create(\n      \"no-app-id\"\n      /* AnalyticsError.NO_APP_ID */\n    );\n  }\n  if (!apiKey) {\n    if (measurementId) {\n      return {\n        measurementId,\n        appId\n      };\n    }\n    throw ERROR_FACTORY.create(\n      \"no-api-key\"\n      /* AnalyticsError.NO_API_KEY */\n    );\n  }\n  const throttleMetadata = retryData.getThrottleMetadata(appId) || {\n    backoffCount: 0,\n    throttleEndTimeMillis: Date.now()\n  };\n  const signal = new AnalyticsAbortSignal();\n  setTimeout(async () => {\n    signal.abort();\n  }, timeoutMillis !== void 0 ? timeoutMillis : FETCH_TIMEOUT_MILLIS);\n  return attemptFetchDynamicConfigWithRetry({ appId, apiKey, measurementId }, throttleMetadata, signal, retryData);\n}\nasync function attemptFetchDynamicConfigWithRetry(appFields, { throttleEndTimeMillis, backoffCount }, signal, retryData = defaultRetryData) {\n  var _a;\n  const { appId, measurementId } = appFields;\n  try {\n    await setAbortableTimeout(signal, throttleEndTimeMillis);\n  } catch (e) {\n    if (measurementId) {\n      logger.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${measurementId} provided in the \"measurementId\" field in the local Firebase config. [${e === null || e === void 0 ? void 0 : e.message}]`);\n      return { appId, measurementId };\n    }\n    throw e;\n  }\n  try {\n    const response = await fetchDynamicConfig(appFields);\n    retryData.deleteThrottleMetadata(appId);\n    return response;\n  } catch (e) {\n    const error = e;\n    if (!isRetriableError(error)) {\n      retryData.deleteThrottleMetadata(appId);\n      if (measurementId) {\n        logger.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${measurementId} provided in the \"measurementId\" field in the local Firebase config. [${error === null || error === void 0 ? void 0 : error.message}]`);\n        return { appId, measurementId };\n      } else {\n        throw e;\n      }\n    }\n    const backoffMillis = Number((_a = error === null || error === void 0 ? void 0 : error.customData) === null || _a === void 0 ? void 0 : _a.httpStatus) === 503 ? calculateBackoffMillis(backoffCount, retryData.intervalMillis, LONG_RETRY_FACTOR) : calculateBackoffMillis(backoffCount, retryData.intervalMillis);\n    const throttleMetadata = {\n      throttleEndTimeMillis: Date.now() + backoffMillis,\n      backoffCount: backoffCount + 1\n    };\n    retryData.setThrottleMetadata(appId, throttleMetadata);\n    logger.debug(`Calling attemptFetch again in ${backoffMillis} millis`);\n    return attemptFetchDynamicConfigWithRetry(appFields, throttleMetadata, signal, retryData);\n  }\n}\nfunction setAbortableTimeout(signal, throttleEndTimeMillis) {\n  return new Promise((resolve, reject) => {\n    const backoffMillis = Math.max(throttleEndTimeMillis - Date.now(), 0);\n    const timeout = setTimeout(resolve, backoffMillis);\n    signal.addEventListener(() => {\n      clearTimeout(timeout);\n      reject(ERROR_FACTORY.create(\"fetch-throttle\", {\n        throttleEndTimeMillis\n      }));\n    });\n  });\n}\nfunction isRetriableError(e) {\n  if (!(e instanceof FirebaseError) || !e.customData) {\n    return false;\n  }\n  const httpStatus = Number(e.customData[\"httpStatus\"]);\n  return httpStatus === 429 || httpStatus === 500 || httpStatus === 503 || httpStatus === 504;\n}\nclass AnalyticsAbortSignal {\n  constructor() {\n    this.listeners = [];\n  }\n  addEventListener(listener) {\n    this.listeners.push(listener);\n  }\n  abort() {\n    this.listeners.forEach((listener) => listener());\n  }\n}\nasync function logEvent$1(gtagFunction, initializationPromise, eventName, eventParams, options) {\n  if (options && options.global) {\n    gtagFunction(\"event\", eventName, eventParams);\n    return;\n  } else {\n    const measurementId = await initializationPromise;\n    const params = Object.assign(Object.assign({}, eventParams), { \"send_to\": measurementId });\n    gtagFunction(\"event\", eventName, params);\n  }\n}\nasync function setUserId$1(gtagFunction, initializationPromise, id, options) {\n  if (options && options.global) {\n    gtagFunction(\"set\", { \"user_id\": id });\n    return Promise.resolve();\n  } else {\n    const measurementId = await initializationPromise;\n    gtagFunction(\"config\", measurementId, {\n      update: true,\n      \"user_id\": id\n    });\n  }\n}\nasync function setUserProperties$1(gtagFunction, initializationPromise, properties, options) {\n  if (options && options.global) {\n    const flatProperties = {};\n    for (const key of Object.keys(properties)) {\n      flatProperties[`user_properties.${key}`] = properties[key];\n    }\n    gtagFunction(\"set\", flatProperties);\n    return Promise.resolve();\n  } else {\n    const measurementId = await initializationPromise;\n    gtagFunction(\"config\", measurementId, {\n      update: true,\n      \"user_properties\": properties\n    });\n  }\n}\n/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nasync function validateIndexedDB() {\n  if (!isIndexedDBAvailable()) {\n    logger.warn(ERROR_FACTORY.create(\"indexeddb-unavailable\", {\n      errorInfo: \"IndexedDB is not available in this environment.\"\n    }).message);\n    return false;\n  } else {\n    try {\n      await validateIndexedDBOpenable();\n    } catch (e) {\n      logger.warn(ERROR_FACTORY.create(\"indexeddb-unavailable\", {\n        errorInfo: e === null || e === void 0 ? void 0 : e.toString()\n      }).message);\n      return false;\n    }\n  }\n  return true;\n}\nasync function _initializeAnalytics(app, dynamicConfigPromisesList2, measurementIdToAppId2, installations, gtagCore, dataLayerName2, options) {\n  var _a;\n  const dynamicConfigPromise = fetchDynamicConfigWithRetry(app);\n  dynamicConfigPromise.then((config) => {\n    measurementIdToAppId2[config.measurementId] = config.appId;\n    if (app.options.measurementId && config.measurementId !== app.options.measurementId) {\n      logger.warn(`The measurement ID in the local Firebase config (${app.options.measurementId}) does not match the measurement ID fetched from the server (${config.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`);\n    }\n  }).catch((e) => logger.error(e));\n  dynamicConfigPromisesList2.push(dynamicConfigPromise);\n  const fidPromise = validateIndexedDB().then((envIsValid) => {\n    if (envIsValid) {\n      return installations.getId();\n    } else {\n      return void 0;\n    }\n  });\n  const [dynamicConfig, fid] = await Promise.all([\n    dynamicConfigPromise,\n    fidPromise\n  ]);\n  if (!findGtagScriptOnPage(dataLayerName2)) {\n    insertScriptTag(dataLayerName2, dynamicConfig.measurementId);\n  }\n  gtagCore(\"js\", /* @__PURE__ */ new Date());\n  const configProperties = (_a = options === null || options === void 0 ? void 0 : options.config) !== null && _a !== void 0 ? _a : {};\n  configProperties[ORIGIN_KEY] = \"firebase\";\n  configProperties.update = true;\n  if (fid != null) {\n    configProperties[GA_FID_KEY] = fid;\n  }\n  gtagCore(\"config\", dynamicConfig.measurementId, configProperties);\n  return dynamicConfig.measurementId;\n}\n/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nclass AnalyticsService {\n  constructor(app) {\n    this.app = app;\n  }\n  _delete() {\n    delete initializationPromisesMap[this.app.options.appId];\n    return Promise.resolve();\n  }\n}\nlet initializationPromisesMap = {};\nlet dynamicConfigPromisesList = [];\nconst measurementIdToAppId = {};\nlet dataLayerName = \"dataLayer\";\nlet gtagName = \"gtag\";\nlet gtagCoreFunction;\nlet wrappedGtagFunction;\nlet globalInitDone = false;\nfunction warnOnBrowserContextMismatch() {\n  const mismatchedEnvMessages = [];\n  if (isBrowserExtension()) {\n    mismatchedEnvMessages.push(\"This is a browser extension environment.\");\n  }\n  if (!areCookiesEnabled()) {\n    mismatchedEnvMessages.push(\"Cookies are not available.\");\n  }\n  if (mismatchedEnvMessages.length > 0) {\n    const details = mismatchedEnvMessages.map((message, index) => `(${index + 1}) ${message}`).join(\" \");\n    const err = ERROR_FACTORY.create(\"invalid-analytics-context\", {\n      errorInfo: details\n    });\n    logger.warn(err.message);\n  }\n}\nfunction factory(app, installations, options) {\n  warnOnBrowserContextMismatch();\n  const appId = app.options.appId;\n  if (!appId) {\n    throw ERROR_FACTORY.create(\n      \"no-app-id\"\n      /* AnalyticsError.NO_APP_ID */\n    );\n  }\n  if (!app.options.apiKey) {\n    if (app.options.measurementId) {\n      logger.warn(`The \"apiKey\" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${app.options.measurementId} provided in the \"measurementId\" field in the local Firebase config.`);\n    } else {\n      throw ERROR_FACTORY.create(\n        \"no-api-key\"\n        /* AnalyticsError.NO_API_KEY */\n      );\n    }\n  }\n  if (initializationPromisesMap[appId] != null) {\n    throw ERROR_FACTORY.create(\"already-exists\", {\n      id: appId\n    });\n  }\n  if (!globalInitDone) {\n    getOrCreateDataLayer(dataLayerName);\n    const { wrappedGtag, gtagCore } = wrapOrCreateGtag(initializationPromisesMap, dynamicConfigPromisesList, measurementIdToAppId, dataLayerName, gtagName);\n    wrappedGtagFunction = wrappedGtag;\n    gtagCoreFunction = gtagCore;\n    globalInitDone = true;\n  }\n  initializationPromisesMap[appId] = _initializeAnalytics(app, dynamicConfigPromisesList, measurementIdToAppId, installations, gtagCoreFunction, dataLayerName, options);\n  const analyticsInstance = new AnalyticsService(app);\n  return analyticsInstance;\n}\nfunction getAnalytics(app = getApp()) {\n  app = getModularInstance(app);\n  const analyticsProvider = _getProvider(app, ANALYTICS_TYPE);\n  if (analyticsProvider.isInitialized()) {\n    return analyticsProvider.getImmediate();\n  }\n  return initializeAnalytics(app);\n}\nfunction initializeAnalytics(app, options = {}) {\n  const analyticsProvider = _getProvider(app, ANALYTICS_TYPE);\n  if (analyticsProvider.isInitialized()) {\n    const existingInstance = analyticsProvider.getImmediate();\n    if (deepEqual(options, analyticsProvider.getOptions())) {\n      return existingInstance;\n    } else {\n      throw ERROR_FACTORY.create(\n        \"already-initialized\"\n        /* AnalyticsError.ALREADY_INITIALIZED */\n      );\n    }\n  }\n  const analyticsInstance = analyticsProvider.initialize({ options });\n  return analyticsInstance;\n}\nfunction setUserId(analyticsInstance, id, options) {\n  analyticsInstance = getModularInstance(analyticsInstance);\n  setUserId$1(wrappedGtagFunction, initializationPromisesMap[analyticsInstance.app.options.appId], id, options).catch((e) => logger.error(e));\n}\nfunction setUserProperties(analyticsInstance, properties, options) {\n  analyticsInstance = getModularInstance(analyticsInstance);\n  setUserProperties$1(wrappedGtagFunction, initializationPromisesMap[analyticsInstance.app.options.appId], properties, options).catch((e) => logger.error(e));\n}\nfunction logEvent(analyticsInstance, eventName, eventParams, options) {\n  analyticsInstance = getModularInstance(analyticsInstance);\n  logEvent$1(wrappedGtagFunction, initializationPromisesMap[analyticsInstance.app.options.appId], eventName, eventParams, options).catch((e) => logger.error(e));\n}\nconst name = \"@firebase/analytics\";\nconst version = \"0.10.4\";\nfunction registerAnalytics() {\n  _registerComponent(new Component(\n    ANALYTICS_TYPE,\n    (container, { options: analyticsOptions }) => {\n      const app = container.getProvider(\"app\").getImmediate();\n      const installations = container.getProvider(\"installations-internal\").getImmediate();\n      return factory(app, installations, analyticsOptions);\n    },\n    \"PUBLIC\"\n    /* ComponentType.PUBLIC */\n  ));\n  _registerComponent(new Component(\n    \"analytics-internal\",\n    internalFactory,\n    \"PRIVATE\"\n    /* ComponentType.PRIVATE */\n  ));\n  registerVersion(name, version);\n  registerVersion(name, version, \"esm2017\");\n  function internalFactory(container) {\n    try {\n      const analytics = container.getProvider(ANALYTICS_TYPE).getImmediate();\n      return {\n        logEvent: (eventName, eventParams, options) => logEvent(analytics, eventName, eventParams, options)\n      };\n    } catch (e) {\n      throw ERROR_FACTORY.create(\"interop-component-reg-failed\", {\n        reason: e\n      });\n    }\n  }\n}\nregisterAnalytics();\nexport {\n  getAnalytics,\n  initializeAnalytics,\n  logEvent,\n  setUserId,\n  setUserProperties\n};\n","import { registerVersion } from \"../../../../@firebase/app/dist/esm/index.esm2017.js\";\nimport { _DEFAULT_ENTRY_NAME, _addComponent, _apps, _components, _getProvider, _registerComponent, _serverApps, getApp, getApps, initializeApp } from \"../../../../@firebase/app/dist/esm/index.esm2017.js\";\nvar name = \"firebase\";\nvar version = \"10.12.2\";\n/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nregisterVersion(name, version, \"app\");\nexport {\n  _DEFAULT_ENTRY_NAME,\n  _addComponent,\n  _apps,\n  _components,\n  _getProvider,\n  _registerComponent,\n  _serverApps,\n  getApp,\n  getApps,\n  initializeApp,\n  registerVersion\n};\n","import { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { APIService } from \"../APIService.js\";\nimport { env } from \"../../config/index.js\";\nclass CategoryFirstOrderApiService extends APIService {\n  constructor() {\n    super();\n    this.setMiddleware(throwFailError);\n  }\n  async getUserFirstOrderSegment(groupId) {\n    return this.get(`${env.api.displayBff}/api/v1/framer/category-group-first-order?groupId=${groupId}`, void 0, {\n      credentials: \"include\"\n    });\n  }\n  async getCategoryCouponFirstOrderSegment(couponId) {\n    return this.get(`${env.api.displayBff}/api/v1/framer/category-coupon-first-order?couponId=${couponId}`, void 0, {\n      credentials: \"include\"\n    });\n  }\n  async getCategoryCouponFirstOrderableList(couponIds) {\n    return this.post(`${env.api.displayBff}/api/v1/framer/category-coupon-first-order`, {\n      couponIds\n    }, {\n      credentials: \"include\"\n    });\n  }\n}\nconst categoryFirstOrderApi = new CategoryFirstOrderApiService();\nexport {\n  categoryFirstOrderApi\n};\n","import { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { APIService } from \"../APIService.js\";\nimport { env } from \"../../config/index.js\";\nconst ENTITY_NOT_FOUND_ERROR_CODE = \"COMMON_ENTITY_NOT_FOUND\";\nclass FramerApiService extends APIService {\n  constructor() {\n    super();\n    this.setMiddleware((response) => {\n      if (response.errorCode !== ENTITY_NOT_FOUND_ERROR_CODE) {\n        throwFailError(response);\n      }\n    });\n  }\n  async getFramerProductList(productIdList) {\n    return fetch(`${env.api.content}/api/v4/framers/items?itemIdList=${productIdList.join(\",\")}`, {\n      credentials: \"include\"\n    }).then((res) => res.json()).then((res) => res.data);\n  }\n  async getFramerProductListV2(productIdList) {\n    return fetch(`${env.api.content}/api/v4/framers/products?productIdList=${productIdList.join(\",\")}`, {\n      credentials: \"include\"\n    }).then((res) => res.json()).then((res) => res.data);\n  }\n  async getFramerContentIdCollection(framerMappingId) {\n    return this.get(`${env.api.content}/api/v4/framers/${framerMappingId}`, void 0, {\n      skipAuthorization: true,\n      skipAuthRefresh: true\n    }).then((res) => res.data);\n  }\n}\nconst formatFramerProduct2Product = (framerProduct) => {\n  if (!framerProduct) {\n    return;\n  }\n  return {\n    frontBrand: {\n      frontBrandId: framerProduct.frontBrandNo,\n      nameKor: framerProduct.frontBrandNameKor,\n      nameEng: framerProduct.frontBrandNameEng\n    },\n    productId: framerProduct.itemNo,\n    productName: framerProduct.itemName,\n    subjectDescriptions: framerProduct.subjectDescriptions,\n    imageUrl: framerProduct.imageUrl,\n    consumerPrice: framerProduct.consumerPrice,\n    lastSalePrice: framerProduct.lastSalePrice,\n    lastSalePercent: framerProduct.lastSalePercent,\n    heartCount: framerProduct.heartCount,\n    heartOn: false,\n    reviewAveragePoint: framerProduct.reviewAveragePoint,\n    reviewCount: framerProduct.reviewCount,\n    isCoupon: framerProduct.isCoupon,\n    isFreeShipping: framerProduct.isFreeShipping,\n    isNew: framerProduct.isNew,\n    isSoldOut: framerProduct.isSoldOut,\n    frontCategories: framerProduct.categoryCodeList.map((item) => ({\n      largeCategoryCode: item.largeCategoryCode,\n      mediumCategoryCode: item.mediumCategoryCode,\n      smallCategoryCode: item.smallCategoryCode\n    }))\n  };\n};\nconst framerApi = new FramerApiService();\nexport {\n  formatFramerProduct2Product,\n  framerApi\n};\n","import { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { APIService } from \"../APIService.js\";\nimport { env } from \"../../config/index.js\";\nclass HighlightProductsApiService extends APIService {\n  constructor() {\n    super();\n    this.setMiddleware(throwFailError);\n  }\n  async getHighlightProducts(highlightProductsId) {\n    return this.get(`${env.api.content}/api/v4/framers/proxy/content-api/api/v5/highlight-products/${highlightProductsId}`);\n  }\n}\nconst highlightProductsApi = new HighlightProductsApiService();\nexport {\n  highlightProductsApi\n};\n","import { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { APIService } from \"../APIService.js\";\nimport { env } from \"../../config/index.js\";\nclass BrandMixApiService extends APIService {\n  constructor() {\n    super();\n    this.setMiddleware(throwFailError);\n  }\n  /** 브랜드믹스 전체 일정 및 회차 목록 */\n  async getBrandMix(brandMixId) {\n    return this.get(`${env.api.content}/api/v4/framers/proxy/content-api/api/v1/brandmixes/${brandMixId}`);\n  }\n  /** 브랜드믹스 회차 상세 */\n  async getBrandMixRound(brandMixId, roundId) {\n    return this.get(`${env.api.content}/api/v4/framers/proxy/content-api/api/v1/brandmixes/${brandMixId}/rounds/${roundId}`);\n  }\n  /** 브랜드믹스 회차 내 프론트브랜드 상세 */\n  async getBrandMixFrontBrand(brandMixId, roundId, frontBrandId) {\n    return this.get(`${env.api.content}/api/v4/framers/proxy/content-api/api/v1/brandmixes/${brandMixId}/rounds/${roundId}/front-brands/${frontBrandId}`);\n  }\n}\nconst brandMixApi = new BrandMixApiService();\nexport {\n  brandMixApi\n};\n","import { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { APIService } from \"../APIService.js\";\nimport { env } from \"../../config/index.js\";\nclass OneBrandDaysApiService extends APIService {\n  constructor() {\n    super();\n    this.setMiddleware(throwFailError);\n  }\n  async getOneBrandDays(oneBrandDayId) {\n    return this.get(`${env.api.content}/api/v4/framers/proxy/content-api/api/v5/one-brand-days/${oneBrandDayId}`);\n  }\n  async getOneBrandDayRound(oneBrandDayId, roundId) {\n    return this.get(`${env.api.content}/api/v4/framers/proxy/content-api/api/v5/one-brand-days/${oneBrandDayId}/rounds/${roundId}`);\n  }\n}\nconst oneBrandDaysApi = new OneBrandDaysApiService();\nexport {\n  oneBrandDaysApi\n};\n","import { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { APIService } from \"../APIService.js\";\nimport { env } from \"../../config/index.js\";\nclass TasteSharingApiService extends APIService {\n  constructor() {\n    super();\n    this.setBaseUrl(env.api.activation);\n    this.setMiddleware(throwFailError);\n  }\n  /**\n   * @description 진행 중인 취향 공유 프로그램 조회 (GET)\n   * 현재 진행중인 취향 공유 프로그램 키를 반환하며, 없을 경우 null을 반환합니다.\n   */\n  async getActiveProgram() {\n    return this.get(\"/api/v5/reward/programs/taste_sharing/active\", void 0, {\n      credentials: \"include\"\n    });\n  }\n  /**\n   * @description 리워드 키 생성 (POST)\n   */\n  async createRewardKey(params) {\n    return this.post(\"/api/v4/reward/keys\", params, {\n      credentials: \"include\"\n    });\n  }\n  /**\n   * @description 리워드 프로그램 키를 통한 보상받은 마일리지 내역 조회 (GET)\n   */\n  async getMyRewards(rewardProgramKey) {\n    return this.get(`/api/v5/reward/programs/${rewardProgramKey}/my-rewards`, void 0, {\n      credentials: \"include\"\n    });\n  }\n}\nclass RewardVisitApiService extends APIService {\n  constructor() {\n    super();\n    this.setBaseUrl(env.api.activation);\n  }\n  /**\n   * @description 방문 리워드 지급 (POST)\n   */\n  async rewardVisit(params) {\n    return this.post(\"/api/v4/reward/visit\", params, {\n      credentials: \"include\"\n    });\n  }\n}\nconst rewardVisitApi = new RewardVisitApiService();\nconst tasteSharingApi = new TasteSharingApiService();\nexport {\n  rewardVisitApi,\n  tasteSharingApi\n};\n","const isObject = (value) => typeof value === \"object\" && value !== null;\nconst isObjectCustom = (value) => isObject(value) && !(value instanceof RegExp) && !(value instanceof Error) && !(value instanceof Date);\nconst mapObjectSkip = Symbol(\"mapObjectSkip\");\nconst _mapObject = (object, mapper, options, isSeen = /* @__PURE__ */ new WeakMap()) => {\n  options = {\n    deep: false,\n    target: {},\n    ...options\n  };\n  if (isSeen.has(object)) {\n    return isSeen.get(object);\n  }\n  isSeen.set(object, options.target);\n  const { target } = options;\n  delete options.target;\n  const mapArray = (array) => array.map((element) => isObjectCustom(element) ? _mapObject(element, mapper, options, isSeen) : element);\n  if (Array.isArray(object)) {\n    return mapArray(object);\n  }\n  for (const [key, value] of Object.entries(object)) {\n    const mapResult = mapper(key, value, object);\n    if (mapResult === mapObjectSkip) {\n      continue;\n    }\n    let [newKey, newValue, { shouldRecurse = true } = {}] = mapResult;\n    if (newKey === \"__proto__\") {\n      continue;\n    }\n    if (options.deep && shouldRecurse && isObjectCustom(newValue)) {\n      newValue = Array.isArray(newValue) ? mapArray(newValue) : _mapObject(newValue, mapper, options, isSeen);\n    }\n    target[newKey] = newValue;\n  }\n  return target;\n};\nfunction mapObject(object, mapper, options) {\n  if (!isObject(object)) {\n    throw new TypeError(`Expected an object, got \\`${object}\\` (${typeof object})`);\n  }\n  return _mapObject(object, mapper, options);\n}\nexport {\n  mapObject as default,\n  mapObjectSkip\n};\n","const UPPERCASE = /[\\p{Lu}]/u;\nconst LOWERCASE = /[\\p{Ll}]/u;\nconst LEADING_CAPITAL = /^[\\p{Lu}](?![\\p{Lu}])/gu;\nconst IDENTIFIER = /([\\p{Alpha}\\p{N}_]|$)/u;\nconst SEPARATORS = /[_.\\- ]+/;\nconst LEADING_SEPARATORS = new RegExp(\"^\" + SEPARATORS.source);\nconst SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, \"gu\");\nconst NUMBERS_AND_IDENTIFIER = new RegExp(\"\\\\d+\" + IDENTIFIER.source, \"gu\");\nconst preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {\n  let isLastCharLower = false;\n  let isLastCharUpper = false;\n  let isLastLastCharUpper = false;\n  let isLastLastCharPreserved = false;\n  for (let index = 0; index < string.length; index++) {\n    const character = string[index];\n    isLastLastCharPreserved = index > 2 ? string[index - 3] === \"-\" : true;\n    if (isLastCharLower && UPPERCASE.test(character)) {\n      string = string.slice(0, index) + \"-\" + string.slice(index);\n      isLastCharLower = false;\n      isLastLastCharUpper = isLastCharUpper;\n      isLastCharUpper = true;\n      index++;\n    } else if (isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character) && (!isLastLastCharPreserved || preserveConsecutiveUppercase2)) {\n      string = string.slice(0, index - 1) + \"-\" + string.slice(index - 1);\n      isLastLastCharUpper = isLastCharUpper;\n      isLastCharUpper = false;\n      isLastCharLower = true;\n    } else {\n      isLastCharLower = toLowerCase(character) === character && toUpperCase(character) !== character;\n      isLastLastCharUpper = isLastCharUpper;\n      isLastCharUpper = toUpperCase(character) === character && toLowerCase(character) !== character;\n    }\n  }\n  return string;\n};\nconst preserveConsecutiveUppercase = (input, toLowerCase) => {\n  LEADING_CAPITAL.lastIndex = 0;\n  return input.replaceAll(LEADING_CAPITAL, (match) => toLowerCase(match));\n};\nconst postProcess = (input, toUpperCase) => {\n  SEPARATORS_AND_IDENTIFIER.lastIndex = 0;\n  NUMBERS_AND_IDENTIFIER.lastIndex = 0;\n  return input.replaceAll(NUMBERS_AND_IDENTIFIER, (match, pattern, offset) => [\"_\", \"-\"].includes(input.charAt(offset + match.length)) ? match : toUpperCase(match)).replaceAll(SEPARATORS_AND_IDENTIFIER, (_, identifier) => toUpperCase(identifier));\n};\nfunction camelCase(input, options) {\n  if (!(typeof input === \"string\" || Array.isArray(input))) {\n    throw new TypeError(\"Expected the input to be `string | string[]`\");\n  }\n  options = {\n    pascalCase: false,\n    preserveConsecutiveUppercase: false,\n    ...options\n  };\n  if (Array.isArray(input)) {\n    input = input.map((x) => x.trim()).filter((x) => x.length).join(\"-\");\n  } else {\n    input = input.trim();\n  }\n  if (input.length === 0) {\n    return \"\";\n  }\n  const toLowerCase = options.locale === false ? (string) => string.toLowerCase() : (string) => string.toLocaleLowerCase(options.locale);\n  const toUpperCase = options.locale === false ? (string) => string.toUpperCase() : (string) => string.toLocaleUpperCase(options.locale);\n  if (input.length === 1) {\n    if (SEPARATORS.test(input)) {\n      return \"\";\n    }\n    return options.pascalCase ? toUpperCase(input) : toLowerCase(input);\n  }\n  const hasUpperCase = input !== toLowerCase(input);\n  if (hasUpperCase) {\n    input = preserveCamelCase(input, toLowerCase, toUpperCase, options.preserveConsecutiveUppercase);\n  }\n  input = input.replace(LEADING_SEPARATORS, \"\");\n  input = options.preserveConsecutiveUppercase ? preserveConsecutiveUppercase(input, toLowerCase) : toLowerCase(input);\n  if (options.pascalCase) {\n    input = toUpperCase(input.charAt(0)) + input.slice(1);\n  }\n  return postProcess(input, toUpperCase);\n}\nexport {\n  camelCase as default\n};\n","class QuickLRU extends Map {\n  constructor(options = {}) {\n    super();\n    if (!(options.maxSize && options.maxSize > 0)) {\n      throw new TypeError(\"`maxSize` must be a number greater than 0\");\n    }\n    if (typeof options.maxAge === \"number\" && options.maxAge === 0) {\n      throw new TypeError(\"`maxAge` must be a number greater than 0\");\n    }\n    this.maxSize = options.maxSize;\n    this.maxAge = options.maxAge || Number.POSITIVE_INFINITY;\n    this.onEviction = options.onEviction;\n    this.cache = /* @__PURE__ */ new Map();\n    this.oldCache = /* @__PURE__ */ new Map();\n    this._size = 0;\n  }\n  // TODO: Use private class methods when targeting Node.js 16.\n  _emitEvictions(cache) {\n    if (typeof this.onEviction !== \"function\") {\n      return;\n    }\n    for (const [key, item] of cache) {\n      this.onEviction(key, item.value);\n    }\n  }\n  _deleteIfExpired(key, item) {\n    if (typeof item.expiry === \"number\" && item.expiry <= Date.now()) {\n      if (typeof this.onEviction === \"function\") {\n        this.onEviction(key, item.value);\n      }\n      return this.delete(key);\n    }\n    return false;\n  }\n  _getOrDeleteIfExpired(key, item) {\n    const deleted = this._deleteIfExpired(key, item);\n    if (deleted === false) {\n      return item.value;\n    }\n  }\n  _getItemValue(key, item) {\n    return item.expiry ? this._getOrDeleteIfExpired(key, item) : item.value;\n  }\n  _peek(key, cache) {\n    const item = cache.get(key);\n    return this._getItemValue(key, item);\n  }\n  _set(key, value) {\n    this.cache.set(key, value);\n    this._size++;\n    if (this._size >= this.maxSize) {\n      this._size = 0;\n      this._emitEvictions(this.oldCache);\n      this.oldCache = this.cache;\n      this.cache = /* @__PURE__ */ new Map();\n    }\n  }\n  _moveToRecent(key, item) {\n    this.oldCache.delete(key);\n    this._set(key, item);\n  }\n  *_entriesAscending() {\n    for (const item of this.oldCache) {\n      const [key, value] = item;\n      if (!this.cache.has(key)) {\n        const deleted = this._deleteIfExpired(key, value);\n        if (deleted === false) {\n          yield item;\n        }\n      }\n    }\n    for (const item of this.cache) {\n      const [key, value] = item;\n      const deleted = this._deleteIfExpired(key, value);\n      if (deleted === false) {\n        yield item;\n      }\n    }\n  }\n  get(key) {\n    if (this.cache.has(key)) {\n      const item = this.cache.get(key);\n      return this._getItemValue(key, item);\n    }\n    if (this.oldCache.has(key)) {\n      const item = this.oldCache.get(key);\n      if (this._deleteIfExpired(key, item) === false) {\n        this._moveToRecent(key, item);\n        return item.value;\n      }\n    }\n  }\n  set(key, value, { maxAge = this.maxAge } = {}) {\n    const expiry = typeof maxAge === \"number\" && maxAge !== Number.POSITIVE_INFINITY ? Date.now() + maxAge : void 0;\n    if (this.cache.has(key)) {\n      this.cache.set(key, {\n        value,\n        expiry\n      });\n    } else {\n      this._set(key, { value, expiry });\n    }\n    return this;\n  }\n  has(key) {\n    if (this.cache.has(key)) {\n      return !this._deleteIfExpired(key, this.cache.get(key));\n    }\n    if (this.oldCache.has(key)) {\n      return !this._deleteIfExpired(key, this.oldCache.get(key));\n    }\n    return false;\n  }\n  peek(key) {\n    if (this.cache.has(key)) {\n      return this._peek(key, this.cache);\n    }\n    if (this.oldCache.has(key)) {\n      return this._peek(key, this.oldCache);\n    }\n  }\n  delete(key) {\n    const deleted = this.cache.delete(key);\n    if (deleted) {\n      this._size--;\n    }\n    return this.oldCache.delete(key) || deleted;\n  }\n  clear() {\n    this.cache.clear();\n    this.oldCache.clear();\n    this._size = 0;\n  }\n  resize(newSize) {\n    if (!(newSize && newSize > 0)) {\n      throw new TypeError(\"`maxSize` must be a number greater than 0\");\n    }\n    const items = [...this._entriesAscending()];\n    const removeCount = items.length - newSize;\n    if (removeCount < 0) {\n      this.cache = new Map(items);\n      this.oldCache = /* @__PURE__ */ new Map();\n      this._size = items.length;\n    } else {\n      if (removeCount > 0) {\n        this._emitEvictions(items.slice(0, removeCount));\n      }\n      this.oldCache = new Map(items.slice(removeCount));\n      this.cache = /* @__PURE__ */ new Map();\n      this._size = 0;\n    }\n    this.maxSize = newSize;\n  }\n  *keys() {\n    for (const [key] of this) {\n      yield key;\n    }\n  }\n  *values() {\n    for (const [, value] of this) {\n      yield value;\n    }\n  }\n  *[Symbol.iterator]() {\n    for (const item of this.cache) {\n      const [key, value] = item;\n      const deleted = this._deleteIfExpired(key, value);\n      if (deleted === false) {\n        yield [key, value.value];\n      }\n    }\n    for (const item of this.oldCache) {\n      const [key, value] = item;\n      if (!this.cache.has(key)) {\n        const deleted = this._deleteIfExpired(key, value);\n        if (deleted === false) {\n          yield [key, value.value];\n        }\n      }\n    }\n  }\n  *entriesDescending() {\n    let items = [...this.cache];\n    for (let i = items.length - 1; i >= 0; --i) {\n      const item = items[i];\n      const [key, value] = item;\n      const deleted = this._deleteIfExpired(key, value);\n      if (deleted === false) {\n        yield [key, value.value];\n      }\n    }\n    items = [...this.oldCache];\n    for (let i = items.length - 1; i >= 0; --i) {\n      const item = items[i];\n      const [key, value] = item;\n      if (!this.cache.has(key)) {\n        const deleted = this._deleteIfExpired(key, value);\n        if (deleted === false) {\n          yield [key, value.value];\n        }\n      }\n    }\n  }\n  *entriesAscending() {\n    for (const [key, value] of this._entriesAscending()) {\n      yield [key, value.value];\n    }\n  }\n  get size() {\n    if (!this._size) {\n      return this.oldCache.size;\n    }\n    let oldCacheSize = 0;\n    for (const key of this.oldCache.keys()) {\n      if (!this.cache.has(key)) {\n        oldCacheSize++;\n      }\n    }\n    return Math.min(this._size + oldCacheSize, this.maxSize);\n  }\n  entries() {\n    return this.entriesAscending();\n  }\n  forEach(callbackFunction, thisArgument = this) {\n    for (const [key, value] of this.entriesAscending()) {\n      callbackFunction.call(thisArgument, value, key, this);\n    }\n  }\n  get [Symbol.toStringTag]() {\n    return JSON.stringify([...this.entriesAscending()]);\n  }\n}\nexport {\n  QuickLRU as default\n};\n","import mapObject from \"../map-obj/index.js\";\nimport camelCase from \"../camelcase/index.js\";\nimport QuickLRU from \"../quick-lru/index.js\";\nconst has = (array, key) => array.some((element) => {\n  if (typeof element === \"string\") {\n    return element === key;\n  }\n  element.lastIndex = 0;\n  return element.test(key);\n});\nconst cache = new QuickLRU({ maxSize: 1e5 });\nconst isObject = (value) => typeof value === \"object\" && value !== null && !(value instanceof RegExp) && !(value instanceof Error) && !(value instanceof Date);\nconst transform = (input, options = {}) => {\n  if (!isObject(input)) {\n    return input;\n  }\n  const {\n    exclude,\n    pascalCase = false,\n    stopPaths,\n    deep = false,\n    preserveConsecutiveUppercase = false\n  } = options;\n  const stopPathsSet = new Set(stopPaths);\n  const makeMapper = (parentPath) => (key, value) => {\n    if (deep && isObject(value)) {\n      const path = parentPath === void 0 ? key : `${parentPath}.${key}`;\n      if (!stopPathsSet.has(path)) {\n        value = mapObject(value, makeMapper(path));\n      }\n    }\n    if (!(exclude && has(exclude, key))) {\n      const cacheKey = pascalCase ? `${key}_` : key;\n      if (cache.has(cacheKey)) {\n        key = cache.get(cacheKey);\n      } else {\n        const returnValue = camelCase(key, { pascalCase, locale: false, preserveConsecutiveUppercase });\n        if (key.length < 100) {\n          cache.set(cacheKey, returnValue);\n        }\n        key = returnValue;\n      }\n    }\n    return [key, value];\n  };\n  return mapObject(input, makeMapper(void 0));\n};\nfunction camelcaseKeys(input, options) {\n  if (Array.isArray(input)) {\n    return Object.keys(input).map((key) => transform(input[key], options));\n  }\n  return transform(input, options);\n}\nexport {\n  camelcaseKeys as default\n};\n","import { JwtTokenManager } from \"../libs/services/jwt/JwtTokenManager.js\";\nimport { ensureAccessToken, canRefreshToken, handleTokenExpired, getClientAccessToken } from \"../libs/services/jwt/utils.js\";\nconst authFetch = async (input, init) => {\n  const options = init;\n  const {\n    skipAuthRefresh = false,\n    skipAuthorization = false,\n    ...fetchOptions\n  } = options ?? {};\n  if (!skipAuthorization) {\n    await ensureAccessToken();\n  }\n  const headersWithAuth = skipAuthorization ? fetchOptions.headers : injectAuthHeader(fetchOptions.headers);\n  const response = await fetch(input, {\n    ...fetchOptions,\n    headers: headersWithAuth,\n    credentials: fetchOptions.credentials ?? \"include\"\n  });\n  if (response.status === 401 && !skipAuthRefresh && canRefreshToken()) {\n    try {\n      await JwtTokenManager.shared().refresh();\n      const newHeaders = injectAuthHeader(fetchOptions.headers);\n      const retryResponse = await fetch(input, {\n        ...fetchOptions,\n        headers: newHeaders,\n        credentials: fetchOptions.credentials ?? \"include\"\n      });\n      if (!retryResponse.ok) {\n        if (retryResponse.status === 401) {\n          await handleTokenExpired();\n        }\n        throw new Error(\"Token refresh failed\");\n      }\n      return retryResponse;\n    } catch {\n      await handleTokenExpired();\n      throw new Error(\"Token refresh failed\");\n    }\n  }\n  return response;\n};\nconst injectAuthHeader = (headers) => {\n  const accessToken = getClientAccessToken();\n  if (!accessToken) {\n    return headers ?? {};\n  }\n  if (headers instanceof Headers) {\n    const newHeaders = new Headers(headers);\n    newHeaders.set(\"Authorization\", `Bearer ${accessToken}`);\n    return newHeaders;\n  }\n  if (Array.isArray(headers)) {\n    return [...headers, [\"Authorization\", `Bearer ${accessToken}`]];\n  }\n  return {\n    ...headers ?? {},\n    Authorization: `Bearer ${accessToken}`\n  };\n};\nexport {\n  authFetch\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nclass Cache {\n  constructor() {\n    __publicField(this, \"data\", /* @__PURE__ */ new Map());\n  }\n  set(key, value) {\n    this.data.set(key, value);\n  }\n  get(key) {\n    return this.data.get(key) ?? void 0;\n  }\n  has(key) {\n    return this.data.has(key);\n  }\n  delete(key) {\n    return this.data.delete(key);\n  }\n  clear() {\n    this.data.clear();\n  }\n}\nexport {\n  Cache\n};\n","import camelcaseKeys from \"../../node_modules/camelcase-keys/index.js\";\nimport { authFetch } from \"../authFetch.js\";\nimport { env } from \"../../config/index.js\";\nimport { onTokenExpired } from \"../../libs/services/jwt/tokenExpiredCallbacks.js\";\nimport { Cache } from \"../../utils/cache.js\";\nconst USER_ME_CACHE_KEY = \"userMe\";\nconst userMeCache = new Cache();\nconst clearUserMeCache = () => {\n  userMeCache.delete(USER_ME_CACHE_KEY);\n};\nonTokenExpired(clearUserMeCache);\nclass UserApiService {\n  async getUserInfo() {\n    return authFetch(`${env.api.apihub}/user/info/`, {\n      credentials: \"include\"\n    }).then((res) => res.json()).then((res) => camelcaseKeys(res));\n  }\n  async postAgreements({\n    endpoint,\n    ...body\n  }) {\n    return authFetch(`${env.api.user}/api/v4/users/agreements:${endpoint}`, {\n      method: \"POST\",\n      body: JSON.stringify(body),\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"accept\": \"application/json\"\n      },\n      credentials: \"include\"\n    }).then((res) => res.json()).then((res) => camelcaseKeys(res));\n  }\n  async getAgreements() {\n    return authFetch(`${env.api.user}/api/v4/users/agreements`, {\n      credentials: \"include\"\n    }).then((res) => res.json()).then((res) => camelcaseKeys(res));\n  }\n  /**\n   * identity-verification 활용한 본인 정보 갱신\n   * @see https://dev-user-api.29cm.co.kr/swagger-ui/index.html#/user-personal-info-api-v-4-controller/updatePersonalInfo_1\n   */\n  async postIdentifyInfo({\n    identityVerificationToken,\n    type\n  }) {\n    return authFetch(`${env.api.user}/api/v6/users/personal-info`, {\n      method: \"POST\",\n      body: JSON.stringify({\n        identityVerificationToken,\n        type\n      }),\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"accept\": \"application/json\"\n      },\n      credentials: \"include\"\n    }).then((res) => res.json());\n  }\n  /**\n   * 현재 로그인한 사용자 정보 조회 (메모리 캐싱 적용)\n   * @description 첫 호출 시 API 요청 후 캐싱, 이후 호출은 캐시된 결과 반환\n   * @see https://qa-user-api.29cm.co.kr/swagger-ui/index.html#/회원/getUser\n   */\n  async getUserMe() {\n    if (userMeCache.has(USER_ME_CACHE_KEY)) {\n      return userMeCache.get(USER_ME_CACHE_KEY);\n    }\n    const response = await authFetch(`${env.api.user}/api/v4/users/me`, {\n      headers: {\n        accept: \"application/json\"\n      },\n      credentials: \"include\"\n    }).then((res) => res.json());\n    userMeCache.set(USER_ME_CACHE_KEY, response);\n    return response;\n  }\n}\nconst userApi = new UserApiService();\nexport {\n  clearUserMeCache,\n  userApi\n};\n","import { toDate } from \"./toDate.js\";\nfunction isBefore(date, dateToCompare) {\n  const _date = toDate(date);\n  const _dateToCompare = toDate(dateToCompare);\n  return +_date < +_dateToCompare;\n}\nexport {\n  isBefore as default,\n  isBefore\n};\n","import { toDate } from \"./toDate.js\";\nfunction isEqual(leftDate, rightDate) {\n  const _dateLeft = toDate(leftDate);\n  const _dateRight = toDate(rightDate);\n  return +_dateLeft === +_dateRight;\n}\nexport {\n  isEqual as default,\n  isEqual\n};\n","import { env } from \"../../config/index.js\";\nimport { APIService } from \"../APIService.js\";\nimport { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { parseISO } from \"../../node_modules/date-fns/parseISO.js\";\nimport { isValid } from \"../../node_modules/date-fns/isValid.js\";\nimport { isBefore } from \"../../node_modules/date-fns/isBefore.js\";\nimport { isEqual } from \"../../node_modules/date-fns/isEqual.js\";\nclass PreuserApiService extends APIService {\n  constructor() {\n    super();\n    this.setBaseUrl(env.api.content);\n    this.setMiddleware(throwFailError);\n  }\n  async getPreuser(ids) {\n    return this.get(`/api/v4/framers/proxy/preuser-api/api/v4/preuser/events`, {\n      ids: ids.join(\",\")\n    }).then((data) => {\n      return {\n        products: formatPreuserEventToProduct(data.data)\n      };\n    });\n  }\n}\nconst preuserApi = new PreuserApiService();\nconst formatPreuserEventToProduct = (preuserEvents) => preuserEvents.filter((preuserEvent) => {\n  if (!preuserEvent.recruitStartAt || preuserEvent.recruitStartAt.trim() === \"\") {\n    return false;\n  }\n  const recruitStart = parseISO(preuserEvent.recruitStartAt);\n  if (!isValid(recruitStart)) {\n    return false;\n  }\n  const now = /* @__PURE__ */ new Date();\n  return isBefore(recruitStart, now) || isEqual(recruitStart, now);\n}).map((preuserEvent) => ({\n  frontBrand: {\n    frontBrandId: preuserEvent.frontBrandId,\n    nameKor: preuserEvent.frontBrandNameKor,\n    nameEng: preuserEvent.frontBrandNameEng\n  },\n  productId: preuserEvent.itemId,\n  productName: preuserEvent.itemName,\n  subjectDescriptions: [],\n  imageUrl: preuserEvent.imageUrl,\n  consumerPrice: 0,\n  lastSalePrice: 0,\n  lastSalePercent: 0,\n  heartCount: 0,\n  heartOn: false,\n  reviewAveragePoint: 0,\n  reviewCount: 0,\n  isCoupon: false,\n  isFreeShipping: false,\n  isNew: false,\n  isSoldOut: false,\n  preuserEventKey: preuserEvent.preuserEventKey,\n  totalWinnerLimit: preuserEvent.totalWinnerLimit,\n  recruitEndAt: preuserEvent.recruitEndAt\n}));\nexport {\n  preuserApi\n};\n","var buffer = {};\nvar base64Js = {};\nbase64Js.byteLength = byteLength;\nbase64Js.toByteArray = toByteArray;\nbase64Js.fromByteArray = fromByteArray;\nvar lookup = [];\nvar revLookup = [];\nvar Arr = typeof Uint8Array !== \"undefined\" ? Uint8Array : Array;\nvar code = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\nfor (var i = 0, len = code.length; i < len; ++i) {\n  lookup[i] = code[i];\n  revLookup[code.charCodeAt(i)] = i;\n}\nrevLookup[\"-\".charCodeAt(0)] = 62;\nrevLookup[\"_\".charCodeAt(0)] = 63;\nfunction getLens(b64) {\n  var len = b64.length;\n  if (len % 4 > 0) {\n    throw new Error(\"Invalid string. Length must be a multiple of 4\");\n  }\n  var validLen = b64.indexOf(\"=\");\n  if (validLen === -1)\n    validLen = len;\n  var placeHoldersLen = validLen === len ? 0 : 4 - validLen % 4;\n  return [validLen, placeHoldersLen];\n}\nfunction byteLength(b64) {\n  var lens = getLens(b64);\n  var validLen = lens[0];\n  var placeHoldersLen = lens[1];\n  return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;\n}\nfunction _byteLength(b64, validLen, placeHoldersLen) {\n  return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;\n}\nfunction toByteArray(b64) {\n  var tmp;\n  var lens = getLens(b64);\n  var validLen = lens[0];\n  var placeHoldersLen = lens[1];\n  var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen));\n  var curByte = 0;\n  var len = placeHoldersLen > 0 ? validLen - 4 : validLen;\n  var i;\n  for (i = 0; i < len; i += 4) {\n    tmp = revLookup[b64.charCodeAt(i)] << 18 | revLookup[b64.charCodeAt(i + 1)] << 12 | revLookup[b64.charCodeAt(i + 2)] << 6 | revLookup[b64.charCodeAt(i + 3)];\n    arr[curByte++] = tmp >> 16 & 255;\n    arr[curByte++] = tmp >> 8 & 255;\n    arr[curByte++] = tmp & 255;\n  }\n  if (placeHoldersLen === 2) {\n    tmp = revLookup[b64.charCodeAt(i)] << 2 | revLookup[b64.charCodeAt(i + 1)] >> 4;\n    arr[curByte++] = tmp & 255;\n  }\n  if (placeHoldersLen === 1) {\n    tmp = revLookup[b64.charCodeAt(i)] << 10 | revLookup[b64.charCodeAt(i + 1)] << 4 | revLookup[b64.charCodeAt(i + 2)] >> 2;\n    arr[curByte++] = tmp >> 8 & 255;\n    arr[curByte++] = tmp & 255;\n  }\n  return arr;\n}\nfunction tripletToBase64(num) {\n  return lookup[num >> 18 & 63] + lookup[num >> 12 & 63] + lookup[num >> 6 & 63] + lookup[num & 63];\n}\nfunction encodeChunk(uint8, start, end) {\n  var tmp;\n  var output = [];\n  for (var i = start; i < end; i += 3) {\n    tmp = (uint8[i] << 16 & 16711680) + (uint8[i + 1] << 8 & 65280) + (uint8[i + 2] & 255);\n    output.push(tripletToBase64(tmp));\n  }\n  return output.join(\"\");\n}\nfunction fromByteArray(uint8) {\n  var tmp;\n  var len = uint8.length;\n  var extraBytes = len % 3;\n  var parts = [];\n  var maxChunkLength = 16383;\n  for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n    parts.push(encodeChunk(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength));\n  }\n  if (extraBytes === 1) {\n    tmp = uint8[len - 1];\n    parts.push(\n      lookup[tmp >> 2] + lookup[tmp << 4 & 63] + \"==\"\n    );\n  } else if (extraBytes === 2) {\n    tmp = (uint8[len - 2] << 8) + uint8[len - 1];\n    parts.push(\n      lookup[tmp >> 10] + lookup[tmp >> 4 & 63] + lookup[tmp << 2 & 63] + \"=\"\n    );\n  }\n  return parts.join(\"\");\n}\nvar ieee754 = {};\n/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */\nieee754.read = function(buffer2, offset, isLE, mLen, nBytes) {\n  var e, m;\n  var eLen = nBytes * 8 - mLen - 1;\n  var eMax = (1 << eLen) - 1;\n  var eBias = eMax >> 1;\n  var nBits = -7;\n  var i = isLE ? nBytes - 1 : 0;\n  var d = isLE ? -1 : 1;\n  var s = buffer2[offset + i];\n  i += d;\n  e = s & (1 << -nBits) - 1;\n  s >>= -nBits;\n  nBits += eLen;\n  for (; nBits > 0; e = e * 256 + buffer2[offset + i], i += d, nBits -= 8) {\n  }\n  m = e & (1 << -nBits) - 1;\n  e >>= -nBits;\n  nBits += mLen;\n  for (; nBits > 0; m = m * 256 + buffer2[offset + i], i += d, nBits -= 8) {\n  }\n  if (e === 0) {\n    e = 1 - eBias;\n  } else if (e === eMax) {\n    return m ? NaN : (s ? -1 : 1) * Infinity;\n  } else {\n    m = m + Math.pow(2, mLen);\n    e = e - eBias;\n  }\n  return (s ? -1 : 1) * m * Math.pow(2, e - mLen);\n};\nieee754.write = function(buffer2, value, offset, isLE, mLen, nBytes) {\n  var e, m, c;\n  var eLen = nBytes * 8 - mLen - 1;\n  var eMax = (1 << eLen) - 1;\n  var eBias = eMax >> 1;\n  var rt = mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0;\n  var i = isLE ? 0 : nBytes - 1;\n  var d = isLE ? 1 : -1;\n  var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;\n  value = Math.abs(value);\n  if (isNaN(value) || value === Infinity) {\n    m = isNaN(value) ? 1 : 0;\n    e = eMax;\n  } else {\n    e = Math.floor(Math.log(value) / Math.LN2);\n    if (value * (c = Math.pow(2, -e)) < 1) {\n      e--;\n      c *= 2;\n    }\n    if (e + eBias >= 1) {\n      value += rt / c;\n    } else {\n      value += rt * Math.pow(2, 1 - eBias);\n    }\n    if (value * c >= 2) {\n      e++;\n      c /= 2;\n    }\n    if (e + eBias >= eMax) {\n      m = 0;\n      e = eMax;\n    } else if (e + eBias >= 1) {\n      m = (value * c - 1) * Math.pow(2, mLen);\n      e = e + eBias;\n    } else {\n      m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);\n      e = 0;\n    }\n  }\n  for (; mLen >= 8; buffer2[offset + i] = m & 255, i += d, m /= 256, mLen -= 8) {\n  }\n  e = e << mLen | m;\n  eLen += mLen;\n  for (; eLen > 0; buffer2[offset + i] = e & 255, i += d, e /= 256, eLen -= 8) {\n  }\n  buffer2[offset + i - d] |= s * 128;\n};\n/*!\n * The buffer module from node.js, for the browser.\n *\n * @author   Feross Aboukhadijeh <https://feross.org>\n * @license  MIT\n */\n(function(exports) {\n  const base64 = base64Js;\n  const ieee754$1 = ieee754;\n  const customInspectSymbol = typeof Symbol === \"function\" && typeof Symbol[\"for\"] === \"function\" ? Symbol[\"for\"](\"nodejs.util.inspect.custom\") : null;\n  exports.Buffer = Buffer2;\n  exports.SlowBuffer = SlowBuffer;\n  exports.INSPECT_MAX_BYTES = 50;\n  const K_MAX_LENGTH = 2147483647;\n  exports.kMaxLength = K_MAX_LENGTH;\n  const { Uint8Array: GlobalUint8Array, ArrayBuffer: GlobalArrayBuffer, SharedArrayBuffer: GlobalSharedArrayBuffer } = globalThis;\n  Buffer2.TYPED_ARRAY_SUPPORT = typedArraySupport();\n  if (!Buffer2.TYPED_ARRAY_SUPPORT && typeof console !== \"undefined\" && typeof console.error === \"function\") {\n    console.error(\n      \"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.\"\n    );\n  }\n  function typedArraySupport() {\n    try {\n      const arr = new GlobalUint8Array(1);\n      const proto = { foo: function() {\n        return 42;\n      } };\n      Object.setPrototypeOf(proto, GlobalUint8Array.prototype);\n      Object.setPrototypeOf(arr, proto);\n      return arr.foo() === 42;\n    } catch (e) {\n      return false;\n    }\n  }\n  Object.defineProperty(Buffer2.prototype, \"parent\", {\n    enumerable: true,\n    get: function() {\n      if (!Buffer2.isBuffer(this))\n        return void 0;\n      return this.buffer;\n    }\n  });\n  Object.defineProperty(Buffer2.prototype, \"offset\", {\n    enumerable: true,\n    get: function() {\n      if (!Buffer2.isBuffer(this))\n        return void 0;\n      return this.byteOffset;\n    }\n  });\n  function createBuffer(length) {\n    if (length > K_MAX_LENGTH) {\n      throw new RangeError('The value \"' + length + '\" is invalid for option \"size\"');\n    }\n    const buf = new GlobalUint8Array(length);\n    Object.setPrototypeOf(buf, Buffer2.prototype);\n    return buf;\n  }\n  function Buffer2(arg, encodingOrOffset, length) {\n    if (typeof arg === \"number\") {\n      if (typeof encodingOrOffset === \"string\") {\n        throw new TypeError(\n          'The \"string\" argument must be of type string. Received type number'\n        );\n      }\n      return allocUnsafe(arg);\n    }\n    return from(arg, encodingOrOffset, length);\n  }\n  Buffer2.poolSize = 8192;\n  function from(value, encodingOrOffset, length) {\n    if (typeof value === \"string\") {\n      return fromString(value, encodingOrOffset);\n    }\n    if (GlobalArrayBuffer.isView(value)) {\n      return fromArrayView(value);\n    }\n    if (value == null) {\n      throw new TypeError(\n        \"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \" + typeof value\n      );\n    }\n    if (isInstance(value, GlobalArrayBuffer) || value && isInstance(value.buffer, GlobalArrayBuffer)) {\n      return fromArrayBuffer(value, encodingOrOffset, length);\n    }\n    if (typeof GlobalSharedArrayBuffer !== \"undefined\" && (isInstance(value, GlobalSharedArrayBuffer) || value && isInstance(value.buffer, GlobalSharedArrayBuffer))) {\n      return fromArrayBuffer(value, encodingOrOffset, length);\n    }\n    if (typeof value === \"number\") {\n      throw new TypeError(\n        'The \"value\" argument must not be of type number. Received type number'\n      );\n    }\n    const valueOf = value.valueOf && value.valueOf();\n    if (valueOf != null && valueOf !== value) {\n      return Buffer2.from(valueOf, encodingOrOffset, length);\n    }\n    const b = fromObject(value);\n    if (b)\n      return b;\n    if (typeof Symbol !== \"undefined\" && Symbol.toPrimitive != null && typeof value[Symbol.toPrimitive] === \"function\") {\n      return Buffer2.from(value[Symbol.toPrimitive](\"string\"), encodingOrOffset, length);\n    }\n    throw new TypeError(\n      \"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \" + typeof value\n    );\n  }\n  Buffer2.from = function(value, encodingOrOffset, length) {\n    return from(value, encodingOrOffset, length);\n  };\n  Object.setPrototypeOf(Buffer2.prototype, GlobalUint8Array.prototype);\n  Object.setPrototypeOf(Buffer2, GlobalUint8Array);\n  function assertSize(size) {\n    if (typeof size !== \"number\") {\n      throw new TypeError('\"size\" argument must be of type number');\n    } else if (size < 0) {\n      throw new RangeError('The value \"' + size + '\" is invalid for option \"size\"');\n    }\n  }\n  function alloc(size, fill, encoding) {\n    assertSize(size);\n    if (size <= 0) {\n      return createBuffer(size);\n    }\n    if (fill !== void 0) {\n      return typeof encoding === \"string\" ? createBuffer(size).fill(fill, encoding) : createBuffer(size).fill(fill);\n    }\n    return createBuffer(size);\n  }\n  Buffer2.alloc = function(size, fill, encoding) {\n    return alloc(size, fill, encoding);\n  };\n  function allocUnsafe(size) {\n    assertSize(size);\n    return createBuffer(size < 0 ? 0 : checked(size) | 0);\n  }\n  Buffer2.allocUnsafe = function(size) {\n    return allocUnsafe(size);\n  };\n  Buffer2.allocUnsafeSlow = function(size) {\n    return allocUnsafe(size);\n  };\n  function fromString(string, encoding) {\n    if (typeof encoding !== \"string\" || encoding === \"\") {\n      encoding = \"utf8\";\n    }\n    if (!Buffer2.isEncoding(encoding)) {\n      throw new TypeError(\"Unknown encoding: \" + encoding);\n    }\n    const length = byteLength2(string, encoding) | 0;\n    let buf = createBuffer(length);\n    const actual = buf.write(string, encoding);\n    if (actual !== length) {\n      buf = buf.slice(0, actual);\n    }\n    return buf;\n  }\n  function fromArrayLike(array) {\n    const length = array.length < 0 ? 0 : checked(array.length) | 0;\n    const buf = createBuffer(length);\n    for (let i = 0; i < length; i += 1) {\n      buf[i] = array[i] & 255;\n    }\n    return buf;\n  }\n  function fromArrayView(arrayView) {\n    if (isInstance(arrayView, GlobalUint8Array)) {\n      const copy = new GlobalUint8Array(arrayView);\n      return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength);\n    }\n    return fromArrayLike(arrayView);\n  }\n  function fromArrayBuffer(array, byteOffset, length) {\n    if (byteOffset < 0 || array.byteLength < byteOffset) {\n      throw new RangeError('\"offset\" is outside of buffer bounds');\n    }\n    if (array.byteLength < byteOffset + (length || 0)) {\n      throw new RangeError('\"length\" is outside of buffer bounds');\n    }\n    let buf;\n    if (byteOffset === void 0 && length === void 0) {\n      buf = new GlobalUint8Array(array);\n    } else if (length === void 0) {\n      buf = new GlobalUint8Array(array, byteOffset);\n    } else {\n      buf = new GlobalUint8Array(array, byteOffset, length);\n    }\n    Object.setPrototypeOf(buf, Buffer2.prototype);\n    return buf;\n  }\n  function fromObject(obj) {\n    if (Buffer2.isBuffer(obj)) {\n      const len = checked(obj.length) | 0;\n      const buf = createBuffer(len);\n      if (buf.length === 0) {\n        return buf;\n      }\n      obj.copy(buf, 0, 0, len);\n      return buf;\n    }\n    if (obj.length !== void 0) {\n      if (typeof obj.length !== \"number\" || numberIsNaN(obj.length)) {\n        return createBuffer(0);\n      }\n      return fromArrayLike(obj);\n    }\n    if (obj.type === \"Buffer\" && Array.isArray(obj.data)) {\n      return fromArrayLike(obj.data);\n    }\n  }\n  function checked(length) {\n    if (length >= K_MAX_LENGTH) {\n      throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\" + K_MAX_LENGTH.toString(16) + \" bytes\");\n    }\n    return length | 0;\n  }\n  function SlowBuffer(length) {\n    if (+length != length) {\n      length = 0;\n    }\n    return Buffer2.alloc(+length);\n  }\n  Buffer2.isBuffer = function isBuffer(b) {\n    return b != null && b._isBuffer === true && b !== Buffer2.prototype;\n  };\n  Buffer2.compare = function compare(a, b) {\n    if (isInstance(a, GlobalUint8Array))\n      a = Buffer2.from(a, a.offset, a.byteLength);\n    if (isInstance(b, GlobalUint8Array))\n      b = Buffer2.from(b, b.offset, b.byteLength);\n    if (!Buffer2.isBuffer(a) || !Buffer2.isBuffer(b)) {\n      throw new TypeError(\n        'The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array'\n      );\n    }\n    if (a === b)\n      return 0;\n    let x = a.length;\n    let y = b.length;\n    for (let i = 0, len = Math.min(x, y); i < len; ++i) {\n      if (a[i] !== b[i]) {\n        x = a[i];\n        y = b[i];\n        break;\n      }\n    }\n    if (x < y)\n      return -1;\n    if (y < x)\n      return 1;\n    return 0;\n  };\n  Buffer2.isEncoding = function isEncoding(encoding) {\n    switch (String(encoding).toLowerCase()) {\n      case \"hex\":\n      case \"utf8\":\n      case \"utf-8\":\n      case \"ascii\":\n      case \"latin1\":\n      case \"binary\":\n      case \"base64\":\n      case \"ucs2\":\n      case \"ucs-2\":\n      case \"utf16le\":\n      case \"utf-16le\":\n        return true;\n      default:\n        return false;\n    }\n  };\n  Buffer2.concat = function concat(list, length) {\n    if (!Array.isArray(list)) {\n      throw new TypeError('\"list\" argument must be an Array of Buffers');\n    }\n    if (list.length === 0) {\n      return Buffer2.alloc(0);\n    }\n    let i;\n    if (length === void 0) {\n      length = 0;\n      for (i = 0; i < list.length; ++i) {\n        length += list[i].length;\n      }\n    }\n    const buffer2 = Buffer2.allocUnsafe(length);\n    let pos = 0;\n    for (i = 0; i < list.length; ++i) {\n      let buf = list[i];\n      if (isInstance(buf, GlobalUint8Array)) {\n        if (pos + buf.length > buffer2.length) {\n          if (!Buffer2.isBuffer(buf))\n            buf = Buffer2.from(buf);\n          buf.copy(buffer2, pos);\n        } else {\n          GlobalUint8Array.prototype.set.call(\n            buffer2,\n            buf,\n            pos\n          );\n        }\n      } else if (!Buffer2.isBuffer(buf)) {\n        throw new TypeError('\"list\" argument must be an Array of Buffers');\n      } else {\n        buf.copy(buffer2, pos);\n      }\n      pos += buf.length;\n    }\n    return buffer2;\n  };\n  function byteLength2(string, encoding) {\n    if (Buffer2.isBuffer(string)) {\n      return string.length;\n    }\n    if (GlobalArrayBuffer.isView(string) || isInstance(string, GlobalArrayBuffer)) {\n      return string.byteLength;\n    }\n    if (typeof string !== \"string\") {\n      throw new TypeError(\n        'The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof string\n      );\n    }\n    const len = string.length;\n    const mustMatch = arguments.length > 2 && arguments[2] === true;\n    if (!mustMatch && len === 0)\n      return 0;\n    let loweredCase = false;\n    for (; ; ) {\n      switch (encoding) {\n        case \"ascii\":\n        case \"latin1\":\n        case \"binary\":\n          return len;\n        case \"utf8\":\n        case \"utf-8\":\n          return utf8ToBytes(string).length;\n        case \"ucs2\":\n        case \"ucs-2\":\n        case \"utf16le\":\n        case \"utf-16le\":\n          return len * 2;\n        case \"hex\":\n          return len >>> 1;\n        case \"base64\":\n          return base64ToBytes(string).length;\n        default:\n          if (loweredCase) {\n            return mustMatch ? -1 : utf8ToBytes(string).length;\n          }\n          encoding = (\"\" + encoding).toLowerCase();\n          loweredCase = true;\n      }\n    }\n  }\n  Buffer2.byteLength = byteLength2;\n  function slowToString(encoding, start, end) {\n    let loweredCase = false;\n    if (start === void 0 || start < 0) {\n      start = 0;\n    }\n    if (start > this.length) {\n      return \"\";\n    }\n    if (end === void 0 || end > this.length) {\n      end = this.length;\n    }\n    if (end <= 0) {\n      return \"\";\n    }\n    end >>>= 0;\n    start >>>= 0;\n    if (end <= start) {\n      return \"\";\n    }\n    if (!encoding)\n      encoding = \"utf8\";\n    while (true) {\n      switch (encoding) {\n        case \"hex\":\n          return hexSlice(this, start, end);\n        case \"utf8\":\n        case \"utf-8\":\n          return utf8Slice(this, start, end);\n        case \"ascii\":\n          return asciiSlice(this, start, end);\n        case \"latin1\":\n        case \"binary\":\n          return latin1Slice(this, start, end);\n        case \"base64\":\n          return base64Slice(this, start, end);\n        case \"ucs2\":\n        case \"ucs-2\":\n        case \"utf16le\":\n        case \"utf-16le\":\n          return utf16leSlice(this, start, end);\n        default:\n          if (loweredCase)\n            throw new TypeError(\"Unknown encoding: \" + encoding);\n          encoding = (encoding + \"\").toLowerCase();\n          loweredCase = true;\n      }\n    }\n  }\n  Buffer2.prototype._isBuffer = true;\n  function swap(b, n, m) {\n    const i = b[n];\n    b[n] = b[m];\n    b[m] = i;\n  }\n  Buffer2.prototype.swap16 = function swap16() {\n    const len = this.length;\n    if (len % 2 !== 0) {\n      throw new RangeError(\"Buffer size must be a multiple of 16-bits\");\n    }\n    for (let i = 0; i < len; i += 2) {\n      swap(this, i, i + 1);\n    }\n    return this;\n  };\n  Buffer2.prototype.swap32 = function swap32() {\n    const len = this.length;\n    if (len % 4 !== 0) {\n      throw new RangeError(\"Buffer size must be a multiple of 32-bits\");\n    }\n    for (let i = 0; i < len; i += 4) {\n      swap(this, i, i + 3);\n      swap(this, i + 1, i + 2);\n    }\n    return this;\n  };\n  Buffer2.prototype.swap64 = function swap64() {\n    const len = this.length;\n    if (len % 8 !== 0) {\n      throw new RangeError(\"Buffer size must be a multiple of 64-bits\");\n    }\n    for (let i = 0; i < len; i += 8) {\n      swap(this, i, i + 7);\n      swap(this, i + 1, i + 6);\n      swap(this, i + 2, i + 5);\n      swap(this, i + 3, i + 4);\n    }\n    return this;\n  };\n  Buffer2.prototype.toString = function toString() {\n    const length = this.length;\n    if (length === 0)\n      return \"\";\n    if (arguments.length === 0)\n      return utf8Slice(this, 0, length);\n    return slowToString.apply(this, arguments);\n  };\n  Buffer2.prototype.toLocaleString = Buffer2.prototype.toString;\n  Buffer2.prototype.equals = function equals(b) {\n    if (!Buffer2.isBuffer(b))\n      throw new TypeError(\"Argument must be a Buffer\");\n    if (this === b)\n      return true;\n    return Buffer2.compare(this, b) === 0;\n  };\n  Buffer2.prototype.inspect = function inspect() {\n    let str = \"\";\n    const max = exports.INSPECT_MAX_BYTES;\n    str = this.toString(\"hex\", 0, max).replace(/(.{2})/g, \"$1 \").trim();\n    if (this.length > max)\n      str += \" ... \";\n    return \"<Buffer \" + str + \">\";\n  };\n  if (customInspectSymbol) {\n    Buffer2.prototype[customInspectSymbol] = Buffer2.prototype.inspect;\n  }\n  Buffer2.prototype.compare = function compare(target, start, end, thisStart, thisEnd) {\n    if (isInstance(target, GlobalUint8Array)) {\n      target = Buffer2.from(target, target.offset, target.byteLength);\n    }\n    if (!Buffer2.isBuffer(target)) {\n      throw new TypeError(\n        'The \"target\" argument must be one of type Buffer or Uint8Array. Received type ' + typeof target\n      );\n    }\n    if (start === void 0) {\n      start = 0;\n    }\n    if (end === void 0) {\n      end = target ? target.length : 0;\n    }\n    if (thisStart === void 0) {\n      thisStart = 0;\n    }\n    if (thisEnd === void 0) {\n      thisEnd = this.length;\n    }\n    if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n      throw new RangeError(\"out of range index\");\n    }\n    if (thisStart >= thisEnd && start >= end) {\n      return 0;\n    }\n    if (thisStart >= thisEnd) {\n      return -1;\n    }\n    if (start >= end) {\n      return 1;\n    }\n    start >>>= 0;\n    end >>>= 0;\n    thisStart >>>= 0;\n    thisEnd >>>= 0;\n    if (this === target)\n      return 0;\n    let x = thisEnd - thisStart;\n    let y = end - start;\n    const len = Math.min(x, y);\n    const thisCopy = this.slice(thisStart, thisEnd);\n    const targetCopy = target.slice(start, end);\n    for (let i = 0; i < len; ++i) {\n      if (thisCopy[i] !== targetCopy[i]) {\n        x = thisCopy[i];\n        y = targetCopy[i];\n        break;\n      }\n    }\n    if (x < y)\n      return -1;\n    if (y < x)\n      return 1;\n    return 0;\n  };\n  function bidirectionalIndexOf(buffer2, val, byteOffset, encoding, dir) {\n    if (buffer2.length === 0)\n      return -1;\n    if (typeof byteOffset === \"string\") {\n      encoding = byteOffset;\n      byteOffset = 0;\n    } else if (byteOffset > 2147483647) {\n      byteOffset = 2147483647;\n    } else if (byteOffset < -2147483648) {\n      byteOffset = -2147483648;\n    }\n    byteOffset = +byteOffset;\n    if (numberIsNaN(byteOffset)) {\n      byteOffset = dir ? 0 : buffer2.length - 1;\n    }\n    if (byteOffset < 0)\n      byteOffset = buffer2.length + byteOffset;\n    if (byteOffset >= buffer2.length) {\n      if (dir)\n        return -1;\n      else\n        byteOffset = buffer2.length - 1;\n    } else if (byteOffset < 0) {\n      if (dir)\n        byteOffset = 0;\n      else\n        return -1;\n    }\n    if (typeof val === \"string\") {\n      val = Buffer2.from(val, encoding);\n    }\n    if (Buffer2.isBuffer(val)) {\n      if (val.length === 0) {\n        return -1;\n      }\n      return arrayIndexOf(buffer2, val, byteOffset, encoding, dir);\n    } else if (typeof val === \"number\") {\n      val = val & 255;\n      if (typeof GlobalUint8Array.prototype.indexOf === \"function\") {\n        if (dir) {\n          return GlobalUint8Array.prototype.indexOf.call(buffer2, val, byteOffset);\n        } else {\n          return GlobalUint8Array.prototype.lastIndexOf.call(buffer2, val, byteOffset);\n        }\n      }\n      return arrayIndexOf(buffer2, [val], byteOffset, encoding, dir);\n    }\n    throw new TypeError(\"val must be string, number or Buffer\");\n  }\n  function arrayIndexOf(arr, val, byteOffset, encoding, dir) {\n    let indexSize = 1;\n    let arrLength = arr.length;\n    let valLength = val.length;\n    if (encoding !== void 0) {\n      encoding = String(encoding).toLowerCase();\n      if (encoding === \"ucs2\" || encoding === \"ucs-2\" || encoding === \"utf16le\" || encoding === \"utf-16le\") {\n        if (arr.length < 2 || val.length < 2) {\n          return -1;\n        }\n        indexSize = 2;\n        arrLength /= 2;\n        valLength /= 2;\n        byteOffset /= 2;\n      }\n    }\n    function read(buf, i2) {\n      if (indexSize === 1) {\n        return buf[i2];\n      } else {\n        return buf.readUInt16BE(i2 * indexSize);\n      }\n    }\n    let i;\n    if (dir) {\n      let foundIndex = -1;\n      for (i = byteOffset; i < arrLength; i++) {\n        if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n          if (foundIndex === -1)\n            foundIndex = i;\n          if (i - foundIndex + 1 === valLength)\n            return foundIndex * indexSize;\n        } else {\n          if (foundIndex !== -1)\n            i -= i - foundIndex;\n          foundIndex = -1;\n        }\n      }\n    } else {\n      if (byteOffset + valLength > arrLength)\n        byteOffset = arrLength - valLength;\n      for (i = byteOffset; i >= 0; i--) {\n        let found = true;\n        for (let j = 0; j < valLength; j++) {\n          if (read(arr, i + j) !== read(val, j)) {\n            found = false;\n            break;\n          }\n        }\n        if (found)\n          return i;\n      }\n    }\n    return -1;\n  }\n  Buffer2.prototype.includes = function includes(val, byteOffset, encoding) {\n    return this.indexOf(val, byteOffset, encoding) !== -1;\n  };\n  Buffer2.prototype.indexOf = function indexOf(val, byteOffset, encoding) {\n    return bidirectionalIndexOf(this, val, byteOffset, encoding, true);\n  };\n  Buffer2.prototype.lastIndexOf = function lastIndexOf(val, byteOffset, encoding) {\n    return bidirectionalIndexOf(this, val, byteOffset, encoding, false);\n  };\n  function hexWrite(buf, string, offset, length) {\n    offset = Number(offset) || 0;\n    const remaining = buf.length - offset;\n    if (!length) {\n      length = remaining;\n    } else {\n      length = Number(length);\n      if (length > remaining) {\n        length = remaining;\n      }\n    }\n    const strLen = string.length;\n    if (length > strLen / 2) {\n      length = strLen / 2;\n    }\n    let i;\n    for (i = 0; i < length; ++i) {\n      const parsed = parseInt(string.substr(i * 2, 2), 16);\n      if (numberIsNaN(parsed))\n        return i;\n      buf[offset + i] = parsed;\n    }\n    return i;\n  }\n  function utf8Write(buf, string, offset, length) {\n    return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length);\n  }\n  function asciiWrite(buf, string, offset, length) {\n    return blitBuffer(asciiToBytes(string), buf, offset, length);\n  }\n  function base64Write(buf, string, offset, length) {\n    return blitBuffer(base64ToBytes(string), buf, offset, length);\n  }\n  function ucs2Write(buf, string, offset, length) {\n    return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length);\n  }\n  Buffer2.prototype.write = function write(string, offset, length, encoding) {\n    if (offset === void 0) {\n      encoding = \"utf8\";\n      length = this.length;\n      offset = 0;\n    } else if (length === void 0 && typeof offset === \"string\") {\n      encoding = offset;\n      length = this.length;\n      offset = 0;\n    } else if (isFinite(offset)) {\n      offset = offset >>> 0;\n      if (isFinite(length)) {\n        length = length >>> 0;\n        if (encoding === void 0)\n          encoding = \"utf8\";\n      } else {\n        encoding = length;\n        length = void 0;\n      }\n    } else {\n      throw new Error(\n        \"Buffer.write(string, encoding, offset[, length]) is no longer supported\"\n      );\n    }\n    const remaining = this.length - offset;\n    if (length === void 0 || length > remaining)\n      length = remaining;\n    if (string.length > 0 && (length < 0 || offset < 0) || offset > this.length) {\n      throw new RangeError(\"Attempt to write outside buffer bounds\");\n    }\n    if (!encoding)\n      encoding = \"utf8\";\n    let loweredCase = false;\n    for (; ; ) {\n      switch (encoding) {\n        case \"hex\":\n          return hexWrite(this, string, offset, length);\n        case \"utf8\":\n        case \"utf-8\":\n          return utf8Write(this, string, offset, length);\n        case \"ascii\":\n        case \"latin1\":\n        case \"binary\":\n          return asciiWrite(this, string, offset, length);\n        case \"base64\":\n          return base64Write(this, string, offset, length);\n        case \"ucs2\":\n        case \"ucs-2\":\n        case \"utf16le\":\n        case \"utf-16le\":\n          return ucs2Write(this, string, offset, length);\n        default:\n          if (loweredCase)\n            throw new TypeError(\"Unknown encoding: \" + encoding);\n          encoding = (\"\" + encoding).toLowerCase();\n          loweredCase = true;\n      }\n    }\n  };\n  Buffer2.prototype.toJSON = function toJSON() {\n    return {\n      type: \"Buffer\",\n      data: Array.prototype.slice.call(this._arr || this, 0)\n    };\n  };\n  function base64Slice(buf, start, end) {\n    if (start === 0 && end === buf.length) {\n      return base64.fromByteArray(buf);\n    } else {\n      return base64.fromByteArray(buf.slice(start, end));\n    }\n  }\n  function utf8Slice(buf, start, end) {\n    end = Math.min(buf.length, end);\n    const res = [];\n    let i = start;\n    while (i < end) {\n      const firstByte = buf[i];\n      let codePoint = null;\n      let bytesPerSequence = firstByte > 239 ? 4 : firstByte > 223 ? 3 : firstByte > 191 ? 2 : 1;\n      if (i + bytesPerSequence <= end) {\n        let secondByte, thirdByte, fourthByte, tempCodePoint;\n        switch (bytesPerSequence) {\n          case 1:\n            if (firstByte < 128) {\n              codePoint = firstByte;\n            }\n            break;\n          case 2:\n            secondByte = buf[i + 1];\n            if ((secondByte & 192) === 128) {\n              tempCodePoint = (firstByte & 31) << 6 | secondByte & 63;\n              if (tempCodePoint > 127) {\n                codePoint = tempCodePoint;\n              }\n            }\n            break;\n          case 3:\n            secondByte = buf[i + 1];\n            thirdByte = buf[i + 2];\n            if ((secondByte & 192) === 128 && (thirdByte & 192) === 128) {\n              tempCodePoint = (firstByte & 15) << 12 | (secondByte & 63) << 6 | thirdByte & 63;\n              if (tempCodePoint > 2047 && (tempCodePoint < 55296 || tempCodePoint > 57343)) {\n                codePoint = tempCodePoint;\n              }\n            }\n            break;\n          case 4:\n            secondByte = buf[i + 1];\n            thirdByte = buf[i + 2];\n            fourthByte = buf[i + 3];\n            if ((secondByte & 192) === 128 && (thirdByte & 192) === 128 && (fourthByte & 192) === 128) {\n              tempCodePoint = (firstByte & 15) << 18 | (secondByte & 63) << 12 | (thirdByte & 63) << 6 | fourthByte & 63;\n              if (tempCodePoint > 65535 && tempCodePoint < 1114112) {\n                codePoint = tempCodePoint;\n              }\n            }\n        }\n      }\n      if (codePoint === null) {\n        codePoint = 65533;\n        bytesPerSequence = 1;\n      } else if (codePoint > 65535) {\n        codePoint -= 65536;\n        res.push(codePoint >>> 10 & 1023 | 55296);\n        codePoint = 56320 | codePoint & 1023;\n      }\n      res.push(codePoint);\n      i += bytesPerSequence;\n    }\n    return decodeCodePointsArray(res);\n  }\n  const MAX_ARGUMENTS_LENGTH = 4096;\n  function decodeCodePointsArray(codePoints) {\n    const len = codePoints.length;\n    if (len <= MAX_ARGUMENTS_LENGTH) {\n      return String.fromCharCode.apply(String, codePoints);\n    }\n    let res = \"\";\n    let i = 0;\n    while (i < len) {\n      res += String.fromCharCode.apply(\n        String,\n        codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n      );\n    }\n    return res;\n  }\n  function asciiSlice(buf, start, end) {\n    let ret = \"\";\n    end = Math.min(buf.length, end);\n    for (let i = start; i < end; ++i) {\n      ret += String.fromCharCode(buf[i] & 127);\n    }\n    return ret;\n  }\n  function latin1Slice(buf, start, end) {\n    let ret = \"\";\n    end = Math.min(buf.length, end);\n    for (let i = start; i < end; ++i) {\n      ret += String.fromCharCode(buf[i]);\n    }\n    return ret;\n  }\n  function hexSlice(buf, start, end) {\n    const len = buf.length;\n    if (!start || start < 0)\n      start = 0;\n    if (!end || end < 0 || end > len)\n      end = len;\n    let out = \"\";\n    for (let i = start; i < end; ++i) {\n      out += hexSliceLookupTable[buf[i]];\n    }\n    return out;\n  }\n  function utf16leSlice(buf, start, end) {\n    const bytes = buf.slice(start, end);\n    let res = \"\";\n    for (let i = 0; i < bytes.length - 1; i += 2) {\n      res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256);\n    }\n    return res;\n  }\n  Buffer2.prototype.slice = function slice(start, end) {\n    const len = this.length;\n    start = ~~start;\n    end = end === void 0 ? len : ~~end;\n    if (start < 0) {\n      start += len;\n      if (start < 0)\n        start = 0;\n    } else if (start > len) {\n      start = len;\n    }\n    if (end < 0) {\n      end += len;\n      if (end < 0)\n        end = 0;\n    } else if (end > len) {\n      end = len;\n    }\n    if (end < start)\n      end = start;\n    const newBuf = this.subarray(start, end);\n    Object.setPrototypeOf(newBuf, Buffer2.prototype);\n    return newBuf;\n  };\n  function checkOffset(offset, ext, length) {\n    if (offset % 1 !== 0 || offset < 0)\n      throw new RangeError(\"offset is not uint\");\n    if (offset + ext > length)\n      throw new RangeError(\"Trying to access beyond buffer length\");\n  }\n  Buffer2.prototype.readUintLE = Buffer2.prototype.readUIntLE = function readUIntLE(offset, byteLength3, noAssert) {\n    offset = offset >>> 0;\n    byteLength3 = byteLength3 >>> 0;\n    if (!noAssert)\n      checkOffset(offset, byteLength3, this.length);\n    let val = this[offset];\n    let mul = 1;\n    let i = 0;\n    while (++i < byteLength3 && (mul *= 256)) {\n      val += this[offset + i] * mul;\n    }\n    return val;\n  };\n  Buffer2.prototype.readUintBE = Buffer2.prototype.readUIntBE = function readUIntBE(offset, byteLength3, noAssert) {\n    offset = offset >>> 0;\n    byteLength3 = byteLength3 >>> 0;\n    if (!noAssert) {\n      checkOffset(offset, byteLength3, this.length);\n    }\n    let val = this[offset + --byteLength3];\n    let mul = 1;\n    while (byteLength3 > 0 && (mul *= 256)) {\n      val += this[offset + --byteLength3] * mul;\n    }\n    return val;\n  };\n  Buffer2.prototype.readUint8 = Buffer2.prototype.readUInt8 = function readUInt8(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 1, this.length);\n    return this[offset];\n  };\n  Buffer2.prototype.readUint16LE = Buffer2.prototype.readUInt16LE = function readUInt16LE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 2, this.length);\n    return this[offset] | this[offset + 1] << 8;\n  };\n  Buffer2.prototype.readUint16BE = Buffer2.prototype.readUInt16BE = function readUInt16BE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 2, this.length);\n    return this[offset] << 8 | this[offset + 1];\n  };\n  Buffer2.prototype.readUint32LE = Buffer2.prototype.readUInt32LE = function readUInt32LE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 4, this.length);\n    return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + this[offset + 3] * 16777216;\n  };\n  Buffer2.prototype.readUint32BE = Buffer2.prototype.readUInt32BE = function readUInt32BE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 4, this.length);\n    return this[offset] * 16777216 + (this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]);\n  };\n  Buffer2.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE(offset) {\n    offset = offset >>> 0;\n    validateNumber(offset, \"offset\");\n    const first = this[offset];\n    const last = this[offset + 7];\n    if (first === void 0 || last === void 0) {\n      boundsError(offset, this.length - 8);\n    }\n    const lo = first + this[++offset] * 2 ** 8 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 24;\n    const hi = this[++offset] + this[++offset] * 2 ** 8 + this[++offset] * 2 ** 16 + last * 2 ** 24;\n    return BigInt(lo) + (BigInt(hi) << BigInt(32));\n  });\n  Buffer2.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE(offset) {\n    offset = offset >>> 0;\n    validateNumber(offset, \"offset\");\n    const first = this[offset];\n    const last = this[offset + 7];\n    if (first === void 0 || last === void 0) {\n      boundsError(offset, this.length - 8);\n    }\n    const hi = first * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + this[++offset];\n    const lo = this[++offset] * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + last;\n    return (BigInt(hi) << BigInt(32)) + BigInt(lo);\n  });\n  Buffer2.prototype.readIntLE = function readIntLE(offset, byteLength3, noAssert) {\n    offset = offset >>> 0;\n    byteLength3 = byteLength3 >>> 0;\n    if (!noAssert)\n      checkOffset(offset, byteLength3, this.length);\n    let val = this[offset];\n    let mul = 1;\n    let i = 0;\n    while (++i < byteLength3 && (mul *= 256)) {\n      val += this[offset + i] * mul;\n    }\n    mul *= 128;\n    if (val >= mul)\n      val -= Math.pow(2, 8 * byteLength3);\n    return val;\n  };\n  Buffer2.prototype.readIntBE = function readIntBE(offset, byteLength3, noAssert) {\n    offset = offset >>> 0;\n    byteLength3 = byteLength3 >>> 0;\n    if (!noAssert)\n      checkOffset(offset, byteLength3, this.length);\n    let i = byteLength3;\n    let mul = 1;\n    let val = this[offset + --i];\n    while (i > 0 && (mul *= 256)) {\n      val += this[offset + --i] * mul;\n    }\n    mul *= 128;\n    if (val >= mul)\n      val -= Math.pow(2, 8 * byteLength3);\n    return val;\n  };\n  Buffer2.prototype.readInt8 = function readInt8(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 1, this.length);\n    if (!(this[offset] & 128))\n      return this[offset];\n    return (255 - this[offset] + 1) * -1;\n  };\n  Buffer2.prototype.readInt16LE = function readInt16LE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 2, this.length);\n    const val = this[offset] | this[offset + 1] << 8;\n    return val & 32768 ? val | 4294901760 : val;\n  };\n  Buffer2.prototype.readInt16BE = function readInt16BE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 2, this.length);\n    const val = this[offset + 1] | this[offset] << 8;\n    return val & 32768 ? val | 4294901760 : val;\n  };\n  Buffer2.prototype.readInt32LE = function readInt32LE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 4, this.length);\n    return this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16 | this[offset + 3] << 24;\n  };\n  Buffer2.prototype.readInt32BE = function readInt32BE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 4, this.length);\n    return this[offset] << 24 | this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3];\n  };\n  Buffer2.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE(offset) {\n    offset = offset >>> 0;\n    validateNumber(offset, \"offset\");\n    const first = this[offset];\n    const last = this[offset + 7];\n    if (first === void 0 || last === void 0) {\n      boundsError(offset, this.length - 8);\n    }\n    const val = this[offset + 4] + this[offset + 5] * 2 ** 8 + this[offset + 6] * 2 ** 16 + (last << 24);\n    return (BigInt(val) << BigInt(32)) + BigInt(first + this[++offset] * 2 ** 8 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 24);\n  });\n  Buffer2.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE(offset) {\n    offset = offset >>> 0;\n    validateNumber(offset, \"offset\");\n    const first = this[offset];\n    const last = this[offset + 7];\n    if (first === void 0 || last === void 0) {\n      boundsError(offset, this.length - 8);\n    }\n    const val = (first << 24) + // Overflow\n    this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + this[++offset];\n    return (BigInt(val) << BigInt(32)) + BigInt(this[++offset] * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + last);\n  });\n  Buffer2.prototype.readFloatLE = function readFloatLE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 4, this.length);\n    return ieee754$1.read(this, offset, true, 23, 4);\n  };\n  Buffer2.prototype.readFloatBE = function readFloatBE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 4, this.length);\n    return ieee754$1.read(this, offset, false, 23, 4);\n  };\n  Buffer2.prototype.readDoubleLE = function readDoubleLE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 8, this.length);\n    return ieee754$1.read(this, offset, true, 52, 8);\n  };\n  Buffer2.prototype.readDoubleBE = function readDoubleBE(offset, noAssert) {\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkOffset(offset, 8, this.length);\n    return ieee754$1.read(this, offset, false, 52, 8);\n  };\n  function checkInt(buf, value, offset, ext, max, min) {\n    if (!Buffer2.isBuffer(buf))\n      throw new TypeError('\"buffer\" argument must be a Buffer instance');\n    if (value > max || value < min)\n      throw new RangeError('\"value\" argument is out of bounds');\n    if (offset + ext > buf.length)\n      throw new RangeError(\"Index out of range\");\n  }\n  Buffer2.prototype.writeUintLE = Buffer2.prototype.writeUIntLE = function writeUIntLE(value, offset, byteLength3, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    byteLength3 = byteLength3 >>> 0;\n    if (!noAssert) {\n      const maxBytes = Math.pow(2, 8 * byteLength3) - 1;\n      checkInt(this, value, offset, byteLength3, maxBytes, 0);\n    }\n    let mul = 1;\n    let i = 0;\n    this[offset] = value & 255;\n    while (++i < byteLength3 && (mul *= 256)) {\n      this[offset + i] = value / mul & 255;\n    }\n    return offset + byteLength3;\n  };\n  Buffer2.prototype.writeUintBE = Buffer2.prototype.writeUIntBE = function writeUIntBE(value, offset, byteLength3, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    byteLength3 = byteLength3 >>> 0;\n    if (!noAssert) {\n      const maxBytes = Math.pow(2, 8 * byteLength3) - 1;\n      checkInt(this, value, offset, byteLength3, maxBytes, 0);\n    }\n    let i = byteLength3 - 1;\n    let mul = 1;\n    this[offset + i] = value & 255;\n    while (--i >= 0 && (mul *= 256)) {\n      this[offset + i] = value / mul & 255;\n    }\n    return offset + byteLength3;\n  };\n  Buffer2.prototype.writeUint8 = Buffer2.prototype.writeUInt8 = function writeUInt8(value, offset, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkInt(this, value, offset, 1, 255, 0);\n    this[offset] = value & 255;\n    return offset + 1;\n  };\n  Buffer2.prototype.writeUint16LE = Buffer2.prototype.writeUInt16LE = function writeUInt16LE(value, offset, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkInt(this, value, offset, 2, 65535, 0);\n    this[offset] = value & 255;\n    this[offset + 1] = value >>> 8;\n    return offset + 2;\n  };\n  Buffer2.prototype.writeUint16BE = Buffer2.prototype.writeUInt16BE = function writeUInt16BE(value, offset, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkInt(this, value, offset, 2, 65535, 0);\n    this[offset] = value >>> 8;\n    this[offset + 1] = value & 255;\n    return offset + 2;\n  };\n  Buffer2.prototype.writeUint32LE = Buffer2.prototype.writeUInt32LE = function writeUInt32LE(value, offset, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkInt(this, value, offset, 4, 4294967295, 0);\n    this[offset + 3] = value >>> 24;\n    this[offset + 2] = value >>> 16;\n    this[offset + 1] = value >>> 8;\n    this[offset] = value & 255;\n    return offset + 4;\n  };\n  Buffer2.prototype.writeUint32BE = Buffer2.prototype.writeUInt32BE = function writeUInt32BE(value, offset, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkInt(this, value, offset, 4, 4294967295, 0);\n    this[offset] = value >>> 24;\n    this[offset + 1] = value >>> 16;\n    this[offset + 2] = value >>> 8;\n    this[offset + 3] = value & 255;\n    return offset + 4;\n  };\n  function wrtBigUInt64LE(buf, value, offset, min, max) {\n    checkIntBI(value, min, max, buf, offset, 7);\n    let lo = Number(value & BigInt(4294967295));\n    buf[offset++] = lo;\n    lo = lo >> 8;\n    buf[offset++] = lo;\n    lo = lo >> 8;\n    buf[offset++] = lo;\n    lo = lo >> 8;\n    buf[offset++] = lo;\n    let hi = Number(value >> BigInt(32) & BigInt(4294967295));\n    buf[offset++] = hi;\n    hi = hi >> 8;\n    buf[offset++] = hi;\n    hi = hi >> 8;\n    buf[offset++] = hi;\n    hi = hi >> 8;\n    buf[offset++] = hi;\n    return offset;\n  }\n  function wrtBigUInt64BE(buf, value, offset, min, max) {\n    checkIntBI(value, min, max, buf, offset, 7);\n    let lo = Number(value & BigInt(4294967295));\n    buf[offset + 7] = lo;\n    lo = lo >> 8;\n    buf[offset + 6] = lo;\n    lo = lo >> 8;\n    buf[offset + 5] = lo;\n    lo = lo >> 8;\n    buf[offset + 4] = lo;\n    let hi = Number(value >> BigInt(32) & BigInt(4294967295));\n    buf[offset + 3] = hi;\n    hi = hi >> 8;\n    buf[offset + 2] = hi;\n    hi = hi >> 8;\n    buf[offset + 1] = hi;\n    hi = hi >> 8;\n    buf[offset] = hi;\n    return offset + 8;\n  }\n  Buffer2.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE(value, offset = 0) {\n    return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt(\"0xffffffffffffffff\"));\n  });\n  Buffer2.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE(value, offset = 0) {\n    return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt(\"0xffffffffffffffff\"));\n  });\n  Buffer2.prototype.writeIntLE = function writeIntLE(value, offset, byteLength3, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert) {\n      const limit = Math.pow(2, 8 * byteLength3 - 1);\n      checkInt(this, value, offset, byteLength3, limit - 1, -limit);\n    }\n    let i = 0;\n    let mul = 1;\n    let sub = 0;\n    this[offset] = value & 255;\n    while (++i < byteLength3 && (mul *= 256)) {\n      if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n        sub = 1;\n      }\n      this[offset + i] = (value / mul >> 0) - sub & 255;\n    }\n    return offset + byteLength3;\n  };\n  Buffer2.prototype.writeIntBE = function writeIntBE(value, offset, byteLength3, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert) {\n      const limit = Math.pow(2, 8 * byteLength3 - 1);\n      checkInt(this, value, offset, byteLength3, limit - 1, -limit);\n    }\n    let i = byteLength3 - 1;\n    let mul = 1;\n    let sub = 0;\n    this[offset + i] = value & 255;\n    while (--i >= 0 && (mul *= 256)) {\n      if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n        sub = 1;\n      }\n      this[offset + i] = (value / mul >> 0) - sub & 255;\n    }\n    return offset + byteLength3;\n  };\n  Buffer2.prototype.writeInt8 = function writeInt8(value, offset, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkInt(this, value, offset, 1, 127, -128);\n    if (value < 0)\n      value = 255 + value + 1;\n    this[offset] = value & 255;\n    return offset + 1;\n  };\n  Buffer2.prototype.writeInt16LE = function writeInt16LE(value, offset, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkInt(this, value, offset, 2, 32767, -32768);\n    this[offset] = value & 255;\n    this[offset + 1] = value >>> 8;\n    return offset + 2;\n  };\n  Buffer2.prototype.writeInt16BE = function writeInt16BE(value, offset, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkInt(this, value, offset, 2, 32767, -32768);\n    this[offset] = value >>> 8;\n    this[offset + 1] = value & 255;\n    return offset + 2;\n  };\n  Buffer2.prototype.writeInt32LE = function writeInt32LE(value, offset, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkInt(this, value, offset, 4, 2147483647, -2147483648);\n    this[offset] = value & 255;\n    this[offset + 1] = value >>> 8;\n    this[offset + 2] = value >>> 16;\n    this[offset + 3] = value >>> 24;\n    return offset + 4;\n  };\n  Buffer2.prototype.writeInt32BE = function writeInt32BE(value, offset, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert)\n      checkInt(this, value, offset, 4, 2147483647, -2147483648);\n    if (value < 0)\n      value = 4294967295 + value + 1;\n    this[offset] = value >>> 24;\n    this[offset + 1] = value >>> 16;\n    this[offset + 2] = value >>> 8;\n    this[offset + 3] = value & 255;\n    return offset + 4;\n  };\n  Buffer2.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE(value, offset = 0) {\n    return wrtBigUInt64LE(this, value, offset, -BigInt(\"0x8000000000000000\"), BigInt(\"0x7fffffffffffffff\"));\n  });\n  Buffer2.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE(value, offset = 0) {\n    return wrtBigUInt64BE(this, value, offset, -BigInt(\"0x8000000000000000\"), BigInt(\"0x7fffffffffffffff\"));\n  });\n  function checkIEEE754(buf, value, offset, ext, max, min) {\n    if (offset + ext > buf.length)\n      throw new RangeError(\"Index out of range\");\n    if (offset < 0)\n      throw new RangeError(\"Index out of range\");\n  }\n  function writeFloat(buf, value, offset, littleEndian, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert) {\n      checkIEEE754(buf, value, offset, 4);\n    }\n    ieee754$1.write(buf, value, offset, littleEndian, 23, 4);\n    return offset + 4;\n  }\n  Buffer2.prototype.writeFloatLE = function writeFloatLE(value, offset, noAssert) {\n    return writeFloat(this, value, offset, true, noAssert);\n  };\n  Buffer2.prototype.writeFloatBE = function writeFloatBE(value, offset, noAssert) {\n    return writeFloat(this, value, offset, false, noAssert);\n  };\n  function writeDouble(buf, value, offset, littleEndian, noAssert) {\n    value = +value;\n    offset = offset >>> 0;\n    if (!noAssert) {\n      checkIEEE754(buf, value, offset, 8);\n    }\n    ieee754$1.write(buf, value, offset, littleEndian, 52, 8);\n    return offset + 8;\n  }\n  Buffer2.prototype.writeDoubleLE = function writeDoubleLE(value, offset, noAssert) {\n    return writeDouble(this, value, offset, true, noAssert);\n  };\n  Buffer2.prototype.writeDoubleBE = function writeDoubleBE(value, offset, noAssert) {\n    return writeDouble(this, value, offset, false, noAssert);\n  };\n  Buffer2.prototype.copy = function copy(target, targetStart, start, end) {\n    if (!Buffer2.isBuffer(target))\n      throw new TypeError(\"argument should be a Buffer\");\n    if (!start)\n      start = 0;\n    if (!end && end !== 0)\n      end = this.length;\n    if (targetStart >= target.length)\n      targetStart = target.length;\n    if (!targetStart)\n      targetStart = 0;\n    if (end > 0 && end < start)\n      end = start;\n    if (end === start)\n      return 0;\n    if (target.length === 0 || this.length === 0)\n      return 0;\n    if (targetStart < 0) {\n      throw new RangeError(\"targetStart out of bounds\");\n    }\n    if (start < 0 || start >= this.length)\n      throw new RangeError(\"Index out of range\");\n    if (end < 0)\n      throw new RangeError(\"sourceEnd out of bounds\");\n    if (end > this.length)\n      end = this.length;\n    if (target.length - targetStart < end - start) {\n      end = target.length - targetStart + start;\n    }\n    const len = end - start;\n    if (this === target && typeof GlobalUint8Array.prototype.copyWithin === \"function\") {\n      this.copyWithin(targetStart, start, end);\n    } else {\n      GlobalUint8Array.prototype.set.call(\n        target,\n        this.subarray(start, end),\n        targetStart\n      );\n    }\n    return len;\n  };\n  Buffer2.prototype.fill = function fill(val, start, end, encoding) {\n    if (typeof val === \"string\") {\n      if (typeof start === \"string\") {\n        encoding = start;\n        start = 0;\n        end = this.length;\n      } else if (typeof end === \"string\") {\n        encoding = end;\n        end = this.length;\n      }\n      if (encoding !== void 0 && typeof encoding !== \"string\") {\n        throw new TypeError(\"encoding must be a string\");\n      }\n      if (typeof encoding === \"string\" && !Buffer2.isEncoding(encoding)) {\n        throw new TypeError(\"Unknown encoding: \" + encoding);\n      }\n      if (val.length === 1) {\n        const code2 = val.charCodeAt(0);\n        if (encoding === \"utf8\" && code2 < 128 || encoding === \"latin1\") {\n          val = code2;\n        }\n      }\n    } else if (typeof val === \"number\") {\n      val = val & 255;\n    } else if (typeof val === \"boolean\") {\n      val = Number(val);\n    }\n    if (start < 0 || this.length < start || this.length < end) {\n      throw new RangeError(\"Out of range index\");\n    }\n    if (end <= start) {\n      return this;\n    }\n    start = start >>> 0;\n    end = end === void 0 ? this.length : end >>> 0;\n    if (!val)\n      val = 0;\n    let i;\n    if (typeof val === \"number\") {\n      for (i = start; i < end; ++i) {\n        this[i] = val;\n      }\n    } else {\n      const bytes = Buffer2.isBuffer(val) ? val : Buffer2.from(val, encoding);\n      const len = bytes.length;\n      if (len === 0) {\n        throw new TypeError('The value \"' + val + '\" is invalid for argument \"value\"');\n      }\n      for (i = 0; i < end - start; ++i) {\n        this[i + start] = bytes[i % len];\n      }\n    }\n    return this;\n  };\n  const errors = {};\n  function E(sym, getMessage, Base) {\n    errors[sym] = class NodeError extends Base {\n      constructor() {\n        super();\n        Object.defineProperty(this, \"message\", {\n          value: getMessage.apply(this, arguments),\n          writable: true,\n          configurable: true\n        });\n        this.name = `${this.name} [${sym}]`;\n        this.stack;\n        delete this.name;\n      }\n      get code() {\n        return sym;\n      }\n      set code(value) {\n        Object.defineProperty(this, \"code\", {\n          configurable: true,\n          enumerable: true,\n          value,\n          writable: true\n        });\n      }\n      toString() {\n        return `${this.name} [${sym}]: ${this.message}`;\n      }\n    };\n  }\n  E(\n    \"ERR_BUFFER_OUT_OF_BOUNDS\",\n    function(name) {\n      if (name) {\n        return `${name} is outside of buffer bounds`;\n      }\n      return \"Attempt to access memory outside buffer bounds\";\n    },\n    RangeError\n  );\n  E(\n    \"ERR_INVALID_ARG_TYPE\",\n    function(name, actual) {\n      return `The \"${name}\" argument must be of type number. Received type ${typeof actual}`;\n    },\n    TypeError\n  );\n  E(\n    \"ERR_OUT_OF_RANGE\",\n    function(str, range, input) {\n      let msg = `The value of \"${str}\" is out of range.`;\n      let received = input;\n      if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {\n        received = addNumericalSeparator(String(input));\n      } else if (typeof input === \"bigint\") {\n        received = String(input);\n        if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {\n          received = addNumericalSeparator(received);\n        }\n        received += \"n\";\n      }\n      msg += ` It must be ${range}. Received ${received}`;\n      return msg;\n    },\n    RangeError\n  );\n  function addNumericalSeparator(val) {\n    let res = \"\";\n    let i = val.length;\n    const start = val[0] === \"-\" ? 1 : 0;\n    for (; i >= start + 4; i -= 3) {\n      res = `_${val.slice(i - 3, i)}${res}`;\n    }\n    return `${val.slice(0, i)}${res}`;\n  }\n  function checkBounds(buf, offset, byteLength3) {\n    validateNumber(offset, \"offset\");\n    if (buf[offset] === void 0 || buf[offset + byteLength3] === void 0) {\n      boundsError(offset, buf.length - (byteLength3 + 1));\n    }\n  }\n  function checkIntBI(value, min, max, buf, offset, byteLength3) {\n    if (value > max || value < min) {\n      const n = typeof min === \"bigint\" ? \"n\" : \"\";\n      let range;\n      if (byteLength3 > 3) {\n        if (min === 0 || min === BigInt(0)) {\n          range = `>= 0${n} and < 2${n} ** ${(byteLength3 + 1) * 8}${n}`;\n        } else {\n          range = `>= -(2${n} ** ${(byteLength3 + 1) * 8 - 1}${n}) and < 2 ** ${(byteLength3 + 1) * 8 - 1}${n}`;\n        }\n      } else {\n        range = `>= ${min}${n} and <= ${max}${n}`;\n      }\n      throw new errors.ERR_OUT_OF_RANGE(\"value\", range, value);\n    }\n    checkBounds(buf, offset, byteLength3);\n  }\n  function validateNumber(value, name) {\n    if (typeof value !== \"number\") {\n      throw new errors.ERR_INVALID_ARG_TYPE(name, \"number\", value);\n    }\n  }\n  function boundsError(value, length, type) {\n    if (Math.floor(value) !== value) {\n      validateNumber(value, type);\n      throw new errors.ERR_OUT_OF_RANGE(type || \"offset\", \"an integer\", value);\n    }\n    if (length < 0) {\n      throw new errors.ERR_BUFFER_OUT_OF_BOUNDS();\n    }\n    throw new errors.ERR_OUT_OF_RANGE(\n      type || \"offset\",\n      `>= ${type ? 1 : 0} and <= ${length}`,\n      value\n    );\n  }\n  const INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g;\n  function base64clean(str) {\n    str = str.split(\"=\")[0];\n    str = str.trim().replace(INVALID_BASE64_RE, \"\");\n    if (str.length < 2)\n      return \"\";\n    while (str.length % 4 !== 0) {\n      str = str + \"=\";\n    }\n    return str;\n  }\n  function utf8ToBytes(string, units) {\n    units = units || Infinity;\n    let codePoint;\n    const length = string.length;\n    let leadSurrogate = null;\n    const bytes = [];\n    for (let i = 0; i < length; ++i) {\n      codePoint = string.charCodeAt(i);\n      if (codePoint > 55295 && codePoint < 57344) {\n        if (!leadSurrogate) {\n          if (codePoint > 56319) {\n            if ((units -= 3) > -1)\n              bytes.push(239, 191, 189);\n            continue;\n          } else if (i + 1 === length) {\n            if ((units -= 3) > -1)\n              bytes.push(239, 191, 189);\n            continue;\n          }\n          leadSurrogate = codePoint;\n          continue;\n        }\n        if (codePoint < 56320) {\n          if ((units -= 3) > -1)\n            bytes.push(239, 191, 189);\n          leadSurrogate = codePoint;\n          continue;\n        }\n        codePoint = (leadSurrogate - 55296 << 10 | codePoint - 56320) + 65536;\n      } else if (leadSurrogate) {\n        if ((units -= 3) > -1)\n          bytes.push(239, 191, 189);\n      }\n      leadSurrogate = null;\n      if (codePoint < 128) {\n        if ((units -= 1) < 0)\n          break;\n        bytes.push(codePoint);\n      } else if (codePoint < 2048) {\n        if ((units -= 2) < 0)\n          break;\n        bytes.push(\n          codePoint >> 6 | 192,\n          codePoint & 63 | 128\n        );\n      } else if (codePoint < 65536) {\n        if ((units -= 3) < 0)\n          break;\n        bytes.push(\n          codePoint >> 12 | 224,\n          codePoint >> 6 & 63 | 128,\n          codePoint & 63 | 128\n        );\n      } else if (codePoint < 1114112) {\n        if ((units -= 4) < 0)\n          break;\n        bytes.push(\n          codePoint >> 18 | 240,\n          codePoint >> 12 & 63 | 128,\n          codePoint >> 6 & 63 | 128,\n          codePoint & 63 | 128\n        );\n      } else {\n        throw new Error(\"Invalid code point\");\n      }\n    }\n    return bytes;\n  }\n  function asciiToBytes(str) {\n    const byteArray = [];\n    for (let i = 0; i < str.length; ++i) {\n      byteArray.push(str.charCodeAt(i) & 255);\n    }\n    return byteArray;\n  }\n  function utf16leToBytes(str, units) {\n    let c, hi, lo;\n    const byteArray = [];\n    for (let i = 0; i < str.length; ++i) {\n      if ((units -= 2) < 0)\n        break;\n      c = str.charCodeAt(i);\n      hi = c >> 8;\n      lo = c % 256;\n      byteArray.push(lo);\n      byteArray.push(hi);\n    }\n    return byteArray;\n  }\n  function base64ToBytes(str) {\n    return base64.toByteArray(base64clean(str));\n  }\n  function blitBuffer(src, dst, offset, length) {\n    let i;\n    for (i = 0; i < length; ++i) {\n      if (i + offset >= dst.length || i >= src.length)\n        break;\n      dst[i + offset] = src[i];\n    }\n    return i;\n  }\n  function isInstance(obj, type) {\n    return obj instanceof type || obj != null && obj.constructor != null && obj.constructor.name != null && obj.constructor.name === type.name;\n  }\n  function numberIsNaN(obj) {\n    return obj !== obj;\n  }\n  const hexSliceLookupTable = function() {\n    const alphabet = \"0123456789abcdef\";\n    const table = new Array(256);\n    for (let i = 0; i < 16; ++i) {\n      const i16 = i * 16;\n      for (let j = 0; j < 16; ++j) {\n        table[i16 + j] = alphabet[i] + alphabet[j];\n      }\n    }\n    return table;\n  }();\n  function defineBigIntMethod(fn) {\n    return typeof BigInt === \"undefined\" ? BufferBigIntNotDefined : fn;\n  }\n  function BufferBigIntNotDefined() {\n    throw new Error(\"BigInt not supported\");\n  }\n})(buffer);\nconst Buffer = buffer.Buffer;\nconst Buffer$1 = buffer.Buffer;\nexport {\n  Buffer$1 as Buffer,\n  Buffer as default\n};\n","var extendStatics = function(d, b) {\n  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n    d2.__proto__ = b2;\n  } || function(d2, b2) {\n    for (var p in b2)\n      if (Object.prototype.hasOwnProperty.call(b2, p))\n        d2[p] = b2[p];\n  };\n  return extendStatics(d, b);\n};\nfunction __extends(d, b) {\n  if (typeof b !== \"function\" && b !== null)\n    throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n  extendStatics(d, b);\n  function __() {\n    this.constructor = d;\n  }\n  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nvar __assign = function() {\n  __assign = Object.assign || function __assign2(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s)\n        if (Object.prototype.hasOwnProperty.call(s, p))\n          t[p] = s[p];\n    }\n    return t;\n  };\n  return __assign.apply(this, arguments);\n};\nfunction __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function(resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = Promise))(function(resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\nfunction __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() {\n    if (t[0] & 1)\n      throw t[1];\n    return t[1];\n  }, trys: [], ops: [] }, f, y, t, g;\n  return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n    return this;\n  }), g;\n  function verb(n) {\n    return function(v) {\n      return step([n, v]);\n    };\n  }\n  function step(op) {\n    if (f)\n      throw new TypeError(\"Generator is already executing.\");\n    while (g && (g = 0, op[0] && (_ = 0)), _)\n      try {\n        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n          return t;\n        if (y = 0, t)\n          op = [op[0] & 2, t.value];\n        switch (op[0]) {\n          case 0:\n          case 1:\n            t = op;\n            break;\n          case 4:\n            _.label++;\n            return { value: op[1], done: false };\n          case 5:\n            _.label++;\n            y = op[1];\n            op = [0];\n            continue;\n          case 7:\n            op = _.ops.pop();\n            _.trys.pop();\n            continue;\n          default:\n            if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n              _ = 0;\n              continue;\n            }\n            if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n              _.label = op[1];\n              break;\n            }\n            if (op[0] === 6 && _.label < t[1]) {\n              _.label = t[1];\n              t = op;\n              break;\n            }\n            if (t && _.label < t[2]) {\n              _.label = t[2];\n              _.ops.push(op);\n              break;\n            }\n            if (t[2])\n              _.ops.pop();\n            _.trys.pop();\n            continue;\n        }\n        op = body.call(thisArg, _);\n      } catch (e) {\n        op = [6, e];\n        y = 0;\n      } finally {\n        f = t = 0;\n      }\n    if (op[0] & 5)\n      throw op[1];\n    return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\nfunction __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n  if (m)\n    return m.call(o);\n  if (o && typeof o.length === \"number\")\n    return {\n      next: function() {\n        if (o && i >= o.length)\n          o = void 0;\n        return { value: o && o[i++], done: !o };\n      }\n    };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nfunction __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m)\n    return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n    while ((n === void 0 || n-- > 0) && !(r = i.next()).done)\n      ar.push(r.value);\n  } catch (error) {\n    e = { error };\n  } finally {\n    try {\n      if (r && !r.done && (m = i[\"return\"]))\n        m.call(i);\n    } finally {\n      if (e)\n        throw e.error;\n    }\n  }\n  return ar;\n}\nfunction __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2)\n    for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n        if (!ar)\n          ar = Array.prototype.slice.call(from, 0, i);\n        ar[i] = from[i];\n      }\n    }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\nfunction __await(v) {\n  return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nfunction __asyncGenerator(thisArg, _arguments, generator) {\n  if (!Symbol.asyncIterator)\n    throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var g = generator.apply(thisArg, _arguments || []), i, q = [];\n  return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function() {\n    return this;\n  }, i;\n  function verb(n) {\n    if (g[n])\n      i[n] = function(v) {\n        return new Promise(function(a, b) {\n          q.push([n, v, a, b]) > 1 || resume(n, v);\n        });\n      };\n  }\n  function resume(n, v) {\n    try {\n      step(g[n](v));\n    } catch (e) {\n      settle(q[0][3], e);\n    }\n  }\n  function step(r) {\n    r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n  }\n  function fulfill(value) {\n    resume(\"next\", value);\n  }\n  function reject(value) {\n    resume(\"throw\", value);\n  }\n  function settle(f, v) {\n    if (f(v), q.shift(), q.length)\n      resume(q[0][0], q[0][1]);\n  }\n}\nfunction __asyncValues(o) {\n  if (!Symbol.asyncIterator)\n    throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var m = o[Symbol.asyncIterator], i;\n  return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function() {\n    return this;\n  }, i);\n  function verb(n) {\n    i[n] = o[n] && function(v) {\n      return new Promise(function(resolve, reject) {\n        v = o[n](v), settle(resolve, reject, v.done, v.value);\n      });\n    };\n  }\n  function settle(resolve, reject, d, v) {\n    Promise.resolve(v).then(function(v2) {\n      resolve({ value: v2, done: d });\n    }, reject);\n  }\n}\ntypeof SuppressedError === \"function\" ? SuppressedError : function(error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nexport {\n  __assign,\n  __asyncGenerator,\n  __asyncValues,\n  __await,\n  __awaiter,\n  __extends,\n  __generator,\n  __read,\n  __spreadArray,\n  __values\n};\n","var rngBrowser = { exports: {} };\nexport {\n  rngBrowser as __module\n};\n","import { __module as rngBrowser } from \"../../../_virtual/rng-browser.js\";\nvar getRandomValues = typeof crypto != \"undefined\" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto != \"undefined\" && typeof window.msCrypto.getRandomValues == \"function\" && msCrypto.getRandomValues.bind(msCrypto);\nif (getRandomValues) {\n  var rnds8 = new Uint8Array(16);\n  rngBrowser.exports = function whatwgRNG() {\n    getRandomValues(rnds8);\n    return rnds8;\n  };\n} else {\n  var rnds = new Array(16);\n  rngBrowser.exports = function mathRNG() {\n    for (var i = 0, r; i < 16; i++) {\n      if ((i & 3) === 0)\n        r = Math.random() * 4294967296;\n      rnds[i] = r >>> ((i & 3) << 3) & 255;\n    }\n    return rnds;\n  };\n}\nvar rngBrowserExports = rngBrowser.exports;\nexport {\n  rngBrowserExports as r\n};\n","var byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n  byteToHex[i] = (i + 256).toString(16).substr(1);\n}\nfunction bytesToUuid(buf, offset) {\n  var i = offset || 0;\n  var bth = byteToHex;\n  return [\n    bth[buf[i++]],\n    bth[buf[i++]],\n    bth[buf[i++]],\n    bth[buf[i++]],\n    \"-\",\n    bth[buf[i++]],\n    bth[buf[i++]],\n    \"-\",\n    bth[buf[i++]],\n    bth[buf[i++]],\n    \"-\",\n    bth[buf[i++]],\n    bth[buf[i++]],\n    \"-\",\n    bth[buf[i++]],\n    bth[buf[i++]],\n    bth[buf[i++]],\n    bth[buf[i++]],\n    bth[buf[i++]],\n    bth[buf[i++]]\n  ].join(\"\");\n}\nvar bytesToUuid_1 = bytesToUuid;\nexport {\n  bytesToUuid_1 as b\n};\n","import { r as rngBrowserExports } from \"./lib/rng-browser.js\";\nimport { b as bytesToUuid_1 } from \"./lib/bytesToUuid.js\";\nvar rng = rngBrowserExports;\nvar bytesToUuid = bytesToUuid_1;\nvar _nodeId;\nvar _clockseq;\nvar _lastMSecs = 0;\nvar _lastNSecs = 0;\nfunction v1(options, buf, offset) {\n  var i = buf && offset || 0;\n  var b = buf || [];\n  options = options || {};\n  var node = options.node || _nodeId;\n  var clockseq = options.clockseq !== void 0 ? options.clockseq : _clockseq;\n  if (node == null || clockseq == null) {\n    var seedBytes = rng();\n    if (node == null) {\n      node = _nodeId = [\n        seedBytes[0] | 1,\n        seedBytes[1],\n        seedBytes[2],\n        seedBytes[3],\n        seedBytes[4],\n        seedBytes[5]\n      ];\n    }\n    if (clockseq == null) {\n      clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 16383;\n    }\n  }\n  var msecs = options.msecs !== void 0 ? options.msecs : (/* @__PURE__ */ new Date()).getTime();\n  var nsecs = options.nsecs !== void 0 ? options.nsecs : _lastNSecs + 1;\n  var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 1e4;\n  if (dt < 0 && options.clockseq === void 0) {\n    clockseq = clockseq + 1 & 16383;\n  }\n  if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === void 0) {\n    nsecs = 0;\n  }\n  if (nsecs >= 1e4) {\n    throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n  }\n  _lastMSecs = msecs;\n  _lastNSecs = nsecs;\n  _clockseq = clockseq;\n  msecs += 122192928e5;\n  var tl = ((msecs & 268435455) * 1e4 + nsecs) % 4294967296;\n  b[i++] = tl >>> 24 & 255;\n  b[i++] = tl >>> 16 & 255;\n  b[i++] = tl >>> 8 & 255;\n  b[i++] = tl & 255;\n  var tmh = msecs / 4294967296 * 1e4 & 268435455;\n  b[i++] = tmh >>> 8 & 255;\n  b[i++] = tmh & 255;\n  b[i++] = tmh >>> 24 & 15 | 16;\n  b[i++] = tmh >>> 16 & 255;\n  b[i++] = clockseq >>> 8 | 128;\n  b[i++] = clockseq & 255;\n  for (var n = 0; n < 6; ++n) {\n    b[i + n] = node[n];\n  }\n  return buf ? buf : bytesToUuid(b);\n}\nvar v1_1 = v1;\nexport {\n  v1_1 as v\n};\n","import { r as rngBrowserExports } from \"./lib/rng-browser.js\";\nimport { b as bytesToUuid_1 } from \"./lib/bytesToUuid.js\";\nvar rng = rngBrowserExports;\nvar bytesToUuid = bytesToUuid_1;\nfunction v4(options, buf, offset) {\n  var i = buf && offset || 0;\n  if (typeof options == \"string\") {\n    buf = options === \"binary\" ? new Array(16) : null;\n    options = null;\n  }\n  options = options || {};\n  var rnds = options.random || (options.rng || rng)();\n  rnds[6] = rnds[6] & 15 | 64;\n  rnds[8] = rnds[8] & 63 | 128;\n  if (buf) {\n    for (var ii = 0; ii < 16; ++ii) {\n      buf[i + ii] = rnds[ii];\n    }\n  }\n  return buf || bytesToUuid(rnds);\n}\nvar v4_1 = v4;\nexport {\n  v4_1 as v\n};\n","import { v as v1_1 } from \"./v1.js\";\nimport { v as v4_1 } from \"./v4.js\";\nvar v1 = v1_1;\nvar v4 = v4_1;\nvar uuid = v4;\nuuid.v1 = v1;\nuuid.v4 = v4;\nvar uuid_1 = uuid;\nexport {\n  uuid_1 as u\n};\n","import { __spreadArray, __assign } from \"../../../tslib/tslib.es6.js\";\nimport { u as uuid_1 } from \"../../../uuid/index.js\";\n/*!\n * Core functionality for Snowplow JavaScript trackers v3.20.0 (http://bit.ly/sp-js)\n * Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang\n * Licensed under BSD-3-Clause\n */\nvar version$1 = \"3.20.0\";\nfunction base64urldecode(data) {\n  if (!data) {\n    return data;\n  }\n  var padding = 4 - data.length % 4;\n  switch (padding) {\n    case 2:\n      data += \"==\";\n      break;\n    case 3:\n      data += \"=\";\n      break;\n  }\n  var b64Data = data.replace(/-/g, \"+\").replace(/_/g, \"/\");\n  return base64decode(b64Data);\n}\nfunction base64urlencode(data) {\n  if (!data) {\n    return data;\n  }\n  var enc = base64encode(data);\n  return enc.replace(/=/g, \"\").replace(/\\+/g, \"-\").replace(/\\//g, \"_\");\n}\nvar b64 = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";\nfunction base64encode(data) {\n  var o1, o2, o3, h1, h2, h3, h4, bits, i = 0, ac = 0;\n  var tmp_arr = [];\n  if (!data) {\n    return data;\n  }\n  data = unescape(encodeURIComponent(data));\n  do {\n    o1 = data.charCodeAt(i++);\n    o2 = data.charCodeAt(i++);\n    o3 = data.charCodeAt(i++);\n    bits = o1 << 16 | o2 << 8 | o3;\n    h1 = bits >> 18 & 63;\n    h2 = bits >> 12 & 63;\n    h3 = bits >> 6 & 63;\n    h4 = bits & 63;\n    tmp_arr[ac++] = b64.charAt(h1) + b64.charAt(h2) + b64.charAt(h3) + b64.charAt(h4);\n  } while (i < data.length);\n  var enc = tmp_arr.join(\"\");\n  var r = data.length % 3;\n  return (r ? enc.slice(0, r - 3) : enc) + \"===\".slice(r || 3);\n}\nfunction base64decode(encodedData) {\n  var decodeUTF8string = function(str) {\n    return decodeURIComponent(str.split(\"\").map(function(c) {\n      return \"%\" + (\"00\" + c.charCodeAt(0).toString(16)).slice(-2);\n    }).join(\"\"));\n  };\n  var o1, o2, o3, h1, h2, h3, h4, bits, i = 0, ac = 0, dec = \"\";\n  var tmpArr = [];\n  if (!encodedData) {\n    return encodedData;\n  }\n  encodedData += \"\";\n  do {\n    h1 = b64.indexOf(encodedData.charAt(i++));\n    h2 = b64.indexOf(encodedData.charAt(i++));\n    h3 = b64.indexOf(encodedData.charAt(i++));\n    h4 = b64.indexOf(encodedData.charAt(i++));\n    bits = h1 << 18 | h2 << 12 | h3 << 6 | h4;\n    o1 = bits >> 16 & 255;\n    o2 = bits >> 8 & 255;\n    o3 = bits & 255;\n    if (h3 === 64) {\n      tmpArr[ac++] = String.fromCharCode(o1);\n    } else if (h4 === 64) {\n      tmpArr[ac++] = String.fromCharCode(o1, o2);\n    } else {\n      tmpArr[ac++] = String.fromCharCode(o1, o2, o3);\n    }\n  } while (i < encodedData.length);\n  dec = tmpArr.join(\"\");\n  return decodeUTF8string(dec.replace(/\\0+$/, \"\"));\n}\nfunction payloadBuilder() {\n  var dict = {}, allJson = [], jsonForProcessing = [], contextEntitiesForProcessing = [];\n  var processor;\n  var add = function(key, value) {\n    if (value != null && value !== \"\") {\n      dict[key] = value;\n    }\n  };\n  var addDict = function(dict2) {\n    for (var key in dict2) {\n      if (Object.prototype.hasOwnProperty.call(dict2, key)) {\n        add(key, dict2[key]);\n      }\n    }\n  };\n  var addJson = function(keyIfEncoded, keyIfNotEncoded, json) {\n    if (json && isNonEmptyJson(json)) {\n      var jsonWithKeys = { keyIfEncoded, keyIfNotEncoded, json };\n      jsonForProcessing.push(jsonWithKeys);\n      allJson.push(jsonWithKeys);\n    }\n  };\n  var addContextEntity = function(entity) {\n    contextEntitiesForProcessing.push(entity);\n  };\n  return {\n    add,\n    addDict,\n    addJson,\n    addContextEntity,\n    getPayload: function() {\n      return dict;\n    },\n    getJson: function() {\n      return allJson;\n    },\n    withJsonProcessor: function(jsonProcessor) {\n      processor = jsonProcessor;\n    },\n    build: function() {\n      processor === null || processor === void 0 ? void 0 : processor(this, jsonForProcessing, contextEntitiesForProcessing);\n      return dict;\n    }\n  };\n}\nfunction payloadJsonProcessor(encodeBase64) {\n  return function(payloadBuilder2, jsonForProcessing, contextEntitiesForProcessing) {\n    var add = function(json2, keyIfEncoded, keyIfNotEncoded) {\n      var str = JSON.stringify(json2);\n      if (encodeBase64) {\n        payloadBuilder2.add(keyIfEncoded, base64urlencode(str));\n      } else {\n        payloadBuilder2.add(keyIfNotEncoded, str);\n      }\n    };\n    var getContextFromPayload = function() {\n      var payload = payloadBuilder2.getPayload();\n      if (encodeBase64 ? payload.cx : payload.co) {\n        return JSON.parse(encodeBase64 ? base64urldecode(payload.cx) : payload.co);\n      }\n      return void 0;\n    };\n    var combineContexts = function(originalContext, newContext2) {\n      var context2 = originalContext || getContextFromPayload();\n      if (context2) {\n        context2.data = context2.data.concat(newContext2.data);\n      } else {\n        context2 = newContext2;\n      }\n      return context2;\n    };\n    var context = void 0;\n    for (var _i = 0, jsonForProcessing_1 = jsonForProcessing; _i < jsonForProcessing_1.length; _i++) {\n      var json = jsonForProcessing_1[_i];\n      if (json.keyIfEncoded === \"cx\") {\n        context = combineContexts(context, json.json);\n      } else {\n        add(json.json, json.keyIfEncoded, json.keyIfNotEncoded);\n      }\n    }\n    jsonForProcessing.length = 0;\n    if (contextEntitiesForProcessing.length) {\n      var newContext = {\n        schema: \"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0\",\n        data: __spreadArray([], contextEntitiesForProcessing, true)\n      };\n      context = combineContexts(context, newContext);\n      contextEntitiesForProcessing.length = 0;\n    }\n    if (context) {\n      add(context, \"cx\", \"co\");\n    }\n  };\n}\nfunction isNonEmptyJson(property) {\n  if (!isJson(property)) {\n    return false;\n  }\n  for (var key in property) {\n    if (Object.prototype.hasOwnProperty.call(property, key)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction isJson(property) {\n  return typeof property !== \"undefined\" && property !== null && (property.constructor === {}.constructor || property.constructor === [].constructor);\n}\nvar label = \"Snowplow: \";\nvar LOG_LEVEL;\n(function(LOG_LEVEL2) {\n  LOG_LEVEL2[LOG_LEVEL2[\"none\"] = 0] = \"none\";\n  LOG_LEVEL2[LOG_LEVEL2[\"error\"] = 1] = \"error\";\n  LOG_LEVEL2[LOG_LEVEL2[\"warn\"] = 2] = \"warn\";\n  LOG_LEVEL2[LOG_LEVEL2[\"debug\"] = 3] = \"debug\";\n  LOG_LEVEL2[LOG_LEVEL2[\"info\"] = 4] = \"info\";\n})(LOG_LEVEL || (LOG_LEVEL = {}));\nvar LOG = logger();\nfunction logger(logLevel) {\n  if (logLevel === void 0) {\n    logLevel = LOG_LEVEL.warn;\n  }\n  function setLogLevel(level) {\n    if (LOG_LEVEL[level]) {\n      logLevel = level;\n    } else {\n      logLevel = LOG_LEVEL.warn;\n    }\n  }\n  function error(message, error2) {\n    var extraParams = [];\n    for (var _i = 2; _i < arguments.length; _i++) {\n      extraParams[_i - 2] = arguments[_i];\n    }\n    if (logLevel >= LOG_LEVEL.error && typeof console !== \"undefined\") {\n      var logMsg = label + message + \"\\n\";\n      if (error2) {\n        console.error.apply(console, __spreadArray([logMsg + \"\\n\", error2], extraParams, false));\n      } else {\n        console.error.apply(console, __spreadArray([logMsg], extraParams, false));\n      }\n    }\n  }\n  function warn(message, error2) {\n    var extraParams = [];\n    for (var _i = 2; _i < arguments.length; _i++) {\n      extraParams[_i - 2] = arguments[_i];\n    }\n    if (logLevel >= LOG_LEVEL.warn && typeof console !== \"undefined\") {\n      var logMsg = label + message;\n      if (error2) {\n        console.warn.apply(console, __spreadArray([logMsg + \"\\n\", error2], extraParams, false));\n      } else {\n        console.warn.apply(console, __spreadArray([logMsg], extraParams, false));\n      }\n    }\n  }\n  function debug(message) {\n    var extraParams = [];\n    for (var _i = 1; _i < arguments.length; _i++) {\n      extraParams[_i - 1] = arguments[_i];\n    }\n    if (logLevel >= LOG_LEVEL.debug && typeof console !== \"undefined\") {\n      console.debug.apply(console, __spreadArray([label + message], extraParams, false));\n    }\n  }\n  function info(message) {\n    var extraParams = [];\n    for (var _i = 1; _i < arguments.length; _i++) {\n      extraParams[_i - 1] = arguments[_i];\n    }\n    if (logLevel >= LOG_LEVEL.info && typeof console !== \"undefined\") {\n      console.info.apply(console, __spreadArray([label + message], extraParams, false));\n    }\n  }\n  return { setLogLevel, warn, error, debug, info };\n}\nfunction globalContexts() {\n  var globalPrimitives = [];\n  var conditionalProviders = [];\n  var assembleAllContexts = function(event) {\n    var eventSchema = getUsefulSchema(event);\n    var eventType = getEventType(event);\n    var contexts = [];\n    var generatedPrimitives = generatePrimitives(globalPrimitives, event, eventType, eventSchema);\n    contexts.push.apply(contexts, generatedPrimitives);\n    var generatedConditionals = generateConditionals(conditionalProviders, event, eventType, eventSchema);\n    contexts.push.apply(contexts, generatedConditionals);\n    return contexts;\n  };\n  return {\n    getGlobalPrimitives: function() {\n      return globalPrimitives;\n    },\n    getConditionalProviders: function() {\n      return conditionalProviders;\n    },\n    addGlobalContexts: function(contexts) {\n      var acceptedConditionalContexts = [];\n      var acceptedContextPrimitives = [];\n      for (var _i = 0, contexts_1 = contexts; _i < contexts_1.length; _i++) {\n        var context = contexts_1[_i];\n        if (isConditionalContextProvider(context)) {\n          acceptedConditionalContexts.push(context);\n        } else if (isContextPrimitive(context)) {\n          acceptedContextPrimitives.push(context);\n        }\n      }\n      globalPrimitives = globalPrimitives.concat(acceptedContextPrimitives);\n      conditionalProviders = conditionalProviders.concat(acceptedConditionalContexts);\n    },\n    clearGlobalContexts: function() {\n      conditionalProviders = [];\n      globalPrimitives = [];\n    },\n    removeGlobalContexts: function(contexts) {\n      var _loop_1 = function(context2) {\n        if (isConditionalContextProvider(context2)) {\n          conditionalProviders = conditionalProviders.filter(function(item) {\n            return JSON.stringify(item) !== JSON.stringify(context2);\n          });\n        } else if (isContextPrimitive(context2)) {\n          globalPrimitives = globalPrimitives.filter(function(item) {\n            return JSON.stringify(item) !== JSON.stringify(context2);\n          });\n        }\n      };\n      for (var _i = 0, contexts_2 = contexts; _i < contexts_2.length; _i++) {\n        var context = contexts_2[_i];\n        _loop_1(context);\n      }\n    },\n    getApplicableContexts: function(event) {\n      return assembleAllContexts(event);\n    }\n  };\n}\nfunction pluginContexts(plugins) {\n  return {\n    addPluginContexts: function(additionalContexts) {\n      var combinedContexts = additionalContexts ? __spreadArray([], additionalContexts, true) : [];\n      plugins.forEach(function(plugin) {\n        try {\n          if (plugin.contexts) {\n            combinedContexts.push.apply(combinedContexts, plugin.contexts());\n          }\n        } catch (ex) {\n          LOG.error(\"Error adding plugin contexts\", ex);\n        }\n      });\n      return combinedContexts;\n    }\n  };\n}\nfunction getSchemaParts(input) {\n  var re = new RegExp(\"^iglu:([a-zA-Z0-9-_.]+)/([a-zA-Z0-9-_]+)/jsonschema/([1-9][0-9]*)-(0|[1-9][0-9]*)-(0|[1-9][0-9]*)$\");\n  var matches = re.exec(input);\n  if (matches !== null)\n    return matches.slice(1, 6);\n  return void 0;\n}\nfunction validateVendorParts(parts) {\n  if (parts[0] === \"*\" || parts[1] === \"*\") {\n    return false;\n  }\n  if (parts.slice(2).length > 0) {\n    var asterisk = false;\n    for (var _i = 0, _a = parts.slice(2); _i < _a.length; _i++) {\n      var part = _a[_i];\n      if (part === \"*\")\n        asterisk = true;\n      else if (asterisk)\n        return false;\n    }\n    return true;\n  } else if (parts.length == 2)\n    return true;\n  return false;\n}\nfunction validateVendor(input) {\n  var parts = input.split(\".\");\n  if (parts && parts.length > 1)\n    return validateVendorParts(parts);\n  return false;\n}\nfunction getRuleParts(input) {\n  var re = new RegExp(\"^iglu:((?:(?:[a-zA-Z0-9-_]+|\\\\*).)+(?:[a-zA-Z0-9-_]+|\\\\*))/([a-zA-Z0-9-_.]+|\\\\*)/jsonschema/([1-9][0-9]*|\\\\*)-(0|[1-9][0-9]*|\\\\*)-(0|[1-9][0-9]*|\\\\*)$\");\n  var matches = re.exec(input);\n  if (matches !== null && validateVendor(matches[1]))\n    return matches.slice(1, 6);\n  return void 0;\n}\nfunction isValidRule(input) {\n  var ruleParts = getRuleParts(input);\n  if (ruleParts) {\n    var vendor = ruleParts[0];\n    return ruleParts.length === 5 && validateVendor(vendor);\n  }\n  return false;\n}\nfunction isStringArray(input) {\n  return Array.isArray(input) && input.every(function(x) {\n    return typeof x === \"string\";\n  });\n}\nfunction isValidRuleSetArg(input) {\n  if (isStringArray(input))\n    return input.every(function(x) {\n      return isValidRule(x);\n    });\n  else if (typeof input === \"string\")\n    return isValidRule(input);\n  return false;\n}\nfunction isSelfDescribingJson(input) {\n  var sdj = input;\n  if (isNonEmptyJson(sdj)) {\n    if (\"schema\" in sdj && \"data\" in sdj)\n      return typeof sdj.schema === \"string\" && typeof sdj.data === \"object\";\n  }\n  return false;\n}\nfunction isRuleSet(input) {\n  var ruleSet = input;\n  var ruleCount = 0;\n  if (input != null && typeof input === \"object\" && !Array.isArray(input)) {\n    if (Object.prototype.hasOwnProperty.call(ruleSet, \"accept\")) {\n      if (isValidRuleSetArg(ruleSet[\"accept\"])) {\n        ruleCount += 1;\n      } else {\n        return false;\n      }\n    }\n    if (Object.prototype.hasOwnProperty.call(ruleSet, \"reject\")) {\n      if (isValidRuleSetArg(ruleSet[\"reject\"])) {\n        ruleCount += 1;\n      } else {\n        return false;\n      }\n    }\n    return ruleCount > 0 && ruleCount <= 2;\n  }\n  return false;\n}\nfunction isContextCallbackFunction(input) {\n  return typeof input === \"function\" && input.length <= 1;\n}\nfunction isContextPrimitive(input) {\n  return isContextCallbackFunction(input) || isSelfDescribingJson(input);\n}\nfunction isFilterProvider(input) {\n  if (Array.isArray(input)) {\n    if (input.length === 2) {\n      if (Array.isArray(input[1])) {\n        return isContextCallbackFunction(input[0]) && input[1].every(isContextPrimitive);\n      }\n      return isContextCallbackFunction(input[0]) && isContextPrimitive(input[1]);\n    }\n  }\n  return false;\n}\nfunction isRuleSetProvider(input) {\n  if (Array.isArray(input) && input.length === 2) {\n    if (!isRuleSet(input[0]))\n      return false;\n    if (Array.isArray(input[1]))\n      return input[1].every(isContextPrimitive);\n    return isContextPrimitive(input[1]);\n  }\n  return false;\n}\nfunction isConditionalContextProvider(input) {\n  return isFilterProvider(input) || isRuleSetProvider(input);\n}\nfunction matchSchemaAgainstRuleSet(ruleSet, schema) {\n  var rejectCount = 0;\n  var acceptCount = 0;\n  var acceptRules = ruleSet[\"accept\"];\n  if (Array.isArray(acceptRules)) {\n    if (ruleSet.accept.some(function(rule) {\n      return matchSchemaAgainstRule(rule, schema);\n    })) {\n      acceptCount++;\n    }\n  } else if (typeof acceptRules === \"string\") {\n    if (matchSchemaAgainstRule(acceptRules, schema)) {\n      acceptCount++;\n    }\n  }\n  var rejectRules = ruleSet[\"reject\"];\n  if (Array.isArray(rejectRules)) {\n    if (ruleSet.reject.some(function(rule) {\n      return matchSchemaAgainstRule(rule, schema);\n    })) {\n      rejectCount++;\n    }\n  } else if (typeof rejectRules === \"string\") {\n    if (matchSchemaAgainstRule(rejectRules, schema)) {\n      rejectCount++;\n    }\n  }\n  if (acceptCount > 0 && rejectCount === 0) {\n    return true;\n  } else if (acceptCount === 0 && rejectCount > 0) {\n    return false;\n  }\n  return false;\n}\nfunction matchSchemaAgainstRule(rule, schema) {\n  if (!isValidRule(rule))\n    return false;\n  var ruleParts = getRuleParts(rule);\n  var schemaParts = getSchemaParts(schema);\n  if (ruleParts && schemaParts) {\n    if (!matchVendor(ruleParts[0], schemaParts[0]))\n      return false;\n    for (var i = 1; i < 5; i++) {\n      if (!matchPart(ruleParts[i], schemaParts[i]))\n        return false;\n    }\n    return true;\n  }\n  return false;\n}\nfunction matchVendor(rule, vendor) {\n  var vendorParts = vendor.split(\".\");\n  var ruleParts = rule.split(\".\");\n  if (vendorParts && ruleParts) {\n    if (vendorParts.length !== ruleParts.length)\n      return false;\n    for (var i = 0; i < ruleParts.length; i++) {\n      if (!matchPart(vendorParts[i], ruleParts[i]))\n        return false;\n    }\n    return true;\n  }\n  return false;\n}\nfunction matchPart(rule, schema) {\n  return rule && schema && rule === \"*\" || rule === schema;\n}\nfunction getUsefulSchema(sb) {\n  var eventJson = sb.getJson();\n  for (var _i = 0, eventJson_1 = eventJson; _i < eventJson_1.length; _i++) {\n    var json = eventJson_1[_i];\n    if (json.keyIfEncoded === \"ue_px\" && typeof json.json[\"data\"] === \"object\") {\n      var schema = json.json[\"data\"][\"schema\"];\n      if (typeof schema == \"string\") {\n        return schema;\n      }\n    }\n  }\n  return \"\";\n}\nfunction getEventType(payloadBuilder2) {\n  var eventType = payloadBuilder2.getPayload()[\"e\"];\n  return typeof eventType === \"string\" ? eventType : \"\";\n}\nfunction buildGenerator(generator, event, eventType, eventSchema) {\n  var contextGeneratorResult = void 0;\n  try {\n    var args = {\n      event: event.getPayload(),\n      eventType,\n      eventSchema\n    };\n    contextGeneratorResult = generator(args);\n    if (Array.isArray(contextGeneratorResult) && contextGeneratorResult.every(isSelfDescribingJson)) {\n      return contextGeneratorResult;\n    } else if (isSelfDescribingJson(contextGeneratorResult)) {\n      return contextGeneratorResult;\n    } else {\n      return void 0;\n    }\n  } catch (error) {\n    contextGeneratorResult = void 0;\n  }\n  return contextGeneratorResult;\n}\nfunction normalizeToArray(input) {\n  if (Array.isArray(input)) {\n    return input;\n  }\n  return Array.of(input);\n}\nfunction generatePrimitives(contextPrimitives, event, eventType, eventSchema) {\n  var _a;\n  var normalizedInputs = normalizeToArray(contextPrimitives);\n  var partialEvaluate = function(primitive) {\n    var result = evaluatePrimitive(primitive, event, eventType, eventSchema);\n    if (result && result.length !== 0) {\n      return result;\n    }\n    return void 0;\n  };\n  var generatedContexts = normalizedInputs.map(partialEvaluate);\n  return (_a = []).concat.apply(_a, generatedContexts.filter(function(c) {\n    return c != null && c.filter(Boolean);\n  }));\n}\nfunction evaluatePrimitive(contextPrimitive, event, eventType, eventSchema) {\n  if (isSelfDescribingJson(contextPrimitive)) {\n    return [contextPrimitive];\n  } else if (isContextCallbackFunction(contextPrimitive)) {\n    var generatorOutput = buildGenerator(contextPrimitive, event, eventType, eventSchema);\n    if (isSelfDescribingJson(generatorOutput)) {\n      return [generatorOutput];\n    } else if (Array.isArray(generatorOutput)) {\n      return generatorOutput;\n    }\n  }\n  return void 0;\n}\nfunction evaluateProvider(provider, event, eventType, eventSchema) {\n  if (isFilterProvider(provider)) {\n    var filter = provider[0];\n    var filterResult = false;\n    try {\n      var args = {\n        event: event.getPayload(),\n        eventType,\n        eventSchema\n      };\n      filterResult = filter(args);\n    } catch (error) {\n      filterResult = false;\n    }\n    if (filterResult === true) {\n      return generatePrimitives(provider[1], event, eventType, eventSchema);\n    }\n  } else if (isRuleSetProvider(provider)) {\n    if (matchSchemaAgainstRuleSet(provider[0], eventSchema)) {\n      return generatePrimitives(provider[1], event, eventType, eventSchema);\n    }\n  }\n  return [];\n}\nfunction generateConditionals(providers, event, eventType, eventSchema) {\n  var _a;\n  var normalizedInput = normalizeToArray(providers);\n  var partialEvaluate = function(provider) {\n    var result = evaluateProvider(provider, event, eventType, eventSchema);\n    if (result && result.length !== 0) {\n      return result;\n    }\n    return void 0;\n  };\n  var generatedContexts = normalizedInput.map(partialEvaluate);\n  return (_a = []).concat.apply(_a, generatedContexts.filter(function(c) {\n    return c != null && c.filter(Boolean);\n  }));\n}\nfunction getTimestamp(timestamp) {\n  if (timestamp == null) {\n    return { type: \"dtm\", value: (/* @__PURE__ */ new Date()).getTime() };\n  } else if (typeof timestamp === \"number\") {\n    return { type: \"dtm\", value: timestamp };\n  } else if (timestamp.type === \"ttm\") {\n    return { type: \"ttm\", value: timestamp.value };\n  } else {\n    return { type: \"dtm\", value: timestamp.value || (/* @__PURE__ */ new Date()).getTime() };\n  }\n}\nfunction trackerCore(configuration) {\n  if (configuration === void 0) {\n    configuration = {};\n  }\n  function newCore(base642, corePlugins2, callback2) {\n    var pluginContextsHelper = pluginContexts(corePlugins2), globalContextsHelper = globalContexts();\n    var encodeBase64 = base642, payloadPairs = {};\n    function completeContexts(contexts) {\n      if (contexts && contexts.length) {\n        return {\n          schema: \"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0\",\n          data: contexts\n        };\n      }\n      return void 0;\n    }\n    function attachGlobalContexts(pb, contexts) {\n      var applicableContexts = globalContextsHelper.getApplicableContexts(pb);\n      var returnedContexts = [];\n      if (contexts && contexts.length) {\n        returnedContexts.push.apply(returnedContexts, contexts);\n      }\n      if (applicableContexts && applicableContexts.length) {\n        returnedContexts.push.apply(returnedContexts, applicableContexts);\n      }\n      return returnedContexts;\n    }\n    function track(pb, context, timestamp) {\n      pb.withJsonProcessor(payloadJsonProcessor(encodeBase64));\n      pb.add(\"eid\", uuid_1.v4());\n      pb.addDict(payloadPairs);\n      var tstamp = getTimestamp(timestamp);\n      pb.add(tstamp.type, tstamp.value.toString());\n      var allContexts = attachGlobalContexts(pb, pluginContextsHelper.addPluginContexts(context));\n      var wrappedContexts = completeContexts(allContexts);\n      if (wrappedContexts !== void 0) {\n        pb.addJson(\"cx\", \"co\", wrappedContexts);\n      }\n      corePlugins2.forEach(function(plugin) {\n        try {\n          if (plugin.beforeTrack) {\n            plugin.beforeTrack(pb);\n          }\n        } catch (ex) {\n          LOG.error(\"Plugin beforeTrack\", ex);\n        }\n      });\n      if (typeof callback2 === \"function\") {\n        callback2(pb);\n      }\n      var finalPayload = pb.build();\n      corePlugins2.forEach(function(plugin) {\n        try {\n          if (plugin.afterTrack) {\n            plugin.afterTrack(finalPayload);\n          }\n        } catch (ex) {\n          LOG.error(\"Plugin afterTrack\", ex);\n        }\n      });\n      return finalPayload;\n    }\n    function addPayloadPair(key, value) {\n      payloadPairs[key] = value;\n    }\n    var core2 = {\n      track,\n      addPayloadPair,\n      getBase64Encoding: function() {\n        return encodeBase64;\n      },\n      setBase64Encoding: function(encode) {\n        encodeBase64 = encode;\n      },\n      addPayloadDict: function(dict) {\n        for (var key in dict) {\n          if (Object.prototype.hasOwnProperty.call(dict, key)) {\n            payloadPairs[key] = dict[key];\n          }\n        }\n      },\n      resetPayloadPairs: function(dict) {\n        payloadPairs = isJson(dict) ? dict : {};\n      },\n      setTrackerVersion: function(version2) {\n        addPayloadPair(\"tv\", version2);\n      },\n      setTrackerNamespace: function(name) {\n        addPayloadPair(\"tna\", name);\n      },\n      setAppId: function(appId) {\n        addPayloadPair(\"aid\", appId);\n      },\n      setPlatform: function(value) {\n        addPayloadPair(\"p\", value);\n      },\n      setUserId: function(userId) {\n        addPayloadPair(\"uid\", userId);\n      },\n      setScreenResolution: function(width, height) {\n        addPayloadPair(\"res\", width + \"x\" + height);\n      },\n      setViewport: function(width, height) {\n        addPayloadPair(\"vp\", width + \"x\" + height);\n      },\n      setColorDepth: function(depth) {\n        addPayloadPair(\"cd\", depth);\n      },\n      setTimezone: function(timezone) {\n        addPayloadPair(\"tz\", timezone);\n      },\n      setLang: function(lang) {\n        addPayloadPair(\"lang\", lang);\n      },\n      setIpAddress: function(ip) {\n        addPayloadPair(\"ip\", ip);\n      },\n      setUseragent: function(useragent) {\n        addPayloadPair(\"ua\", useragent);\n      },\n      addGlobalContexts: function(contexts) {\n        globalContextsHelper.addGlobalContexts(contexts);\n      },\n      clearGlobalContexts: function() {\n        globalContextsHelper.clearGlobalContexts();\n      },\n      removeGlobalContexts: function(contexts) {\n        globalContextsHelper.removeGlobalContexts(contexts);\n      }\n    };\n    return core2;\n  }\n  var base64 = configuration.base64, corePlugins = configuration.corePlugins, callback = configuration.callback, plugins = corePlugins !== null && corePlugins !== void 0 ? corePlugins : [], partialCore = newCore(base64 !== null && base64 !== void 0 ? base64 : true, plugins, callback), core = __assign(__assign({}, partialCore), { addPlugin: function(configuration2) {\n    var _a, _b;\n    var plugin = configuration2.plugin;\n    plugins.push(plugin);\n    (_a = plugin.logger) === null || _a === void 0 ? void 0 : _a.call(plugin, LOG);\n    (_b = plugin.activateCorePlugin) === null || _b === void 0 ? void 0 : _b.call(plugin, core);\n  } });\n  plugins === null || plugins === void 0 ? void 0 : plugins.forEach(function(plugin) {\n    var _a, _b;\n    (_a = plugin.logger) === null || _a === void 0 ? void 0 : _a.call(plugin, LOG);\n    (_b = plugin.activateCorePlugin) === null || _b === void 0 ? void 0 : _b.call(plugin, core);\n  });\n  return core;\n}\nfunction buildSelfDescribingEvent(event) {\n  var _a = event.event, schema = _a.schema, data = _a.data, pb = payloadBuilder();\n  var ueJson = {\n    schema: \"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0\",\n    data: { schema, data }\n  };\n  pb.add(\"e\", \"ue\");\n  pb.addJson(\"ue_px\", \"ue_pr\", ueJson);\n  return pb;\n}\nfunction buildPageView(event) {\n  var pageUrl = event.pageUrl, pageTitle = event.pageTitle, referrer = event.referrer, pb = payloadBuilder();\n  pb.add(\"e\", \"pv\");\n  pb.add(\"url\", pageUrl);\n  pb.add(\"page\", pageTitle);\n  pb.add(\"refr\", referrer);\n  return pb;\n}\nfunction buildPagePing(event) {\n  var pageUrl = event.pageUrl, pageTitle = event.pageTitle, referrer = event.referrer, minXOffset = event.minXOffset, maxXOffset = event.maxXOffset, minYOffset = event.minYOffset, maxYOffset = event.maxYOffset, pb = payloadBuilder();\n  pb.add(\"e\", \"pp\");\n  pb.add(\"url\", pageUrl);\n  pb.add(\"page\", pageTitle);\n  pb.add(\"refr\", referrer);\n  if (minXOffset && !isNaN(Number(minXOffset)))\n    pb.add(\"pp_mix\", minXOffset.toString());\n  if (maxXOffset && !isNaN(Number(maxXOffset)))\n    pb.add(\"pp_max\", maxXOffset.toString());\n  if (minYOffset && !isNaN(Number(minYOffset)))\n    pb.add(\"pp_miy\", minYOffset.toString());\n  if (maxYOffset && !isNaN(Number(maxYOffset)))\n    pb.add(\"pp_may\", maxYOffset.toString());\n  return pb;\n}\nvar version = version$1;\nexport {\n  LOG,\n  LOG_LEVEL,\n  buildPagePing,\n  buildPageView,\n  buildSelfDescribingEvent,\n  getRuleParts,\n  getSchemaParts,\n  globalContexts,\n  isConditionalContextProvider,\n  isContextCallbackFunction,\n  isContextPrimitive,\n  isFilterProvider,\n  isJson,\n  isNonEmptyJson,\n  isRuleSet,\n  isRuleSetProvider,\n  isSelfDescribingJson,\n  isStringArray,\n  isValidRule,\n  isValidRuleSetArg,\n  matchSchemaAgainstRule,\n  matchSchemaAgainstRuleSet,\n  payloadBuilder,\n  payloadJsonProcessor,\n  pluginContexts,\n  trackerCore,\n  validateVendor,\n  validateVendorParts,\n  version\n};\n","var commonjsGlobal = typeof globalThis !== \"undefined\" ? globalThis : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : {};\nfunction getDefaultExportFromCjs(x) {\n  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, \"default\") ? x[\"default\"] : x;\n}\nexport {\n  commonjsGlobal,\n  getDefaultExportFromCjs\n};\n","var sha1 = { exports: {} };\nexport {\n  sha1 as __module\n};\n","var crypt = { exports: {} };\nexport {\n  crypt as __module\n};\n","import { __module as crypt } from \"../../_virtual/crypt.js\";\n(function() {\n  var base64map = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\", crypt$1 = {\n    // Bit-wise rotation left\n    rotl: function(n, b) {\n      return n << b | n >>> 32 - b;\n    },\n    // Bit-wise rotation right\n    rotr: function(n, b) {\n      return n << 32 - b | n >>> b;\n    },\n    // Swap big-endian to little-endian and vice versa\n    endian: function(n) {\n      if (n.constructor == Number) {\n        return crypt$1.rotl(n, 8) & 16711935 | crypt$1.rotl(n, 24) & 4278255360;\n      }\n      for (var i = 0; i < n.length; i++)\n        n[i] = crypt$1.endian(n[i]);\n      return n;\n    },\n    // Generate an array of any length of random bytes\n    randomBytes: function(n) {\n      for (var bytes = []; n > 0; n--)\n        bytes.push(Math.floor(Math.random() * 256));\n      return bytes;\n    },\n    // Convert a byte array to big-endian 32-bit words\n    bytesToWords: function(bytes) {\n      for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)\n        words[b >>> 5] |= bytes[i] << 24 - b % 32;\n      return words;\n    },\n    // Convert big-endian 32-bit words to a byte array\n    wordsToBytes: function(words) {\n      for (var bytes = [], b = 0; b < words.length * 32; b += 8)\n        bytes.push(words[b >>> 5] >>> 24 - b % 32 & 255);\n      return bytes;\n    },\n    // Convert a byte array to a hex string\n    bytesToHex: function(bytes) {\n      for (var hex = [], i = 0; i < bytes.length; i++) {\n        hex.push((bytes[i] >>> 4).toString(16));\n        hex.push((bytes[i] & 15).toString(16));\n      }\n      return hex.join(\"\");\n    },\n    // Convert a hex string to a byte array\n    hexToBytes: function(hex) {\n      for (var bytes = [], c = 0; c < hex.length; c += 2)\n        bytes.push(parseInt(hex.substr(c, 2), 16));\n      return bytes;\n    },\n    // Convert a byte array to a base-64 string\n    bytesToBase64: function(bytes) {\n      for (var base64 = [], i = 0; i < bytes.length; i += 3) {\n        var triplet = bytes[i] << 16 | bytes[i + 1] << 8 | bytes[i + 2];\n        for (var j = 0; j < 4; j++)\n          if (i * 8 + j * 6 <= bytes.length * 8)\n            base64.push(base64map.charAt(triplet >>> 6 * (3 - j) & 63));\n          else\n            base64.push(\"=\");\n      }\n      return base64.join(\"\");\n    },\n    // Convert a base-64 string to a byte array\n    base64ToBytes: function(base64) {\n      base64 = base64.replace(/[^A-Z0-9+\\/]/ig, \"\");\n      for (var bytes = [], i = 0, imod4 = 0; i < base64.length; imod4 = ++i % 4) {\n        if (imod4 == 0)\n          continue;\n        bytes.push((base64map.indexOf(base64.charAt(i - 1)) & Math.pow(2, -2 * imod4 + 8) - 1) << imod4 * 2 | base64map.indexOf(base64.charAt(i)) >>> 6 - imod4 * 2);\n      }\n      return bytes;\n    }\n  };\n  crypt.exports = crypt$1;\n})();\nvar cryptExports = crypt.exports;\nexport {\n  cryptExports as c\n};\n","var charenc = {\n  // UTF-8 encoding\n  utf8: {\n    // Convert a string to a byte array\n    stringToBytes: function(str) {\n      return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));\n    },\n    // Convert a byte array to a string\n    bytesToString: function(bytes) {\n      return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));\n    }\n  },\n  // Binary encoding\n  bin: {\n    // Convert a string to a byte array\n    stringToBytes: function(str) {\n      for (var bytes = [], i = 0; i < str.length; i++)\n        bytes.push(str.charCodeAt(i) & 255);\n      return bytes;\n    },\n    // Convert a byte array to a string\n    bytesToString: function(bytes) {\n      for (var str = [], i = 0; i < bytes.length; i++)\n        str.push(String.fromCharCode(bytes[i]));\n      return str.join(\"\");\n    }\n  }\n};\nvar charenc_1 = charenc;\nexport {\n  charenc_1 as c\n};\n","import Buffer from \"../vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport { getDefaultExportFromCjs } from \"../../_virtual/_commonjsHelpers.js\";\nimport { __module as sha1 } from \"../../_virtual/sha1.js\";\nimport { c as cryptExports } from \"../crypt/crypt.js\";\nimport { c as charenc_1 } from \"../charenc/charenc.js\";\n(function() {\n  var crypt = cryptExports, utf8 = charenc_1.utf8, bin = charenc_1.bin, sha1$1 = function(message) {\n    if (message.constructor == String)\n      message = utf8.stringToBytes(message);\n    else if (typeof Buffer !== \"undefined\" && typeof Buffer.isBuffer == \"function\" && Buffer.isBuffer(message))\n      message = Array.prototype.slice.call(message, 0);\n    else if (!Array.isArray(message))\n      message = message.toString();\n    var m = crypt.bytesToWords(message), l = message.length * 8, w = [], H0 = 1732584193, H1 = -271733879, H2 = -1732584194, H3 = 271733878, H4 = -1009589776;\n    m[l >> 5] |= 128 << 24 - l % 32;\n    m[(l + 64 >>> 9 << 4) + 15] = l;\n    for (var i = 0; i < m.length; i += 16) {\n      var a = H0, b = H1, c = H2, d = H3, e = H4;\n      for (var j = 0; j < 80; j++) {\n        if (j < 16)\n          w[j] = m[i + j];\n        else {\n          var n = w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16];\n          w[j] = n << 1 | n >>> 31;\n        }\n        var t = (H0 << 5 | H0 >>> 27) + H4 + (w[j] >>> 0) + (j < 20 ? (H1 & H2 | ~H1 & H3) + 1518500249 : j < 40 ? (H1 ^ H2 ^ H3) + 1859775393 : j < 60 ? (H1 & H2 | H1 & H3 | H2 & H3) - 1894007588 : (H1 ^ H2 ^ H3) - 899497514);\n        H4 = H3;\n        H3 = H2;\n        H2 = H1 << 30 | H1 >>> 2;\n        H1 = H0;\n        H0 = t;\n      }\n      H0 += a;\n      H1 += b;\n      H2 += c;\n      H3 += d;\n      H4 += e;\n    }\n    return [H0, H1, H2, H3, H4];\n  }, api = function(message, options) {\n    var digestbytes = crypt.wordsToBytes(sha1$1(message));\n    return options && options.asBytes ? digestbytes : options && options.asString ? bin.bytesToString(digestbytes) : crypt.bytesToHex(digestbytes);\n  };\n  api._blocksize = 16;\n  api._digestsize = 20;\n  sha1.exports = api;\n})();\nvar sha1Exports = sha1.exports;\nconst hash = /* @__PURE__ */ getDefaultExportFromCjs(sha1Exports);\nexport {\n  hash as default\n};\n","import { LOG, trackerCore, buildPageView, buildPagePing } from \"../../../../../../@snowplow/tracker-core/dist/index.module.js\";\nimport { __assign, __spreadArray } from \"../../../../../../tslib/tslib.es6.js\";\nimport hash from \"../../../../../../sha1/sha1.js\";\nimport { u as uuid_1 } from \"../../../../../../uuid/index.js\";\n/*!\n * Core functionality for Snowplow Browser trackers v3.20.0 (http://bit.ly/sp-js)\n * Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang\n * Licensed under BSD-3-Clause\n */\nfunction attemptGetLocalStorage(key) {\n  try {\n    var localStorageAlias = window.localStorage, exp = localStorageAlias.getItem(key + \".expires\");\n    if (exp === null || +exp > Date.now()) {\n      return localStorageAlias.getItem(key);\n    } else {\n      localStorageAlias.removeItem(key);\n      localStorageAlias.removeItem(key + \".expires\");\n    }\n    return void 0;\n  } catch (e) {\n    return void 0;\n  }\n}\nfunction attemptWriteLocalStorage(key, value, ttl) {\n  if (ttl === void 0) {\n    ttl = 63072e3;\n  }\n  try {\n    var localStorageAlias = window.localStorage, t = Date.now() + ttl * 1e3;\n    localStorageAlias.setItem(\"\".concat(key, \".expires\"), t.toString());\n    localStorageAlias.setItem(key, value);\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\nfunction attemptDeleteLocalStorage(key) {\n  try {\n    var localStorageAlias = window.localStorage;\n    localStorageAlias.removeItem(key);\n    localStorageAlias.removeItem(key + \".expires\");\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\nfunction attemptGetSessionStorage(key) {\n  try {\n    return window.sessionStorage.getItem(key);\n  } catch (e) {\n    return void 0;\n  }\n}\nfunction attemptWriteSessionStorage(key, value) {\n  try {\n    window.sessionStorage.setItem(key, value);\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\nvar DEFAULT_CROSS_DOMAIN_LINKER_PARAMS = {\n  sessionId: true,\n  sourceId: true,\n  sourcePlatform: false,\n  userId: false,\n  reason: false\n};\nfunction createCrossDomainParameterValue(isExtendedFormat, attributeConfiguration, attributeValues) {\n  var _a;\n  var crossDomainParameterValue;\n  var timestamp = (/* @__PURE__ */ new Date()).getTime();\n  var config = __assign(__assign({}, DEFAULT_CROSS_DOMAIN_LINKER_PARAMS), attributeConfiguration);\n  var domainUserId = attributeValues.domainUserId, userId = attributeValues.userId, sessionId = attributeValues.sessionId, sourceId = attributeValues.sourceId, sourcePlatform = attributeValues.sourcePlatform, event = attributeValues.event;\n  var eventTarget = event.currentTarget;\n  var reason = typeof config.reason === \"function\" ? config.reason(event) : (_a = eventTarget === null || eventTarget === void 0 ? void 0 : eventTarget.textContent) === null || _a === void 0 ? void 0 : _a.trim();\n  if (isExtendedFormat) {\n    crossDomainParameterValue = [\n      domainUserId,\n      timestamp,\n      config.sessionId && sessionId,\n      config.userId && urlSafeBase64Encode(userId || \"\"),\n      config.sourceId && urlSafeBase64Encode(sourceId || \"\"),\n      config.sourcePlatform && sourcePlatform,\n      config.reason && urlSafeBase64Encode(reason || \"\")\n    ].map(function(attribute) {\n      return attribute || \"\";\n    }).join(\".\").replace(/([.]*$)/, \"\");\n  } else {\n    crossDomainParameterValue = attributeValues.domainUserId + \".\" + timestamp;\n  }\n  return crossDomainParameterValue;\n}\nfunction urlSafeBase64Encode(str) {\n  return btoa(str).replace(/\\+/g, \"-\").replace(/\\//g, \"_\").replace(/\\=+$/, \"\");\n}\nfunction isString(str) {\n  if (str && typeof str.valueOf() === \"string\") {\n    return true;\n  }\n  return false;\n}\nfunction isInteger(int) {\n  return Number.isInteger && Number.isInteger(int) || typeof int === \"number\" && isFinite(int) && Math.floor(int) === int;\n}\nfunction fixupTitle(title) {\n  if (!isString(title)) {\n    title = title.text || \"\";\n    var tmp = document.getElementsByTagName(\"title\");\n    if (tmp && tmp[0] != null) {\n      title = tmp[0].text;\n    }\n  }\n  return title;\n}\nfunction getHostName(url) {\n  var e = new RegExp(\"^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)\"), matches = e.exec(url);\n  return matches ? matches[1] : url;\n}\nfunction fixupDomain(domain) {\n  var dl = domain.length;\n  if (domain.charAt(--dl) === \".\") {\n    domain = domain.slice(0, dl);\n  }\n  if (domain.slice(0, 2) === \"*.\") {\n    domain = domain.slice(1);\n  }\n  return domain;\n}\nfunction getReferrer(oldLocation) {\n  var windowAlias = window, fromQs = fromQuerystring(\"referrer\", windowAlias.location.href) || fromQuerystring(\"referer\", windowAlias.location.href);\n  if (fromQs) {\n    return fromQs;\n  }\n  if (oldLocation) {\n    return oldLocation;\n  }\n  try {\n    if (windowAlias.top) {\n      return windowAlias.top.document.referrer;\n    } else if (windowAlias.parent) {\n      return windowAlias.parent.document.referrer;\n    }\n  } catch (_a) {\n  }\n  return document.referrer;\n}\nfunction addEventListener(element, eventType, eventHandler, options) {\n  if (element.addEventListener) {\n    element.addEventListener(eventType, eventHandler, options);\n    return true;\n  }\n  if (element.attachEvent) {\n    return element.attachEvent(\"on\" + eventType, eventHandler);\n  }\n  element[\"on\" + eventType] = eventHandler;\n}\nfunction fromQuerystring(field, url) {\n  var match = new RegExp(\"^[^#]*[?&]\" + field + \"=([^&#]*)\").exec(url);\n  if (!match) {\n    return null;\n  }\n  return decodeURIComponent(match[1].replace(/\\+/g, \" \"));\n}\nfunction decorateQuerystring(url, name, value) {\n  var initialQsParams = name + \"=\" + value;\n  var hashSplit = url.split(\"#\");\n  var qsSplit = hashSplit[0].split(\"?\");\n  var beforeQuerystring = qsSplit.shift();\n  var querystring = qsSplit.join(\"?\");\n  if (!querystring) {\n    querystring = initialQsParams;\n  } else {\n    var initialDecoration = true;\n    var qsFields = querystring.split(\"&\");\n    for (var i = 0; i < qsFields.length; i++) {\n      if (qsFields[i].substr(0, name.length + 1) === name + \"=\") {\n        initialDecoration = false;\n        qsFields[i] = initialQsParams;\n        querystring = qsFields.join(\"&\");\n        break;\n      }\n    }\n    if (initialDecoration) {\n      querystring = initialQsParams + \"&\" + querystring;\n    }\n  }\n  hashSplit[0] = beforeQuerystring + \"?\" + querystring;\n  return hashSplit.join(\"#\");\n}\nfunction findRootDomain(sameSite, secure) {\n  var windowLocationHostnameAlias = window.location.hostname, cookiePrefix = \"_sp_root_domain_test_\", cookieName = cookiePrefix + (/* @__PURE__ */ new Date()).getTime(), cookieValue = \"_test_value_\" + (/* @__PURE__ */ new Date()).getTime();\n  var locationParts = windowLocationHostnameAlias.split(\".\");\n  for (var idx = locationParts.length - 2; idx >= 0; idx--) {\n    var currentDomain = locationParts.slice(idx).join(\".\");\n    cookie(cookieName, cookieValue, 0, \"/\", currentDomain, sameSite, secure);\n    if (cookie(cookieName) === cookieValue) {\n      deleteCookie(cookieName, currentDomain, sameSite, secure);\n      var cookieNames = getCookiesWithPrefix(cookiePrefix);\n      for (var i = 0; i < cookieNames.length; i++) {\n        deleteCookie(cookieNames[i], currentDomain, sameSite, secure);\n      }\n      return currentDomain;\n    }\n  }\n  return windowLocationHostnameAlias;\n}\nfunction deleteCookie(cookieName, domainName, sameSite, secure) {\n  cookie(cookieName, \"\", -1, \"/\", domainName, sameSite, secure);\n}\nfunction getCookiesWithPrefix(cookiePrefix) {\n  var cookies = document.cookie.split(\"; \");\n  var cookieNames = [];\n  for (var i = 0; i < cookies.length; i++) {\n    if (cookies[i].substring(0, cookiePrefix.length) === cookiePrefix) {\n      cookieNames.push(cookies[i]);\n    }\n  }\n  return cookieNames;\n}\nfunction cookie(name, value, ttl, path, domain, samesite, secure) {\n  if (arguments.length > 1) {\n    return document.cookie = name + \"=\" + encodeURIComponent(value !== null && value !== void 0 ? value : \"\") + (ttl ? \"; Expires=\" + new Date(+/* @__PURE__ */ new Date() + ttl * 1e3).toUTCString() : \"\") + (path ? \"; Path=\" + path : \"\") + (domain ? \"; Domain=\" + domain : \"\") + (samesite ? \"; SameSite=\" + samesite : \"\") + (secure ? \"; Secure\" : \"\");\n  }\n  return decodeURIComponent(((\"; \" + document.cookie).split(\"; \" + name + \"=\")[1] || \"\").split(\";\")[0]);\n}\nfunction hasLocalStorage() {\n  try {\n    return !!window.localStorage;\n  } catch (e) {\n    return true;\n  }\n}\nfunction localStorageAccessible() {\n  var mod = \"modernizr\";\n  if (!hasLocalStorage()) {\n    return false;\n  }\n  try {\n    var ls = window.localStorage;\n    ls.setItem(mod, mod);\n    ls.removeItem(mod);\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\nvar WEB_PAGE_SCHEMA = \"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0\";\nvar BROWSER_CONTEXT_SCHEMA = \"iglu:com.snowplowanalytics.snowplow/browser_context/jsonschema/2-0-0\";\nvar CLIENT_SESSION_SCHEMA = \"iglu:com.snowplowanalytics.snowplow/client_session/jsonschema/1-0-2\";\nvar PAYLOAD_DATA_SCHEMA = \"iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4\";\nfunction OutQueueManager(id, sharedSate, useLocalStorage, eventMethod, postPath, bufferSize, maxPostBytes, maxGetBytes, useStm, maxLocalStorageQueueSize, connectionTimeout, anonymousTracking, customHeaders, withCredentials, retryStatusCodes, dontRetryStatusCodes, idService, retryFailedRequests, onRequestSuccess, onRequestFailure) {\n  if (retryFailedRequests === void 0) {\n    retryFailedRequests = true;\n  }\n  var executingQueue = false, configCollectorUrl, outQueue = [], idServiceCalled = false;\n  eventMethod = typeof eventMethod === \"string\" ? eventMethod.toLowerCase() : eventMethod;\n  var isBeaconRequested = eventMethod === true || eventMethod === \"beacon\" || eventMethod === \"true\", isBeaconAvailable = Boolean(isBeaconRequested && window.navigator && window.navigator.sendBeacon && !hasWebKitBeaconBug(window.navigator.userAgent)), useBeacon = isBeaconAvailable && isBeaconRequested, isGetRequested = eventMethod === \"get\", useXhr = Boolean(window.XMLHttpRequest && \"withCredentials\" in new XMLHttpRequest()), usePost = !isGetRequested && useXhr && (eventMethod === \"post\" || isBeaconRequested), path = usePost ? postPath : \"/i\", queueName = \"snowplowOutQueue_\".concat(id, \"_\").concat(usePost ? \"post2\" : \"get\");\n  if (isBeaconRequested)\n    customHeaders = {};\n  bufferSize = useLocalStorage && localStorageAccessible() && usePost && bufferSize || 1;\n  if (useLocalStorage) {\n    try {\n      var localStorageQueue = window.localStorage.getItem(queueName);\n      outQueue = localStorageQueue ? JSON.parse(localStorageQueue) : [];\n    } catch (e) {\n    }\n  }\n  if (!Array.isArray(outQueue)) {\n    outQueue = [];\n  }\n  sharedSate.outQueues.push(outQueue);\n  if (useXhr && bufferSize > 1) {\n    sharedSate.bufferFlushers.push(function(sync) {\n      if (!executingQueue) {\n        executeQueue(sync);\n      }\n    });\n  }\n  function getQuerystring(request) {\n    var querystring = \"?\", lowPriorityKeys = { co: true, cx: true }, firstPair = true;\n    for (var key in request) {\n      if (request.hasOwnProperty(key) && !lowPriorityKeys.hasOwnProperty(key)) {\n        if (!firstPair) {\n          querystring += \"&\";\n        } else {\n          firstPair = false;\n        }\n        querystring += encodeURIComponent(key) + \"=\" + encodeURIComponent(request[key]);\n      }\n    }\n    for (var contextKey in lowPriorityKeys) {\n      if (request.hasOwnProperty(contextKey) && lowPriorityKeys.hasOwnProperty(contextKey)) {\n        querystring += \"&\" + contextKey + \"=\" + encodeURIComponent(request[contextKey]);\n      }\n    }\n    return querystring;\n  }\n  function getBody(request) {\n    var cleanedRequest = Object.keys(request).map(function(k) {\n      return [k, request[k]];\n    }).reduce(function(acc, _a) {\n      var key = _a[0], value = _a[1];\n      acc[key] = value.toString();\n      return acc;\n    }, {});\n    return {\n      evt: cleanedRequest,\n      bytes: getUTF8Length(JSON.stringify(cleanedRequest))\n    };\n  }\n  function getUTF8Length(s) {\n    var len = 0;\n    for (var i = 0; i < s.length; i++) {\n      var code = s.charCodeAt(i);\n      if (code <= 127) {\n        len += 1;\n      } else if (code <= 2047) {\n        len += 2;\n      } else if (code >= 55296 && code <= 57343) {\n        len += 4;\n        i++;\n      } else if (code < 65535) {\n        len += 3;\n      } else {\n        len += 4;\n      }\n    }\n    return len;\n  }\n  var postable = function(queue) {\n    return typeof queue[0] === \"object\" && \"evt\" in queue[0];\n  };\n  function sendPostRequestWithoutQueueing(body, configCollectorUrl2) {\n    var xhr = initializeXMLHttpRequest(configCollectorUrl2, true, false);\n    var batch = attachStmToEvent([body.evt]);\n    xhr.onreadystatechange = function() {\n      if (xhr.readyState === 4) {\n        if (isSuccessfulRequest(xhr.status)) {\n          onRequestSuccess === null || onRequestSuccess === void 0 ? void 0 : onRequestSuccess(batch);\n        } else {\n          onRequestFailure === null || onRequestFailure === void 0 ? void 0 : onRequestFailure({\n            status: xhr.status,\n            message: xhr.statusText,\n            events: batch,\n            willRetry: false\n          });\n        }\n      }\n    };\n    xhr.send(encloseInPayloadDataEnvelope(batch));\n  }\n  function removeEventsFromQueue(numberToSend) {\n    for (var deleteCount = 0; deleteCount < numberToSend; deleteCount++) {\n      outQueue.shift();\n    }\n    if (useLocalStorage) {\n      attemptWriteLocalStorage(queueName, JSON.stringify(outQueue.slice(0, maxLocalStorageQueueSize)));\n    }\n  }\n  function setXhrCallbacks(xhr, numberToSend, batch) {\n    xhr.onreadystatechange = function() {\n      if (xhr.readyState === 4) {\n        clearTimeout(xhrTimeout);\n        if (isSuccessfulRequest(xhr.status)) {\n          removeEventsFromQueue(numberToSend);\n          onRequestSuccess === null || onRequestSuccess === void 0 ? void 0 : onRequestSuccess(batch);\n          executeQueue();\n        } else {\n          var willRetry = shouldRetryForStatusCode(xhr.status);\n          if (!willRetry) {\n            LOG.error(\"Status \".concat(xhr.status, \", will not retry.\"));\n            removeEventsFromQueue(numberToSend);\n          }\n          onRequestFailure === null || onRequestFailure === void 0 ? void 0 : onRequestFailure({\n            status: xhr.status,\n            message: xhr.statusText,\n            events: batch,\n            willRetry\n          });\n          executingQueue = false;\n        }\n      }\n    };\n    var xhrTimeout = setTimeout(function() {\n      xhr.abort();\n      if (!retryFailedRequests) {\n        removeEventsFromQueue(numberToSend);\n      }\n      onRequestFailure === null || onRequestFailure === void 0 ? void 0 : onRequestFailure({\n        status: 0,\n        message: \"timeout\",\n        events: batch,\n        willRetry: retryFailedRequests\n      });\n      executingQueue = false;\n    }, connectionTimeout);\n  }\n  function enqueueRequest(request, url) {\n    configCollectorUrl = url + path;\n    var eventTooBigWarning = function(bytes2, maxBytes) {\n      return LOG.warn(\"Event (\" + bytes2 + \"B) too big, max is \" + maxBytes);\n    };\n    if (usePost) {\n      var body = getBody(request);\n      if (body.bytes >= maxPostBytes) {\n        eventTooBigWarning(body.bytes, maxPostBytes);\n        sendPostRequestWithoutQueueing(body, configCollectorUrl);\n        return;\n      } else {\n        outQueue.push(body);\n      }\n    } else {\n      var querystring = getQuerystring(request);\n      if (maxGetBytes > 0) {\n        var requestUrl = createGetUrl(querystring);\n        var bytes = getUTF8Length(requestUrl);\n        if (bytes >= maxGetBytes) {\n          eventTooBigWarning(bytes, maxGetBytes);\n          if (useXhr) {\n            var body = getBody(request);\n            var postUrl = url + postPath;\n            sendPostRequestWithoutQueueing(body, postUrl);\n          }\n          return;\n        }\n      }\n      outQueue.push(querystring);\n    }\n    var savedToLocalStorage = false;\n    if (useLocalStorage) {\n      savedToLocalStorage = attemptWriteLocalStorage(queueName, JSON.stringify(outQueue.slice(0, maxLocalStorageQueueSize)));\n    }\n    if (!executingQueue && (!savedToLocalStorage || outQueue.length >= bufferSize)) {\n      executeQueue();\n    }\n  }\n  function executeQueue(sync) {\n    if (sync === void 0) {\n      sync = false;\n    }\n    while (outQueue.length && typeof outQueue[0] !== \"string\" && typeof outQueue[0] !== \"object\") {\n      outQueue.shift();\n    }\n    if (!outQueue.length) {\n      executingQueue = false;\n      return;\n    }\n    if (!isString(configCollectorUrl)) {\n      throw \"No collector configured\";\n    }\n    executingQueue = true;\n    if (idService && !idServiceCalled) {\n      var xhr_1 = initializeXMLHttpRequest(idService, false, sync);\n      idServiceCalled = true;\n      xhr_1.timeout = connectionTimeout;\n      xhr_1.onreadystatechange = function() {\n        if (xhr_1.readyState === 4) {\n          executeQueue();\n        }\n      };\n      xhr_1.send();\n      return;\n    }\n    if (useXhr) {\n      var chooseHowManyToSend = function(queue) {\n        var numberToSend2 = 0, byteCount = 0;\n        while (numberToSend2 < queue.length) {\n          byteCount += queue[numberToSend2].bytes;\n          if (byteCount >= maxPostBytes) {\n            break;\n          } else {\n            numberToSend2 += 1;\n          }\n        }\n        return numberToSend2;\n      };\n      var url = void 0, xhr = void 0, numberToSend = void 0;\n      if (postable(outQueue)) {\n        url = configCollectorUrl;\n        xhr = initializeXMLHttpRequest(url, true, sync);\n        numberToSend = chooseHowManyToSend(outQueue);\n      } else {\n        url = createGetUrl(outQueue[0]);\n        xhr = initializeXMLHttpRequest(url, false, sync);\n        numberToSend = 1;\n      }\n      if (!postable(outQueue)) {\n        setXhrCallbacks(xhr, numberToSend, [url]);\n        xhr.send();\n      } else {\n        var batch = outQueue.slice(0, numberToSend);\n        if (batch.length > 0) {\n          var beaconStatus = false;\n          var eventBatch = batch.map(function(x) {\n            return x.evt;\n          });\n          if (useBeacon) {\n            var blob = new Blob([encloseInPayloadDataEnvelope(attachStmToEvent(eventBatch))], {\n              type: \"application/json\"\n            });\n            try {\n              beaconStatus = navigator.sendBeacon(url, blob);\n            } catch (error) {\n              beaconStatus = false;\n            }\n          }\n          if (beaconStatus === true) {\n            removeEventsFromQueue(numberToSend);\n            onRequestSuccess === null || onRequestSuccess === void 0 ? void 0 : onRequestSuccess(batch);\n            executeQueue();\n          } else {\n            var batch_1 = attachStmToEvent(eventBatch);\n            setXhrCallbacks(xhr, numberToSend, batch_1);\n            xhr.send(encloseInPayloadDataEnvelope(batch_1));\n          }\n        }\n      }\n    } else if (!anonymousTracking && !postable(outQueue)) {\n      var image = new Image(1, 1), loading_1 = true;\n      image.onload = function() {\n        if (!loading_1)\n          return;\n        loading_1 = false;\n        outQueue.shift();\n        if (useLocalStorage) {\n          attemptWriteLocalStorage(queueName, JSON.stringify(outQueue.slice(0, maxLocalStorageQueueSize)));\n        }\n        executeQueue();\n      };\n      image.onerror = function() {\n        if (!loading_1)\n          return;\n        loading_1 = false;\n        executingQueue = false;\n      };\n      image.src = createGetUrl(outQueue[0]);\n      setTimeout(function() {\n        if (loading_1 && executingQueue) {\n          loading_1 = false;\n          executeQueue();\n        }\n      }, connectionTimeout);\n    } else {\n      executingQueue = false;\n    }\n  }\n  function isSuccessfulRequest(statusCode) {\n    return statusCode >= 200 && statusCode < 300;\n  }\n  function shouldRetryForStatusCode(statusCode) {\n    if (isSuccessfulRequest(statusCode)) {\n      return false;\n    }\n    if (!retryFailedRequests) {\n      return false;\n    }\n    if (retryStatusCodes.includes(statusCode)) {\n      return true;\n    }\n    return !dontRetryStatusCodes.includes(statusCode);\n  }\n  function initializeXMLHttpRequest(url, post, sync) {\n    var xhr = new XMLHttpRequest();\n    if (post) {\n      xhr.open(\"POST\", url, !sync);\n      xhr.setRequestHeader(\"Content-Type\", \"application/json; charset=UTF-8\");\n    } else {\n      xhr.open(\"GET\", url, !sync);\n    }\n    xhr.withCredentials = withCredentials;\n    if (anonymousTracking) {\n      xhr.setRequestHeader(\"SP-Anonymous\", \"*\");\n    }\n    for (var header in customHeaders) {\n      if (Object.prototype.hasOwnProperty.call(customHeaders, header)) {\n        xhr.setRequestHeader(header, customHeaders[header]);\n      }\n    }\n    return xhr;\n  }\n  function encloseInPayloadDataEnvelope(events) {\n    return JSON.stringify({\n      schema: PAYLOAD_DATA_SCHEMA,\n      data: events\n    });\n  }\n  function attachStmToEvent(events) {\n    var stm = (/* @__PURE__ */ new Date()).getTime().toString();\n    for (var i = 0; i < events.length; i++) {\n      events[i][\"stm\"] = stm;\n    }\n    return events;\n  }\n  function createGetUrl(nextRequest) {\n    if (useStm) {\n      return configCollectorUrl + nextRequest.replace(\"?\", \"?stm=\" + (/* @__PURE__ */ new Date()).getTime() + \"&\");\n    }\n    return configCollectorUrl + nextRequest;\n  }\n  return {\n    enqueueRequest,\n    executeQueue: function() {\n      if (!executingQueue) {\n        executeQueue();\n      }\n    },\n    setUseLocalStorage: function(localStorage) {\n      useLocalStorage = localStorage;\n    },\n    setAnonymousTracking: function(anonymous) {\n      anonymousTracking = anonymous;\n    },\n    setCollectorUrl: function(url) {\n      configCollectorUrl = url + path;\n    },\n    setBufferSize: function(newBufferSize) {\n      bufferSize = newBufferSize;\n    }\n  };\n  function hasWebKitBeaconBug(useragent) {\n    return isIosVersionLessThanOrEqualTo(13, useragent) || isMacosxVersionLessThanOrEqualTo(10, 15, useragent) && isSafari(useragent);\n    function isIosVersionLessThanOrEqualTo(major, useragent2) {\n      var match = useragent2.match(\"(iP.+; CPU .*OS (d+)[_d]*.*) AppleWebKit/\");\n      if (match && match.length) {\n        return parseInt(match[0]) <= major;\n      }\n      return false;\n    }\n    function isMacosxVersionLessThanOrEqualTo(major, minor, useragent2) {\n      var match = useragent2.match(\"(Macintosh;.*Mac OS X (d+)_(d+)[_d]*.*) AppleWebKit/\");\n      if (match && match.length) {\n        return parseInt(match[0]) <= major || parseInt(match[0]) === major && parseInt(match[1]) <= minor;\n      }\n      return false;\n    }\n    function isSafari(useragent2) {\n      return useragent2.match(\"Version/.* Safari/\") && !isChromiumBased(useragent2);\n    }\n    function isChromiumBased(useragent2) {\n      return useragent2.match(\"Chrom(e|ium)\");\n    }\n  }\n}\nfunction getParameter(url, name) {\n  var e = new RegExp(\"^(?:https?|ftp)(?::/*(?:[^?]+))([?][^#]+)\"), matches = e.exec(url);\n  if (matches && (matches === null || matches === void 0 ? void 0 : matches.length) > 1) {\n    return fromQuerystring(name, matches[1]);\n  }\n  return null;\n}\nfunction fixupUrl(hostName, href, referrer) {\n  var _a;\n  if (hostName === \"translate.googleusercontent.com\") {\n    if (referrer === \"\") {\n      referrer = href;\n    }\n    href = (_a = getParameter(href, \"u\")) !== null && _a !== void 0 ? _a : \"\";\n    hostName = getHostName(href);\n  } else if (hostName === \"cc.bingj.com\" || // Bing & Yahoo\n  hostName === \"webcache.googleusercontent.com\") {\n    href = document.links[0].href;\n    hostName = getHostName(href);\n  }\n  return [hostName, href, referrer];\n}\nvar cookieDisabledIndex = 0, domainUserIdIndex = 1, createTsIndex = 2, visitCountIndex = 3, nowTsIndex = 4, lastVisitTsIndex = 5, sessionIdIndex = 6, previousSessionIdIndex = 7, firstEventIdIndex = 8, firstEventTsInMsIndex = 9, eventIndexIndex = 10;\nfunction emptyIdCookie() {\n  var idCookie = [\"1\", \"\", 0, 0, 0, void 0, \"\", \"\", \"\", void 0, 0];\n  return idCookie;\n}\nfunction parseIdCookie(id, domainUserId, memorizedSessionId, memorizedVisitCount) {\n  var now = /* @__PURE__ */ new Date(), nowTs = Math.round(now.getTime() / 1e3), tmpContainer;\n  if (id) {\n    tmpContainer = id.split(\".\");\n    tmpContainer.unshift(\"0\");\n  } else {\n    tmpContainer = [\n      // cookies disabled\n      \"1\",\n      // Domain user ID\n      domainUserId,\n      // Creation timestamp - seconds since Unix epoch\n      nowTs,\n      // visitCount - 0 = no previous visit\n      memorizedVisitCount,\n      // Current visit timestamp\n      nowTs,\n      // Last visit timestamp - blank meaning no previous visit\n      \"\",\n      // Session ID\n      memorizedSessionId\n    ];\n  }\n  if (!tmpContainer[sessionIdIndex] || tmpContainer[sessionIdIndex] === \"undefined\") {\n    tmpContainer[sessionIdIndex] = uuid_1.v4();\n  }\n  if (!tmpContainer[previousSessionIdIndex] || tmpContainer[previousSessionIdIndex] === \"undefined\") {\n    tmpContainer[previousSessionIdIndex] = \"\";\n  }\n  if (!tmpContainer[firstEventIdIndex] || tmpContainer[firstEventIdIndex] === \"undefined\") {\n    tmpContainer[firstEventIdIndex] = \"\";\n  }\n  if (!tmpContainer[firstEventTsInMsIndex] || tmpContainer[firstEventTsInMsIndex] === \"undefined\") {\n    tmpContainer[firstEventTsInMsIndex] = \"\";\n  }\n  if (!tmpContainer[eventIndexIndex] || tmpContainer[eventIndexIndex] === \"undefined\") {\n    tmpContainer[eventIndexIndex] = 0;\n  }\n  var parseIntOr = function(value, defaultValue) {\n    var parsed2 = parseInt(value);\n    return isNaN(parsed2) ? defaultValue : parsed2;\n  };\n  var parseIntOrUndefined = function(value) {\n    return value ? parseIntOr(value, void 0) : void 0;\n  };\n  var parsed = [\n    tmpContainer[cookieDisabledIndex],\n    tmpContainer[domainUserIdIndex],\n    parseIntOr(tmpContainer[createTsIndex], nowTs),\n    parseIntOr(tmpContainer[visitCountIndex], memorizedVisitCount),\n    parseIntOr(tmpContainer[nowTsIndex], nowTs),\n    parseIntOrUndefined(tmpContainer[lastVisitTsIndex]),\n    tmpContainer[sessionIdIndex],\n    tmpContainer[previousSessionIdIndex],\n    tmpContainer[firstEventIdIndex],\n    parseIntOrUndefined(tmpContainer[firstEventTsInMsIndex]),\n    parseIntOr(tmpContainer[eventIndexIndex], 0)\n  ];\n  return parsed;\n}\nfunction initializeDomainUserId(idCookie, configAnonymousTracking) {\n  var domainUserId;\n  if (idCookie[domainUserIdIndex]) {\n    domainUserId = idCookie[domainUserIdIndex];\n  } else if (!configAnonymousTracking) {\n    domainUserId = uuid_1.v4();\n    idCookie[domainUserIdIndex] = domainUserId;\n  } else {\n    domainUserId = \"\";\n    idCookie[domainUserIdIndex] = domainUserId;\n  }\n  return domainUserId;\n}\nfunction startNewIdCookieSession(idCookie, options) {\n  if (options === void 0) {\n    options = { memorizedVisitCount: 1 };\n  }\n  var memorizedVisitCount = options.memorizedVisitCount;\n  if (cookiesEnabledInIdCookie(idCookie)) {\n    idCookie[previousSessionIdIndex] = idCookie[sessionIdIndex];\n    idCookie[lastVisitTsIndex] = idCookie[nowTsIndex];\n    idCookie[visitCountIndex]++;\n  } else {\n    idCookie[visitCountIndex] = memorizedVisitCount;\n  }\n  var sessionId = uuid_1.v4();\n  idCookie[sessionIdIndex] = sessionId;\n  idCookie[eventIndexIndex] = 0;\n  idCookie[firstEventIdIndex] = \"\";\n  idCookie[firstEventTsInMsIndex] = void 0;\n  return sessionId;\n}\nfunction updateNowTsInIdCookie(idCookie) {\n  idCookie[nowTsIndex] = Math.round((/* @__PURE__ */ new Date()).getTime() / 1e3);\n}\nfunction updateFirstEventInIdCookie(idCookie, payloadBuilder) {\n  if (idCookie[eventIndexIndex] === 0) {\n    var payload = payloadBuilder.build();\n    idCookie[firstEventIdIndex] = payload[\"eid\"];\n    var ts = payload[\"dtm\"] || payload[\"ttm\"];\n    idCookie[firstEventTsInMsIndex] = ts ? parseInt(ts) : void 0;\n  }\n}\nfunction incrementEventIndexInIdCookie(idCookie) {\n  idCookie[eventIndexIndex] += 1;\n}\nfunction serializeIdCookie(idCookie, configAnonymousTracking) {\n  var anonymizedIdCookie = __spreadArray([], idCookie, true);\n  if (configAnonymousTracking) {\n    anonymizedIdCookie[domainUserIdIndex] = \"\";\n    anonymizedIdCookie[previousSessionIdIndex] = \"\";\n  }\n  anonymizedIdCookie.shift();\n  return anonymizedIdCookie.join(\".\");\n}\nfunction clientSessionFromIdCookie(idCookie, configStateStorageStrategy, configAnonymousTracking) {\n  var firstEventTsInMs = idCookie[firstEventTsInMsIndex];\n  var clientSession = {\n    userId: configAnonymousTracking ? \"00000000-0000-0000-0000-000000000000\" : idCookie[domainUserIdIndex],\n    sessionId: idCookie[sessionIdIndex],\n    eventIndex: idCookie[eventIndexIndex],\n    sessionIndex: idCookie[visitCountIndex],\n    previousSessionId: configAnonymousTracking ? null : idCookie[previousSessionIdIndex] || null,\n    storageMechanism: configStateStorageStrategy == \"localStorage\" ? \"LOCAL_STORAGE\" : \"COOKIE_1\",\n    firstEventId: idCookie[firstEventIdIndex] || null,\n    firstEventTimestamp: firstEventTsInMs ? new Date(firstEventTsInMs).toISOString() : null\n  };\n  return clientSession;\n}\nfunction sessionIdFromIdCookie(idCookie) {\n  return idCookie[sessionIdIndex];\n}\nfunction domainUserIdFromIdCookie(idCookie) {\n  return idCookie[domainUserIdIndex];\n}\nfunction visitCountFromIdCookie(idCookie) {\n  return idCookie[visitCountIndex];\n}\nfunction cookiesEnabledInIdCookie(idCookie) {\n  return idCookie[cookieDisabledIndex] === \"0\";\n}\nfunction eventIndexFromIdCookie(idCookie) {\n  return idCookie[eventIndexIndex];\n}\nvar DIMENSION_SEPARATOR = \"x\";\nfunction getBrowserProperties() {\n  return {\n    viewport: floorDimensionFields(detectViewport()),\n    documentSize: floorDimensionFields(detectDocumentSize()),\n    resolution: floorDimensionFields(detectScreenResolution()),\n    colorDepth: screen.colorDepth,\n    devicePixelRatio: window.devicePixelRatio,\n    cookiesEnabled: window.navigator.cookieEnabled,\n    online: window.navigator.onLine,\n    browserLanguage: navigator.language || navigator.userLanguage,\n    documentLanguage: document.documentElement.lang,\n    webdriver: window.navigator.webdriver,\n    deviceMemory: window.navigator.deviceMemory,\n    hardwareConcurrency: window.navigator.hardwareConcurrency\n  };\n}\nfunction detectViewport() {\n  var width, height;\n  if (\"innerWidth\" in window) {\n    width = window[\"innerWidth\"];\n    height = window[\"innerHeight\"];\n  } else {\n    var e = document.documentElement || document.body;\n    width = e[\"clientWidth\"];\n    height = e[\"clientHeight\"];\n  }\n  if (width >= 0 && height >= 0) {\n    return width + DIMENSION_SEPARATOR + height;\n  } else {\n    return null;\n  }\n}\nfunction detectDocumentSize() {\n  var de = document.documentElement, be = document.body, bodyHeight = be ? Math.max(be.offsetHeight, be.scrollHeight) : 0;\n  var w = Math.max(de.clientWidth, de.offsetWidth, de.scrollWidth);\n  var h = Math.max(de.clientHeight, de.offsetHeight, de.scrollHeight, bodyHeight);\n  return isNaN(w) || isNaN(h) ? \"\" : w + DIMENSION_SEPARATOR + h;\n}\nfunction detectScreenResolution() {\n  return screen.width + DIMENSION_SEPARATOR + screen.height;\n}\nfunction floorDimensionFields(field) {\n  return field && field.split(DIMENSION_SEPARATOR).map(function(dimension) {\n    return Math.floor(Number(dimension));\n  }).join(DIMENSION_SEPARATOR);\n}\nfunction Tracker(trackerId, namespace, version, endpoint, sharedState, trackerConfiguration) {\n  if (trackerConfiguration === void 0) {\n    trackerConfiguration = {};\n  }\n  var browserPlugins = [];\n  var newTracker = function(trackerId2, namespace2, version2, endpoint2, state, trackerConfiguration2) {\n    var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;\n    trackerConfiguration2.eventMethod = (_a = trackerConfiguration2.eventMethod) !== null && _a !== void 0 ? _a : \"post\";\n    var getStateStorageStrategy = function(config) {\n      var _a2;\n      return (_a2 = config.stateStorageStrategy) !== null && _a2 !== void 0 ? _a2 : \"cookieAndLocalStorage\";\n    }, getAnonymousSessionTracking = function(config) {\n      var _a2, _b2;\n      if (typeof config.anonymousTracking === \"boolean\") {\n        return false;\n      }\n      return (_b2 = ((_a2 = config.anonymousTracking) === null || _a2 === void 0 ? void 0 : _a2.withSessionTracking) === true) !== null && _b2 !== void 0 ? _b2 : false;\n    }, getAnonymousServerTracking = function(config) {\n      var _a2, _b2;\n      if (typeof config.anonymousTracking === \"boolean\") {\n        return false;\n      }\n      return (_b2 = ((_a2 = config.anonymousTracking) === null || _a2 === void 0 ? void 0 : _a2.withServerAnonymisation) === true) !== null && _b2 !== void 0 ? _b2 : false;\n    }, getAnonymousTracking = function(config) {\n      return !!config.anonymousTracking;\n    }, isBrowserContextAvailable = (_c = (_b = trackerConfiguration2 === null || trackerConfiguration2 === void 0 ? void 0 : trackerConfiguration2.contexts) === null || _b === void 0 ? void 0 : _b.browser) !== null && _c !== void 0 ? _c : false, isWebPageContextAvailable = (_e = (_d = trackerConfiguration2 === null || trackerConfiguration2 === void 0 ? void 0 : trackerConfiguration2.contexts) === null || _d === void 0 ? void 0 : _d.webPage) !== null && _e !== void 0 ? _e : true, getExtendedCrossDomainTrackingConfiguration = function(crossDomainTrackingConfig) {\n      if (typeof crossDomainTrackingConfig === \"boolean\") {\n        return { useExtendedCrossDomainLinker: crossDomainTrackingConfig };\n      }\n      return {\n        useExtendedCrossDomainLinker: true,\n        collectCrossDomainAttributes: crossDomainTrackingConfig\n      };\n    };\n    browserPlugins.push(getBrowserDataPlugin());\n    if (isWebPageContextAvailable) {\n      browserPlugins.push(getWebPagePlugin());\n    }\n    if (isBrowserContextAvailable) {\n      browserPlugins.push(getBrowserContextPlugin());\n    }\n    browserPlugins.push.apply(browserPlugins, (_f = trackerConfiguration2.plugins) !== null && _f !== void 0 ? _f : []);\n    var core = trackerCore({\n      base64: trackerConfiguration2.encodeBase64,\n      corePlugins: browserPlugins,\n      callback: sendRequest\n    }), documentCharset = document.characterSet || document.charset, locationArray = fixupUrl(window.location.hostname, window.location.href, getReferrer()), domainAlias = fixupDomain(locationArray[0]), locationHrefAlias = locationArray[1], configReferrerUrl = locationArray[2], customReferrer, configPlatform = (_g = trackerConfiguration2.platform) !== null && _g !== void 0 ? _g : \"web\", configCollectorUrl = asCollectorUrl(endpoint2), configPostPath = (_h = trackerConfiguration2.postPath) !== null && _h !== void 0 ? _h : \"/com.snowplowanalytics.snowplow/tp2\", configTrackerSiteId = (_j = trackerConfiguration2.appId) !== null && _j !== void 0 ? _j : \"\", configCustomUrl, lastDocumentTitle = document.title, lastConfigTitle, resetActivityTrackingOnPageView = (_k = trackerConfiguration2.resetActivityTrackingOnPageView) !== null && _k !== void 0 ? _k : true, configDiscardHashTag, configDiscardBrace, configCookieNamePrefix = (_l = trackerConfiguration2.cookieName) !== null && _l !== void 0 ? _l : \"_sp_\", configCookieDomain = (_m = trackerConfiguration2.cookieDomain) !== null && _m !== void 0 ? _m : void 0, configCookiePath = \"/\", configCookieSameSite = (_o = trackerConfiguration2.cookieSameSite) !== null && _o !== void 0 ? _o : \"None\", configCookieSecure = (_p = trackerConfiguration2.cookieSecure) !== null && _p !== void 0 ? _p : true, dnt = navigator.doNotTrack || navigator.msDoNotTrack || window.doNotTrack, configDoNotTrack = typeof trackerConfiguration2.respectDoNotTrack !== \"undefined\" ? trackerConfiguration2.respectDoNotTrack && (dnt === \"yes\" || dnt === \"1\") : false, configOptOutCookie, configVisitorCookieTimeout = (_q = trackerConfiguration2.cookieLifetime) !== null && _q !== void 0 ? _q : 63072e3, configSessionCookieTimeout = (_r = trackerConfiguration2.sessionCookieTimeout) !== null && _r !== void 0 ? _r : 1800, configAnonymousSessionTracking = getAnonymousSessionTracking(trackerConfiguration2), configAnonymousServerTracking = getAnonymousServerTracking(trackerConfiguration2), configAnonymousTracking = getAnonymousTracking(trackerConfiguration2), configStateStorageStrategy = getStateStorageStrategy(trackerConfiguration2), lastActivityTime, lastEventTime = (/* @__PURE__ */ new Date()).getTime(), minXOffset, maxXOffset, minYOffset, maxYOffset, domainHash, domainUserId, memorizedSessionId, memorizedVisitCount = 1, businessUserId, outQueue = OutQueueManager(trackerId2, state, configStateStorageStrategy == \"localStorage\" || configStateStorageStrategy == \"cookieAndLocalStorage\", trackerConfiguration2.eventMethod, configPostPath, (_s = trackerConfiguration2.bufferSize) !== null && _s !== void 0 ? _s : 1, (_t = trackerConfiguration2.maxPostBytes) !== null && _t !== void 0 ? _t : 4e4, (_u = trackerConfiguration2.maxGetBytes) !== null && _u !== void 0 ? _u : 0, (_v = trackerConfiguration2.useStm) !== null && _v !== void 0 ? _v : true, (_w = trackerConfiguration2.maxLocalStorageQueueSize) !== null && _w !== void 0 ? _w : 1e3, (_x = trackerConfiguration2.connectionTimeout) !== null && _x !== void 0 ? _x : 5e3, configAnonymousServerTracking, (_y = trackerConfiguration2.customHeaders) !== null && _y !== void 0 ? _y : {}, (_z = trackerConfiguration2.withCredentials) !== null && _z !== void 0 ? _z : true, (_0 = trackerConfiguration2.retryStatusCodes) !== null && _0 !== void 0 ? _0 : [], ((_1 = trackerConfiguration2.dontRetryStatusCodes) !== null && _1 !== void 0 ? _1 : []).concat([400, 401, 403, 410, 422]), trackerConfiguration2.idService, trackerConfiguration2.retryFailedRequests, trackerConfiguration2.onRequestSuccess, trackerConfiguration2.onRequestFailure), preservePageViewId = false, pageViewSent = false, activityTrackingConfig = {\n      enabled: false,\n      installed: false,\n      configurations: {}\n    }, configSessionContext = (_3 = (_2 = trackerConfiguration2.contexts) === null || _2 === void 0 ? void 0 : _2.session) !== null && _3 !== void 0 ? _3 : false, toOptoutByCookie, onSessionUpdateCallback = trackerConfiguration2.onSessionUpdateCallback, manualSessionUpdateCalled = false, _4 = getExtendedCrossDomainTrackingConfiguration(trackerConfiguration2.useExtendedCrossDomainLinker || false), useExtendedCrossDomainLinker = _4.useExtendedCrossDomainLinker, collectCrossDomainAttributes = _4.collectCrossDomainAttributes;\n    if (trackerConfiguration2.hasOwnProperty(\"discoverRootDomain\") && trackerConfiguration2.discoverRootDomain) {\n      configCookieDomain = findRootDomain(configCookieSameSite, configCookieSecure);\n    }\n    var _5 = getBrowserProperties(), browserLanguage = _5.browserLanguage, resolution = _5.resolution, colorDepth = _5.colorDepth, cookiesEnabled = _5.cookiesEnabled;\n    core.setTrackerVersion(version2);\n    core.setTrackerNamespace(namespace2);\n    core.setAppId(configTrackerSiteId);\n    core.setPlatform(configPlatform);\n    core.addPayloadPair(\"cookie\", cookiesEnabled ? \"1\" : \"0\");\n    core.addPayloadPair(\"cs\", documentCharset);\n    core.addPayloadPair(\"lang\", browserLanguage);\n    core.addPayloadPair(\"res\", resolution);\n    core.addPayloadPair(\"cd\", colorDepth);\n    updateDomainHash();\n    initializeIdsAndCookies();\n    if (trackerConfiguration2.crossDomainLinker) {\n      decorateLinks(trackerConfiguration2.crossDomainLinker);\n    }\n    function refreshUrl() {\n      locationArray = fixupUrl(window.location.hostname, window.location.href, getReferrer());\n      if (locationArray[1] !== locationHrefAlias) {\n        configReferrerUrl = getReferrer(locationHrefAlias);\n      }\n      domainAlias = fixupDomain(locationArray[0]);\n      locationHrefAlias = locationArray[1];\n    }\n    function addLinkDecorationHandler(extended) {\n      var CROSS_DOMAIN_PARAMETER_NAME = \"_sp\";\n      return function(evt) {\n        var elt = evt.currentTarget;\n        var crossDomainParameterValue = createCrossDomainParameterValue(extended, collectCrossDomainAttributes, {\n          domainUserId,\n          userId: businessUserId || void 0,\n          sessionId: memorizedSessionId,\n          sourceId: configTrackerSiteId,\n          sourcePlatform: configPlatform,\n          event: evt\n        });\n        if (elt === null || elt === void 0 ? void 0 : elt.href) {\n          elt.href = decorateQuerystring(elt.href, CROSS_DOMAIN_PARAMETER_NAME, crossDomainParameterValue);\n        }\n      };\n    }\n    function decorateLinks(crossDomainLinker) {\n      var crossDomainLinkHandler = addLinkDecorationHandler(useExtendedCrossDomainLinker);\n      for (var i = 0; i < document.links.length; i++) {\n        var elt = document.links[i];\n        if (!elt.spDecorationEnabled && crossDomainLinker(elt)) {\n          elt.addEventListener(\"click\", crossDomainLinkHandler, true);\n          elt.addEventListener(\"mousedown\", crossDomainLinkHandler, true);\n          elt.spDecorationEnabled = true;\n        }\n      }\n    }\n    function purify(url) {\n      var targetPattern;\n      if (configDiscardHashTag) {\n        targetPattern = new RegExp(\"#.*\");\n        url = url.replace(targetPattern, \"\");\n      }\n      if (configDiscardBrace) {\n        targetPattern = new RegExp(\"[{}]\", \"g\");\n        url = url.replace(targetPattern, \"\");\n      }\n      return url;\n    }\n    function getProtocolScheme(url) {\n      var e = new RegExp(\"^([a-z]+):\"), matches = e.exec(url);\n      return matches ? matches[1] : null;\n    }\n    function resolveRelativeReference(baseUrl, url) {\n      var protocol = getProtocolScheme(url), i;\n      if (protocol) {\n        return url;\n      }\n      if (url.slice(0, 1) === \"/\") {\n        return getProtocolScheme(baseUrl) + \"://\" + getHostName(baseUrl) + url;\n      }\n      baseUrl = purify(baseUrl);\n      if ((i = baseUrl.indexOf(\"?\")) >= 0) {\n        baseUrl = baseUrl.slice(0, i);\n      }\n      if ((i = baseUrl.lastIndexOf(\"/\")) !== baseUrl.length - 1) {\n        baseUrl = baseUrl.slice(0, i + 1);\n      }\n      return baseUrl + url;\n    }\n    function sendRequest(request) {\n      if (!(configDoNotTrack || toOptoutByCookie)) {\n        outQueue.enqueueRequest(request.build(), configCollectorUrl);\n      }\n    }\n    function getSnowplowCookieName(baseName) {\n      return configCookieNamePrefix + baseName + \".\" + domainHash;\n    }\n    function getSnowplowCookieValue(cookieName) {\n      var fullName = getSnowplowCookieName(cookieName);\n      if (configStateStorageStrategy == \"localStorage\") {\n        return attemptGetLocalStorage(fullName);\n      } else if (configStateStorageStrategy == \"cookie\" || configStateStorageStrategy == \"cookieAndLocalStorage\") {\n        return cookie(fullName);\n      }\n      return void 0;\n    }\n    function updateDomainHash() {\n      refreshUrl();\n      domainHash = hash((configCookieDomain || domainAlias) + (configCookiePath || \"/\")).slice(0, 4);\n    }\n    function activityHandler() {\n      var now = /* @__PURE__ */ new Date();\n      lastActivityTime = now.getTime();\n    }\n    function scrollHandler() {\n      updateMaxScrolls();\n      activityHandler();\n    }\n    function getPageOffsets() {\n      var documentElement = document.documentElement;\n      if (documentElement) {\n        return [documentElement.scrollLeft || window.pageXOffset, documentElement.scrollTop || window.pageYOffset];\n      }\n      return [0, 0];\n    }\n    function resetMaxScrolls() {\n      var offsets = getPageOffsets();\n      var x = offsets[0];\n      minXOffset = x;\n      maxXOffset = x;\n      var y = offsets[1];\n      minYOffset = y;\n      maxYOffset = y;\n    }\n    function updateMaxScrolls() {\n      var offsets = getPageOffsets();\n      var x = offsets[0];\n      if (x < minXOffset) {\n        minXOffset = x;\n      } else if (x > maxXOffset) {\n        maxXOffset = x;\n      }\n      var y = offsets[1];\n      if (y < minYOffset) {\n        minYOffset = y;\n      } else if (y > maxYOffset) {\n        maxYOffset = y;\n      }\n    }\n    function cleanOffset(offset) {\n      return Math.round(offset);\n    }\n    function setSessionCookie() {\n      var cookieName = getSnowplowCookieName(\"ses\");\n      var cookieValue = \"*\";\n      return persistValue(cookieName, cookieValue, configSessionCookieTimeout);\n    }\n    function setDomainUserIdCookie(idCookie) {\n      var cookieName = getSnowplowCookieName(\"id\");\n      var cookieValue = serializeIdCookie(idCookie, configAnonymousTracking);\n      return persistValue(cookieName, cookieValue, configVisitorCookieTimeout);\n    }\n    function persistValue(name, value, timeout) {\n      if (configAnonymousTracking && !configAnonymousSessionTracking) {\n        return false;\n      }\n      if (configStateStorageStrategy == \"localStorage\") {\n        return attemptWriteLocalStorage(name, value, timeout);\n      } else if (configStateStorageStrategy == \"cookie\" || configStateStorageStrategy == \"cookieAndLocalStorage\") {\n        cookie(name, value, timeout, configCookiePath, configCookieDomain, configCookieSameSite, configCookieSecure);\n        return document.cookie.indexOf(\"\".concat(name, \"=\")) !== -1 ? true : false;\n      }\n      return false;\n    }\n    function clearUserDataAndCookies(configuration) {\n      var idname = getSnowplowCookieName(\"id\");\n      var sesname = getSnowplowCookieName(\"ses\");\n      attemptDeleteLocalStorage(idname);\n      attemptDeleteLocalStorage(sesname);\n      deleteCookie(idname, configCookieDomain, configCookieSameSite, configCookieSecure);\n      deleteCookie(sesname, configCookieDomain, configCookieSameSite, configCookieSecure);\n      if (!(configuration === null || configuration === void 0 ? void 0 : configuration.preserveSession)) {\n        memorizedSessionId = uuid_1.v4();\n        memorizedVisitCount = 1;\n      }\n      if (!(configuration === null || configuration === void 0 ? void 0 : configuration.preserveUser)) {\n        domainUserId = configAnonymousTracking ? \"\" : uuid_1.v4();\n        businessUserId = null;\n      }\n    }\n    function toggleAnonymousTracking(configuration) {\n      if (configuration && configuration.stateStorageStrategy) {\n        trackerConfiguration2.stateStorageStrategy = configuration.stateStorageStrategy;\n        configStateStorageStrategy = getStateStorageStrategy(trackerConfiguration2);\n      }\n      configAnonymousTracking = getAnonymousTracking(trackerConfiguration2);\n      configAnonymousSessionTracking = getAnonymousSessionTracking(trackerConfiguration2);\n      configAnonymousServerTracking = getAnonymousServerTracking(trackerConfiguration2);\n      outQueue.setUseLocalStorage(configStateStorageStrategy == \"localStorage\" || configStateStorageStrategy == \"cookieAndLocalStorage\");\n      outQueue.setAnonymousTracking(configAnonymousServerTracking);\n    }\n    function initializeIdsAndCookies() {\n      if (configAnonymousTracking && !configAnonymousSessionTracking) {\n        return;\n      }\n      var sesCookieSet = configStateStorageStrategy != \"none\" && !!getSnowplowCookieValue(\"ses\");\n      var idCookie = loadDomainUserIdCookie();\n      domainUserId = initializeDomainUserId(idCookie, configAnonymousTracking);\n      if (!sesCookieSet) {\n        memorizedSessionId = startNewIdCookieSession(idCookie);\n      } else {\n        memorizedSessionId = sessionIdFromIdCookie(idCookie);\n      }\n      memorizedVisitCount = visitCountFromIdCookie(idCookie);\n      if (configStateStorageStrategy != \"none\") {\n        setSessionCookie();\n        updateNowTsInIdCookie(idCookie);\n        setDomainUserIdCookie(idCookie);\n      }\n    }\n    function loadDomainUserIdCookie() {\n      if (configStateStorageStrategy == \"none\") {\n        return emptyIdCookie();\n      }\n      var id = getSnowplowCookieValue(\"id\") || void 0;\n      return parseIdCookie(id, domainUserId, memorizedSessionId, memorizedVisitCount);\n    }\n    function asCollectorUrl(collectorUrl) {\n      if (collectorUrl.indexOf(\"http\") === 0) {\n        return collectorUrl;\n      }\n      return (\"https:\" === document.location.protocol ? \"https\" : \"http\") + \"://\" + collectorUrl;\n    }\n    function resetPageView() {\n      if (!preservePageViewId || state.pageViewId == null) {\n        state.pageViewId = uuid_1.v4();\n      }\n    }\n    function getPageViewId() {\n      if (state.pageViewId == null) {\n        state.pageViewId = uuid_1.v4();\n      }\n      return state.pageViewId;\n    }\n    function getTabId() {\n      if (configStateStorageStrategy === \"none\" || configAnonymousTracking || !isWebPageContextAvailable) {\n        return null;\n      }\n      var SESSION_STORAGE_TAB_ID = \"_sp_tab_id\";\n      var tabId = attemptGetSessionStorage(SESSION_STORAGE_TAB_ID);\n      if (!tabId) {\n        attemptWriteSessionStorage(SESSION_STORAGE_TAB_ID, uuid_1.v4());\n        tabId = attemptGetSessionStorage(SESSION_STORAGE_TAB_ID);\n      }\n      return tabId || null;\n    }\n    function getWebPagePlugin() {\n      return {\n        contexts: function() {\n          return [\n            {\n              schema: WEB_PAGE_SCHEMA,\n              data: {\n                id: getPageViewId()\n              }\n            }\n          ];\n        }\n      };\n    }\n    function getBrowserContextPlugin() {\n      return {\n        contexts: function() {\n          return [\n            {\n              schema: BROWSER_CONTEXT_SCHEMA,\n              data: __assign(__assign({}, getBrowserProperties()), { tabId: getTabId() })\n            }\n          ];\n        }\n      };\n    }\n    function getBrowserDataPlugin() {\n      var anonymizeOr = function(value) {\n        return configAnonymousTracking ? null : value;\n      };\n      var anonymizeSessionOr = function(value) {\n        return configAnonymousSessionTracking ? value : anonymizeOr(value);\n      };\n      return {\n        beforeTrack: function(payloadBuilder) {\n          var existingSession = getSnowplowCookieValue(\"ses\"), idCookie = loadDomainUserIdCookie();\n          var isFirstEventInSession = eventIndexFromIdCookie(idCookie) === 0;\n          if (configOptOutCookie) {\n            toOptoutByCookie = !!cookie(configOptOutCookie);\n          } else {\n            toOptoutByCookie = false;\n          }\n          if (configDoNotTrack || toOptoutByCookie) {\n            clearUserDataAndCookies();\n            return;\n          }\n          if (cookiesEnabledInIdCookie(idCookie)) {\n            if (!existingSession && configStateStorageStrategy != \"none\") {\n              memorizedSessionId = startNewIdCookieSession(idCookie);\n            } else {\n              memorizedSessionId = sessionIdFromIdCookie(idCookie);\n            }\n            memorizedVisitCount = visitCountFromIdCookie(idCookie);\n          } else if ((/* @__PURE__ */ new Date()).getTime() - lastEventTime > configSessionCookieTimeout * 1e3) {\n            memorizedVisitCount++;\n            memorizedSessionId = startNewIdCookieSession(idCookie, {\n              memorizedVisitCount\n            });\n          }\n          updateNowTsInIdCookie(idCookie);\n          updateFirstEventInIdCookie(idCookie, payloadBuilder);\n          incrementEventIndexInIdCookie(idCookie);\n          var _a2 = getBrowserProperties(), viewport = _a2.viewport, documentSize = _a2.documentSize;\n          payloadBuilder.add(\"vp\", viewport);\n          payloadBuilder.add(\"ds\", documentSize);\n          payloadBuilder.add(\"vid\", anonymizeSessionOr(memorizedVisitCount));\n          payloadBuilder.add(\"sid\", anonymizeSessionOr(memorizedSessionId));\n          payloadBuilder.add(\"duid\", anonymizeOr(domainUserIdFromIdCookie(idCookie)));\n          payloadBuilder.add(\"uid\", anonymizeOr(businessUserId));\n          refreshUrl();\n          payloadBuilder.add(\"refr\", purify(customReferrer || configReferrerUrl));\n          payloadBuilder.add(\"url\", purify(configCustomUrl || locationHrefAlias));\n          var clientSession = clientSessionFromIdCookie(idCookie, configStateStorageStrategy, configAnonymousTracking);\n          if (configSessionContext && (!configAnonymousTracking || configAnonymousSessionTracking)) {\n            addSessionContextToPayload(payloadBuilder, clientSession);\n          }\n          if (configStateStorageStrategy != \"none\") {\n            setDomainUserIdCookie(idCookie);\n            var sessionIdentifierPersisted = setSessionCookie();\n            if ((!existingSession || isFirstEventInSession) && sessionIdentifierPersisted && onSessionUpdateCallback && !manualSessionUpdateCalled) {\n              onSessionUpdateCallback(clientSession);\n              manualSessionUpdateCalled = false;\n            }\n          }\n          lastEventTime = (/* @__PURE__ */ new Date()).getTime();\n        }\n      };\n    }\n    function addSessionContextToPayload(payloadBuilder, clientSession) {\n      var sessionContext = {\n        schema: CLIENT_SESSION_SCHEMA,\n        data: clientSession\n      };\n      payloadBuilder.addContextEntity(sessionContext);\n    }\n    function newSession() {\n      var idCookie = loadDomainUserIdCookie();\n      if (cookiesEnabledInIdCookie(idCookie)) {\n        if (configStateStorageStrategy != \"none\") {\n          memorizedSessionId = startNewIdCookieSession(idCookie);\n        } else {\n          memorizedSessionId = sessionIdFromIdCookie(idCookie);\n        }\n        memorizedVisitCount = visitCountFromIdCookie(idCookie);\n      } else {\n        memorizedVisitCount++;\n        memorizedSessionId = startNewIdCookieSession(idCookie, {\n          memorizedVisitCount\n        });\n      }\n      updateNowTsInIdCookie(idCookie);\n      if (configStateStorageStrategy != \"none\") {\n        var clientSession = clientSessionFromIdCookie(idCookie, configStateStorageStrategy, configAnonymousTracking);\n        setDomainUserIdCookie(idCookie);\n        var sessionIdentifierPersisted = setSessionCookie();\n        if (sessionIdentifierPersisted && onSessionUpdateCallback) {\n          manualSessionUpdateCalled = true;\n          onSessionUpdateCallback(clientSession);\n        }\n      }\n      lastEventTime = (/* @__PURE__ */ new Date()).getTime();\n    }\n    function finalizeContexts(staticContexts, contextCallback) {\n      return (staticContexts || []).concat(contextCallback ? contextCallback() : []);\n    }\n    function logPageView(_a2) {\n      var title = _a2.title, context = _a2.context, timestamp = _a2.timestamp, contextCallback = _a2.contextCallback;\n      refreshUrl();\n      if (pageViewSent) {\n        resetPageView();\n      }\n      pageViewSent = true;\n      lastDocumentTitle = document.title;\n      lastConfigTitle = title;\n      var pageTitle = fixupTitle(lastConfigTitle || lastDocumentTitle);\n      core.track(buildPageView({\n        pageUrl: purify(configCustomUrl || locationHrefAlias),\n        pageTitle,\n        referrer: purify(customReferrer || configReferrerUrl)\n      }), finalizeContexts(context, contextCallback), timestamp);\n      var now = /* @__PURE__ */ new Date();\n      var installingActivityTracking = false;\n      if (activityTrackingConfig.enabled && !activityTrackingConfig.installed) {\n        activityTrackingConfig.installed = true;\n        installingActivityTracking = true;\n        var detectPassiveEvents_1 = {\n          update: function update() {\n            if (typeof window !== \"undefined\" && typeof window.addEventListener === \"function\") {\n              var passive_1 = false;\n              var options = Object.defineProperty({}, \"passive\", {\n                get: function get() {\n                  passive_1 = true;\n                },\n                set: function set() {\n                }\n              });\n              var noop = function noop2() {\n              };\n              window.addEventListener(\"testPassiveEventSupport\", noop, options);\n              window.removeEventListener(\"testPassiveEventSupport\", noop, options);\n              detectPassiveEvents_1.hasSupport = passive_1;\n            }\n          }\n        };\n        detectPassiveEvents_1.update();\n        var wheelEvent = \"onwheel\" in document.createElement(\"div\") ? \"wheel\" : document.onmousewheel !== void 0 ? \"mousewheel\" : \"DOMMouseScroll\";\n        if (Object.prototype.hasOwnProperty.call(detectPassiveEvents_1, \"hasSupport\")) {\n          addEventListener(document, wheelEvent, activityHandler, { passive: true });\n        } else {\n          addEventListener(document, wheelEvent, activityHandler);\n        }\n        resetMaxScrolls();\n        var documentHandlers = [\n          \"click\",\n          \"mouseup\",\n          \"mousedown\",\n          \"mousemove\",\n          \"keypress\",\n          \"keydown\",\n          \"keyup\",\n          \"touchend\",\n          \"touchstart\"\n        ];\n        var windowHandlers = [\"resize\", \"focus\", \"blur\"];\n        var listener = function(_, handler) {\n          if (handler === void 0) {\n            handler = activityHandler;\n          }\n          return function(ev) {\n            return addEventListener(document, ev, handler);\n          };\n        };\n        documentHandlers.forEach(listener(document));\n        windowHandlers.forEach(listener(window));\n        listener(window, scrollHandler)(\"scroll\");\n      }\n      if (activityTrackingConfig.enabled && (resetActivityTrackingOnPageView || installingActivityTracking)) {\n        lastActivityTime = now.getTime();\n        var key = void 0;\n        for (key in activityTrackingConfig.configurations) {\n          var config = activityTrackingConfig.configurations[key];\n          if (config) {\n            window.clearInterval(config.activityInterval);\n            scheduleActivityInterval(config, context, contextCallback);\n          }\n        }\n      }\n    }\n    function scheduleActivityInterval(config, context, contextCallback) {\n      var executePagePing = function(cb, context2) {\n        refreshUrl();\n        cb({ context: context2, pageViewId: getPageViewId(), minXOffset, minYOffset, maxXOffset, maxYOffset });\n        resetMaxScrolls();\n      };\n      var timeout = function() {\n        var now = /* @__PURE__ */ new Date();\n        if (lastActivityTime + config.configMinimumVisitLength > now.getTime()) {\n          executePagePing(config.callback, finalizeContexts(context, contextCallback));\n        }\n        config.activityInterval = window.setInterval(heartbeat, config.configHeartBeatTimer);\n      };\n      var heartbeat = function() {\n        var now = /* @__PURE__ */ new Date();\n        if (lastActivityTime + config.configHeartBeatTimer > now.getTime()) {\n          executePagePing(config.callback, finalizeContexts(context, contextCallback));\n        }\n      };\n      if (config.configMinimumVisitLength === 0) {\n        config.activityInterval = window.setInterval(heartbeat, config.configHeartBeatTimer);\n      } else {\n        config.activityInterval = window.setTimeout(timeout, config.configMinimumVisitLength);\n      }\n    }\n    function configureActivityTracking(configuration) {\n      var minimumVisitLength = configuration.minimumVisitLength, heartbeatDelay = configuration.heartbeatDelay, callback = configuration.callback;\n      if (isInteger(minimumVisitLength) && isInteger(heartbeatDelay)) {\n        return {\n          configMinimumVisitLength: minimumVisitLength * 1e3,\n          configHeartBeatTimer: heartbeatDelay * 1e3,\n          callback\n        };\n      }\n      LOG.error(\"Activity tracking minimumVisitLength & heartbeatDelay must be integers\");\n      return void 0;\n    }\n    function logPagePing(_a2) {\n      var context = _a2.context, minXOffset2 = _a2.minXOffset, minYOffset2 = _a2.minYOffset, maxXOffset2 = _a2.maxXOffset, maxYOffset2 = _a2.maxYOffset;\n      var newDocumentTitle = document.title;\n      if (newDocumentTitle !== lastDocumentTitle) {\n        lastDocumentTitle = newDocumentTitle;\n        lastConfigTitle = void 0;\n      }\n      core.track(buildPagePing({\n        pageUrl: purify(configCustomUrl || locationHrefAlias),\n        pageTitle: fixupTitle(lastConfigTitle || lastDocumentTitle),\n        referrer: purify(customReferrer || configReferrerUrl),\n        minXOffset: cleanOffset(minXOffset2),\n        maxXOffset: cleanOffset(maxXOffset2),\n        minYOffset: cleanOffset(minYOffset2),\n        maxYOffset: cleanOffset(maxYOffset2)\n      }), context);\n    }\n    function disableActivityTrackingAction(actionKey) {\n      var callbackConfiguration = activityTrackingConfig.configurations[actionKey];\n      if ((callbackConfiguration === null || callbackConfiguration === void 0 ? void 0 : callbackConfiguration.configMinimumVisitLength) === 0) {\n        window.clearTimeout(callbackConfiguration === null || callbackConfiguration === void 0 ? void 0 : callbackConfiguration.activityInterval);\n      } else {\n        window.clearInterval(callbackConfiguration === null || callbackConfiguration === void 0 ? void 0 : callbackConfiguration.activityInterval);\n      }\n      activityTrackingConfig.configurations[actionKey] = void 0;\n    }\n    var apiMethods = {\n      getDomainSessionIndex: function() {\n        return memorizedVisitCount;\n      },\n      getPageViewId,\n      getTabId,\n      newSession,\n      getCookieName: function(basename) {\n        return getSnowplowCookieName(basename);\n      },\n      getUserId: function() {\n        return businessUserId;\n      },\n      getDomainUserId: function() {\n        return loadDomainUserIdCookie()[1];\n      },\n      getDomainUserInfo: function() {\n        return loadDomainUserIdCookie();\n      },\n      setReferrerUrl: function(url) {\n        customReferrer = url;\n      },\n      setCustomUrl: function(url) {\n        refreshUrl();\n        configCustomUrl = resolveRelativeReference(locationHrefAlias, url);\n      },\n      setDocumentTitle: function(title) {\n        lastDocumentTitle = document.title;\n        lastConfigTitle = title;\n      },\n      discardHashTag: function(enableFilter) {\n        configDiscardHashTag = enableFilter;\n      },\n      discardBrace: function(enableFilter) {\n        configDiscardBrace = enableFilter;\n      },\n      setCookiePath: function(path) {\n        configCookiePath = path;\n        updateDomainHash();\n      },\n      setVisitorCookieTimeout: function(timeout) {\n        configVisitorCookieTimeout = timeout;\n      },\n      crossDomainLinker: function(crossDomainLinkerCriterion) {\n        decorateLinks(crossDomainLinkerCriterion);\n      },\n      enableActivityTracking: function(configuration) {\n        if (!activityTrackingConfig.configurations.pagePing) {\n          activityTrackingConfig.enabled = true;\n          activityTrackingConfig.configurations.pagePing = configureActivityTracking(__assign(__assign({}, configuration), { callback: logPagePing }));\n        }\n      },\n      enableActivityTrackingCallback: function(configuration) {\n        if (!activityTrackingConfig.configurations.callback) {\n          activityTrackingConfig.enabled = true;\n          activityTrackingConfig.configurations.callback = configureActivityTracking(configuration);\n        }\n      },\n      disableActivityTracking: function() {\n        disableActivityTrackingAction(\"pagePing\");\n      },\n      disableActivityTrackingCallback: function() {\n        disableActivityTrackingAction(\"callback\");\n      },\n      updatePageActivity: function() {\n        activityHandler();\n      },\n      setOptOutCookie: function(name) {\n        configOptOutCookie = name;\n      },\n      setUserId: function(userId) {\n        businessUserId = userId;\n      },\n      setUserIdFromLocation: function(querystringField) {\n        refreshUrl();\n        businessUserId = fromQuerystring(querystringField, locationHrefAlias);\n      },\n      setUserIdFromReferrer: function(querystringField) {\n        refreshUrl();\n        businessUserId = fromQuerystring(querystringField, configReferrerUrl);\n      },\n      setUserIdFromCookie: function(cookieName) {\n        businessUserId = cookie(cookieName);\n      },\n      setCollectorUrl: function(collectorUrl) {\n        configCollectorUrl = asCollectorUrl(collectorUrl);\n        outQueue.setCollectorUrl(configCollectorUrl);\n      },\n      setBufferSize: function(newBufferSize) {\n        outQueue.setBufferSize(newBufferSize);\n      },\n      flushBuffer: function(configuration) {\n        if (configuration === void 0) {\n          configuration = {};\n        }\n        outQueue.executeQueue();\n        if (configuration.newBufferSize) {\n          outQueue.setBufferSize(configuration.newBufferSize);\n        }\n      },\n      trackPageView: function(event) {\n        if (event === void 0) {\n          event = {};\n        }\n        logPageView(event);\n      },\n      preservePageViewId: function() {\n        preservePageViewId = true;\n      },\n      disableAnonymousTracking: function(configuration) {\n        trackerConfiguration2.anonymousTracking = false;\n        toggleAnonymousTracking(configuration);\n        initializeIdsAndCookies();\n        outQueue.executeQueue();\n      },\n      enableAnonymousTracking: function(configuration) {\n        var _a2;\n        trackerConfiguration2.anonymousTracking = (_a2 = configuration && (configuration === null || configuration === void 0 ? void 0 : configuration.options)) !== null && _a2 !== void 0 ? _a2 : true;\n        toggleAnonymousTracking(configuration);\n        if (!configAnonymousSessionTracking) {\n          resetPageView();\n        }\n      },\n      clearUserData: clearUserDataAndCookies\n    };\n    return __assign(__assign({}, apiMethods), { id: trackerId2, namespace: namespace2, core, sharedState: state });\n  };\n  var partialTracker = newTracker(trackerId, namespace, version, endpoint, sharedState, trackerConfiguration), tracker = __assign(__assign({}, partialTracker), { addPlugin: function(configuration) {\n    var _a, _b;\n    tracker.core.addPlugin(configuration);\n    (_b = (_a = configuration.plugin).activateBrowserPlugin) === null || _b === void 0 ? void 0 : _b.call(_a, tracker);\n  } });\n  browserPlugins.forEach(function(p) {\n    var _a;\n    (_a = p.activateBrowserPlugin) === null || _a === void 0 ? void 0 : _a.call(p, tracker);\n  });\n  return tracker;\n}\nvar namedTrackers = {};\nfunction dispatchToTrackers(trackers, fn) {\n  try {\n    getTrackers(trackers !== null && trackers !== void 0 ? trackers : allTrackerNames()).forEach(fn);\n  } catch (ex) {\n    LOG.error(\"Function failed\", ex);\n  }\n}\nfunction addTracker(trackerId, namespace, version, endpoint, sharedState, configuration) {\n  if (!namedTrackers.hasOwnProperty(trackerId)) {\n    namedTrackers[trackerId] = Tracker(trackerId, namespace, version, endpoint, sharedState, configuration);\n    return namedTrackers[trackerId];\n  }\n  return null;\n}\nfunction getTrackers(trackerIds) {\n  return getTrackersFromCollection(trackerIds, namedTrackers);\n}\nfunction allTrackerNames() {\n  return Object.keys(namedTrackers);\n}\nfunction getTrackersFromCollection(trackerIds, trackerCollection) {\n  var trackers = [];\n  for (var _i = 0, trackerIds_1 = trackerIds; _i < trackerIds_1.length; _i++) {\n    var id = trackerIds_1[_i];\n    if (trackerCollection.hasOwnProperty(id)) {\n      trackers.push(trackerCollection[id]);\n    } else {\n      LOG.warn(id + \" not configured\");\n    }\n  }\n  return trackers;\n}\nvar SharedState = (\n  /** @class */\n  /* @__PURE__ */ function() {\n    function SharedState2() {\n      this.outQueues = [];\n      this.bufferFlushers = [];\n      this.hasLoaded = false;\n      this.registeredOnLoadHandlers = [];\n    }\n    return SharedState2;\n  }()\n);\nfunction createSharedState() {\n  var sharedState = new SharedState(), documentAlias = document, windowAlias = window;\n  function visibilityChangeHandler() {\n    if (documentAlias.visibilityState == \"hidden\") {\n      sharedState.bufferFlushers.forEach(function(flusher) {\n        flusher(false);\n      });\n    }\n  }\n  function flushBuffers() {\n    sharedState.bufferFlushers.forEach(function(flusher) {\n      flusher(false);\n    });\n  }\n  function loadHandler() {\n    var i;\n    if (!sharedState.hasLoaded) {\n      sharedState.hasLoaded = true;\n      for (i = 0; i < sharedState.registeredOnLoadHandlers.length; i++) {\n        sharedState.registeredOnLoadHandlers[i]();\n      }\n    }\n    return true;\n  }\n  function addReadyListener() {\n    if (documentAlias.addEventListener) {\n      documentAlias.addEventListener(\"DOMContentLoaded\", function ready() {\n        documentAlias.removeEventListener(\"DOMContentLoaded\", ready, false);\n        loadHandler();\n      });\n    } else if (documentAlias.attachEvent) {\n      documentAlias.attachEvent(\"onreadystatechange\", function ready() {\n        if (documentAlias.readyState === \"complete\") {\n          documentAlias.detachEvent(\"onreadystatechange\", ready);\n          loadHandler();\n        }\n      });\n    }\n    addEventListener(windowAlias, \"load\", loadHandler, false);\n  }\n  if (documentAlias.visibilityState) {\n    addEventListener(documentAlias, \"visibilitychange\", visibilityChangeHandler, false);\n  }\n  addEventListener(windowAlias, \"beforeunload\", flushBuffers, false);\n  if (document.readyState === \"loading\") {\n    addReadyListener();\n  } else {\n    loadHandler();\n  }\n  return sharedState;\n}\nexport {\n  SharedState,\n  addEventListener,\n  addTracker,\n  allTrackerNames,\n  attemptDeleteLocalStorage,\n  attemptGetLocalStorage,\n  attemptGetSessionStorage,\n  attemptWriteLocalStorage,\n  attemptWriteSessionStorage,\n  cookie,\n  createCrossDomainParameterValue,\n  createSharedState,\n  decorateQuerystring,\n  deleteCookie,\n  dispatchToTrackers,\n  findRootDomain,\n  fixupDomain,\n  fixupTitle,\n  fixupUrl,\n  fromQuerystring,\n  getCookiesWithPrefix,\n  getHostName,\n  getReferrer,\n  getTrackers,\n  hasLocalStorage,\n  isInteger,\n  isString,\n  localStorageAccessible,\n  urlSafeBase64Encode\n};\n","import { dispatchToTrackers, createSharedState, addTracker } from \"../../browser-tracker-core/dist/index.module.js\";\nimport { buildSelfDescribingEvent, version } from \"../../../../../../@snowplow/tracker-core/dist/index.module.js\";\n/*!\n * Browser tracker for Snowplow v3.20.0 (http://bit.ly/sp-js)\n * Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang\n * Licensed under BSD-3-Clause\n */\nfunction newSession(trackers) {\n  dispatchToTrackers(trackers, function(t) {\n    t.newSession();\n  });\n}\nfunction enableActivityTracking(configuration, trackers) {\n  dispatchToTrackers(trackers, function(t) {\n    t.enableActivityTracking(configuration);\n  });\n}\nfunction setUserId(userId, trackers) {\n  dispatchToTrackers(trackers, function(t) {\n    t.setUserId(userId);\n  });\n}\nfunction trackPageView(event, trackers) {\n  dispatchToTrackers(trackers, function(t) {\n    t.trackPageView(event);\n  });\n}\nfunction trackSelfDescribingEvent(event, trackers) {\n  dispatchToTrackers(trackers, function(t) {\n    t.core.track(buildSelfDescribingEvent({ event: event.event }), event.context, event.timestamp);\n  });\n}\nvar state = typeof window !== \"undefined\" ? createSharedState() : void 0;\nfunction newTracker(trackerId, endpoint, configuration) {\n  if (configuration === void 0) {\n    configuration = {};\n  }\n  if (state) {\n    return addTracker(trackerId, trackerId, \"js-\".concat(version), endpoint, state, configuration);\n  } else {\n    return void 0;\n  }\n}\nexport {\n  enableActivityTracking,\n  newSession,\n  newTracker,\n  setUserId,\n  trackPageView,\n  trackSelfDescribingEvent,\n  version\n};\n","function e(e2) {\n  window.SnowplowWebInterface && e2(window.SnowplowWebInterface);\n}\nfunction t(e2) {\n  window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.snowplow && e2(window.webkit.messageHandlers.snowplow);\n}\nfunction n(e2) {\n  window.ReactNativeWebView && e2(window.ReactNativeWebView);\n}\nfunction o(e2) {\n  return e2 ? JSON.stringify(e2) : null;\n}\nfunction i(i2, r) {\n  e((e2) => {\n    e2.trackSelfDescribingEvent(i2.event.schema, JSON.stringify(i2.event.data), o(i2.context), r || null);\n  });\n  const a2 = () => ({ command: \"trackSelfDescribingEvent\", event: i2.event, context: i2.context, trackers: r });\n  t((e2) => {\n    e2.postMessage(a2());\n  }), n((e2) => {\n    e2.postMessage(JSON.stringify(a2()));\n  });\n}\nfunction a(i2, r) {\n  var a2;\n  let s = window.location.href, c = null != (a2 = null == i2 ? void 0 : i2.title) ? a2 : document.title, l = document.referrer;\n  e((e2) => {\n    e2.trackPageView(s, c, l, o(null == i2 ? void 0 : i2.context), r || null);\n  });\n  const u = () => ({ command: \"trackPageView\", event: { url: s, title: c, referrer: l }, context: null == i2 ? void 0 : i2.context, trackers: r });\n  t((e2) => {\n    e2.postMessage(u());\n  }), n((e2) => {\n    e2.postMessage(JSON.stringify(u()));\n  });\n}\nexport {\n  a as trackPageView,\n  i as trackSelfDescribingEvent\n};\n","const DEFAULT_SNOWPLOW_CONFIGURATION = {\n  anonymousTracking: false,\n  contexts: {\n    webPage: false,\n    session: true,\n    browser: false\n  }\n};\nconst DEFAULT_SNOWPLOW_ACTIVITY_CONFIGURATION = {\n  minimumVisitLength: 30,\n  heartbeatDelay: 10\n};\nexport {\n  DEFAULT_SNOWPLOW_ACTIVITY_CONFIGURATION,\n  DEFAULT_SNOWPLOW_CONFIGURATION\n};\n","const DEFAULT_SPACE = \"  \";\nconst snowplowLogger = (methodName, { preLogFunc, targetData = {}, background = \"#000000\", color = \"#ffffff\" }) => {\n  console.groupCollapsed(`%c @29cm/snowplow: [${methodName}] {`, `background:${background};color:${color};`);\n  preLogFunc === null || preLogFunc === void 0 ? void 0 : preLogFunc();\n  Object.entries(targetData).forEach(([key, value]) => {\n    if (value !== null && typeof value === \"object\") {\n      console.log(`${DEFAULT_SPACE}${key}: {`);\n      Object.entries(value).forEach(([key2, value2]) => console.log(`${DEFAULT_SPACE.repeat(2)}${key2}: ${value2} {${typeof value2} type}`));\n      console.log(`${DEFAULT_SPACE}}`);\n    } else {\n      console.log(`${DEFAULT_SPACE}${key}: ${value} {${typeof value} type}`);\n    }\n  });\n  console.log(\"%c }\", `background:${background};color:${color};`);\n  console.groupEnd();\n};\nexport {\n  snowplowLogger\n};\n","var __rest = function(s, e) {\n  var t = {};\n  for (var p in s)\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n      t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n    for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n      if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n        t[p[i]] = s[p[i]];\n    }\n  return t;\n};\nconst 예외_키_또는_값_배열 = [void 0, null, \"undefined\", \"null\", \"\"];\nconst 유효하지_않은_키인지_확인한다 = (key) => {\n  return 예외_키_또는_값_배열.includes(key);\n};\nconst 유효한_값인지_확인한다 = (value) => {\n  return (typeof value === \"string\" || typeof value === \"number\" || typeof value === \"boolean\") && `${value}`.length > 0 && !예외_키_또는_값_배열.includes(`${value}`);\n};\nconst dataParser = (eventParams) => {\n  return Object.entries(eventParams).reduce((acc, [key, value]) => {\n    if (유효하지_않은_키인지_확인한다(key)) {\n      return acc;\n    }\n    return 유효한_값인지_확인한다(value) ? Object.assign(Object.assign({}, acc), { [key]: value }) : acc;\n  }, {});\n};\nconst getParsedEvent = (params) => {\n  const { isDebug, isNotUseParser, schema } = params, notParsedDataParams = __rest(params, [\"isDebug\", \"isNotUseParser\", \"schema\"]);\n  const parsedData = isNotUseParser ? notParsedDataParams : dataParser(notParsedDataParams);\n  return { schema, data: parsedData, isDebug };\n};\nexport {\n  getParsedEvent\n};\n","import { newSession, newTracker, enableActivityTracking, setUserId, trackPageView, trackSelfDescribingEvent } from \"../../../node_modules/@snowplow/browser-tracker/dist/index.module.js\";\nimport { trackPageView as a, trackSelfDescribingEvent as i } from \"../../../../../@snowplow/webview-tracker/dist/index.modern.js\";\nimport { DEFAULT_SNOWPLOW_CONFIGURATION, DEFAULT_SNOWPLOW_ACTIVITY_CONFIGURATION } from \"../constants.js\";\nimport { snowplowLogger } from \"../utils/logger.js\";\nimport { getParsedEvent } from \"../utils/parser.js\";\nvar __rest = function(s, e) {\n  var t = {};\n  for (var p in s)\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n      t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n    for (var i2 = 0, p = Object.getOwnPropertySymbols(s); i2 < p.length; i2++) {\n      if (e.indexOf(p[i2]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i2]))\n        t[p[i2]] = s[p[i2]];\n    }\n  return t;\n};\nclass Snowplow {\n  constructor() {\n    this.debug = false;\n  }\n  isServer() {\n    return typeof window === \"undefined\";\n  }\n  isWebView() {\n    var _a, _b;\n    try {\n      return /APP29CM([^)]+)\\)/gi.test((_b = (_a = globalThis.navigator) === null || _a === void 0 ? void 0 : _a.userAgent) !== null && _b !== void 0 ? _b : \"\");\n    } catch (error) {\n      if (this.debug) {\n        console.error(error);\n      }\n      return false;\n    }\n  }\n  isEnableTracker(collectUrl) {\n    return !this.isServer() && collectUrl.length > 1;\n  }\n  /**\n   * 앱 엔트리 파일의 최상단에 선언해주세요.\n   * @example { schema, collectUrl, trackerId, appId, postPath, platform, ...etc }\n   *\n   * @param {InitTrackConfigurationProps} trackerConfiguration\n   * @param {ActivityTrackingConfiguration} activityTracking\n   */\n  init(trackerConfiguration, activityTracking = DEFAULT_SNOWPLOW_ACTIVITY_CONFIGURATION) {\n    const { debug = false, collectUrl = \"\", trackerId, appId, postPath, platform } = trackerConfiguration, restSnowplowConfiguration = __rest(trackerConfiguration, [\"debug\", \"collectUrl\", \"trackerId\", \"appId\", \"postPath\", \"platform\"]);\n    if (!this.isEnableTracker(collectUrl)) {\n      return;\n    }\n    this.debug = debug;\n    const configuration = Object.assign(Object.assign(Object.assign({}, DEFAULT_SNOWPLOW_CONFIGURATION), {\n      appId,\n      postPath,\n      platform\n    }), restSnowplowConfiguration);\n    newSession();\n    newTracker(trackerId, collectUrl, configuration);\n    if (this.debug) {\n      snowplowLogger(\"init\", {\n        preLogFunc: () => {\n          console.log(`  trackerId: ${trackerId}`);\n          console.log(`  collectUrl: ${collectUrl}`);\n        },\n        targetData: configuration\n      });\n    }\n    enableActivityTracking(Object.assign({}, activityTracking));\n  }\n  /**\n   * init 메서드 이후 console.log 디버그를 제어하려면 사용해주세요.\n   *\n   * @param {boolean} isDebug\n   */\n  setDebug(isDebug) {\n    this.debug = isDebug;\n  }\n  /**\n   * 유저 아이디를 임의로 설정해야 하는 경우 사용합니다.\n   * 현재는 useSnowplow 훅에서만 사용하고 있습니다.\n   *\n   * @param {string | null} userNo\n   */\n  setUserId(userNo = null) {\n    setUserId(userNo);\n  }\n  trackSnowplowPageView() {\n    if (this.debug) {\n      snowplowLogger(\"trackSnowplowPageView\", {\n        preLogFunc: () => {\n          console.log(`  type: ${this.isWebView() ? \"webview\" : \"web\"}`);\n        }\n      });\n    }\n    if (this.isWebView()) {\n      a();\n      return;\n    }\n    trackPageView();\n  }\n  trackSnowplow(params) {\n    const { schema, data, isDebug } = getParsedEvent(params);\n    const event = { schema, data };\n    if (this.debug || isDebug) {\n      snowplowLogger(\"trackSnowplow\", {\n        preLogFunc: () => console.log(`  type: ${this.isWebView() ? \"webview\" : \"web\"}`),\n        targetData: event\n      });\n    }\n    if (this.isWebView()) {\n      i({ event });\n      return;\n    }\n    trackSelfDescribingEvent({ event });\n  }\n}\nconst snowplow = new Snowplow();\nexport {\n  snowplow as default\n};\n","import React__default, { useRef, useCallback, useState } from \"react\";\nimport useSWR from \"../../core/dist/index.js\";\nimport { IS_REACT_LEGACY, withMiddleware, useSWRConfig, serialize, mergeObjects, getTimestamp, UNDEFINED, useIsomorphicLayoutEffect } from \"../../_internal/dist/index.js\";\nconst startTransition = IS_REACT_LEGACY ? (cb) => {\n  cb();\n} : React__default.startTransition;\nconst useStateWithDeps = (state) => {\n  const [, rerender] = useState({});\n  const unmountedRef = useRef(false);\n  const stateRef = useRef(state);\n  const stateDependenciesRef = useRef({\n    data: false,\n    error: false,\n    isValidating: false\n  });\n  const setState = useCallback((payload) => {\n    let shouldRerender = false;\n    const currentState = stateRef.current;\n    for (const _ in payload) {\n      const k = _;\n      if (currentState[k] !== payload[k]) {\n        currentState[k] = payload[k];\n        if (stateDependenciesRef.current[k]) {\n          shouldRerender = true;\n        }\n      }\n    }\n    if (shouldRerender && !unmountedRef.current) {\n      rerender({});\n    }\n  }, []);\n  useIsomorphicLayoutEffect(() => {\n    unmountedRef.current = false;\n    return () => {\n      unmountedRef.current = true;\n    };\n  });\n  return [\n    stateRef,\n    stateDependenciesRef.current,\n    setState\n  ];\n};\nconst mutation = () => (key, fetcher, config = {}) => {\n  const { mutate } = useSWRConfig();\n  const keyRef = useRef(key);\n  const fetcherRef = useRef(fetcher);\n  const configRef = useRef(config);\n  const ditchMutationsUntilRef = useRef(0);\n  const [stateRef, stateDependencies, setState] = useStateWithDeps({\n    data: UNDEFINED,\n    error: UNDEFINED,\n    isMutating: false\n  });\n  const currentState = stateRef.current;\n  const trigger = useCallback(\n    async (arg, opts) => {\n      const [serializedKey, resolvedKey] = serialize(keyRef.current);\n      if (!fetcherRef.current) {\n        throw new Error(\"Can’t trigger the mutation: missing fetcher.\");\n      }\n      if (!serializedKey) {\n        throw new Error(\"Can’t trigger the mutation: missing key.\");\n      }\n      const options = mergeObjects(mergeObjects({\n        populateCache: false,\n        throwOnError: true\n      }, configRef.current), opts);\n      const mutationStartedAt = getTimestamp();\n      ditchMutationsUntilRef.current = mutationStartedAt;\n      setState({\n        isMutating: true\n      });\n      try {\n        const data = await mutate(\n          serializedKey,\n          fetcherRef.current(resolvedKey, {\n            arg\n          }),\n          // We must throw the error here so we can catch and update the states.\n          mergeObjects(options, {\n            throwOnError: true\n          })\n        );\n        if (ditchMutationsUntilRef.current <= mutationStartedAt) {\n          var _options_onSuccess, _options;\n          startTransition(() => setState({\n            data,\n            isMutating: false,\n            error: void 0\n          }));\n          (_options_onSuccess = (_options = options).onSuccess) == null ? void 0 : _options_onSuccess.call(_options, data, serializedKey, options);\n        }\n        return data;\n      } catch (error) {\n        if (ditchMutationsUntilRef.current <= mutationStartedAt) {\n          var _options_onError, _options1;\n          startTransition(() => setState({\n            error,\n            isMutating: false\n          }));\n          (_options_onError = (_options1 = options).onError) == null ? void 0 : _options_onError.call(_options1, error, serializedKey, options);\n          if (options.throwOnError) {\n            throw error;\n          }\n        }\n      }\n    },\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    []\n  );\n  const reset = useCallback(() => {\n    ditchMutationsUntilRef.current = getTimestamp();\n    setState({\n      data: UNDEFINED,\n      error: UNDEFINED,\n      isMutating: false\n    });\n  }, []);\n  useIsomorphicLayoutEffect(() => {\n    keyRef.current = key;\n    fetcherRef.current = fetcher;\n    configRef.current = config;\n  });\n  return {\n    trigger,\n    reset,\n    get data() {\n      stateDependencies.data = true;\n      return currentState.data;\n    },\n    get error() {\n      stateDependencies.error = true;\n      return currentState.error;\n    },\n    get isMutating() {\n      stateDependencies.isMutating = true;\n      return currentState.isMutating;\n    }\n  };\n};\nconst useSWRMutation = withMiddleware(useSWR, mutation);\nexport {\n  useSWRMutation as default\n};\n","var define_import_meta_env_default = { BASE_URL: \"/\", MODE: \"production\", DEV: false, PROD: true, SSR: false };\nconst createStoreImpl = (createState) => {\n  let state;\n  const listeners = /* @__PURE__ */ new Set();\n  const setState = (partial, replace) => {\n    const nextState = typeof partial === \"function\" ? partial(state) : partial;\n    if (!Object.is(nextState, state)) {\n      const previousState = state;\n      state = (replace != null ? replace : typeof nextState !== \"object\" || nextState === null) ? nextState : Object.assign({}, state, nextState);\n      listeners.forEach((listener) => listener(state, previousState));\n    }\n  };\n  const getState = () => state;\n  const getInitialState = () => initialState;\n  const subscribe = (listener) => {\n    listeners.add(listener);\n    return () => listeners.delete(listener);\n  };\n  const destroy = () => {\n    if ((define_import_meta_env_default ? \"production\" : void 0) !== \"production\") {\n      console.warn(\n        \"[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected.\"\n      );\n    }\n    listeners.clear();\n  };\n  const api = { setState, getState, getInitialState, subscribe, destroy };\n  const initialState = state = createState(setState, getState, api);\n  return api;\n};\nconst createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;\nexport {\n  createStore\n};\n","var withSelector = { exports: {} };\nexport {\n  withSelector as __module\n};\n","var withSelector_development = {};\nexport {\n  withSelector_development as __exports\n};\n","import process$1 from \"../../../vite-plugin-node-polyfills/shims/process/dist/index.js\";\nimport { __exports as withSelector_development } from \"../../../../_virtual/with-selector.development.js\";\nimport React__default from \"react\";\nimport { s as shimExports } from \"../../shim/index.js\";\nvar hasRequiredWithSelector_development;\nfunction requireWithSelector_development() {\n  if (hasRequiredWithSelector_development)\n    return withSelector_development;\n  hasRequiredWithSelector_development = 1;\n  if (process$1.env.NODE_ENV !== \"production\") {\n    (function() {\n      if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== \"undefined\" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === \"function\") {\n        __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());\n      }\n      var React = React__default;\n      var shim = shimExports;\n      function is(x, y) {\n        return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;\n      }\n      var objectIs = typeof Object.is === \"function\" ? Object.is : is;\n      var useSyncExternalStore = shim.useSyncExternalStore;\n      var useRef = React.useRef, useEffect = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;\n      function useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {\n        var instRef = useRef(null);\n        var inst;\n        if (instRef.current === null) {\n          inst = {\n            hasValue: false,\n            value: null\n          };\n          instRef.current = inst;\n        } else {\n          inst = instRef.current;\n        }\n        var _useMemo = useMemo(function() {\n          var hasMemo = false;\n          var memoizedSnapshot;\n          var memoizedSelection;\n          var memoizedSelector = function(nextSnapshot) {\n            if (!hasMemo) {\n              hasMemo = true;\n              memoizedSnapshot = nextSnapshot;\n              var _nextSelection = selector(nextSnapshot);\n              if (isEqual !== void 0) {\n                if (inst.hasValue) {\n                  var currentSelection = inst.value;\n                  if (isEqual(currentSelection, _nextSelection)) {\n                    memoizedSelection = currentSelection;\n                    return currentSelection;\n                  }\n                }\n              }\n              memoizedSelection = _nextSelection;\n              return _nextSelection;\n            }\n            var prevSnapshot = memoizedSnapshot;\n            var prevSelection = memoizedSelection;\n            if (objectIs(prevSnapshot, nextSnapshot)) {\n              return prevSelection;\n            }\n            var nextSelection = selector(nextSnapshot);\n            if (isEqual !== void 0 && isEqual(prevSelection, nextSelection)) {\n              return prevSelection;\n            }\n            memoizedSnapshot = nextSnapshot;\n            memoizedSelection = nextSelection;\n            return nextSelection;\n          };\n          var maybeGetServerSnapshot = getServerSnapshot === void 0 ? null : getServerSnapshot;\n          var getSnapshotWithSelector = function() {\n            return memoizedSelector(getSnapshot());\n          };\n          var getServerSnapshotWithSelector = maybeGetServerSnapshot === null ? void 0 : function() {\n            return memoizedSelector(maybeGetServerSnapshot());\n          };\n          return [getSnapshotWithSelector, getServerSnapshotWithSelector];\n        }, [getSnapshot, getServerSnapshot, selector, isEqual]), getSelection = _useMemo[0], getServerSelection = _useMemo[1];\n        var value = useSyncExternalStore(subscribe, getSelection, getServerSelection);\n        useEffect(function() {\n          inst.hasValue = true;\n          inst.value = value;\n        }, [value]);\n        useDebugValue(value);\n        return value;\n      }\n      withSelector_development.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector;\n      if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== \"undefined\" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === \"function\") {\n        __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());\n      }\n    })();\n  }\n  return withSelector_development;\n}\nexport {\n  requireWithSelector_development as __require\n};\n","var withSelector_production_min = {};\nexport {\n  withSelector_production_min as __exports\n};\n","import { __exports as withSelector_production_min } from \"../../../../_virtual/with-selector.production.min.js\";\nimport React__default from \"react\";\nimport { s as shimExports } from \"../../shim/index.js\";\n/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nvar hasRequiredWithSelector_production_min;\nfunction requireWithSelector_production_min() {\n  if (hasRequiredWithSelector_production_min)\n    return withSelector_production_min;\n  hasRequiredWithSelector_production_min = 1;\n  var h = React__default, n = shimExports;\n  function p(a, b) {\n    return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;\n  }\n  var q = \"function\" === typeof Object.is ? Object.is : p, r = n.useSyncExternalStore, t = h.useRef, u = h.useEffect, v = h.useMemo, w = h.useDebugValue;\n  withSelector_production_min.useSyncExternalStoreWithSelector = function(a, b, e, l, g) {\n    var c = t(null);\n    if (null === c.current) {\n      var f = { hasValue: false, value: null };\n      c.current = f;\n    } else\n      f = c.current;\n    c = v(function() {\n      function a2(a3) {\n        if (!c2) {\n          c2 = true;\n          d2 = a3;\n          a3 = l(a3);\n          if (void 0 !== g && f.hasValue) {\n            var b2 = f.value;\n            if (g(b2, a3))\n              return k = b2;\n          }\n          return k = a3;\n        }\n        b2 = k;\n        if (q(d2, a3))\n          return b2;\n        var e2 = l(a3);\n        if (void 0 !== g && g(b2, e2))\n          return b2;\n        d2 = a3;\n        return k = e2;\n      }\n      var c2 = false, d2, k, m = void 0 === e ? null : e;\n      return [function() {\n        return a2(b());\n      }, null === m ? void 0 : function() {\n        return a2(m());\n      }];\n    }, [b, e, l, g]);\n    var d = r(a, c[0], c[1]);\n    u(function() {\n      f.hasValue = true;\n      f.value = d;\n    }, [d]);\n    w(d);\n    return d;\n  };\n  return withSelector_production_min;\n}\nexport {\n  requireWithSelector_production_min as __require\n};\n","import process$1 from \"../../vite-plugin-node-polyfills/shims/process/dist/index.js\";\nimport { getDefaultExportFromCjs } from \"../../../_virtual/_commonjsHelpers.js\";\nimport { __module as withSelector } from \"../../../_virtual/with-selector.js\";\nimport { __require as requireWithSelector_development } from \"../cjs/use-sync-external-store-shim/with-selector.development.js\";\nimport { __require as requireWithSelector_production_min } from \"../cjs/use-sync-external-store-shim/with-selector.production.min.js\";\nif (process$1.env.NODE_ENV === \"production\") {\n  withSelector.exports = requireWithSelector_production_min();\n} else {\n  withSelector.exports = requireWithSelector_development();\n}\nvar withSelectorExports = withSelector.exports;\nconst useSyncExternalStoreExports = /* @__PURE__ */ getDefaultExportFromCjs(withSelectorExports);\nexport {\n  useSyncExternalStoreExports as default\n};\n","import { createStore } from \"./vanilla.js\";\nimport React__default from \"react\";\nimport useSyncExternalStoreExports from \"../../use-sync-external-store/shim/with-selector.js\";\nvar define_import_meta_env_default = { BASE_URL: \"/\", MODE: \"production\", DEV: false, PROD: true, SSR: false };\nconst { useDebugValue } = React__default;\nconst { useSyncExternalStoreWithSelector } = useSyncExternalStoreExports;\nlet didWarnAboutEqualityFn = false;\nconst identity = (arg) => arg;\nfunction useStore(api, selector = identity, equalityFn) {\n  if ((define_import_meta_env_default ? \"production\" : void 0) !== \"production\" && equalityFn && !didWarnAboutEqualityFn) {\n    console.warn(\n      \"[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937\"\n    );\n    didWarnAboutEqualityFn = true;\n  }\n  const slice = useSyncExternalStoreWithSelector(\n    api.subscribe,\n    api.getState,\n    api.getServerState || api.getInitialState,\n    selector,\n    equalityFn\n  );\n  useDebugValue(slice);\n  return slice;\n}\nconst createImpl = (createState) => {\n  if ((define_import_meta_env_default ? \"production\" : void 0) !== \"production\" && typeof createState !== \"function\") {\n    console.warn(\n      \"[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.\"\n    );\n  }\n  const api = typeof createState === \"function\" ? createStore(createState) : createState;\n  const useBoundStore = (selector, equalityFn) => useStore(api, selector, equalityFn);\n  Object.assign(useBoundStore, api);\n  return useBoundStore;\n};\nconst create = (createState) => createState ? createImpl(createState) : createImpl;\nvar react = (createState) => {\n  if ((define_import_meta_env_default ? \"production\" : void 0) !== \"production\") {\n    console.warn(\n      \"[DEPRECATED] Default export is deprecated. Instead use `import { create } from 'zustand'`.\"\n    );\n  }\n  return create(createState);\n};\nexport {\n  create,\n  createStore,\n  react as default,\n  useStore\n};\n","const subscribeWithSelectorImpl = (fn) => (set, get, api) => {\n  const origSubscribe = api.subscribe;\n  api.subscribe = (selector, optListener, options) => {\n    let listener = selector;\n    if (optListener) {\n      const equalityFn = (options == null ? void 0 : options.equalityFn) || Object.is;\n      let currentSlice = selector(api.getState());\n      listener = (state) => {\n        const nextSlice = selector(state);\n        if (!equalityFn(currentSlice, nextSlice)) {\n          const previousSlice = currentSlice;\n          optListener(currentSlice = nextSlice, previousSlice);\n        }\n      };\n      if (options == null ? void 0 : options.fireImmediately) {\n        optListener(currentSlice, currentSlice);\n      }\n    }\n    return origSubscribe(listener);\n  };\n  const initialState = fn(set, get, api);\n  return initialState;\n};\nconst subscribeWithSelector = subscribeWithSelectorImpl;\nexport {\n  subscribeWithSelector\n};\n","const shallowUnique = (arr) => Array.from(new Set(arr));\nexport {\n  shallowUnique\n};\n","import react from \"../../../node_modules/zustand/esm/index.js\";\nimport { subscribeWithSelector } from \"../../../node_modules/zustand/esm/middleware.js\";\nimport { shallowUnique } from \"../../../utils/unique.js\";\nconst initialState = {\n  summary: {\n    title: \"\",\n    contentId: \"\",\n    series: \"\"\n  },\n  productIds: []\n};\nconst useContentStore = react(subscribeWithSelector((set) => ({\n  ...initialState,\n  dispatchSetSummary: (summary) => set({\n    summary\n  }),\n  dispatchAppendProductIds: (productIds) => set((prev) => ({\n    productIds: shallowUnique([...prev.productIds, ...productIds])\n  })),\n  dispatchInitSummary: () => set({\n    summary: initialState.summary\n  }),\n  dispatchInitProductIds: () => set({\n    productIds: initialState.productIds\n  })\n})));\nexport {\n  useContentStore\n};\n","import react from \"../../../node_modules/zustand/esm/index.js\";\nconst initialState = {\n  dialogs: []\n};\nconst useDialogStore = react((set) => ({\n  ...initialState,\n  dispatchInit: (dialog) => set((prev) => ({\n    dialogs: [...prev.dialogs, dialog]\n  })),\n  dispatchShow: (id) => set((prev) => ({\n    dialogs: prev.dialogs.map((dialog) => {\n      const isMatch = dialog.id === id;\n      return isMatch ? {\n        ...dialog,\n        open: true\n      } : dialog;\n    })\n  })),\n  dispatchHide: (id) => set((prev) => ({\n    dialogs: prev.dialogs.map((dialog) => {\n      const isMatch = dialog.id === id;\n      return isMatch ? {\n        ...dialog,\n        open: false\n      } : dialog;\n    })\n  })),\n  dispatchRemove: (id) => set((prev) => ({\n    dialogs: prev.dialogs.filter((dialog) => dialog.id !== id)\n  }))\n}));\nexport {\n  useDialogStore\n};\n","import { create } from \"../../../node_modules/zustand/esm/index.js\";\nconst defaultNaturalInset = {\n  top: 20,\n  right: 12,\n  bottom: 20,\n  left: 12\n};\nconst useGlobalLayoutStore = create((set) => ({\n  globalLayout: \"default\",\n  naturalInset: defaultNaturalInset,\n  dispatchSetGlobalLayout: (globalLayout) => set(() => ({\n    globalLayout\n  })),\n  dispatchSetNaturalInset: (naturalInset) => set(() => ({\n    naturalInset: {\n      ...defaultNaturalInset,\n      ...naturalInset\n    }\n  }))\n}));\nexport {\n  useGlobalLayoutStore\n};\n","import react from \"../../../node_modules/zustand/esm/index.js\";\nconst useToastStore = react((set) => ({\n  isOpen: false,\n  content: null,\n  toast: {\n    show: ({\n      content\n    }) => set((prevState) => ({\n      ...prevState,\n      isOpen: true,\n      content\n    })),\n    hide: () => set(() => ({\n      isOpen: false\n    }))\n  }\n}));\nexport {\n  useToastStore\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext } from \"react\";\nconst ThemeContext = createContext({\n  theme: \"light\"\n});\nconst ThemeProvider = ({\n  children,\n  theme = \"light\"\n}) => {\n  return /* @__PURE__ */ jsx(ThemeContext.Provider, { value: {\n    theme\n  }, children });\n};\nexport {\n  ThemeContext,\n  ThemeProvider\n};\n","import { useContext } from \"react\";\nimport { ThemeContext } from \"./ThemeProvider.js\";\nconst useThemeContext = () => {\n  return useContext(ThemeContext);\n};\nexport {\n  useThemeContext\n};\n","import \"../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport { useThemeContext } from \"../components/@shared/providers/ThemeProvider/ThemeProvider.hooks.js\";\nconst useTheme = () => {\n  const {\n    theme\n  } = useThemeContext();\n  return theme;\n};\nexport {\n  useTheme\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext } from \"react\";\nconst BreakpointContext = createContext({\n  breakpoint: \"mobile\"\n});\nconst BreakpointProvider = ({\n  children,\n  breakpoint = \"mobile\"\n}) => {\n  return /* @__PURE__ */ jsx(BreakpointContext.Provider, { value: {\n    breakpoint\n  }, children });\n};\nexport {\n  BreakpointContext,\n  BreakpointProvider\n};\n","import react from \"../../../node_modules/zustand/esm/index.js\";\nconst initialState = {\n  isOpen: false,\n  content: null,\n  detent: \"full-height\",\n  draggable: true,\n  closeOnOverlayClick: true,\n  onClose: () => {\n  }\n};\nconst useBottomSheetStore = react((set) => ({\n  ...initialState,\n  bottomSheet: {\n    show: (params) => set({\n      ...params,\n      isOpen: true\n    }),\n    hide: () => set(() => ({\n      isOpen: false,\n      onClose: () => {\n      }\n    }))\n  }\n}));\nexport {\n  useBottomSheetStore\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_1ncrr_1 {\\n  position: fixed;\\n  top: 0;\\n  right: 0;\\n  bottom: 0;\\n  left: 0;\\n  z-index: 5000;\\n\\n  width: 100%;\\n  height: 100%;\\n}\\n\\n._wrapper_1ncrr_13 {\\n  position: relative;\\n  display: flex;\\n  align-items: center;\\n  justify-content: center;\\n\\n  width: 100%;\\n  height: 100%;\\n}\\n\\n._overlay_1ncrr_23 {\\n  position: absolute;\\n  top: 0;\\n  right: 0;\\n  bottom: 0;\\n  left: 0;\\n  z-index: 5000;\\n\\n  background-color: rgba(0, 0, 0, 0.5);\\n}\\n\\n._frame_1ncrr_34 {\\n  position: absolute;\\n  top: 50%;\\n  left: 50%;\\n  transform: translate(-50%, -50%);\\n  z-index: 5000;\\n\\n  min-width: 300px;\\n  background-color: #fff;\\n\\n  &[data-responsive-full-size='true'] {\\n    top: 0;\\n    right: 0;\\n    bottom: 0;\\n    left: 0;\\n    transform: none;\\n  }\\n}\\n\\n._body_1ncrr_53 {\\n  width: 100%;\\n  height: 100%;\\n\\n  display: flex;\\n  flex-direction: column;\\n  gap: 10px;\\n  padding: 40px 20px;\\n  text-align: center;\\n\\n  &[data-responsive-full-size='true'] {\\n    padding: 50px 12px 12px;\\n  }\\n}\\n\\n._title_1ncrr_68 {\\n  font-size: 15px;\\n  font-weight: 700;\\n  color: #000;\\n  line-height: 18px;\\n}\\n\\n._content_1ncrr_75 {\\n  font-size: 15px;\\n  font-weight: 400px;\\n  line-height: 18px;\\n  white-space: pre-wrap;\\n  color: #000;\\n}\\n\\n._buttonArea_1ncrr_83 {\\n  display: flex;\\n  width: 100%;\\n}\\n\\n._button_1ncrr_83 {\\n  display: flex;\\n  align-items: center;\\n  justify-content: center;\\n  width: 100%;\\n  height: 60px;\\n  min-width: 40px;\\n  min-height: 25px;\\n\\n  font-size: 14px;\\n  font-weight: 700;\\n  line-height: 20px;\\n\\n  border: none;\\n  outline: none;\\n  cursor: pointer;\\n}\\n\\n._primary_1ncrr_106 {\\n  color: #fff;\\n  background-color: #000;\\n}\\n\\n._secondary_1ncrr_111 {\\n  color: #000;\\n  background-color: #fff;\\n  border-top: 1px solid #e4e4e4;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_1ncrr_1\";\nconst wrapper = \"_wrapper_1ncrr_13\";\nconst overlay = \"_overlay_1ncrr_23\";\nconst frame = \"_frame_1ncrr_34\";\nconst body = \"_body_1ncrr_53\";\nconst title = \"_title_1ncrr_68\";\nconst content = \"_content_1ncrr_75\";\nconst buttonArea = \"_buttonArea_1ncrr_83\";\nconst button = \"_button_1ncrr_83\";\nconst primary = \"_primary_1ncrr_106\";\nconst secondary = \"_secondary_1ncrr_111\";\nconst styles = {\n  container,\n  wrapper,\n  overlay,\n  frame,\n  body,\n  title,\n  content,\n  buttonArea,\n  button,\n  primary,\n  secondary\n};\nexport {\n  body,\n  button,\n  buttonArea,\n  container,\n  content,\n  styles as default,\n  frame,\n  overlay,\n  primary,\n  secondary,\n  title,\n  wrapper\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nvar Events = /* @__PURE__ */ ((Events2) => {\n  Events2[\"SHOW\"] = \"show\";\n  Events2[\"HIDE\"] = \"hide\";\n  return Events2;\n})(Events || {});\nconst _EventEmitter = class _EventEmitter {\n  constructor() {\n    __publicField(this, \"events\");\n    this.events = /* @__PURE__ */ new Map();\n  }\n  static getInstance() {\n    return this.instance || (this.instance = new _EventEmitter());\n  }\n  on(event, callback) {\n    var _a;\n    if (!this.events.has(event)) {\n      this.events.set(event, []);\n    }\n    (_a = this.events.get(event)) == null ? void 0 : _a.push(callback);\n  }\n  emit(event, args) {\n    var _a;\n    if (!this.events.has(event)) {\n      return;\n    }\n    (_a = this.events.get(event)) == null ? void 0 : _a.forEach((callback) => callback(args));\n  }\n  off() {\n    this.events.clear();\n  }\n};\n__publicField(_EventEmitter, \"instance\");\nlet EventEmitter = _EventEmitter;\nconst emitter = EventEmitter.getInstance();\nexport {\n  Events,\n  emitter\n};\n","import { Buffer as Buffer$1 } from \"../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nclass Base64 {\n  encode(value) {\n    return Buffer$1.from(value).toString(\"base64\");\n  }\n  decode(value) {\n    return Buffer$1.from(value, \"base64\").toString();\n  }\n}\nexport {\n  Base64\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nimport { Base64 } from \"../../../utils/base64.js\";\nimport { Cookies } from \"../../../utils/cookies.js\";\nconst USER_SEGMENT_COOKIE_NAME = \"_user_segment\";\nclass UserService {\n  constructor() {\n    __publicField(this, \"cookies\", new Cookies());\n    __publicField(this, \"base64\", new Base64());\n  }\n  /**\n   * 쿠키에서 사용자 정보를 가져옴\n   * `_user_segment` 쿠키가 없거나 파싱에 실패하면 비로그인으로 처리한다\n   */\n  getUserFromCookies() {\n    return this.getUserFromSegmentCookie() ?? this.getLoggedOutUser();\n  }\n  /**\n   * _user_segment 쿠키에서 사용자 정보를 파싱\n   * @returns User 객체 또는 null (쿠키가 없거나 파싱 실패 시)\n   */\n  getUserFromSegmentCookie() {\n    const segmentCookie = this.cookies.get(USER_SEGMENT_COOKIE_NAME);\n    if (!segmentCookie) {\n      return null;\n    }\n    try {\n      const decoded = this.base64.decode(segmentCookie);\n      const parsed = JSON.parse(decoded);\n      return {\n        id: \"\",\n        no: parsed.userNo,\n        name: \"\",\n        // _user_segment 쿠키에는 name이 없음\n        email: \"\",\n        creatorNo: null,\n        grade: 0,\n        gradeName: \"\",\n        gender: parsed.gender,\n        logged: true\n      };\n    } catch {\n      return null;\n    }\n  }\n  /**\n   * 비로그인 사용자\n   */\n  getLoggedOutUser() {\n    return {\n      id: \"\",\n      no: \"\",\n      name: \"\",\n      email: \"\",\n      creatorNo: null,\n      grade: 0,\n      gradeName: \"\",\n      gender: null,\n      logged: false\n    };\n  }\n}\nexport {\n  UserService\n};\n","import { useMemo } from \"react\";\nimport useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/framer/FramerApiService.js\";\nimport \"../../apis/highlight-products/HighlightProductsApiService.js\";\nimport { JwtTokenManager } from \"../../libs/services/jwt/JwtTokenManager.js\";\nimport { hasSessionCookie, getClientAccessToken, canRefreshToken } from \"../../libs/services/jwt/utils.js\";\nimport \"../../config/index.js\";\nimport { userApi } from \"../../apis/user/UserApiService.js\";\nimport \"../../apis/preuser/PreuserApiService.js\";\nimport { UserService } from \"../../libs/services/user/UserService.js\";\nimport { Cache } from \"../../utils/cache.js\";\nconst USER_CACHE_KEY = \"user\";\nconst userCache = new Cache();\nconst getUserFromCookies = () => {\n  if (userCache.has(USER_CACHE_KEY)) {\n    return userCache.get(USER_CACHE_KEY);\n  }\n  const user = new UserService().getUserFromCookies();\n  userCache.set(USER_CACHE_KEY, user);\n  return user;\n};\nconst useFetchUserInfo = () => {\n  const user = useMemo(() => getUserFromCookies(), []);\n  return {\n    user\n  };\n};\nconst useFetchUserInfoFromApi = (enabled = true) => {\n  return useSWR(enabled ? \"user-info-from-api\" : null, () => userApi.getUserInfo(), {\n    errorRetryCount: 2,\n    errorRetryInterval: 5e3,\n    revalidateIfStale: false,\n    revalidateOnFocus: false,\n    revalidateOnReconnect: false\n  });\n};\nconst useFetchUserMe = (enabled = true) => {\n  const shouldFetch = enabled && hasSessionCookie();\n  return useSWR(shouldFetch ? \"user-me\" : null, async () => {\n    if (!getClientAccessToken() && canRefreshToken()) {\n      try {\n        await JwtTokenManager.shared().refresh();\n      } catch (error) {\n        throw error instanceof Error ? error : new Error(\"Token refresh failed\");\n      }\n    }\n    return userApi.getUserMe();\n  }, {\n    // 이름 보강 실패는 화면 오류가 아니다. 부모 SWRErrorBoundary(RaffleButton)의 onError·onErrorRetry 를 상속하지 않도록 로컬로 끊는다. 이름이 비면 호출부가 getUserName() 으로 다시 조회한다.\n    shouldRetryOnError: false,\n    onError: () => {\n    },\n    revalidateIfStale: false,\n    revalidateOnFocus: false,\n    revalidateOnReconnect: false\n  });\n};\nconst useCurrentUserName = () => {\n  var _a;\n  const {\n    user\n  } = useFetchUserInfo();\n  const {\n    data\n  } = useFetchUserMe(user.logged);\n  const name = (data == null ? void 0 : data.result) === \"SUCCESS\" ? ((_a = data.data) == null ? void 0 : _a.userName) ?? \"\" : \"\";\n  return {\n    name\n  };\n};\nexport {\n  useCurrentUserName,\n  useFetchUserInfo,\n  useFetchUserInfoFromApi,\n  useFetchUserMe\n};\n","import \"../node_modules/swr/core/dist/index.js\";\nimport \"../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"react\";\nimport \"../apis/framer/FramerApiService.js\";\nimport \"../config/index.js\";\nimport \"../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../apis/brand-mix/BrandMixApiService.js\";\nimport \"../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../apis/taste-sharing/TasteSharingApiService.js\";\nimport { useFetchUserInfo } from \"./fetchers/useFetchUserInfo.js\";\nconst useCurrentUser = () => {\n  const {\n    user\n  } = useFetchUserInfo();\n  return {\n    userNo: user == null ? void 0 : user.no,\n    logged: (user == null ? void 0 : user.logged) ?? false,\n    gender: user == null ? void 0 : user.gender,\n    /**\n     * @deprecated 쿠키에 이름이 없어 항상 빈 값이다.\n     * 이름이 필요하면 `useCurrentUserName`(/me 보강)을 사용한다.\n     */\n    name: user == null ? void 0 : user.name\n  };\n};\nexport {\n  useCurrentUser\n};\n","import { useMemo } from \"react\";\nimport useSWR from \"../node_modules/swr/core/dist/index.js\";\nimport { env } from \"../config/index.js\";\nimport { isServer } from \"../utils/context.js\";\nimport { useCurrentUser } from \"./useCurrentUser.js\";\nconst FEATURE_FLAG_CACHE_KEY = \"unleash-toggles\";\nconst REFRESH_INTERVAL_MS = 6e4;\nconst UNLEASH_SESSION_ID_KEY = \"unleash:repository:sessionId\";\nconst UNLEASH_APP_NAME = \"frontend-29cm-framer\";\nconst toUnleashEnvironment = (name) => name === \"production\" ? \"production\" : \"development\";\nconst UNLEASH_ENVIRONMENT = toUnleashEnvironment(env.name);\nconst isToggleList = (value) => Array.isArray(value) && value.every((toggle) => typeof (toggle == null ? void 0 : toggle.name) === \"string\");\nconst resolveUnleashSessionId = () => {\n  if (isServer()) {\n    return void 0;\n  }\n  try {\n    const stored = window.localStorage.getItem(UNLEASH_SESSION_ID_KEY);\n    if (stored) {\n      return stored;\n    }\n    const created = Math.floor(Math.random() * 1e9).toString(10);\n    window.localStorage.setItem(UNLEASH_SESSION_ID_KEY, created);\n    return created;\n  } catch {\n    return void 0;\n  }\n};\nconst buildUnleashContextQuery = ({\n  userId,\n  sessionId\n}) => {\n  const params = new URLSearchParams({\n    environment: UNLEASH_ENVIRONMENT,\n    appName: UNLEASH_APP_NAME\n  });\n  if (sessionId) {\n    params.set(\"sessionId\", sessionId);\n  }\n  if (userId) {\n    params.set(\"userId\", userId);\n  }\n  return params.toString();\n};\nconst fetchToggles = async (context) => {\n  const {\n    proxyUrl,\n    clientKey\n  } = env.sdk.unleash;\n  const response = await fetch(`${proxyUrl}?${buildUnleashContextQuery(context)}`, {\n    method: \"GET\",\n    headers: {\n      authorization: clientKey\n    },\n    cache: \"no-cache\"\n  });\n  if (!response.ok) {\n    throw new Error(`Unleash proxy responded with ${response.status}`);\n  }\n  const json = await response.json();\n  const toggles = json == null ? void 0 : json.toggles;\n  if (!isToggleList(toggles)) {\n    throw new Error(\"Unleash proxy returned an unexpected shape\");\n  }\n  return toggles;\n};\nconst useToggle = (name) => {\n  const {\n    userNo\n  } = useCurrentUser();\n  const sessionId = useMemo(() => resolveUnleashSessionId(), []);\n  const {\n    data,\n    isLoading\n  } = useSWR([FEATURE_FLAG_CACHE_KEY, userNo ?? \"\", sessionId ?? \"\"], () => fetchToggles({\n    userId: userNo,\n    sessionId\n  }), {\n    refreshInterval: REFRESH_INTERVAL_MS,\n    revalidateOnFocus: false\n  });\n  return {\n    toggle: data == null ? void 0 : data.find((it) => it.name === name),\n    isLoading\n  };\n};\nconst useFeatureFlag = (name) => {\n  const {\n    toggle,\n    isLoading\n  } = useToggle(name);\n  if (isLoading) {\n    return void 0;\n  }\n  return (toggle == null ? void 0 : toggle.enabled) ?? false;\n};\nconst useFeatureFlagPayload = (name) => {\n  var _a, _b;\n  const {\n    toggle,\n    isLoading\n  } = useToggle(name);\n  return {\n    isLoading,\n    payload: (toggle == null ? void 0 : toggle.enabled) === true ? parsePayloadValue((_b = (_a = toggle.variant) == null ? void 0 : _a.payload) == null ? void 0 : _b.value) : void 0\n  };\n};\nconst parsePayloadValue = (value) => {\n  if (value === void 0) {\n    return void 0;\n  }\n  try {\n    return JSON.parse(value);\n  } catch {\n    return void 0;\n  }\n};\nexport {\n  buildUnleashContextQuery,\n  resolveUnleashSessionId,\n  toUnleashEnvironment,\n  useFeatureFlag,\n  useFeatureFlagPayload\n};\n","import { getQueryParams } from \"../location.js\";\nconst LEGACY_OPEN_TYPE_PARAM_NAME = \"29cm_open_type\";\nconst OPEN_TYPE_PARAM_NAME = \"29_open_type\";\nconst isTabView = () => {\n  const query = getQueryParams();\n  return query[LEGACY_OPEN_TYPE_PARAM_NAME] === \"inline\" || query[OPEN_TYPE_PARAM_NAME] === \"inline\";\n};\nexport {\n  isTabView\n};\n","const navigate = (url) => {\n  const isIframe = window.self !== window.top;\n  if (isIframe) {\n    window.parent.postMessage({\n      type: \"navigate\",\n      payload: url\n    }, \"*\");\n    return;\n  }\n  document.location.href = url;\n};\nexport {\n  navigate\n};\n","const postMessageAsync = (type) => {\n  return new Promise((resolve) => {\n    window.onmessage = (event) => {\n      if (event.data.type !== type) {\n        return;\n      }\n      resolve(event.data.payload);\n    };\n    window.parent.postMessage({\n      type\n    }, \"*\");\n  });\n};\nexport {\n  postMessageAsync\n};\n","import { postMessageAsync } from \"./postMessageAsync.js\";\nconst getIsomorphicUrl = async () => {\n  const isIframe = window.self !== window.top;\n  if (isIframe) {\n    const url = await postMessageAsync(\"getParentUrl\");\n    return url;\n  }\n  return document.location.href;\n};\nexport {\n  getIsomorphicUrl\n};\n","import { env } from \"../config/index.js\";\nimport { isTabView } from \"./custom-tab/isTabView.js\";\nimport { navigate } from \"./navigate.js\";\nimport { getIsomorphicUrl } from \"./url.js\";\nconst BASE_LOGIN_URL = `${env.workspace.auth}/login`;\nconst redirectLogin = async () => {\n  const url = await getIsomorphicUrl();\n  const redirectUrl = encodeURIComponent(url);\n  navigate(isTabView() ? BASE_LOGIN_URL : `${BASE_LOGIN_URL}?redirect_uri=${redirectUrl}`);\n};\nconst redirectLoginWithParams = async (params) => {\n  const url = await getIsomorphicUrl();\n  const redirectUrl = encodeURIComponent(url);\n  navigate(isTabView() ? `${BASE_LOGIN_URL}?${params.toString()}` : `${BASE_LOGIN_URL}?${params.toString()}&redirect_uri=${redirectUrl}`);\n};\nexport {\n  redirectLogin,\n  redirectLoginWithParams\n};\n","import { getQueryParams } from \"../location.js\";\nconst APPS_FLYER_KEY_MAPPING_WITH_SOURCE_EVENT_PARAMS = {\n  source_channel: \"pid\",\n  source_campaign: \"c\",\n  source_adset: \"af_adset\",\n  source_ad: \"af_ad\"\n};\nconst GTM_KEY_MAPPING_WITH_SOURCE_EVENT_PARAMS = {\n  source_channel: \"utm_source\",\n  source_medium: \"utm_medium\",\n  source_campaign: \"utm_campaign\",\n  source_adset: \"utm_content\",\n  source_ad: \"utm_term\",\n  source_q: \"n_query\"\n};\nconst MARKETING_KEY_LIST = [...Object.values(APPS_FLYER_KEY_MAPPING_WITH_SOURCE_EVENT_PARAMS), ...Object.values(GTM_KEY_MAPPING_WITH_SOURCE_EVENT_PARAMS)];\nconst getMarketingParams = (query, sourceMappingObject) => {\n  return Object.keys(query).reduce((newParams, key) => {\n    const marketingKey = Object.keys(sourceMappingObject).find((sourceKey) => sourceMappingObject[sourceKey] === key);\n    if (marketingKey) {\n      return {\n        ...newParams,\n        [marketingKey]: query[key]\n      };\n    }\n    return newParams;\n  }, {});\n};\nconst getSourceParams = () => {\n  const query = getQueryParams();\n  if (isFromMarketing(query)) {\n    const appsFlyerParams = getMarketingParams(query, APPS_FLYER_KEY_MAPPING_WITH_SOURCE_EVENT_PARAMS);\n    const gtmParams = getMarketingParams(query, GTM_KEY_MAPPING_WITH_SOURCE_EVENT_PARAMS);\n    const params = {\n      ...gtmParams,\n      ...appsFlyerParams\n    };\n    const removedDuplicatesFromSourceChannel = Array.isArray(params.source_channel) ? Array.from(new Set(params.source_channel)) : params.source_channel;\n    const convertedMarketingSourceParams = {\n      ...params,\n      source: \"external\",\n      source_channel: removedDuplicatesFromSourceChannel == null ? void 0 : removedDuplicatesFromSourceChannel.toString().toLowerCase().replace(/_int$/, \"\")\n    };\n    return convertedMarketingSourceParams;\n  }\n  return toSourceParams(query);\n};\nconst toSourceParams = (query) => {\n  return Object.keys(query).filter((key) => key.startsWith(\"source\")).reduce((newParams, key) => ({\n    ...newParams,\n    [key]: query[key]\n  }), {});\n};\nconst isFromMarketing = (query) => {\n  return Object.keys(query).some((key) => MARKETING_KEY_LIST.includes(key));\n};\nexport {\n  getMarketingParams,\n  getSourceParams\n};\n","const getClientUserAgent = () => {\n  var _a;\n  return ((_a = globalThis.navigator) == null ? void 0 : _a.userAgent) ?? \"\";\n};\nconst getAppBuildNumber = () => {\n  var _a;\n  const buildNumberString = (((_a = getClientUserAgent().match(/APP29CM([^)]+)\\)/g)) == null ? void 0 : _a.toString()) ?? \"\").replace(\"APP29CM(\", \"\").replace(\")\", \"\").split(\";\").find((value) => value.includes(\"buildNumber=\"));\n  const [, buildNumber] = (buildNumberString ?? \"\").split(\"=\");\n  return Number(buildNumber);\n};\nconst isAvailableBuildNumber = (aosBuildNumber, iosBuildNumber) => {\n  const buildNumber = getAppBuildNumber();\n  const isAdhocVersion = isWebview() && isIos() && Number.isNaN(buildNumber);\n  if (isAdhocVersion) {\n    return true;\n  }\n  const isAvailableAosBuildNumber = isAndroid() && buildNumber >= aosBuildNumber;\n  const isAvailableIosBuildNumber = isIos() && buildNumber >= iosBuildNumber;\n  return isAvailableAosBuildNumber || isAvailableIosBuildNumber;\n};\nconst isMobile = () => {\n  const clientUserAgent = getClientUserAgent();\n  return /mobi/gi.test(clientUserAgent);\n};\nconst isWebview = () => {\n  const clientUserAgent = getClientUserAgent();\n  return /APP29CM([^)]+)\\)/gi.test(clientUserAgent);\n};\nconst isIos = () => {\n  const clientUserAgent = getClientUserAgent();\n  return /iPhone|iPod|iPad/gi.test(clientUserAgent);\n};\nconst isAndroid = () => {\n  const clientUserAgent = getClientUserAgent();\n  return /Android/gi.test(clientUserAgent);\n};\nexport {\n  getAppBuildNumber,\n  isAndroid,\n  isAvailableBuildNumber,\n  isIos,\n  isMobile,\n  isWebview\n};\n","import { isServer } from \"./context.js\";\nimport { isWebview, isIos, isAndroid, getAppBuildNumber } from \"./device.js\";\nconst postMessage = (messageKey, payload = {}) => {\n  var _a, _b, _c, _d, _e;\n  if (!isWebview()) {\n    return;\n  }\n  try {\n    if (isIos()) {\n      (_c = (_b = (_a = window == null ? void 0 : window.webkit) == null ? void 0 : _a.messageHandlers) == null ? void 0 : _b[messageKey]) == null ? void 0 : _c.postMessage(payload);\n    } else if (isAndroid()) {\n      (_e = (_d = window == null ? void 0 : window.android29cm) == null ? void 0 : _d[messageKey]) == null ? void 0 : _e.call(_d, JSON.stringify(payload));\n    }\n  } catch (error) {\n    console.error(error);\n  }\n};\nconst isAvailableBuildNumber = (availableBuildNumber) => {\n  if (availableBuildNumber === void 0) {\n    return true;\n  }\n  const buildNumber = getAppBuildNumber();\n  const isAdhocVersion = Number.isNaN(buildNumber);\n  if (isAdhocVersion) {\n    return true;\n  }\n  if (!buildNumber) {\n    return false;\n  }\n  return buildNumber >= availableBuildNumber;\n};\nconst isPostMessageEnabled = (messageKey, options) => {\n  var _a, _b, _c;\n  if (isServer()) {\n    return false;\n  }\n  const {\n    availableIosBuildNumber,\n    availableAosBuildNumber\n  } = options ?? {};\n  if (!isWebview()) {\n    return false;\n  }\n  if (isIos()) {\n    return Boolean((_b = (_a = window == null ? void 0 : window.webkit) == null ? void 0 : _a.messageHandlers) == null ? void 0 : _b[messageKey]) && isAvailableBuildNumber(availableIosBuildNumber);\n  } else if (isAndroid()) {\n    return Boolean((_c = window == null ? void 0 : window.android29cm) == null ? void 0 : _c[messageKey]) && isAvailableBuildNumber(availableAosBuildNumber);\n  }\n  return false;\n};\nexport {\n  isAvailableBuildNumber,\n  isPostMessageEnabled,\n  postMessage\n};\n","import { useRef, useEffect } from \"react\";\nimport { getAnalytics, setUserId, setUserProperties, logEvent } from \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../useCurrentUser.js\";\nimport { getApps, getApp } from \"../../node_modules/@firebase/app/dist/esm/index.esm2017.js\";\nconst useFirebase = (appName) => {\n  const {\n    userNo,\n    logged: isLoggedIn\n  } = useCurrentUser();\n  const analyticsRef = useRef();\n  useEffect(() => {\n    if (analyticsRef.current) {\n      return;\n    }\n    const isInitialized = getApps().findIndex(({\n      name: findingName\n    }) => findingName === appName) > -1;\n    if (!isInitialized) {\n      return;\n    }\n    const app = getApp(appName);\n    analyticsRef.current = getAnalytics(app);\n    if (isLoggedIn && userNo) {\n      setFirebaseUser({\n        analytics: analyticsRef.current,\n        userNo\n      });\n    }\n  }, [userNo, isLoggedIn, appName]);\n  const trackFirebase = (eventName, eventProperties) => {\n    if (!analyticsRef.current) {\n      return;\n    }\n    logEvent(analyticsRef.current, eventName, eventProperties);\n  };\n  const trackScreenFirebase = (screenName) => {\n    trackFirebase(\"screen_view\", {\n      firebase_screen: screenName\n    });\n  };\n  return {\n    trackFirebase,\n    trackScreenFirebase\n  };\n};\nconst setFirebaseUser = ({\n  analytics,\n  userNo: user_id\n}) => {\n  setUserId(analytics, user_id);\n  setUserProperties(analytics, {\n    user_id\n  });\n};\nexport {\n  useFirebase\n};\n","const FIREBASE_CONFIG = {\n  appName: \"29CM-WEB\",\n  options: {\n    apiKey: \"AIzaSyCs_FWgyaFRpMQQSGbFEBUbSLYdZEGWAMs\",\n    authDomain: \"cm-web-db26a.firebaseapp.com\",\n    databaseURL: \"https://cm-web-db26a.firebaseio.com\",\n    projectId: \"cm-web-db26a\",\n    storageBucket: \"cm-web-db26a.appspot.com\",\n    messagingSenderId: \"558061215795\",\n    appId: \"1:558061215795:web:570550384924ae9ad0c346\",\n    measurementId: \"G-TZEE8GDKJ6\"\n  }\n};\nexport {\n  FIREBASE_CONFIG\n};\n","import { RenderTarget } from \"framer\";\nconst isCanvas = () => RenderTarget.current !== void 0 && (RenderTarget.current() === RenderTarget.canvas || RenderTarget.current() === RenderTarget.thumbnail);\nexport {\n  isCanvas\n};\n","import { isServer } from \"../../../context.js\";\nconst getBrazeInstance = () => {\n  if (isServer() || !window.braze) {\n    return;\n  }\n  return window.braze;\n};\nexport {\n  getBrazeInstance\n};\n","import { isCanvas } from \"../../../framer/isCanvas.js\";\nimport \"framer\";\nimport { getBrazeInstance } from \"./brazeInstance.js\";\nconst trackWebBraze = (key, properties) => {\n  if (typeof window === \"undefined\" || isCanvas()) {\n    return;\n  }\n  const braze = getBrazeInstance();\n  if (!braze || typeof braze.logCustomEvent !== \"function\") {\n    return;\n  }\n  braze.logCustomEvent(key, properties);\n};\nexport {\n  trackWebBraze\n};\n","import { postMessage } from \"../../../postMessage.js\";\nconst trackWebviewBraze = (eventName, eventProperties) => {\n  postMessage(\"logBrazeBypassEvent\", {\n    event_name: eventName,\n    properties: eventProperties\n  });\n};\nexport {\n  trackWebviewBraze\n};\n","import snowplow from \"./snowplow.js\";\nconst trackSnowplow = (userNo, data, options = {}) => {\n  const { callback, isUserNoReset = false, isDebug = false, isNotUseParser = false } = options;\n  try {\n    const $userNo = userNo.length > 1 ? userNo : null;\n    snowplow.setUserId($userNo);\n    snowplow.trackSnowplow(Object.assign(Object.assign({}, data), {\n      schema: data.schema || \"\",\n      isDebug,\n      isNotUseParser\n    }));\n  } catch (error) {\n    callback === null || callback === void 0 ? void 0 : callback(error);\n  } finally {\n    if (isUserNoReset) {\n      snowplow.setUserId(null);\n    }\n  }\n};\nexport {\n  trackSnowplow\n};\n","import { isWebview } from \"../../utils/device.js\";\nimport { postMessage } from \"../../utils/postMessage.js\";\nimport { useFirebase } from \"./useFirebase.js\";\nimport { FIREBASE_CONFIG } from \"../../constants/firebase.js\";\nimport { trackWebBraze } from \"../../utils/analytics/braze/web/trackWebBraze.js\";\nimport { trackWebviewBraze } from \"../../utils/analytics/braze/webview/trackWebviewBraze.js\";\nimport \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport { trackSnowplow } from \"../../node_modules/@29cm/snowplow/dist/esm/core/track-snowplow.js\";\nimport \"react\";\nimport { useCurrentUser } from \"../useCurrentUser.js\";\nconst hasExperimentDataPayload = (eventProperties) => {\n  const experimentData = eventProperties == null ? void 0 : eventProperties.experiment_data;\n  return experimentData !== null && experimentData !== void 0 && typeof experimentData === \"object\";\n};\nconst useAnalytics = () => {\n  const {\n    trackFirebase: trackWebFirebase,\n    trackScreenFirebase: trackWebScreenFirebase\n  } = useFirebase(FIREBASE_CONFIG.appName);\n  const {\n    userNo\n  } = useCurrentUser();\n  const trackAmplitude = (eventName, eventProperties) => {\n    if (!isWebview()) {\n      return;\n    }\n    postMessage(\"logAmplitudeBypassEvent\", {\n      event_name: eventName,\n      properties: eventProperties\n    });\n  };\n  const trackFirebase = (eventName, eventProperties) => {\n    if (!isWebview()) {\n      trackWebFirebase(eventName, eventProperties);\n    } else {\n      postMessage(\"logFirebaseBypassEvent\", {\n        event_name: eventName,\n        properties: eventProperties\n      });\n    }\n  };\n  const trackSnowplow$1 = (eventName, eventProperties) => {\n    const isNotUseParser = hasExperimentDataPayload(eventProperties);\n    trackSnowplow(userNo, {\n      schema: eventName,\n      ...eventProperties\n    }, isNotUseParser ? {\n      isNotUseParser: true\n    } : void 0);\n  };\n  return {\n    trackAmplitude,\n    trackFirebase,\n    trackWebScreenFirebase,\n    trackWebBraze,\n    trackWebviewBraze,\n    trackSnowplow: trackSnowplow$1\n  };\n};\nexport {\n  useAnalytics\n};\n","import { useContentStore } from \"../../hooks/stores/content/content.store.js\";\nimport { isTabView } from \"../custom-tab/isTabView.js\";\nconst createContentEventProperties = () => {\n  const {\n    summary\n  } = useContentStore.getState();\n  const {\n    title,\n    contentId,\n    series\n  } = summary;\n  return {\n    content_no: contentId,\n    content_title: title,\n    source: series,\n    curr_screen: isTabView() ? \"home_main\" : \"content\",\n    format_type: \"FRAMER\"\n  };\n};\nexport {\n  createContentEventProperties\n};\n","const CONTENT_DOMAIN_HOSTNAME = \"https://content.29cm.co.kr\";\nconst useCreateAppSchemeLink = () => {\n  const createAppSchemeLink = (href, options = {}) => {\n    const fullPath = href.includes(\"https://\") ? href : `${CONTENT_DOMAIN_HOSTNAME}${href}`;\n    const params = [];\n    if (options.home !== void 0) {\n      params.push(`29cm_nav_home=${getOnOffValue(options.home)}`);\n    }\n    if (options.cart !== void 0) {\n      params.push(`29cm_nav_cart=${getOnOffValue(options.cart)}`);\n    }\n    if (options.search !== void 0) {\n      params.push(`29cm_nav_search=${getOnOffValue(options.search)}`);\n    }\n    if (options.title !== void 0) {\n      params.push(`29cm_title=${encodeURIComponent(options.title)}`);\n    }\n    const hasExistingParams = fullPath.includes(\"?\");\n    const queryDelimiter = hasExistingParams ? \"&\" : \"?\";\n    const queryString = params.length ? `${queryDelimiter}${params.join(\"&\")}` : \"\";\n    return `app29cm://web/${encodeURIComponent(`${fullPath}${queryString}`)}`;\n  };\n  return {\n    createAppSchemeLink\n  };\n};\nconst getOnOffValue = (value) => value ? \"on\" : \"off\";\nexport {\n  useCreateAppSchemeLink\n};\n","import { isServer } from \"./context.js\";\nconst getAnchorTarget = (url) => {\n  if (isServer()) {\n    return \"_self\";\n  }\n  return normalizeURL(url) === normalizeURL(window.location.href) ? \"_self\" : \"_blank\";\n};\nconst normalizeURL = (url) => {\n  const hasOrigin = !url.startsWith(\"/\");\n  try {\n    const {\n      origin,\n      pathname\n    } = new URL(hasOrigin ? url : `${window.location.origin}${url}`);\n    return `${origin}${pathname}`;\n  } catch (error) {\n    return \"\";\n  }\n};\nexport {\n  getAnchorTarget\n};\n","import { isWebview } from \"../utils/device.js\";\nimport { useCreateAppSchemeLink } from \"./useCreateAppSchemeLink.js\";\nimport { getAnchorTarget } from \"../utils/getAnchorTarget.js\";\nconst useNavigatePage = (url, options = {}) => {\n  const {\n    createAppSchemeLink\n  } = useCreateAppSchemeLink();\n  return () => {\n    if (isWebview()) {\n      document.location.href = createAppSchemeLink(url, options.webview);\n    } else {\n      window.open(url, getAnchorTarget(url));\n    }\n  };\n};\nexport {\n  useNavigatePage\n};\n","import { useAnalytics } from \"../analytics/useAnalytics.js\";\nimport { createContentEventProperties } from \"../../utils/event-properties/content.js\";\nimport \"../../utils/event-properties/source.js\";\nimport \"framer\";\nimport \"react\";\nconst useTrackViewComponentEvent = () => {\n  const {\n    trackAmplitude,\n    trackFirebase\n  } = useAnalytics();\n  const trackViewComponentEvent = (component, extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      component,\n      ...extra\n    };\n    trackAmplitude(\"view_component_content\", properties);\n    trackFirebase(\"view_component_content\", properties);\n  };\n  return {\n    trackViewComponentEvent\n  };\n};\nexport {\n  useTrackViewComponentEvent\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext } from \"react\";\nimport { useTrackViewEvent } from \"./EventTrackingProvider.hooks.js\";\nconst EventTrackingContext = createContext({\n  componentId: \"\",\n  isSectionVisible: false\n});\nconst EventTrackingProvider = ({\n  children,\n  componentId,\n  onVisible\n}) => {\n  const {\n    ref,\n    isPartiallyVisible\n  } = useTrackViewEvent(componentId, onVisible);\n  return /* @__PURE__ */ jsx(EventTrackingContext.Provider, { value: {\n    componentId,\n    isSectionVisible: isPartiallyVisible\n  }, children: /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    width: \"100%\"\n  }, children }) });\n};\nexport {\n  EventTrackingContext,\n  EventTrackingProvider\n};\n","import { useAnalytics } from \"../analytics/useAnalytics.js\";\nimport { createContentEventProperties } from \"../../utils/event-properties/content.js\";\nimport \"../../utils/event-properties/source.js\";\nimport \"framer\";\nimport \"react\";\nconst useTrackClickComponentEvent = () => {\n  const {\n    trackAmplitude,\n    trackFirebase\n  } = useAnalytics();\n  const trackClickComponentEvent = (component, extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      component,\n      ...extra\n    };\n    trackAmplitude(\"click_component_content\", properties);\n    trackFirebase(\"click_component_content\", properties);\n  };\n  return {\n    trackClickComponentEvent\n  };\n};\nexport {\n  useTrackClickComponentEvent\n};\n","import { entries } from \"./entries.js\";\nconst map = (obj, create) => {\n  return entries(obj).reduce((acc, [key, value]) => {\n    acc[key] = create(value);\n    return acc;\n  }, {});\n};\nexport {\n  map\n};\n","import { useContext, useRef, useEffect } from \"react\";\nimport { useInView } from \"framer-motion\";\nimport { useTrackViewComponentEvent } from \"../../../../hooks/events/useTrackViewComponentEvent.js\";\nimport { EventTrackingContext } from \"./EventTrackingProvider.js\";\nimport { useTrackClickComponentEvent } from \"../../../../hooks/events/useTrackClickComponentEvent.js\";\nimport { definedOnly } from \"../../../../utils/definedOnly.js\";\nimport { map } from \"../../../../utils/map.js\";\nconst useEventTrackingContext = () => {\n  const context = useContext(EventTrackingContext);\n  return context;\n};\nconst FALLBACK_COMPONENT_ID = \"unknown_section\";\nconst useComponentId = () => {\n  const {\n    componentId\n  } = useEventTrackingContext();\n  return componentId || FALLBACK_COMPONENT_ID;\n};\nconst useTrackEvent = () => {\n  const componentId = useComponentId();\n  const {\n    trackClickComponentEvent\n  } = useTrackClickComponentEvent();\n  const trackEvent = (extra) => {\n    const properties = map(definedOnly(extra), String);\n    trackClickComponentEvent(componentId, properties);\n  };\n  return {\n    trackEvent\n  };\n};\nconst useTrackViewEvent = (componentId, onVisible) => {\n  const {\n    trackViewComponentEvent\n  } = useTrackViewComponentEvent();\n  const ref = useRef(null);\n  const isInView = useInView(ref, {\n    amount: 0.5\n  });\n  const isPartiallyVisible = useInView(ref, {\n    once: true\n  });\n  useEffect(() => {\n    if (!isInView) {\n      return;\n    }\n    trackViewComponentEvent(componentId);\n  }, [componentId, isInView]);\n  const hasCalledOnVisible = useRef(false);\n  useEffect(() => {\n    if (!isPartiallyVisible || !onVisible || hasCalledOnVisible.current) {\n      return;\n    }\n    hasCalledOnVisible.current = true;\n    onVisible();\n  }, [isPartiallyVisible, onVisible]);\n  return {\n    ref,\n    isPartiallyVisible\n  };\n};\nexport {\n  FALLBACK_COMPONENT_ID,\n  useComponentId,\n  useEventTrackingContext,\n  useTrackEvent,\n  useTrackViewEvent\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst searchList = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.6588 4.5C11.2574 4.5 8.5 7.2574 8.5 10.6588C8.5 14.0602 11.2574 16.8176 14.6588 16.8176C16.1761 16.8176 17.5659 16.2684 18.6391 15.3588L21.6472 18.3543L22.3528 17.6457L19.3472 14.6527C20.2638 13.5777 20.8176 12.1826 20.8176 10.6588C20.8176 7.2574 18.0602 4.5 14.6588 4.5ZM9.5 10.6588C9.5 7.80968 11.8097 5.5 14.6588 5.5C17.508 5.5 19.8176 7.80968 19.8176 10.6588C19.8176 12.0868 19.2381 13.3785 18.3002 14.3131C17.3666 15.2434 16.0803 15.8176 14.6588 15.8176C11.8097 15.8176 9.5 13.508 9.5 10.6588Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M2 5.5V6.5H7.5V5.5H2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M2 17.5V18.5H10.5V17.5H2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M2 12.5V11.5H7.5V12.5H2Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M2 6.8V5.2H6.8V6.8H2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M2 18.8V17.2H10.8V18.8H2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M2 12.8V11.2H6.8V12.8H2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.6588 5.8C11.9754 5.8 9.8 7.97537 9.8 10.6588C9.8 13.3423 11.9754 15.5176 14.6588 15.5176C15.9977 15.5176 17.2088 14.9772 18.0885 14.1006C18.9722 13.2199 19.5176 12.0038 19.5176 10.6588C19.5176 7.97537 17.3423 5.8 14.6588 5.8ZM8.2 10.6588C8.2 7.09171 11.0917 4.2 14.6588 4.2C18.2259 4.2 21.1176 7.09171 21.1176 10.6588C21.1176 12.1567 20.607 13.5365 19.7514 14.6319L22.5645 17.4331L21.4355 18.5669L18.6186 15.7618C17.5253 16.6111 16.1507 17.1176 14.6588 17.1176C11.0917 17.1176 8.2 14.2259 8.2 10.6588Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M2 7V5H7V7H2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M2 19V17H10V19H2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M2 13V11H7V13H2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.6588 6C12.0858 6 10 8.08583 10 10.6588C10 13.2318 12.0858 15.3176 14.6588 15.3176C15.9427 15.3176 17.1036 14.7997 17.9473 13.9589C18.7949 13.1143 19.3176 11.9485 19.3176 10.6588C19.3176 8.08583 17.2318 6 14.6588 6ZM8 10.6588C8 6.98126 10.9813 4 14.6588 4C18.3364 4 21.3176 6.98126 21.3176 10.6588C21.3176 12.1393 20.8336 13.508 20.0165 14.6136L22.7056 17.2914L21.2944 18.7086L18.6005 16.0261C17.4972 16.8374 16.1335 17.3176 14.6588 17.3176C10.9813 17.3176 8 14.3364 8 10.6588Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.6588 4C10.9813 4 8 6.98126 8 10.6588C8 14.3364 10.9813 17.3176 14.6588 17.3176C16.1335 17.3176 17.4972 16.8374 18.6005 16.0261L21.2944 18.7086L22.7056 17.2914L20.0165 14.6136C20.8336 13.508 21.3176 12.1393 21.3176 10.6588C21.3176 6.98126 18.3364 4 14.6588 4ZM10 10.6588C10 8.08583 12.0858 6 14.6588 6C17.2318 6 19.3176 8.08583 19.3176 10.6588C19.3176 11.9485 18.7949 13.1143 17.9473 13.9589C17.1036 14.7997 15.9427 15.3176 14.6588 15.3176C12.0858 15.3176 10 13.2318 10 10.6588Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M2 5V7H7V5H2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M2 17V19H10V17H2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M2 13V11H7V13H2Z\", fill })\n  ] }) })\n});\nexport {\n  searchList\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst search = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.9 4C7.08924 4 4 7.08924 4 10.9C4 14.7108 7.08924 17.8 10.9 17.8C12.8012 17.8 14.5219 17.0318 15.7705 15.7876C17.0247 14.5377 17.8 12.8099 17.8 10.9C17.8 7.08924 14.7108 4 10.9 4ZM3 10.9C3 6.53695 6.53695 3 10.9 3C15.2631 3 18.8 6.53695 18.8 10.9C18.8 12.9057 18.052 14.7375 16.8206 16.1305L20.8528 20.1457L20.1472 20.8543L16.1124 16.8365C14.7218 18.0584 12.8971 18.8 10.9 18.8C6.53695 18.8 3 15.2631 3 10.9Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.9 4.3C7.25493 4.3 4.30001 7.25492 4.30001 10.9C4.30001 14.5451 7.25493 17.5 10.9 17.5C12.7186 17.5 14.3641 16.7655 15.5587 15.5751C16.7588 14.3792 17.5 12.7269 17.5 10.9C17.5 7.25492 14.5451 4.3 10.9 4.3ZM2.70001 10.9C2.70001 6.37126 6.37128 2.7 10.9 2.7C15.4287 2.7 19.1 6.37126 19.1 10.9C19.1 12.8801 18.3974 14.6972 17.2292 16.1139L21.0645 19.9331L19.9355 21.0669L16.0962 17.2437C14.6821 18.4032 12.8718 19.1 10.9 19.1C6.37128 19.1 2.70001 15.4287 2.70001 10.9Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.9 4.5C7.36538 4.5 4.5 7.36538 4.5 10.9C4.5 14.4346 7.36538 17.3 10.9 17.3C12.6636 17.3 14.2589 16.588 15.4175 15.4334C16.5815 14.2735 17.3 12.6716 17.3 10.9C17.3 7.36538 14.4346 4.5 10.9 4.5ZM2.5 10.9C2.5 6.26081 6.26081 2.5 10.9 2.5C15.5392 2.5 19.3 6.26081 19.3 10.9C19.3 12.8628 18.6258 14.6695 17.4979 16.0993L21.2056 19.7914L19.7944 21.2086L16.0818 17.5116C14.6548 18.6313 12.8548 19.3 10.9 19.3C6.26081 19.3 2.5 15.5392 2.5 10.9Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.9 4.5C7.36538 4.5 4.5 7.36538 4.5 10.9C4.5 14.4346 7.36538 17.3 10.9 17.3C12.6636 17.3 14.2589 16.588 15.4175 15.4334C16.5815 14.2735 17.3 12.6716 17.3 10.9C17.3 7.36538 14.4346 4.5 10.9 4.5ZM2.5 10.9C2.5 6.26081 6.26081 2.5 10.9 2.5C15.5392 2.5 19.3 6.26081 19.3 10.9C19.3 12.8628 18.6258 14.6695 17.4979 16.0993L21.2056 19.7914L19.7944 21.2086L16.0818 17.5116C14.6548 18.6313 12.8548 19.3 10.9 19.3C6.26081 19.3 2.5 15.5392 2.5 10.9Z\", fill }) })\n});\nexport {\n  search\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst download = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.5 14.3773V3H12.5V14.3773L16.6655 10.6284L17.3345 11.3716L12 16.1727L6.66552 11.3716L7.33448 10.6284L11.5 14.3773ZM18 20V21H6V20H18Z\", fill }),\n  regular: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.2 13.7037V3H12.8V13.7037L16.4648 10.4054L17.5352 11.5946L12 16.5763L6.46483 11.5946L7.53517 10.4054L11.2 13.7037ZM18 19.7V21.3H6V19.7H18Z\", fill }),\n  bold: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11 13.0046V2.75H13V13.0046L16.331 10.0067L17.669 11.4933L12 16.5954L6.33104 11.4933L7.66896 10.0067L11 13.0046ZM18 19.25V21.25H6V19.25H18Z\", fill }),\n  fill: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11 13.0046V2.75H13V13.0046L16.331 10.0067L17.669 11.4933L12 16.5954L6.33104 11.4933L7.66896 10.0067L11 13.0046ZM18 19.25V21.25H6V19.25H18Z\", fill })\n});\nexport {\n  download\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nconst downloadSlim = (fill) => ({\n  light: /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M20.712 15.555c.44 0 .8.358.8.8v4.306a.85.85 0 0 1-.85.85H3.338a.85.85 0 0 1-.85-.85v-4.306a.8.8 0 0 1 1.6 0v3.556h15.823v-3.556c0-.442.358-.8.8-.8Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12 2.49c.442 0 .8.36.8.8v10.05l2.992-2.98.06-.053a.8.8 0 0 1 1.124 1.126l-.055.062-4.354 4.337a.8.8 0 0 1-1.131 0l-4.355-4.337-.055-.062a.8.8 0 0 1 1.183-1.073l2.993 2.98V3.29c0-.442.357-.8.8-.8Z\", fill })\n  ] }),\n  regular: /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M20.712 15.555c.44 0 .8.358.8.8v4.306a.85.85 0 0 1-.85.85H3.338a.85.85 0 0 1-.85-.85v-4.306a.8.8 0 0 1 1.6 0v3.556h15.823v-3.556c0-.442.358-.8.8-.8Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12 2.49c.442 0 .8.36.8.8v10.05l2.992-2.98.06-.053a.8.8 0 0 1 1.124 1.126l-.055.062-4.354 4.337a.8.8 0 0 1-1.131 0l-4.355-4.337-.055-.062a.8.8 0 0 1 1.183-1.073l2.993 2.98V3.29c0-.442.357-.8.8-.8Z\", fill })\n  ] }),\n  bold: /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M20.712 15.555c.44 0 .8.358.8.8v4.306a.85.85 0 0 1-.85.85H3.338a.85.85 0 0 1-.85-.85v-4.306a.8.8 0 0 1 1.6 0v3.556h15.823v-3.556c0-.442.358-.8.8-.8Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12 2.49c.442 0 .8.36.8.8v10.05l2.992-2.98.06-.053a.8.8 0 0 1 1.124 1.126l-.055.062-4.354 4.337a.8.8 0 0 1-1.131 0l-4.355-4.337-.055-.062a.8.8 0 0 1 1.183-1.073l2.993 2.98V3.29c0-.442.357-.8.8-.8Z\", fill })\n  ] }),\n  fill: /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M20.712 15.555c.44 0 .8.358.8.8v4.306a.85.85 0 0 1-.85.85H3.338a.85.85 0 0 1-.85-.85v-4.306a.8.8 0 0 1 1.6 0v3.556h15.823v-3.556c0-.442.358-.8.8-.8Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12 2.49c.442 0 .8.36.8.8v10.05l2.992-2.98.06-.053a.8.8 0 0 1 1.124 1.126l-.055.062-4.354 4.337a.8.8 0 0 1-1.131 0l-4.355-4.337-.055-.062a.8.8 0 0 1 1.183-1.073l2.993 2.98V3.29c0-.442.357-.8.8-.8Z\", fill })\n  ] })\n});\nexport {\n  downloadSlim\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst close = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.64645 4.64645C4.84171 4.45118 5.15829 4.45118 5.35355 4.64645L12 11.2929L18.6464 4.64645C18.8417 4.45118 19.1583 4.45118 19.3536 4.64645C19.5488 4.84171 19.5488 5.15829 19.3536 5.35355L12.7071 12L19.3536 18.6464C19.5488 18.8417 19.5488 19.1583 19.3536 19.3536C19.1583 19.5488 18.8417 19.5488 18.6464 19.3536L12 12.7071L5.35355 19.3536C5.15829 19.5488 4.84171 19.5488 4.64645 19.3536C4.45118 19.1583 4.45118 18.8417 4.64645 18.6464L11.2929 12L4.64645 5.35355C4.45118 5.15829 4.45118 4.84171 4.64645 4.64645Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.43433 4.43431C4.74675 4.12189 5.25328 4.12189 5.5657 4.43431L12 10.8686L18.4343 4.43431C18.7467 4.12189 19.2533 4.12189 19.5657 4.43431C19.8781 4.74673 19.8781 5.25326 19.5657 5.56568L13.1314 12L19.5657 18.4343C19.8781 18.7467 19.8781 19.2533 19.5657 19.5657C19.2533 19.8781 18.7467 19.8781 18.4343 19.5657L12 13.1314L5.5657 19.5657C5.25328 19.8781 4.74675 19.8781 4.43433 19.5657C4.12191 19.2533 4.12191 18.7467 4.43433 18.4343L10.8686 12L4.43433 5.56568C4.12191 5.25326 4.12191 4.74673 4.43433 4.43431Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.29289 4.29289C4.68342 3.90237 5.31658 3.90237 5.70711 4.29289L12 10.5858L18.2929 4.29289C18.6834 3.90237 19.3166 3.90237 19.7071 4.29289C20.0976 4.68342 20.0976 5.31658 19.7071 5.70711L13.4142 12L19.7071 18.2929C20.0976 18.6834 20.0976 19.3166 19.7071 19.7071C19.3166 20.0976 18.6834 20.0976 18.2929 19.7071L12 13.4142L5.70711 19.7071C5.31658 20.0976 4.68342 20.0976 4.29289 19.7071C3.90237 19.3166 3.90237 18.6834 4.29289 18.2929L10.5858 12L4.29289 5.70711C3.90237 5.31658 3.90237 4.68342 4.29289 4.29289Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.29289 4.29289C4.68342 3.90237 5.31658 3.90237 5.70711 4.29289L12 10.5858L18.2929 4.29289C18.6834 3.90237 19.3166 3.90237 19.7071 4.29289C20.0976 4.68342 20.0976 5.31658 19.7071 5.70711L13.4142 12L19.7071 18.2929C20.0976 18.6834 20.0976 19.3166 19.7071 19.7071C19.3166 20.0976 18.6834 20.0976 18.2929 19.7071L12 13.4142L5.70711 19.7071C5.31658 20.0976 4.68342 20.0976 4.29289 19.7071C3.90237 19.3166 3.90237 18.6834 4.29289 18.2929L10.5858 12L4.29289 5.70711C3.90237 5.31658 3.90237 4.68342 4.29289 4.29289Z\", fill }) })\n});\nexport {\n  close\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst plus = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 3H11.5V11.5H3V12.5H11.5V21H12.5V12.5H21V11.5H12.5V3Z\", fill }),\n  regular: /* @__PURE__ */ jsx(\"path\", { d: \"M12.8 3H11.2V11.2H3V12.8H11.2V21H12.8V12.8H21V11.2H12.8V3Z\", fill }),\n  bold: /* @__PURE__ */ jsx(\"path\", { d: \"M13 3H11V11H3V13H11V21H13V13H21V11H13V3Z\", fill }),\n  fill: /* @__PURE__ */ jsx(\"path\", { d: \"M13 3H11V11H3V13H11V21H13V13H21V11H13V3Z\", fill })\n});\nexport {\n  plus\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst minus = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 13H3V11H21V13Z\", fill }),\n  regular: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 12.8H3V11.2H21V12.8Z\", fill }),\n  bold: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 13H3V11H21V13Z\", fill }),\n  fill: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 13H3V11H21V13Z\", fill })\n});\nexport {\n  minus\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst arrowLeft = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.6535 4.39645C10.8488 4.59171 10.8488 4.90829 10.6535 5.10355L4.00709 11.75H21.3C21.5761 11.75 21.8 11.9739 21.8 12.25C21.8 12.5261 21.5761 12.75 21.3 12.75H4.0685L10.6411 18.8845C10.843 19.0729 10.8539 19.3893 10.6655 19.5912C10.4771 19.793 10.1607 19.8039 9.95883 19.6155L2.45883 12.6155C2.3597 12.523 2.3024 12.3942 2.30006 12.2586C2.29773 12.123 2.35055 11.9923 2.44643 11.8964L9.94643 4.39645C10.1417 4.20118 10.4583 4.20118 10.6535 4.39645Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.0656 4.18431C11.3781 4.49673 11.3781 5.00326 11.0656 5.31568L4.93132 11.45H21C21.4418 11.45 21.8 11.8082 21.8 12.25C21.8 12.6918 21.4418 13.05 21 13.05H5.02957L11.0458 18.6652C11.3688 18.9666 11.3863 19.4729 11.0848 19.7959C10.7833 20.1189 10.2771 20.1363 9.9541 19.8348L2.4541 12.8348C2.29549 12.6868 2.20381 12.4807 2.20007 12.2638C2.19633 12.0469 2.28086 11.8377 2.43427 11.6843L9.93427 4.18431C10.2467 3.87189 10.7532 3.87189 11.0656 4.18431Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.707 4.04289C12.0976 4.43342 12.0976 5.06658 11.707 5.45711L5.91415 11.25H20.4999C21.0522 11.25 21.4999 11.6977 21.4999 12.25C21.4999 12.8023 21.0522 13.25 20.4999 13.25H6.03696L11.6823 18.5189C12.086 18.8958 12.1078 19.5286 11.731 19.9323C11.3542 20.3361 10.7214 20.3579 10.3176 19.9811L2.81762 12.9811C2.61936 12.796 2.50476 12.5384 2.50009 12.2672C2.49541 11.9961 2.60107 11.7347 2.79283 11.5429L10.2928 4.04289C10.6834 3.65237 11.3165 3.65237 11.707 4.04289Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.707 4.04289C12.0976 4.43342 12.0976 5.06658 11.707 5.45711L5.91415 11.25H20.4999C21.0522 11.25 21.4999 11.6977 21.4999 12.25C21.4999 12.8023 21.0522 13.25 20.4999 13.25H6.03696L11.6823 18.5189C12.086 18.8958 12.1078 19.5286 11.731 19.9323C11.3542 20.3361 10.7214 20.3579 10.3176 19.9811L2.81762 12.9811C2.61936 12.796 2.50476 12.5384 2.50009 12.2672C2.49541 11.9961 2.60107 11.7347 2.79283 11.5429L10.2928 4.04289C10.6834 3.65237 11.3165 3.65237 11.707 4.04289Z\", fill }) })\n});\nexport {\n  arrowLeft\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst arrowRight = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M13.4464 19.6036C13.2512 19.4083 13.2512 19.0917 13.4464 18.8964L20.0929 12.25H2.79999C2.52385 12.25 2.29999 12.0261 2.29999 11.75C2.29999 11.4739 2.52385 11.25 2.79999 11.25H20.0315L13.4588 5.11554C13.257 4.92712 13.246 4.61073 13.4345 4.40885C13.6229 4.20697 13.9393 4.19606 14.1411 4.38448L21.6411 11.3845C21.7403 11.477 21.7976 11.6058 21.7999 11.7414C21.8023 11.877 21.7494 12.0077 21.6535 12.1036L14.1535 19.6036C13.9583 19.7988 13.6417 19.7988 13.4464 19.6036Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.9342 19.8157C12.6218 19.5033 12.6218 18.9967 12.9342 18.6843L19.0686 12.55H2.99995C2.55812 12.55 2.19995 12.1918 2.19995 11.75C2.19995 11.3082 2.55812 10.95 2.99995 10.95H18.9703L12.9541 5.33486C12.6311 5.03339 12.6136 4.52716 12.9151 4.20416C13.2166 3.88116 13.7228 3.86371 14.0458 4.16517L21.5458 11.1651C21.7044 11.3132 21.7961 11.5193 21.7998 11.7362C21.8035 11.9531 21.719 12.1623 21.5656 12.3157L14.0656 19.8157C13.7532 20.1281 13.2467 20.1281 12.9342 19.8157Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.2928 19.9571C11.9023 19.5666 11.9023 18.9334 12.2928 18.5429L18.0857 12.75H3.49994C2.94766 12.75 2.49994 12.3023 2.49994 11.75C2.49994 11.1977 2.94766 10.75 3.49994 10.75H17.9629L12.3176 5.48106C11.9139 5.10423 11.8921 4.47144 12.2689 4.06769C12.6457 3.66394 13.2785 3.64212 13.6823 4.01895L21.1823 11.0189C21.3805 11.204 21.4951 11.4616 21.4998 11.7328C21.5045 12.0039 21.3988 12.2653 21.207 12.4571L13.707 19.9571C13.3165 20.3476 12.6834 20.3476 12.2928 19.9571Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.2928 19.9571C11.9023 19.5666 11.9023 18.9334 12.2928 18.5429L18.0857 12.75H3.49994C2.94766 12.75 2.49994 12.3023 2.49994 11.75C2.49994 11.1977 2.94766 10.75 3.49994 10.75H17.9629L12.3176 5.48106C11.9139 5.10423 11.8921 4.47144 12.2689 4.06769C12.6457 3.66394 13.2785 3.64212 13.6823 4.01895L21.1823 11.0189C21.3805 11.204 21.4951 11.4616 21.4998 11.7328C21.5045 12.0039 21.3988 12.2653 21.207 12.4571L13.707 19.9571C13.3165 20.3476 12.6834 20.3476 12.2928 19.9571Z\", fill }) })\n});\nexport {\n  arrowRight\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst chevronRight = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M16.7071 12L8.35354 20.3536L7.64643 19.6464L15.2929 12L7.64643 4.35355L8.35354 3.64645L16.7071 12Z\", fill }),\n  regular: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17.1314 12L8.56569 20.5657L7.43432 19.4343L14.8686 12L7.43432 4.56568L8.56569 3.43431L17.1314 12Z\", fill }),\n  bold: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17.4142 12L8.70711 20.7071L7.29289 19.2929L14.5858 12L7.2929 4.70711L8.70711 3.29289L17.4142 12Z\", fill }),\n  fill: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17.4142 12L8.70711 20.7071L7.29289 19.2929L14.5858 12L7.2929 4.70711L8.70711 3.29289L17.4142 12Z\", fill })\n});\nexport {\n  chevronRight\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst chevronLeft = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.29291 12L15.6465 3.64645L16.3536 4.35355L8.70712 12L16.3536 19.6464L15.6465 20.3536L7.29291 12Z\", fill }),\n  regular: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.86862 12L15.4343 3.43432L16.5657 4.56569L9.13136 12L16.5657 19.4343L15.4343 20.5657L6.86862 12Z\", fill }),\n  bold: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.58585 12L15.293 3.29289L16.7072 4.70711L9.41427 12L16.7072 19.2929L15.293 20.7071L6.58585 12Z\", fill }),\n  fill: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.58585 12L15.293 3.29289L16.7072 4.70711L9.41427 12L16.7072 19.2929L15.293 20.7071L6.58585 12Z\", fill })\n});\nexport {\n  chevronLeft\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst chevronDown = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 16.7071L20.3536 8.35355L19.6465 7.64645L12 15.2929L4.35356 7.64645L3.64645 8.35355L12 16.7071Z\", fill }),\n  regular: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 17.1314L20.5657 8.56569L19.4343 7.43431L12 14.8686L4.5657 7.43431L3.43433 8.56569L12 17.1314Z\", fill }),\n  bold: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 17.4142L20.7071 8.70711L19.2929 7.2929L12 14.5858L4.70712 7.2929L3.29291 8.70711L12 17.4142Z\", fill }),\n  fill: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 17.4142L20.7071 8.70711L19.2929 7.2929L12 14.5858L4.70712 7.2929L3.29291 8.70711L12 17.4142Z\", fill })\n});\nexport {\n  chevronDown\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst chevronUp = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 7.29289L20.3536 15.6464L19.6465 16.3536L12 8.70711L4.35356 16.3536L3.64645 15.6464L12 7.29289Z\", fill }),\n  regular: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 6.86863L20.5657 15.4343L19.4343 16.5657L12 9.13137L4.56568 16.5657L3.43431 15.4343L12 6.86863Z\", fill }),\n  bold: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 6.58578L20.7071 15.2929L19.2929 16.7071L12 9.41421L4.70711 16.7071L3.29289 15.2929L12 6.58578Z\", fill }),\n  fill: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 6.58578L20.7071 15.2929L19.2929 16.7071L12 9.41421L4.70711 16.7071L3.29289 15.2929L12 6.58578Z\", fill })\n});\nexport {\n  chevronUp\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst check = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M20.3939 6.30791L10.6687 18.7505L3.64848 11.8101L4.35153 11.099L10.5727 17.2495L19.6061 5.69209L20.3939 6.30791Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M20.6303 6.49266L10.6975 19.2009L3.43755 12.0235L4.56244 10.8856L10.5439 16.7991L19.3697 5.50735L20.6303 6.49266Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M20.7879 6.61582L10.7167 19.5011L3.29694 12.1657L4.70305 10.7434L10.5247 16.4989L19.2121 5.38418L20.7879 6.61582Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M20.7879 6.61583L10.7167 19.5011L3.29694 12.1657L4.70305 10.7434L10.5247 16.4989L19.2121 5.38419L20.7879 6.61583Z\", fill }) })\n});\nexport {\n  check\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst document = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M3.5 4.25C3.5 3.83579 3.83579 3.5 4.25 3.5H19.75C20.1642 3.5 20.5 3.83579 20.5 4.25V19.75C20.5 20.1642 20.1642 20.5 19.75 20.5H4.25C3.83579 20.5 3.5 20.1642 3.5 19.75V4.25ZM4.5 4.5V19.5H19.5V4.5H4.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8 7.5H16V8.5H8V7.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8 11.5H16V12.5H8V11.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8 15.5H16V16.5H8V15.5Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M3.20001 4.25001C3.20001 3.67011 3.67011 3.20001 4.25001 3.20001H19.75C20.3299 3.20001 20.8 3.67011 20.8 4.25001V19.75C20.8 20.3299 20.3299 20.8 19.75 20.8H4.25001C3.67011 20.8 3.20001 20.3299 3.20001 19.75V4.25001ZM4.80001 4.80001V19.2H19.2V4.80001H4.80001Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.70001 7.20001H16.3V8.80001H7.70001V7.20001Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.70001 11.2H16.3V12.8H7.70001V11.2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.70001 15.2H16.3V16.8H7.70001V15.2Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M3 4.25C3 3.55964 3.55964 3 4.25 3H19.75C20.4404 3 21 3.55964 21 4.25V19.75C21 20.4404 20.4404 21 19.75 21H4.25C3.55964 21 3 20.4404 3 19.75V4.25ZM5 5V19H19V5H5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.5 7H16.5V9H7.5V7Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.5 11H16.5V13H7.5V11Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.5 15H16.5V17H7.5V15Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.25 3C3.55964 3 3 3.55964 3 4.25V19.75C3 20.4404 3.55964 21 4.25 21H19.75C20.4404 21 21 20.4404 21 19.75V4.25C21 3.55964 20.4404 3 19.75 3H4.25ZM16.3 7.2H7.69995V8.8H16.3V7.2ZM7.69995 11.2H16.3V12.8H7.69995V11.2ZM16.3 15.2H7.69995V16.8H16.3V15.2Z\", fill }) })\n});\nexport {\n  document\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst my = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.5 3V2.5H11.5V3V8V8.5H12.5V8V3ZM4.5 17.1225V12H19.5V20.5V21H20.5V20.5V11.75C20.5 11.3358 20.1642 11 19.75 11H4.25C3.83796 11 3.5 11.3328 3.5 11.7492V20.5V21H4.5V20.5V17.1225Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.8 3.25001V2.45001H11.2V3.25001V8.25001V9.05001H12.8V8.25001V3.25001ZM4.80001 20.75V12.55H19.2V20.75V21.55H20.8V20.75V12C20.8 11.4201 20.3299 10.95 19.75 10.95H4.25001C3.67359 10.95 3.20001 11.4158 3.20001 11.9992V20.75V21.55H4.80001V20.75Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M13 3.25V2.25H11V3.25V8.25V9.25H13V8.25V3.25ZM5 20.75V12.75H19V20.75V21.75H21V20.75V12C21 11.3096 20.4404 10.75 19.75 10.75H4.25C3.56399 10.75 3 11.3045 3 11.9992V20.75V21.75H5V20.75Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.9999 3.25V2.25H10.9999V3.25V8.25V9.25H12.9999V8.25V3.25Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M20.9999 21.75H2.99994V11.9992C2.99994 11.3045 3.56393 10.75 4.24994 10.75H19.7499C20.4403 10.75 20.9999 11.3096 20.9999 12V21.75Z\", fill })\n  ] }) })\n});\nexport {\n  my\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst box = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.5 4.5V19.5H19.5V4.5H15V12H14V4.5H10V12H9V4.5H4.5ZM3.5 4.25C3.5 3.83579 3.83579 3.5 4.25 3.5H19.75C20.1642 3.5 20.5 3.83579 20.5 4.25V19.75C20.5 20.1642 20.1642 20.5 19.75 20.5H4.25C3.83579 20.5 3.5 20.1642 3.5 19.75V4.25Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.80001 4.80001V19.2H19.2V4.80001H15.3V12H13.7V4.80001H10.3V12H8.70001V4.80001H4.80001ZM3.20001 4.25001C3.20001 3.67011 3.67011 3.20001 4.25001 3.20001H19.75C20.3299 3.20001 20.8 3.67011 20.8 4.25001V19.75C20.8 20.3299 20.3299 20.8 19.75 20.8H4.25001C3.67011 20.8 3.20001 20.3299 3.20001 19.75V4.25001Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M5 5V19H19V5H15.5V12H13.5V5H10.5V12H8.5V5H5ZM3 4.25C3 3.55964 3.55964 3 4.25 3H19.75C20.4404 3 21 3.55964 21 4.25V19.75C21 20.4404 20.4404 21 19.75 21H4.25C3.55964 21 3 20.4404 3 19.75V4.25Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", d: \"M8.82353 3V12H9.88235V3H14.1176V12H15.1765V3H19.9412C20.5259 3 21 3.47405 21 4.05882V19.9412C21 20.5259 20.5259 21 19.9412 21H4.05882C3.47405 21 3 20.5259 3 19.9412V4.05882C3 3.47405 3.47405 3 4.05882 3H8.82353Z\", fill }) })\n});\nexport {\n  box\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst home = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.25 3.5C3.83579 3.5 3.5 3.83579 3.5 4.25V11V11.5H4H11H11.5V11V4V3.5H11H4.25ZM4.5 10.5V4.5H10.5V10.5H4.5ZM4 12.5H3.5V13V19.75C3.5 20.1642 3.83579 20.5 4.25 20.5H11H11.5V20V13V12.5H11H4ZM4.5 19.5V13.5H10.5V19.5H4.5ZM12.5 3.5H13H19.75C20.1642 3.5 20.5 3.83579 20.5 4.25V11V11.5H20H13H12.5V11V4V3.5ZM13.5 4.5V10.5H19.5V4.5H13.5ZM13 12.5H12.5V13V20V20.5H13H19.75C20.1642 20.5 20.5 20.1642 20.5 19.75V13V12.5H20H13ZM13.5 19.5V13.5H19.5V19.5H13.5Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M3.7 4.75001C3.7 4.17011 4.1701 3.70001 4.75 3.70001H11.8V11.8H3.7V4.75001ZM5.3 5.30001V10.2H10.2V5.30001H5.3ZM12.7 3.70001H19.75C20.3299 3.70001 20.8 4.17011 20.8 4.75001V11.8H12.7V3.70001ZM14.3 5.30001V10.2H19.2V5.30001H14.3ZM3.7 12.7H11.8V20.8H4.75C4.1701 20.8 3.7 20.3299 3.7 19.75V12.7ZM5.3 14.3V19.2H10.2V14.3H5.3ZM12.7 12.7H20.8V19.75C20.8 20.3299 20.3299 20.8 19.75 20.8H12.7V12.7ZM14.3 14.3V19.2H19.2V14.3H14.3Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M3.5 4.75C3.5 4.05964 4.05964 3.5 4.75 3.5H11.5V11.5H3.5V4.75ZM5.5 5.5V9.5H9.5V5.5H5.5ZM12.5 3.5H19.25C19.9404 3.5 20.5 4.05964 20.5 4.75V11.5H12.5V3.5ZM14.5 5.5V9.5H18.5V5.5H14.5ZM3.5 12.5H11.5V20.5H4.75C4.05964 20.5 3.5 19.9404 3.5 19.25V12.5ZM5.5 14.5V18.5H9.5V14.5H5.5ZM12.5 12.5H20.5V19.25C20.5 19.9404 19.9404 20.5 19.25 20.5H12.5V12.5ZM14.5 14.5V18.5H18.5V14.5H14.5Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M3.5 4.75C3.5 4.05964 4.05964 3.5 4.75 3.5H11.5V11.5H3.5V4.75ZM12.5 3.5H19.25C19.9404 3.5 20.5 4.05964 20.5 4.75V11.5H12.5V3.5ZM3.5 12.5H11.5V20.5H4.75C4.05964 20.5 3.5 19.9404 3.5 19.25V12.5ZM12.5 12.5H20.5V19.25C20.5 19.9404 19.9404 20.5 19.25 20.5H12.5V12.5Z\", fill }) })\n});\nexport {\n  home\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst heart = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.5 4.5C5.30878 4.5 3.5 6.3514 3.5 8.672C3.5 9.53753 3.86 10.3675 4.24831 11.0046C4.43977 11.3187 4.63154 11.5752 4.7748 11.7523C4.84625 11.8406 4.90515 11.9086 4.94523 11.9535C4.96526 11.976 4.98055 11.9926 4.99031 12.0031L5.00069 12.0142L5.00217 12.0157L12 19.2793L18.9972 12.0164L18.9993 12.0142L19.0097 12.0031C19.0194 11.9926 19.0347 11.976 19.0548 11.9535C19.0948 11.9086 19.1537 11.8406 19.2252 11.7523C19.3684 11.5752 19.5602 11.3187 19.7517 11.0046C20.14 10.3675 20.5 9.53753 20.5 8.672C20.5 6.35052 18.6913 4.5 16.5 4.5C14.3088 4.5 12.5 6.3514 12.5 8.672H11.5C11.5 6.35052 9.69128 4.5 7.5 4.5ZM12.0001 6.41677C11.1926 4.696 9.48906 3.5 7.5 3.5C4.72132 3.5 2.5 5.83496 2.5 8.672C2.5 9.79894 2.96136 10.8146 3.39443 11.5251C3.61364 11.8847 3.83255 12.1775 3.99731 12.3812C4.07986 12.4832 4.14931 12.5635 4.19906 12.6193C4.22395 12.6472 4.24396 12.669 4.25826 12.6844L4.27534 12.7025L4.2805 12.708L4.28219 12.7097L12 20.7207L19.7169 12.7106L19.7178 12.7097L19.7195 12.708L19.7246 12.7026L19.7417 12.6844C19.756 12.669 19.776 12.6472 19.8009 12.6193C19.8507 12.5635 19.9201 12.4832 20.0027 12.3812C20.1674 12.1775 20.3864 11.8847 20.6056 11.5251C21.0386 10.8146 21.5 9.79895 21.5 8.672C21.5 5.83395 19.2786 3.5 16.5 3.5C14.5111 3.5 12.8077 4.69631 12.0001 6.41677Z\", fill }),\n  regular: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.5 4.80001C5.48502 4.80001 3.8 6.50634 3.8 8.67201C3.8 9.45911 4.1296 10.2334 4.50447 10.8485C4.68761 11.1489 4.87124 11.3945 5.00805 11.5636C5.07617 11.6478 5.13189 11.7121 5.16908 11.7538C5.18765 11.7746 5.20152 11.7897 5.20992 11.7987L5.2183 11.8077C5.21815 11.8075 5.21853 11.8079 5.2183 11.8077C5.21837 11.8078 5.219 11.8084 5.21905 11.8085C5.21904 11.8085 5.21915 11.8086 5.21905 11.8085L12 18.847L18.7808 11.8086L18.7816 11.8078L18.7901 11.7987C18.7985 11.7897 18.8123 11.7746 18.8309 11.7538C18.8681 11.7121 18.9238 11.6478 18.9919 11.5636C19.1287 11.3945 19.3124 11.1489 19.4955 10.8485C19.8704 10.2334 20.2 9.45911 20.2 8.67201C20.2 6.50551 18.5151 4.80001 16.5 4.80001C14.485 4.80001 12.8 6.50634 12.8 8.67201H11.2C11.2 6.50551 9.51508 4.80001 7.5 4.80001ZM12.0001 5.78179C11.0689 4.23809 9.41209 3.20001 7.5 3.20001C4.54508 3.20001 2.2 5.68004 2.2 8.67201C2.2 9.87738 2.69176 10.9487 3.13826 11.6812C3.3658 12.0545 3.59285 12.3582 3.76406 12.5698C3.84994 12.676 3.92255 12.76 3.97521 12.819C4.00156 12.8486 4.02297 12.8719 4.03864 12.8887L4.05773 12.9091L4.06387 12.9155L4.06605 12.9178L12 21.1531L19.9327 12.9191L19.9339 12.9178L19.9361 12.9155L19.9422 12.9091L19.9613 12.8887C19.977 12.8719 19.9984 12.8486 20.0248 12.819C20.0774 12.76 20.15 12.676 20.2359 12.5698C20.4071 12.3582 20.6342 12.0545 20.8617 11.6812C21.3082 10.9487 21.8 9.87738 21.8 8.67201C21.8 5.67899 19.4548 3.20001 16.5 3.20001C14.588 3.20001 12.9314 4.23832 12.0001 5.78179Z\", fill }),\n  bold: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.5 5C5.60251 5 4 6.60962 4 8.672C4 9.40682 4.30933 10.144 4.67525 10.7444C4.85284 11.0357 5.03104 11.274 5.16355 11.4378C5.22945 11.5193 5.28306 11.5811 5.31831 11.6206C5.33591 11.6404 5.34884 11.6544 5.35633 11.6625L5.36337 11.67C5.36366 11.6703 5.36383 11.6705 5.36337 11.67L12 18.5587L18.6364 11.6702C18.6359 11.6707 18.6361 11.6705 18.6364 11.6702L18.6371 11.6695L18.6437 11.6625C18.6511 11.6544 18.6641 11.6404 18.6817 11.6206C18.7169 11.5811 18.7705 11.5193 18.8364 11.4378C18.969 11.274 19.1472 11.0357 19.3247 10.7444C19.6907 10.144 20 9.40682 20 8.672C20 6.60881 18.3976 5 16.5 5C14.6025 5 13 6.60962 13 8.672H11C11 6.60881 9.39762 5 7.5 5ZM12.0001 5.4119C11.0107 3.95978 9.37544 3 7.5 3C4.42759 3 2 5.57674 2 8.672C2 9.92965 2.51204 11.0381 2.96749 11.7853C3.20057 12.1677 3.43306 12.4786 3.60856 12.6956C3.69667 12.8045 3.77139 12.891 3.82598 12.9522C3.8533 12.9828 3.87566 13.0072 3.89223 13.025L3.91267 13.0467L3.91945 13.0539L3.92196 13.0565L12 21.4413L20.0765 13.058L20.0805 13.0539L20.0873 13.0467L20.1078 13.025C20.1243 13.0072 20.1467 12.9828 20.174 12.9522C20.2286 12.891 20.3033 12.8045 20.3914 12.6956C20.5669 12.4786 20.7994 12.1677 21.0325 11.7853C21.488 11.0381 22 9.92966 22 8.672C22 5.57566 19.5723 3 16.5 3C14.6247 3 12.9896 3.95998 12.0001 5.4119Z\", fill }),\n  fill: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.0001 6.41677C11.1926 4.696 9.48906 3.5 7.5 3.5C4.72132 3.5 2.5 5.83496 2.5 8.672C2.5 9.79894 2.96136 10.8146 3.39443 11.5251C3.61364 11.8847 3.83255 12.1775 3.99731 12.3812C4.07986 12.4832 4.14931 12.5635 4.19906 12.6193C4.22395 12.6472 4.24396 12.669 4.25826 12.6844L4.27534 12.7025L4.2805 12.708L4.28219 12.7097L12 20.7207L19.7169 12.7106L19.7178 12.7097L19.7195 12.708L19.7246 12.7026L19.7417 12.6844C19.756 12.669 19.776 12.6472 19.8009 12.6193C19.8507 12.5635 19.9201 12.4832 20.0027 12.3812C20.1674 12.1775 20.3864 11.8847 20.6056 11.5251C21.0386 10.8146 21.5 9.79895 21.5 8.672C21.5 5.83395 19.2786 3.5 16.5 3.5C14.5111 3.5 12.8077 4.69631 12.0001 6.41677Z\", fill })\n});\nexport {\n  heart\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst house = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.5061 2.76775C11.7889 2.52033 12.2111 2.52033 12.4939 2.76775L20.2439 9.549C20.4066 9.69142 20.5 9.89716 20.5 10.1134V20.75C20.5 21.1642 20.1642 21.5 19.75 21.5H4.25C3.83579 21.5 3.5 21.1642 3.5 20.75V10.1134C3.5 9.89716 3.59336 9.69142 3.75612 9.549L11.5061 2.76775ZM12 3.66438L4.5 10.2269V20.5H11.5V13H12.5V20.5H19.5V10.2269L12 3.66438Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.3086 2.54199C11.7044 2.1956 12.2956 2.1956 12.6914 2.54199L20.4414 9.32324C20.6693 9.52262 20.8 9.81067 20.8 10.1134V20.75C20.8 21.3299 20.3299 21.8 19.75 21.8H4.25C3.6701 21.8 3.2 21.3299 3.2 20.75V10.1134C3.2 9.81067 3.33071 9.52262 3.55857 9.32324L11.3086 2.54199ZM12 4.06302L4.8 10.363V20.2H11.2V13H12.8V20.2H19.2V10.363L12 4.06302Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.1769 2.39146C11.6482 1.97909 12.3518 1.97909 12.8231 2.39146L20.5731 9.17271C20.8444 9.41008 21 9.75298 21 10.1134V20.75C21 21.4403 20.4404 22 19.75 22H4.25C3.55965 22 3 21.4403 3 20.75V10.1134C3 9.75298 3.1556 9.41007 3.42687 9.17271L11.1769 2.39146ZM12 4.32876L5 10.4538V20H11V13H13V20H19V10.4538L12 4.32876Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", d: \"M12.8231 2.39149C12.3518 1.97912 11.6482 1.97912 11.1769 2.39149L3.42687 9.17274C3.1556 9.4101 3 9.75301 3 10.1135V20.75C3 21.4404 3.55965 22 4.25 22H11V13H13V22H19.75C20.4404 22 21 21.4404 21 20.75V10.1135C21 9.75301 20.8444 9.41011 20.5731 9.17274L12.8231 2.39149Z\", fill }) })\n});\nexport {\n  house\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst bag = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8.82771 3.74693C9.67344 2.94572 10.815 2.5 12 2.5C13.185 2.5 14.3266 2.94572 15.1723 3.74693C15.8949 4.43147 16.3512 5.32849 16.4694 6.28947H19.798C20.1643 6.28947 20.5 6.58383 20.5 6.97895V20.8105C20.5 21.2128 20.1677 21.5 19.798 21.5H4.19522C4.02113 21.4976 3.8499 21.4316 3.71865 21.3085C3.58657 21.1846 3.505 21.0114 3.50018 20.8233L3.49985 20.8105L3.50001 6.97895C3.50001 6.57664 3.83235 6.28947 4.20201 6.28947H7.53065C7.64887 5.32849 8.10515 4.43147 8.82771 3.74693ZM8.54071 6.28947H15.4593C15.3479 5.60921 15.0108 4.97147 14.4846 4.47289C13.83 3.85278 12.9367 3.5 12 3.5C11.0633 3.5 10.17 3.85278 9.51546 4.47289C8.98918 4.97147 8.65209 5.60921 8.54071 6.28947ZM4.50001 7.28947V20.5H19.5V14.3947H12V13.3947H19.5V7.28947H4.50001Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8.62139 3.52916C9.52447 2.67361 10.7405 2.20001 12 2.20001C13.2595 2.20001 14.4756 2.67361 15.3786 3.52916C16.0846 4.19792 16.5543 5.05844 16.7266 5.98949H19.798C20.3174 5.98949 20.8 6.40589 20.8 6.97896V20.8105C20.8 21.3917 20.3199 21.8 19.798 21.8H4.19114C3.9444 21.7967 3.70081 21.7031 3.51341 21.5273C3.32468 21.3503 3.20722 21.1018 3.20028 20.831L3.20001 20.8208V6.97896C3.20001 6.39779 3.68015 5.98949 4.20201 5.98949H7.27341C7.44569 5.05844 7.91547 4.19792 8.62139 3.52916ZM8.91686 5.98949H15.0832C14.9395 5.50648 14.666 5.05801 14.2782 4.69069C13.681 4.12491 12.8622 3.80001 12 3.80001C11.1378 3.80001 10.319 4.12491 9.72178 4.69069C9.33405 5.05801 9.06057 5.50648 8.91686 5.98949ZM4.80001 7.58949V20.2H19.2V14.6947H12V13.0947H19.2V7.58949H4.80001Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8.48383 3.38396C9.42514 2.49219 10.6908 2 12 2C13.3092 2 14.5749 2.49219 15.5162 3.38396C16.2108 4.04204 16.6871 4.87928 16.8899 5.78947H19.798C20.4195 5.78947 21 6.28724 21 6.97895V20.8105C21 21.5109 20.4213 22 19.798 22H4.18841C3.89324 21.996 3.60141 21.8841 3.37657 21.6732C3.15008 21.4607 3.00869 21.1621 3.00033 20.8362L3 20.8233V6.97895C3 6.27854 3.57867 5.78947 4.202 5.78947H7.11008C7.31286 4.87928 7.78918 4.04204 8.48383 3.38396ZM9.19966 5.78947H14.8003C14.6552 5.43834 14.4331 5.11285 14.1407 4.83586C13.5817 4.30631 12.8126 4 12 4C11.1874 4 10.4183 4.30631 9.85932 4.83586C9.56694 5.11285 9.34478 5.43834 9.19966 5.78947ZM5 7.78947V20H19V14.8947H12V12.8947H19V7.78947H5Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 1C10.6739 1 9.40215 1.52678 8.46447 2.46447C7.76608 3.16285 7.29564 4.04656 7.101 5H4.202C3.5272 5 3 5.54425 3 6.2V20.8121L3.00029 20.8243C3.00786 21.1357 3.13575 21.4321 3.35713 21.6513C3.5785 21.8705 3.87616 21.9954 4.18766 21.9999L4.19483 22H19.798C20.4728 22 21 21.4557 21 20.8V14.5H12V12.5H21V6.2C21 5.55334 20.4709 5 19.798 5H16.899C16.7044 4.04656 16.2339 3.16285 15.5355 2.46447C14.5979 1.52678 13.3261 1 12 1ZM14.1213 3.87868C14.4407 4.19808 14.6807 4.5821 14.8284 5H9.17157C9.31933 4.5821 9.55927 4.19808 9.87868 3.87868C10.4413 3.31607 11.2044 3 12 3C12.7956 3 13.5587 3.31607 14.1213 3.87868Z\", fill }) })\n});\nexport {\n  bag\n};\n","import { jsx, jsxs, Fragment } from \"react/jsx-runtime\";\nconst bell = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 3.5C10.6162 3.5 9.28747 4.05792 8.30664 5.05351C7.32555 6.04935 6.77307 7.40156 6.77307 8.81305V13.7243L5.79457 15.7632H18.2054L17.2269 13.7243V8.81305C17.2269 7.40156 16.6745 6.04935 15.6934 5.05351C14.7125 4.05792 13.3838 3.5 12 3.5ZM7.59427 4.3517C8.76146 3.16696 10.3461 2.5 12 2.5C13.6539 2.5 15.2386 3.16696 16.4057 4.3517C17.5727 5.53618 18.2269 7.14112 18.2269 8.81305V13.4968L19.7946 16.7632H4.20544L5.77307 13.4968V8.81305C5.77307 7.14111 6.42734 5.53618 7.59427 4.3517ZM12 21.5C9.98739 21.5 8.23334 20.0669 8.23334 18.1579H9.23334C9.23334 19.3884 10.4044 20.5 12 20.5C13.5957 20.5 14.7667 19.3884 14.7667 18.1579H15.7667C15.7667 20.0669 14.0126 21.5 12 21.5Z\", fill }),\n  regular: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 3.80001C10.6972 3.80001 9.44527 4.32523 8.52034 5.26406C7.59501 6.20331 7.07307 7.4797 7.07307 8.81307V13.7926L6.2713 15.4632H17.7287L16.9269 13.7926V8.81307C16.9269 7.4797 16.405 6.20331 15.4797 5.26406C14.5547 4.32523 13.3028 3.80001 12 3.80001ZM7.38056 4.14117C8.60364 2.89969 10.2651 2.20001 12 2.20001C13.7349 2.20001 15.3964 2.89969 16.6194 4.14117C17.8421 5.38224 18.5269 7.063 18.5269 8.81307V13.4285L20.2713 17.0632H3.7287L5.47307 13.4285V8.81307C5.47307 7.06299 6.15787 5.38224 7.38056 4.14117ZM12 21.8C9.86228 21.8 7.93333 20.2705 7.93333 18.1579H9.53333C9.53333 19.1849 10.5295 20.2 12 20.2C13.4706 20.2 14.4667 19.1849 14.4667 18.1579H16.0667C16.0667 20.2705 14.1377 21.8 12 21.8Z\", fill }),\n  bold: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 4C10.7512 4 9.55049 4.50341 8.66283 5.40441C7.77467 6.30593 7.27308 7.53178 7.27308 8.81305V13.8381L6.58914 15.2632H17.4109L16.7269 13.8381V8.81305C16.7269 7.53177 16.2254 6.30593 15.3372 5.40441C14.4495 4.50341 13.2488 4 12 4ZM7.2381 4.00079C8.49846 2.72148 10.2111 2 12 2C13.789 2 15.5016 2.72148 16.7619 4.00079C18.0218 5.2796 18.7269 7.0109 18.7269 8.81305V13.383L20.5891 17.2632H3.41089L5.27308 13.383V8.81305C5.27308 7.01089 5.97824 5.2796 7.2381 4.00079ZM12 22C9.7789 22 7.73335 20.4062 7.73335 18.1579H9.73335C9.73335 19.0492 10.6129 20 12 20C13.3872 20 14.2667 19.0492 14.2667 18.1579H16.2667C16.2667 20.4062 14.2211 22 12 22Z\", fill }),\n  fill: /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.23724 4.00079C8.4976 2.72148 10.2102 2 11.9992 2C13.7881 2 15.5007 2.72148 16.7611 4.00079C18.0209 5.2796 18.7261 7.0109 18.7261 8.81305V13.383L20.5883 17.2632H3.41003L5.27223 13.383V8.81305C5.27223 7.01089 5.97739 5.2796 7.23724 4.00079Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M7.7325 18.1579C7.7325 20.4062 9.77805 22 11.9992 22C14.2203 22 16.2658 20.4062 16.2658 18.1579H11.9992H7.7325Z\", fill })\n  ] })\n});\nexport {\n  bell\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nconst bellOff = (fill) => ({\n  light: /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17.4803 5.93238C17.188 5.3543 16.8067 4.82012 16.3452 4.3517C15.178 3.16696 13.5934 2.5 11.9394 2.5C10.2855 2.5 8.70089 3.16696 7.53371 4.3517C6.36678 5.53618 5.71251 7.14111 5.71251 8.81305V13.4968L4.14488 16.7632H5.86575L3.70001 18.7827L4.38201 19.5141L20.4718 4.51013L19.7898 3.77878L17.4803 5.93238ZM11.9394 3.5C10.5556 3.5 9.22691 4.05792 8.24607 5.05351C7.26499 6.04935 6.71251 7.40156 6.71251 8.81305V13.7243L5.73401 15.7632H6.93812L16.7128 6.64815C16.4543 6.05924 16.0901 5.51766 15.6328 5.05351C14.652 4.05792 13.3233 3.5 11.9394 3.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M8.79741 16.7632L9.86978 15.7632H18.1449L17.1664 13.7243V8.95896L18.1228 8.06711C18.1517 8.31346 18.1664 8.5625 18.1664 8.81305V13.4968L19.734 16.7632H8.79741Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11.9394 21.5C9.92682 21.5 8.17278 20.0669 8.17278 18.1579H9.17278C9.17278 19.3884 10.3438 20.5 11.9394 20.5C13.5351 20.5 14.7061 19.3884 14.7061 18.1579H15.7061C15.7061 20.0669 13.9521 21.5 11.9394 21.5Z\", fill })\n  ] }),\n  regular: /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M20.2275 17.0632H8.47197L10.1878 15.4632L17.6849 15.4632L16.8831 13.7926V9.21964L18.406 7.79951C18.4571 8.13289 18.4831 8.47166 18.4831 8.81307V13.4285L20.2275 17.0632Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17.0553 4.68495L18.4898 3.34727L19.581 4.51744L3.49122 19.5214L2.40002 18.3512L3.7813 17.0632H3.68489L5.42926 13.4285L5.42926 8.81307C5.42926 7.06299 6.11406 5.38224 7.33675 4.14117C8.55983 2.89969 10.2213 2.20001 11.9562 2.20001C13.6911 2.20001 15.3525 2.89969 16.5756 4.14117C16.7461 4.31422 16.9061 4.49581 17.0553 4.68495ZM15.8798 5.78111C15.7444 5.59961 15.5962 5.42678 15.4359 5.26406C14.5109 4.32523 13.259 3.80001 11.9562 3.80001C10.6534 3.80001 9.40146 4.32523 8.47653 5.26406C7.5512 6.20331 7.02926 7.4797 7.02926 8.81306L7.02926 13.7926L6.81917 14.2303L15.8798 5.78111Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11.9562 21.8C9.81847 21.8 7.88952 20.2705 7.88952 18.1579H9.48952C9.48952 19.1849 10.4856 20.2 11.9562 20.2C13.4267 20.2 14.4229 19.1849 14.4229 18.1579L16.0229 18.1579C16.0229 20.2705 14.0939 21.8 11.9562 21.8Z\", fill })\n  ] }),\n  bold: /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17.0998 4.44899L18.5898 3.05956L19.9538 4.52227L3.864 19.5262L2.5 18.0635L3.35829 17.2632H3.34486L5.20706 13.383L5.20706 8.81305C5.20706 7.01089 5.91221 5.2796 7.17207 4.00079C8.43243 2.72148 10.145 2 11.934 2C13.7229 2 15.4356 2.72148 16.6959 4.00079C16.8376 4.14465 16.9723 4.29423 17.0998 4.44899ZM15.2712 5.40441C15.4001 5.53527 15.5209 5.67296 15.6332 5.81667L7.20706 13.6741L7.20706 8.81305C7.20706 7.53178 7.70864 6.30593 8.5968 5.40441C9.48446 4.50341 10.6852 4 11.934 4C13.1828 4 14.3835 4.50341 15.2712 5.40441Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M9.22162 17.2632H20.5231L18.6609 13.383V8.81305C18.6609 8.698 18.658 8.58324 18.6523 8.46887L16.6609 10.3259V13.8381L17.3449 15.2632H11.3664L9.22162 17.2632Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M7.70466 18.6777C7.99144 20.6479 9.88825 22 11.934 22C14.1551 22 16.2007 20.4062 16.2007 18.1579H14.2007C14.2007 19.0492 13.3211 20 11.934 20C10.5468 20 9.66732 19.0492 9.66732 18.1579H8.26213L7.70466 18.6777Z\", fill })\n  ] }),\n  fill: /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11.9331 22C9.88763 22 7.99103 20.6483 7.70389 18.6785L8.26213 18.1579H16.1998C16.1998 20.4062 14.1542 22 11.9331 22Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M20.5222 17.2632H9.22162L18.6515 8.46964C18.6572 8.58376 18.6601 8.69826 18.6601 8.81305V13.383L20.5222 17.2632Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M17.0993 4.44945C16.9717 4.29452 16.8369 4.14479 16.695 4.00079C15.4347 2.72148 13.7221 2 11.9331 2C10.1442 2 8.43156 2.72148 7.1712 4.00079C5.91135 5.2796 5.20619 7.01089 5.20619 8.81305L5.20619 13.383L3.34399 17.2632H3.35829L2.5 18.0635L3.864 19.5262L19.9538 4.52227L18.5898 3.05956L17.0993 4.44945Z\", fill })\n  ] })\n});\nexport {\n  bellOff\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst star = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.58821 9.49169L4.07479 10.3334L8.06801 14.427L7.13827 20.1283L11.9996 17.4403L16.8617 20.1284L15.932 14.427L19.9252 10.3334L14.4117 9.49168L12.0002 4.35349L9.58821 9.49169ZM8.90976 8.58368L2 9.63855L6.99984 14.7641L5.81984 22L11.9997 18.583L18.1802 22L17.0002 14.7641L22 9.63855L15.0902 8.58368L12.0003 2L8.90976 8.58368Z\", fill }),\n  regular: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.99528 10.0365L5.31966 10.7503L8.70892 14.2247L7.92933 19.0053L11.9996 16.7547L16.0707 19.0055L15.2911 14.2247L18.6803 10.7503L14.0046 10.0365L12.0002 5.76558L9.99528 10.0365ZM8.90976 8.58368L2 9.63855L6.99984 14.7641L5.81984 22L11.9997 18.583L18.1802 22L17.0002 14.7641L22 9.63855L15.0902 8.58368L12.0003 2L8.90976 8.58368Z\", fill }),\n  bold: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.2667 10.3997L6.14957 11.0282L9.13619 14.0899L8.45671 18.2566L11.9996 16.2976L15.5433 18.2569L14.8638 14.0899L17.8504 11.0282L13.7332 10.3997L12.0001 6.70698L10.2667 10.3997ZM8.90976 8.58368L2 9.63855L6.99984 14.7641L5.81984 22L11.9997 18.583L18.1802 22L17.0002 14.7641L22 9.63855L15.0902 8.58368L12.0003 2L8.90976 8.58368Z\", fill }),\n  fill: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8.90976 8.58368L2 9.63855L6.99984 14.7641L5.81984 22L11.9997 18.583L18.1802 22L17.0002 14.7641L22 9.63855L15.0902 8.58368L12.0003 2L8.90976 8.58368Z\", fill })\n});\nexport {\n  star\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst setting = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", d: \"M13.6409 21.5H10.3892C10.2091 21.5 10.039 21.45 9.88889 21.3399C9.73881 21.2399 9.62875 21.0898 9.57873 20.9197L8.94839 19.1087C8.29805 18.8486 7.69774 18.5184 7.13744 18.1082L5.1564 18.4984C4.98631 18.5284 4.80621 18.5084 4.64613 18.4384C4.47604 18.3583 4.34597 18.2483 4.25592 18.0882L2.62507 15.4268C2.52501 15.2667 2.48499 15.0766 2.505 14.8865C2.52501 14.6964 2.60506 14.5263 2.72512 14.3963L4.03581 12.9855C3.94576 12.3252 3.94576 11.6648 4.03581 11.0045L2.73512 9.59373C2.61506 9.46366 2.52501 9.28357 2.505 9.10348C2.48499 8.91337 2.52501 8.72328 2.62507 8.56319L4.23591 5.89179C4.32596 5.74171 4.45603 5.62164 4.62612 5.55161C4.7862 5.48157 4.9663 5.46156 5.14639 5.49157L7.12744 5.88178C7.68773 5.47156 8.29805 5.13138 8.93839 4.88125L9.56872 3.08031C9.62875 2.91022 9.73881 2.77014 9.87888 2.66008C10.029 2.55003 10.1991 2.5 10.3791 2.5H13.6309C13.811 2.5 13.981 2.56003 14.1311 2.66008C14.2812 2.77014 14.3913 2.91022 14.4413 3.08031L15.0716 4.88125C15.722 5.14139 16.3223 5.47156 16.8826 5.88178L18.8636 5.49157C19.0337 5.46156 19.2138 5.48157 19.3739 5.55161C19.534 5.62164 19.674 5.74171 19.7641 5.89179L21.3749 8.56319C21.475 8.72328 21.515 8.91337 21.495 9.09347C21.475 9.28357 21.3949 9.45366 21.2649 9.59373L19.9542 11.0045C20.0442 11.6648 20.0442 12.3252 19.9542 12.9855L21.2649 14.3963C21.3949 14.5363 21.475 14.7064 21.485 14.8965C21.505 15.0866 21.465 15.2667 21.3649 15.4268L19.7541 18.0982C19.664 18.2483 19.534 18.3684 19.3639 18.4384C19.1938 18.5084 19.0237 18.5284 18.8436 18.4984L16.8626 18.1082C16.3023 18.5184 15.6919 18.8586 15.0516 19.1087L14.4213 20.9197C14.3612 21.0898 14.2512 21.2299 14.1111 21.3399C13.971 21.44 13.7909 21.5 13.6108 21.5H13.6409ZM10.4892 20.4995H13.5408L14.2912 18.3383L14.5113 18.2583C15.2117 18.0082 15.872 17.638 16.4623 17.1777L16.6424 17.0377L18.9737 17.4879L20.4845 14.9966L18.9136 13.3057L18.9537 13.0656C19.0737 12.3552 19.0737 11.6348 18.9537 10.9244L18.9136 10.6843L20.4845 8.99342L18.9737 6.4921L16.6424 6.95234L16.4623 6.81227C15.872 6.35203 15.2117 5.99184 14.5113 5.7317L14.2912 5.65166L13.5408 3.49052H10.4892L9.73881 5.65166L9.51869 5.7317C8.81833 5.98183 8.15798 6.35203 7.56767 6.81227L7.38757 6.95234L5.05635 6.4921L3.54555 8.99342L5.11638 10.6843L5.07636 10.9244C4.95629 11.6348 4.95629 12.3552 5.07636 13.0656L5.11638 13.3057L3.54555 14.9966L5.05635 17.4879L7.38757 17.0377L7.56767 17.1777C8.15798 17.638 8.80832 17.9982 9.51869 18.2583L9.73881 18.3383L10.4892 20.4995ZM14.3112 12.4953H9.70879V11.4947H14.3112V12.4953Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", d: \"M13.642 21.8H10.3879C10.1476 21.8 9.91732 21.73 9.71706 21.5901C9.51681 21.4502 9.37663 21.2603 9.29653 21.0304L8.70578 19.3513C8.12505 19.1114 7.57435 18.8015 7.05369 18.4417L5.20135 18.8015C4.97105 18.8515 4.73075 18.8215 4.51047 18.7216C4.28018 18.6216 4.09995 18.4617 3.9798 18.2518L2.36776 15.5932C2.23759 15.3733 2.17752 15.1234 2.20756 14.8735C2.23759 14.6237 2.33772 14.3938 2.50794 14.2039L3.72948 12.8946C3.65939 12.3049 3.65939 11.7152 3.72948 11.1255L2.50794 9.80613C2.33772 9.62622 2.22758 9.38635 2.20756 9.13647C2.17752 8.8866 2.23759 8.62673 2.36776 8.41684L3.9798 5.7482C4.09995 5.5483 4.28018 5.38839 4.50046 5.28844C4.72074 5.18849 4.96104 5.1685 5.19133 5.20848L7.04368 5.56829C7.55432 5.20848 8.10502 4.89864 8.69577 4.65876L9.2765 2.97961C9.35661 2.74973 9.49678 2.55983 9.69704 2.4199C9.89729 2.27997 10.1276 2.20001 10.3679 2.20001H13.622C13.8623 2.20001 14.0926 2.26998 14.2929 2.40991C14.4931 2.54983 14.6333 2.74973 14.7134 2.96962L15.2941 4.64876C15.8749 4.88864 16.4256 5.19848 16.9462 5.5583L18.7986 5.19848C19.0288 5.14851 19.2692 5.17849 19.4894 5.27844C19.7097 5.37839 19.8899 5.53831 20.0201 5.73821L21.6321 8.40685C21.7623 8.62673 21.8224 8.87661 21.7923 9.12648C21.7623 9.37635 21.6622 9.61623 21.482 9.80613L20.2704 11.1155C20.3405 11.7052 20.3405 12.2949 20.2704 12.8846L21.492 14.1939C21.6622 14.3838 21.7723 14.6137 21.7923 14.8636C21.8224 15.1134 21.7623 15.3633 21.6321 15.5732L20.0201 18.2418C19.9 18.4417 19.7197 18.6016 19.4994 18.7016C19.2692 18.8015 19.0288 18.8215 18.7986 18.7816L16.9462 18.4217C16.4356 18.7915 15.8749 19.0914 15.2941 19.3313L14.7134 21.0104C14.6333 21.2403 14.4831 21.4302 14.2929 21.5701C14.1026 21.7101 13.8623 21.78 13.622 21.78L13.642 21.8ZM10.6983 20.2008H13.3316L14.0626 18.1119L14.423 17.982C15.0939 17.7421 15.7247 17.3923 16.2954 16.9525L16.5858 16.7326L18.8486 17.1724L20.1302 15.0535L18.6083 13.4143L18.6684 13.0245C18.7785 12.3448 18.7785 11.6652 18.6684 10.9855L18.5983 10.5957L20.1202 8.95656L18.8386 6.83765L16.5757 7.27742L16.2854 7.05753C15.7147 6.61776 15.0939 6.26794 14.413 6.02806L14.0525 5.89813L13.3216 3.80919H10.6983L9.96738 5.89813L9.60692 6.02806C8.93607 6.26794 8.30527 6.61776 7.73455 7.05753L7.44418 7.27742L5.18132 6.83765L3.8997 8.95656L5.42162 10.5957L5.36155 10.9855C5.25141 11.6652 5.25141 12.3448 5.36155 13.0245L5.42162 13.4143L3.8997 15.0535L5.18132 17.1724L7.44418 16.7326L7.73455 16.9525C8.29526 17.3923 8.92606 17.7421 9.60692 17.982L9.96738 18.1119L10.6983 20.2008ZM14.6233 12.8046H9.40667V11.2054H14.6133V12.8046H14.6233Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", d: \"M13.6368 22H10.3868C10.1068 22 9.83682 21.91 9.60682 21.7499C9.37682 21.5798 9.20682 21.3597 9.10682 21.0895L8.54682 19.4887C8.00682 19.2586 7.49682 18.9785 7.01682 18.6383L5.24682 18.9885C4.97682 19.0385 4.69682 19.0185 4.43682 18.8984C4.16682 18.7784 3.95682 18.5883 3.81682 18.3482L2.20682 15.6868C2.05682 15.4367 1.98682 15.1366 2.01682 14.8364C2.04682 14.5463 2.16682 14.2761 2.36682 14.056L3.51682 12.8054C3.45682 12.2651 3.45682 11.7149 3.51682 11.1646L2.36682 9.93397C2.16682 9.72386 2.04682 9.44372 2.00682 9.15358C1.97682 8.86343 2.04682 8.55328 2.19682 8.30315L3.81682 5.63182C3.95682 5.3917 4.16682 5.2016 4.42682 5.09155C4.68682 4.97149 4.96682 4.94147 5.23682 5.0015L7.00682 5.35168C7.48682 5.02151 7.99682 4.73137 8.53682 4.50125L9.08682 2.91046C9.17682 2.65033 9.34682 2.42021 9.57682 2.25013C9.81682 2.08004 10.0868 2 10.3668 2H13.6168C13.8968 2 14.1768 2.09005 14.4068 2.25013C14.6368 2.42021 14.8068 2.65033 14.9068 2.91046L15.4668 4.50125C16.0068 4.73137 16.5168 5.01151 16.9968 5.35168L18.7668 5.0015C19.0468 4.95148 19.3168 4.98149 19.5768 5.09155C19.8368 5.2016 20.0468 5.3917 20.1968 5.63182L21.8068 8.30315C21.9568 8.55328 22.0268 8.85343 21.9968 9.14357C21.9668 9.44372 21.8368 9.72386 21.6368 9.93397L20.4868 11.1746C20.5468 11.7149 20.5468 12.2651 20.4868 12.8154L21.6368 14.056C21.8368 14.2761 21.9668 14.5463 21.9968 14.8464C22.0268 15.1366 21.9568 15.4267 21.8068 15.6768L20.1968 18.3482C20.0568 18.5883 19.8368 18.7784 19.5868 18.8884C19.3168 19.0085 19.0368 19.0285 18.7668 18.9785L17.0068 18.6383C16.5268 18.9685 16.0168 19.2586 15.4768 19.4887L14.9268 21.0795C14.8368 21.3497 14.6668 21.5798 14.4268 21.7399C14.2068 21.8999 13.9268 21.99 13.6368 21.99V22ZM10.8368 19.999H13.1768L13.8868 17.948L14.3368 17.7879C14.9868 17.5478 15.5968 17.2176 16.1468 16.7874L16.5068 16.5073L18.7168 16.9375L19.8468 15.0665L18.3668 13.4657L18.4468 12.9855C18.5568 12.3352 18.5568 11.6648 18.4468 11.0145L18.3668 10.5343L19.8468 8.93347L18.7168 7.06253L16.5068 7.49275L16.1468 7.21261C15.5968 6.78239 14.9868 6.45223 14.3368 6.21211L13.8868 6.05203L13.1768 4.01101H10.8368L10.1268 6.06203L9.67682 6.22211C9.02682 6.46223 8.41682 6.7924 7.86682 7.22261L7.50682 7.50275L5.29682 7.07254L4.16682 8.94347L5.64682 10.5443L5.56682 11.0245C5.45682 11.6748 5.45682 12.3452 5.56682 12.9955L5.64682 13.4857L4.16682 15.0865L5.29682 16.9575L7.50682 16.5273L7.86682 16.8074C8.41682 17.2376 9.02682 17.5678 9.67682 17.8079L10.1268 17.968L10.8368 20.009V19.999ZM14.8068 12.9955H9.20682V10.9945H14.8068V12.9955Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.3868 22H13.6368V21.99C13.9268 21.99 14.2068 21.8999 14.4268 21.7399C14.6668 21.5798 14.8368 21.3497 14.9268 21.0795L15.4768 19.4887C16.0168 19.2586 16.5268 18.9685 17.0068 18.6383L18.7668 18.9785C19.0368 19.0285 19.3168 19.0085 19.5868 18.8884C19.8368 18.7784 20.0568 18.5883 20.1968 18.3482L21.8068 15.6768C21.9568 15.4267 22.0268 15.1366 21.9968 14.8464C21.9668 14.5463 21.8368 14.2761 21.6368 14.056L20.4868 12.8154C20.5468 12.2651 20.5468 11.7149 20.4868 11.1746L21.6368 9.93397C21.8368 9.72386 21.9668 9.44372 21.9968 9.14357C22.0268 8.85343 21.9568 8.55328 21.8068 8.30315L20.1968 5.63182C20.0468 5.3917 19.8368 5.2016 19.5768 5.09155C19.3168 4.98149 19.0468 4.95148 18.7668 5.0015L16.9968 5.35168C16.5168 5.01151 16.0068 4.73137 15.4668 4.50125L14.9068 2.91046C14.8068 2.65033 14.6368 2.42021 14.4068 2.25013C14.1768 2.09005 13.8968 2 13.6168 2H10.3668C10.0868 2 9.81682 2.08004 9.57682 2.25013C9.34682 2.42021 9.17682 2.65033 9.08682 2.91046L8.53682 4.50125C7.99682 4.73137 7.48682 5.02151 7.00682 5.35168L5.23682 5.0015C4.96682 4.94147 4.68682 4.97149 4.42682 5.09155C4.16682 5.2016 3.95682 5.3917 3.81682 5.63182L2.19682 8.30315C2.04682 8.55328 1.97682 8.86343 2.00682 9.15358C2.04682 9.44372 2.16682 9.72386 2.36682 9.93397L3.51682 11.1646C3.45682 11.7149 3.45682 12.2651 3.51682 12.8054L2.36682 14.056C2.16682 14.2761 2.04682 14.5463 2.01682 14.8364C1.98682 15.1366 2.05682 15.4367 2.20682 15.6868L3.81682 18.3482C3.95682 18.5883 4.16682 18.7784 4.43682 18.8984C4.69682 19.0185 4.97682 19.0385 5.24682 18.9885L7.01682 18.6383C7.49682 18.9785 8.00682 19.2586 8.54682 19.4887L9.10682 21.0895C9.20682 21.3597 9.37682 21.5798 9.60682 21.7499C9.83682 21.91 10.1068 22 10.3868 22ZM15 11H9V13H15V11Z\", fill }) })\n});\nexport {\n  setting\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst question = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M10.7815 14.729C10.8074 12.8095 11.7235 12.4172 12.9247 11.6744C13.7975 11.132 14.3074 10.4893 14.3074 9.57129C14.3074 8.33609 13.3049 7.50985 12.0432 7.5182C10.8679 7.50985 9.81358 8.26098 9.74444 9.68813H8.5C8.56049 7.73519 10.0901 6.5 12.0432 6.5C14.1 6.5 15.5 7.81865 15.5 9.62136C15.5 10.8399 14.9123 11.6911 13.7716 12.4089C12.6654 13.0932 12 13.4104 11.9741 14.729V15.0128H10.7815V14.729ZM10.4272 16.6152C10.4272 16.1228 10.8506 15.7222 11.3605 15.7139C11.8617 15.7222 12.2765 16.1228 12.2765 16.6152C12.2765 17.0993 11.8617 17.5082 11.3605 17.4999C10.8506 17.5082 10.4272 17.0993 10.4272 16.6152Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 20.4C16.6392 20.4 20.4 16.6392 20.4 12C20.4 7.36081 16.6392 3.6 12 3.6C7.36081 3.6 3.6 7.36081 3.6 12C3.6 16.6392 7.36081 20.4 12 20.4ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M10.5462 14.2254C10.5615 12.1987 11.3615 11.9921 12.3308 11.3801C12.9846 10.9429 13.4923 10.4104 13.4846 9.61561C13.4923 8.72543 12.8154 8.15318 11.9769 8.15318C11.2154 8.15318 10.4769 8.66185 10.4231 9.72688H8.5C8.55385 7.58887 10.0923 6.5 11.9923 6.5C14.0692 6.5 15.4923 7.6922 15.5 9.58382C15.4923 10.8793 14.8692 11.7218 13.8692 12.3338C12.9769 12.8981 12.3615 13.0332 12.3462 14.2254V14.3685H10.5462V14.2254ZM10.362 16.2601C10.3543 15.5925 10.9005 15.0441 11.562 15.0361C12.2005 15.0441 12.7466 15.5925 12.7466 16.2601C12.7466 16.9436 12.2005 17.5 11.562 17.5C10.9005 17.5 10.3543 16.9436 10.362 16.2601Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.4773 14.1673V14.4516H10.4647V14.1652C10.4722 13.1603 10.6715 12.578 11.0111 12.1706C11.1788 11.9695 11.3752 11.8179 11.5836 11.6807C11.6876 11.6122 11.7961 11.5464 11.9058 11.4801C11.9122 11.4763 11.9186 11.4724 11.9249 11.4686C12.0286 11.406 12.1335 11.3427 12.2405 11.2741C12.8546 10.8567 13.2876 10.3772 13.2809 9.68032L13.2809 9.67765C13.2875 8.90304 12.7145 8.40132 11.9797 8.40132C11.6462 8.40132 11.3226 8.51438 11.0774 8.74057C10.8339 8.96527 10.6582 9.31052 10.6341 9.7946L10.6272 9.93325H8.5L8.50371 9.78355C8.53043 8.70599 8.92714 7.88011 9.56383 7.32533C10.198 6.77273 11.0576 6.5 11.9945 6.5C13.0165 6.5 13.891 6.79808 14.5132 7.34615C15.1375 7.89601 15.4962 8.68761 15.5 9.64737L15.5 9.64883C15.4962 10.304 15.3387 10.8513 15.0532 11.3136C14.7686 11.7744 14.3615 12.1428 13.8693 12.4489C13.7315 12.5374 13.5973 12.6171 13.4741 12.6903C13.4059 12.7308 13.341 12.7694 13.2808 12.8062C13.107 12.9127 12.9636 13.0104 12.8472 13.1224C12.6251 13.3362 12.4845 13.6181 12.4773 14.1673ZM11.5839 14.8095C12.276 14.8183 12.8612 15.4187 12.8612 16.147C12.8612 16.8879 12.2784 17.5 11.5821 17.5C10.8662 17.5 10.2809 16.8906 10.2882 16.147C10.2808 15.4161 10.8687 14.8182 11.5803 14.8095L11.5839 14.8095Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM13.4846 9.61561C13.4923 10.4104 12.9846 10.9429 12.3308 11.3801C12.2168 11.452 12.1051 11.5184 11.9968 11.5828C11.1842 12.0658 10.5597 12.4371 10.5462 14.2254V14.3685H12.3462V14.2254C12.3591 13.2235 12.7958 12.9682 13.4645 12.5772C13.5915 12.503 13.7268 12.4239 13.8692 12.3338C14.8692 11.7218 15.4923 10.8793 15.5 9.58382C15.4923 7.6922 14.0692 6.5 11.9923 6.5C10.0923 6.5 8.55385 7.58887 8.5 9.72688H10.4231C10.4769 8.66185 11.2154 8.15318 11.9769 8.15318C12.8154 8.15318 13.4923 8.72543 13.4846 9.61561ZM12.481 15.5C12.2611 15.2214 11.9266 15.0407 11.562 15.0361C11.1843 15.0407 10.8441 15.2214 10.6233 15.5C10.4573 15.7093 10.3587 15.9737 10.362 16.2601C10.3581 16.6047 10.4951 16.917 10.7166 17.142C10.9344 17.3632 11.234 17.5 11.562 17.5C11.9266 17.5 12.2611 17.3186 12.481 17.0357C12.6461 16.8231 12.7466 16.5533 12.7466 16.2601C12.7466 15.9737 12.6461 15.7093 12.481 15.5Z\", fill }) })\n});\nexport {\n  question\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst gift = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.3988 4.3503C10.9554 4.78989 11.503 5.29405 12 5.7877C12.497 5.29405 13.0446 4.7899 13.6012 4.3503C14.287 3.80859 15.0234 3.33494 15.7187 3.12158C16.429 2.90366 17.202 2.93558 17.7633 3.57704C18.207 4.08413 18.4376 4.89419 18.4889 5.99921H20.75C21.1642 5.99921 21.5 6.33499 21.5 6.74921V9.24921C21.5 9.66342 21.1642 9.99921 20.75 9.99921H19.5V20.2492C19.5 20.6634 19.1642 20.9992 18.75 20.9992H5.25C4.83579 20.9992 4.5 20.6634 4.5 20.2492V9.99921H3.25C2.83579 9.99921 2.5 9.66342 2.5 9.24921V6.74921C2.5 6.33499 2.83579 5.99921 3.25 5.99921H5.51112C5.56244 4.89419 5.79296 4.08413 6.23669 3.57704C6.79798 2.93558 7.57101 2.90366 8.28127 3.12158C8.97665 3.33494 9.71299 3.80859 10.3988 4.3503ZM18.5 9.99921H12.5V19.9992H18.5V9.99921ZM11.5 9.99921V19.9992H5.5V9.99921H11.5ZM11.5 8.99921V6.99921H3.5V8.99921H7.5H11.5ZM10.7784 5.99921C10.4527 5.69548 10.116 5.40117 9.77902 5.13504C9.12353 4.61731 8.5041 4.23597 7.98794 4.0776C7.48666 3.92379 7.19238 4.00341 6.98925 4.23555C6.76782 4.48861 6.56377 5.01396 6.51238 5.99921H10.7784ZM13.2216 5.99921C13.5473 5.69548 13.884 5.40117 14.221 5.13505C14.8765 4.61731 15.4959 4.23597 16.0121 4.0776C16.5133 3.92379 16.8076 4.00341 17.0107 4.23555C17.2322 4.48861 17.4362 5.01396 17.4876 5.99921H13.2216ZM20.5 8.99921V6.99921H12.5V8.99921H16.5H20.5Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.5848 4.11441C11.0741 4.50087 11.5548 4.93475 12 5.36679C12.4452 4.93476 12.9259 4.50088 13.4152 4.11442C14.1102 3.56551 14.8816 3.06417 15.6307 2.83432C16.4037 2.59716 17.3204 2.61477 17.9891 3.37902C18.4545 3.91086 18.6932 4.70148 18.7709 5.69873H20.75C21.3298 5.69873 21.7999 6.16883 21.7999 6.74873V9.24873C21.7999 9.82863 21.3298 10.2987 20.75 10.2987H19.8V20.2487C19.8 20.8286 19.3298 21.2987 18.75 21.2987H5.24995C4.67005 21.2987 4.19995 20.8286 4.19995 20.2487V10.2987H3.24995C2.67005 10.2987 2.19995 9.82863 2.19995 9.24873V6.74873C2.19995 6.16883 2.67005 5.69873 3.24995 5.69873H5.22908C5.30676 4.70147 5.54553 3.91086 6.01091 3.37902C6.67965 2.61477 7.5963 2.59716 8.36926 2.83432C9.1184 3.06417 9.88982 3.56551 10.5848 4.11441ZM20.2 7.29873V8.69873H16.5H12.8V7.29873H20.2ZM11.2 7.29873V8.69873H7.49995H3.79995V7.29873H11.2ZM11.2 19.6987V10.2987H5.79995V19.6987H11.2ZM12.8 10.2987H18.2V19.6987H12.8V10.2987ZM14.0072 5.69873C14.1401 5.5853 14.2736 5.47532 14.4069 5.37001C15.0533 4.85947 15.6377 4.50581 16.1001 4.36394C16.5386 4.22937 16.6893 4.32329 16.785 4.43264C16.9231 4.59049 17.0926 4.95571 17.1647 5.69873H14.0072ZM9.99283 5.69873C9.8599 5.5853 9.72641 5.47532 9.59307 5.37C8.94668 4.85946 8.36233 4.50581 7.89994 4.36394C7.46135 4.22937 7.3107 4.32329 7.21502 4.43264C7.07689 4.59049 6.90745 4.95571 6.83525 5.69873H9.99283Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.7087 3.95713C11.1536 4.30852 11.5906 4.69782 12 5.08883C12.4094 4.69782 12.8464 4.30853 13.2913 3.95714C13.9923 3.40344 14.7871 2.88364 15.5721 2.64279C16.3868 2.3928 17.3992 2.40087 18.1396 3.24699C18.6138 3.78892 18.86 4.56218 18.9539 5.49841H20.75C21.4404 5.49841 22 6.05806 22 6.74841V9.24841C22 9.93877 21.4404 10.4984 20.75 10.4984H20V20.2484C20 20.9388 19.4404 21.4984 18.75 21.4984H5.25C4.55964 21.4984 4 20.9388 4 20.2484V10.4984H3.25C2.55964 10.4984 2 9.93877 2 9.24841V6.74841C2 6.05806 2.55964 5.49841 3.25 5.49841H5.04606C5.14004 4.56218 5.38619 3.78891 5.86039 3.24699C6.60076 2.40087 7.61316 2.3928 8.42792 2.64279C9.21291 2.88364 10.0077 3.40343 10.7087 3.95713ZM20 8.49841H16.5H13V7.49841H20V8.49841ZM11 7.49841V8.49841H7.5H4V7.49841H11ZM11 19.4984V10.4984H6V19.4984H11ZM13 10.4984H18V19.4984H13V10.4984ZM16.94 5.49841C16.8615 4.93023 16.7235 4.66579 16.6345 4.56402L16.6301 4.55878C16.6033 4.52573 16.5335 4.43983 16.1587 4.55481C15.7402 4.68324 15.1922 5.00841 14.5668 5.49841H16.94ZM9.43324 5.49841H7.05996C7.13845 4.93023 7.27647 4.66579 7.36552 4.56402L7.36987 4.55878C7.39673 4.52573 7.46653 4.43983 7.84127 4.55481C8.25984 4.68324 8.80784 5.00841 9.43324 5.49841Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12.8 21.3987H18.75C19.3298 21.3987 19.8 20.9286 19.8 20.3487V10.3987H12.8V21.3987Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12.8 9.39868H20.75C21.1642 9.39868 21.5 9.0629 21.5 8.64868V7.14868C21.5 6.73447 21.1642 6.39868 20.75 6.39868H12.8V9.39868Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11.2 6.39868V9.39868H3.25C2.83579 9.39868 2.5 9.0629 2.5 8.64868V7.14868C2.5 6.73447 2.83579 6.39868 3.25 6.39868H11.2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11.2 10.3987V21.3987H5.24995C4.67005 21.3987 4.19995 20.9286 4.19995 20.3487V10.3987H11.2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M13.467 4.01438C12.9598 4.40084 12.4615 4.83471 12 5.26674C11.5386 4.83471 11.0402 4.40085 10.533 4.0144C9.81264 3.4655 9.01299 2.96417 8.23644 2.73433C7.43519 2.49717 6.485 2.51479 5.79179 3.27903C5.3421 3.77479 5.09652 4.49542 5.00004 5.39868L19 5.39868C18.9035 4.4954 18.658 3.77476 18.2083 3.27898C17.5151 2.51473 16.5649 2.49712 15.7636 2.73428C14.9871 2.96414 14.1874 3.46547 13.467 4.01438Z\", fill })\n  ] }) })\n});\nexport {\n  gift\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst remove = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M7.8808 8.58738L8.5874 7.87976L11.9991 11.2865L15.395 7.89548L16.1015 8.60311L12.7067 11.993L16.1019 15.3833L15.3953 16.0909L11.9991 12.6996L8.58708 16.1066L7.88049 15.399L11.2914 11.993L7.8808 8.58738Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 20.4C16.6392 20.4 20.4 16.6392 20.4 12C20.4 7.36081 16.6392 3.6 12 3.6C7.36081 3.6 3.6 7.36081 3.6 12C3.6 16.6392 7.36081 20.4 12 20.4ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M8.58703 7.45548L7.45648 8.58767L10.8668 11.993L7.45617 15.3987L8.58672 16.5309L11.999 13.1236L15.3955 16.5152L16.5261 15.383L13.1312 11.993L16.5258 8.6034L15.3952 7.4712L11.999 10.8625L8.58703 7.45548Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M8.58683 7.17264L7.17364 8.58788L10.5837 11.993L7.17333 15.3985L8.58651 16.8137L11.999 13.4062L15.3957 16.798L16.8089 15.3828L13.4142 11.993L16.8086 8.6036L15.3954 7.18836L11.999 10.5798L8.58683 7.17264Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM7.45649 8.5877L8.58704 7.45551L11.999 10.8625L15.3952 7.47123L16.5258 8.60342L13.1312 11.9931L16.5261 15.383L15.3955 16.5152L11.999 13.1236L8.58672 16.5309L7.45618 15.3987L10.8668 11.9931L7.45649 8.5877Z\", fill }) })\n});\nexport {\n  remove\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst share = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M16.5 2.5C14.567 2.5 13 4.067 13 6C13 6.47185 13.0934 6.92189 13.2626 7.33266L10.995 8.56953L8.72745 9.8064C8.08591 9.00974 7.10248 8.5 6 8.5C4.067 8.5 2.5 10.067 2.5 12C2.5 13.933 4.067 15.5 6 15.5C7.10249 15.5 8.08593 14.9902 8.72747 14.1936L10.9951 15.4304L13.2627 16.6673C13.0934 17.0781 13 17.5281 13 18C13 19.933 14.567 21.5 16.5 21.5C18.433 21.5 20 19.933 20 18C20 16.067 18.433 14.5 16.5 14.5C15.3975 14.5 14.4141 15.0097 13.7726 15.8064L11.505 14.5695L9.23737 13.3326C9.40663 12.9219 9.5 12.4718 9.5 12C9.5 11.5282 9.40663 11.0781 9.23736 10.6674L11.505 9.43048L13.7726 8.19361C14.4141 8.99026 15.3975 9.5 16.5 9.5C18.433 9.5 20 7.933 20 6C20 4.067 18.433 2.5 16.5 2.5ZM3.5 12C3.5 10.6193 4.61929 9.5 6 9.5C7.38071 9.5 8.5 10.6193 8.5 12C8.5 13.3807 7.38071 14.5 6 14.5C4.61929 14.5 3.5 13.3807 3.5 12ZM14 6C14 4.61929 15.1193 3.5 16.5 3.5C17.8807 3.5 19 4.61929 19 6C19 7.38071 17.8807 8.5 16.5 8.5C15.1193 8.5 14 7.38071 14 6ZM14 18C14 16.6193 15.1193 15.5 16.5 15.5C17.8807 15.5 19 16.6193 19 18C19 19.3807 17.8807 20.5 16.5 20.5C15.1193 20.5 14 19.3807 14 18Z\", fill }),\n  regular: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M16.5 2.20001C14.4013 2.20001 12.7 3.90133 12.7 6.00001C12.7 6.41695 12.7671 6.8182 12.8912 7.19354L10.8438 8.3103L8.79639 9.42706C8.10194 8.67268 7.10614 8.20001 5.99995 8.20001C3.90127 8.20001 2.19995 9.90133 2.19995 12C2.19995 14.0987 3.90127 15.8 5.99995 15.8C7.10616 15.8 8.10197 15.3273 8.79642 14.5729L10.8438 15.6897L12.8912 16.8064C12.7671 17.1818 12.7 17.5831 12.7 18C12.7 20.0987 14.4013 21.8 16.5 21.8C18.5986 21.8 20.3 20.0987 20.3 18C20.3 15.9013 18.5986 14.2 16.5 14.2C15.3938 14.2 14.398 14.6727 13.7036 15.427L11.6562 14.3102L9.60876 13.1935C9.73281 12.8182 9.79995 12.4169 9.79995 12C9.79995 11.5831 9.73281 11.1818 9.60874 10.8065L11.6561 9.68974L13.7035 8.57298C14.398 9.32735 15.3938 9.80001 16.5 9.80001C18.5986 9.80001 20.3 8.09869 20.3 6.00001C20.3 3.90133 18.5986 2.20001 16.5 2.20001ZM3.79995 12C3.79995 10.785 4.78492 9.80001 5.99995 9.80001C7.21498 9.80001 8.19995 10.785 8.19995 12C8.19995 13.215 7.21498 14.2 5.99995 14.2C4.78492 14.2 3.79995 13.215 3.79995 12ZM14.3 6.00001C14.3 4.78499 15.2849 3.80001 16.5 3.80001C17.715 3.80001 18.7 4.78499 18.7 6.00001C18.7 7.21504 17.715 8.20001 16.5 8.20001C15.2849 8.20001 14.3 7.21504 14.3 6.00001ZM14.3 18C14.3 16.785 15.2849 15.8 16.5 15.8C17.715 15.8 18.7 16.785 18.7 18C18.7 19.215 17.715 20.2 16.5 20.2C15.2849 20.2 14.3 19.215 14.3 18Z\", fill }),\n  bold: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M16.5 2C14.2909 2 12.5 3.79086 12.5 6C12.5 6.3801 12.553 6.74782 12.6521 7.09616L10.7435 8.13717L8.83502 9.17818C8.11065 8.45044 7.10793 8 6 8C3.79086 8 2 9.79086 2 12C2 14.2091 3.79086 16 6 16C7.10791 16 8.11062 15.5496 8.83499 14.8219L10.7435 15.8629L12.652 16.9039C12.553 17.2522 12.5 17.6199 12.5 18C12.5 20.2091 14.2909 22 16.5 22C18.7091 22 20.5 20.2091 20.5 18C20.5 15.7909 18.7091 14 16.5 14C15.3921 14 14.3893 14.4505 13.665 15.1782L11.7564 14.1372L9.84793 13.0962C9.94698 12.7478 10 12.3801 10 12C10 11.6199 9.94699 11.2522 9.84795 10.9039L11.7565 9.86284L13.665 8.82183C14.3894 9.54956 15.3921 10 16.5 10C18.7091 10 20.5 8.20914 20.5 6C20.5 3.79086 18.7091 2 16.5 2ZM4 12C4 10.8954 4.89543 10 6 10C7.10457 10 8 10.8954 8 12C8 13.1046 7.10457 14 6 14C4.89543 14 4 13.1046 4 12ZM14.5 6C14.5 4.89543 15.3954 4 16.5 4C17.6046 4 18.5 4.89543 18.5 6C18.5 7.10457 17.6046 8 16.5 8C15.3954 8 14.5 7.10457 14.5 6ZM14.5 18C14.5 16.8954 15.3954 16 16.5 16C17.6046 16 18.5 16.8954 18.5 18C18.5 19.1046 17.6046 20 16.5 20C15.3954 20 14.5 19.1046 14.5 18Z\", fill }),\n  fill: /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 2.5C14.567 2.5 13 4.067 13 6C13 6.36481 13.0558 6.71659 13.1594 7.04725L8.52425 9.5755C7.88737 8.91259 6.99187 8.5 6 8.5C4.067 8.5 2.5 10.067 2.5 12C2.5 13.933 4.067 15.5 6 15.5C6.99188 15.5 7.88739 15.0874 8.52427 14.4245L13.1594 16.9527C13.0558 17.2834 13 17.6352 13 18C13 19.933 14.567 21.5 16.5 21.5C18.433 21.5 20 19.933 20 18C20 16.067 18.433 14.5 16.5 14.5C15.5081 14.5 14.6126 14.9126 13.9758 15.5755L9.34064 13.0472C9.44419 12.7166 9.5 12.3648 9.5 12C9.5 11.6352 9.44419 11.2834 9.34063 10.9527L13.9757 8.4245C14.6126 9.08741 15.5081 9.5 16.5 9.5C18.433 9.5 20 7.933 20 6C20 4.067 18.433 2.5 16.5 2.5Z\", fill })\n});\nexport {\n  share\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst comment = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4 4.45999V16.4933H17.5689L20 18.4537L20 4.45999H4ZM3 4.20999C3 3.79578 3.33579 3.45999 3.75 3.45999H20.25C20.6642 3.45999 21 3.79578 21 4.20999L21 20.5447L17.2159 17.4933H3.75C3.33579 17.4933 3 17.1575 3 16.7433V4.20999Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M9.05332 10.4766C9.05332 10.9774 8.64739 11.3833 8.14666 11.3833C7.64592 11.3833 7.23999 10.9774 7.23999 10.4766C7.23999 9.97587 7.64592 9.56995 8.14666 9.56995C8.64739 9.56995 9.05332 9.97587 9.05332 10.4766Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12.9066 10.4767C12.9066 10.9774 12.5007 11.3834 11.9999 11.3834C11.4992 11.3834 11.0933 10.9774 11.0933 10.4767C11.0933 9.97597 11.4992 9.57004 11.9999 9.57004C12.5007 9.57004 12.9066 9.97597 12.9066 10.4767Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M16.76 10.4767C16.76 10.9774 16.3541 11.3834 15.8533 11.3834C15.3526 11.3834 14.9467 10.9774 14.9467 10.4767C14.9467 9.97597 15.3526 9.57004 15.8533 9.57004C16.3541 9.57004 16.76 9.97597 16.76 10.4767Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.29995 4.6V16.0333H17.6747L19.6999 17.6664L19.6999 4.6H4.29995ZM2.69995 4.05C2.69995 3.4701 3.17005 3 3.74995 3H20.2499C20.8298 3 21.2999 3.4701 21.2999 4.05L21.2999 21.012L17.11 17.6333H3.74995C3.17005 17.6333 2.69995 17.1632 2.69995 16.5833V4.05Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M8.14663 9.30995C7.59067 9.30995 7.13997 9.76065 7.13997 10.3166C7.13997 10.8726 7.59067 11.3233 8.14663 11.3233C8.7026 11.3233 9.1533 10.8726 9.1533 10.3166C9.1533 9.76065 8.7026 9.30995 8.14663 9.30995Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11.9999 9.31004C11.4439 9.31004 10.9932 9.76074 10.9932 10.3167C10.9932 10.8727 11.4439 11.3234 11.9999 11.3234C12.5559 11.3234 13.0066 10.8727 13.0066 10.3167C13.0066 9.76074 12.5559 9.31004 11.9999 9.31004Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M15.8533 9.31004C15.2973 9.31004 14.8466 9.76074 14.8466 10.3167C14.8466 10.8727 15.2973 11.3234 15.8533 11.3234C16.4093 11.3234 16.86 10.8727 16.86 10.3167C16.86 9.76074 16.4093 9.31004 15.8533 9.31004Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.5 4.67999V15.7133H17.7453L19.5 17.1282L19.5 4.67999H4.5ZM2.5 3.92999C2.5 3.23964 3.05964 2.67999 3.75 2.67999H20.25C20.9403 2.67999 21.5 3.23964 21.5 3.92999L21.5 21.3102L17.0394 17.7133H3.75C3.05964 17.7133 2.5 17.1537 2.5 16.4633V3.92999Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M8.14658 9.08994C7.53539 9.08994 7.03992 9.58541 7.03992 10.1966C7.03992 10.8078 7.53539 11.3033 8.14658 11.3033C8.75778 11.3033 9.25325 10.8078 9.25325 10.1966C9.25325 9.58541 8.75778 9.08994 8.14658 9.08994Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11.9999 9.09003C11.3887 9.09003 10.8932 9.5855 10.8932 10.1967C10.8932 10.8079 11.3887 11.3034 11.9999 11.3034C12.611 11.3034 13.1065 10.8079 13.1065 10.1967C13.1065 9.5855 12.611 9.09003 11.9999 9.09003Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M15.8532 9.09003C15.2421 9.09003 14.7466 9.5855 14.7466 10.1967C14.7466 10.8079 15.2421 11.3034 15.8532 11.3034C16.4644 11.3034 16.9599 10.8079 16.9599 10.1967C16.9599 9.5855 16.4644 9.09003 15.8532 9.09003Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M3.75 2.67999C3.05964 2.67999 2.5 3.23964 2.5 3.92999V16.4633C2.5 17.1537 3.05964 17.7133 3.75 17.7133H17.0394L21.5 21.3102L21.5 3.92999C21.5 3.23964 20.9403 2.67999 20.25 2.67999H3.75ZM8.14664 9.0899C7.53545 9.0899 7.03998 9.58538 7.03998 10.1966C7.03998 10.8078 7.53545 11.3032 8.14664 11.3032C8.75784 11.3032 9.25331 10.8078 9.25331 10.1966C9.25331 9.58538 8.75784 9.0899 8.14664 9.0899ZM11.9999 9.09015C11.3888 9.09015 10.8933 9.58562 10.8933 10.1968C10.8933 10.808 11.3888 11.3035 11.9999 11.3035C12.6111 11.3035 13.1066 10.808 13.1066 10.1968C13.1066 9.58562 12.6111 9.09015 11.9999 9.09015ZM15.8533 9.09015C15.2421 9.09015 14.7466 9.58562 14.7466 10.1968C14.7466 10.808 15.2421 11.3035 15.8533 11.3035C16.4645 11.3035 16.9599 10.808 16.9599 10.1968C16.9599 9.58562 16.4645 9.09015 15.8533 9.09015Z\", fill }) })\n});\nexport {\n  comment\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst caution = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 13.5V6.5H12.5V13.5H11.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11 16.5093C11 15.9579 11.4579 15.5093 12.0093 15.5C12.5514 15.5093 13 15.9579 13 16.5093C13 17.0513 12.5514 17.5092 12.0093 17.4999C11.4579 17.5092 11 17.0513 11 16.5093Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11.2 6.5H12.8V13.5H11.2V6.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M10.75 16.2616C10.75 15.5724 11.3224 15.0117 12.0117 15C12.6893 15.0117 13.25 15.5724 13.25 16.2616C13.25 16.9391 12.6893 17.5115 12.0117 17.4998C11.3224 17.5115 10.75 16.9391 10.75 16.2616Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20.4 12C20.4 16.6392 16.6392 20.4 12 20.4C7.36081 20.4 3.6 16.6392 3.6 12C3.6 7.36081 7.36081 3.6 12 3.6C16.6392 3.6 20.4 7.36081 20.4 12Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11 13.5V6.5H13V13.5H11Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 16.0139C10.5 15.1869 11.1869 14.514 12.014 14.5C12.8271 14.514 13.5 15.1869 13.5 16.0139C13.5 16.8269 12.8271 17.5138 12.014 17.4998C11.1869 17.5138 10.5 16.8269 10.5 16.0139Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM11 13.5V6.5H13V13.5H11ZM10.5 16.0139C10.5 15.1869 11.1869 14.514 12.014 14.5C12.8271 14.514 13.5 15.1869 13.5 16.0139C13.5 16.8269 12.8271 17.5138 12.014 17.4998C11.1869 17.5138 10.5 16.8269 10.5 16.0139Z\", fill }) })\n});\nexport {\n  caution\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst disclosureOff = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 14.3334L7.99999 9.00002H16L12 14.3334ZM12.4 15.4667C12.2 15.7334 11.8 15.7334 11.6 15.4667L6.59999 8.80002C6.35278 8.4704 6.58797 8.00002 6.99999 8.00002H17C17.412 8.00002 17.6472 8.4704 17.4 8.80002L12.4 15.4667Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 13.3334L9.19999 9.60002H14.8L12 13.3334ZM12.4 15.4667C12.2 15.7334 11.8 15.7334 11.6 15.4667L6.59999 8.80002C6.35278 8.4704 6.58797 8.00002 6.99999 8.00002H17C17.412 8.00002 17.6472 8.4704 17.4 8.80002L12.4 15.4667Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 12.6667L9.99999 10H14L12 12.6667ZM12.4 15.4667C12.2 15.7334 11.8 15.7334 11.6 15.4667L6.59999 8.80002C6.35278 8.4704 6.58797 8.00002 6.99999 8.00002H17C17.412 8.00002 17.6472 8.4704 17.4 8.80002L12.4 15.4667Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.6 15.4667C11.8 15.7333 12.2 15.7333 12.4 15.4667L17.4 8.8C17.6472 8.47038 17.412 8 17 8H7C6.58798 8 6.35279 8.47038 6.6 8.8L11.6 15.4667Z\", fill }) })\n});\nexport {\n  disclosureOff\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst disclosureOn = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 9.33333L16 14.6667H8L12 9.33333ZM11.6 8.2C11.8 7.93333 12.2 7.93333 12.4 8.2L17.4 14.8667C17.6472 15.1963 17.412 15.6667 17 15.6667H7C6.58797 15.6667 6.35278 15.1963 6.6 14.8667L11.6 8.2Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 10.3333L14.8 14.0667H9.2L12 10.3333ZM11.6 8.2C11.8 7.93333 12.2 7.93333 12.4 8.2L17.4 14.8667C17.6472 15.1963 17.412 15.6667 17 15.6667H6.99999C6.58797 15.6667 6.35277 15.1963 6.59999 14.8667L11.6 8.2Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 11L14 13.6667H9.99998L12 11ZM11.6 8.2C11.8 7.93333 12.2 7.93333 12.4 8.2L17.4 14.8667C17.6472 15.1963 17.412 15.6667 17 15.6667H6.99999C6.58797 15.6667 6.35277 15.1963 6.59999 14.8667L11.6 8.2Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.4 8.2C12.2 7.93334 11.8 7.93334 11.6 8.2L6.59999 14.8667C6.35278 15.1963 6.58797 15.6667 6.99999 15.6667H17C17.412 15.6667 17.6472 15.1963 17.4 14.8667L12.4 8.2Z\", fill }) })\n});\nexport {\n  disclosureOn\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst filter = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M17 3C17.2761 3 17.5 3.22386 17.5 3.5V5.5H20.5V6.5H17.5V8.5C17.5 8.77614 17.2761 9 17 9C16.7239 9 16.5 8.77614 16.5 8.5V3.5C16.5 3.22386 16.7239 3 17 3Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 9.5C7.5 9.22386 7.27614 9 7 9C6.72386 9 6.5 9.22386 6.5 9.5V11.5H4V12.5H6.5V14.5C6.5 14.7761 6.72386 15 7 15C7.27614 15 7.5 14.7761 7.5 14.5V9.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M7 18.5H3.5V17.5H7V18.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11 15C11.2761 15 11.5 15.2239 11.5 15.5V17.5H20.5V18.5H11.5V20.5C11.5 20.7761 11.2761 21 11 21C10.7239 21 10.5 20.7761 10.5 20.5V15.5C10.5 15.2239 10.7239 15 11 15Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M13 6.5H4V5.5H13V6.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11 12.5H20.5V11.5H11V12.5Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17 2.70001C17.4418 2.70001 17.8 3.05818 17.8 3.50001V8.50001C17.8 8.94184 17.4418 9.30001 17 9.30001C16.5582 9.30001 16.2 8.94184 16.2 8.50001V3.50001C16.2 3.05818 16.5582 2.70001 17 2.70001Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17 5.20001H20.5V6.80001H17V5.20001Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7 8.70001C7.44183 8.70001 7.8 9.05818 7.8 9.50001V14.5C7.8 14.9418 7.44183 15.3 7 15.3C6.55817 15.3 6.2 14.9418 6.2 14.5V9.50001C6.2 9.05818 6.55817 8.70001 7 8.70001Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7 18.8H3.5V17.2H7V18.8Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7 12.8H3.5V11.2H7V12.8Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11 14.7C11.4418 14.7 11.8 15.0582 11.8 15.5V20.5C11.8 20.9418 11.4418 21.3 11 21.3C10.5582 21.3 10.2 20.9418 10.2 20.5V15.5C10.2 15.0582 10.5582 14.7 11 14.7Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M20.5 18.8H11V17.2H20.5V18.8Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.5 6.80001H3.5V5.20001H12.5V6.80001Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M20.5 12.8H11V11.2H20.5V12.8Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M17 2.5C17.5523 2.5 18 2.94772 18 3.5V5H20.5V7H18V8.5C18 9.05228 17.5523 9.5 17 9.5C16.4477 9.5 16 9.05228 16 8.5V3.5C16 2.94772 16.4477 2.5 17 2.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M8 9.5C8 8.94772 7.55228 8.5 7 8.5C6.44772 8.5 6 8.94772 6 9.5V11H3.5V13H6V14.5C6 15.0523 6.44772 15.5 7 15.5C7.55228 15.5 8 15.0523 8 14.5V9.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M7 19H3.5V17H7V19Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11 14.5C11.5523 14.5 12 14.9477 12 15.5V17H20.5V19H12V20.5C12 21.0523 11.5523 21.5 11 21.5C10.4477 21.5 10 21.0523 10 20.5V15.5C10 14.9477 10.4477 14.5 11 14.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 7H3.5V5H12.5V7Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11 13H20.5V11H11V13Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M17 2.5C17.5523 2.5 18 2.94772 18 3.5V5H20.5V7H18V8.5C18 9.05228 17.5523 9.5 17 9.5C16.4477 9.5 16 9.05228 16 8.5V3.5C16 2.94772 16.4477 2.5 17 2.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M8 9.5C8 8.94772 7.55228 8.5 7 8.5C6.44772 8.5 6 8.94772 6 9.5V11H3.5V13H6V14.5C6 15.0523 6.44772 15.5 7 15.5C7.55228 15.5 8 15.0523 8 14.5V9.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M7 19H3.5V17H7V19Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11 14.5C11.5523 14.5 12 14.9477 12 15.5V17H20.5V19H12V20.5C12 21.0523 11.5523 21.5 11 21.5C10.4477 21.5 10 21.0523 10 20.5V15.5C10 14.9477 10.4477 14.5 11 14.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 7H3.5V5H12.5V7Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11 13H20.5V11H11V13Z\", fill })\n  ] }) })\n});\nexport {\n  filter\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst scrap = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 16.0576L20 21L19.9984 20.3185L20.0034 3.68158L20.0031 3.66952C19.9988 3.49372 19.9266 3.32543 19.7999 3.20025C19.6731 3.07493 19.5016 3.00258 19.3212 3L4.69408 3C4.30134 3 4.00482 3.31347 4.00473 3.68141L3.99994 21L12 16.0576ZM5.0002 19.2066L12 14.8822L18.9987 19.206L19.0033 4L5.00464 4L5.0002 19.2066Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 16.0576L20 21L19.9984 20.3185L20.0034 3.68158L20.0031 3.66952C19.9988 3.49372 19.9266 3.32543 19.7999 3.20025C19.6731 3.07493 19.5016 3.00258 19.3212 3L4.69408 3C4.30134 3 4.00482 3.31347 4.00473 3.68141L3.99994 21L12 16.0576ZM5.60052 18.1305L12 14.1769L18.3991 18.1302L18.4031 4.6H5.60446L5.60052 18.1305Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M20.0034 3.68158L20.0031 3.66952C19.9988 3.49372 19.9266 3.32543 19.7999 3.20025C19.6731 3.07493 19.5016 3.00258 19.3212 3L4.69408 3C4.30134 3 4.00482 3.31347 4.00473 3.68141L3.99994 21L12 16.0576L20 21L19.9984 20.3185L20.0034 3.68158ZM17.9993 17.4131L18.003 5H6.00435L6.00073 17.413L12 13.7067L17.9993 17.4131Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", d: \"M4.00479 3.64594C4.00488 3.29715 4.30141 3 4.69415 3L19.3212 3C19.5016 3.00245 19.6731 3.07103 19.7999 3.18983C19.9266 3.30849 19.9988 3.46801 20.0031 3.63467L20.0034 3.6461L19.9984 20.354L20 21L12 16.3149L4 21L3.99994 20.354L4.00479 3.64594Z\", fill }) })\n});\nexport {\n  scrap\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst trash = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17.9934 20.7746L18.9947 6.33307C18.9983 6.28065 19.0419 6.23999 19.0945 6.23999H19.8929C19.9508 6.23999 19.9966 6.28908 19.9926 6.34688L18.9425 21.5418C18.9334 21.6729 18.8245 21.7746 18.6931 21.7746H5.30254C5.17113 21.7746 5.06216 21.6728 5.05313 21.5417L4.00736 6.34687C4.00338 6.28907 4.0492 6.24 4.10713 6.24001L4.90546 6.24012C4.95801 6.24012 5.00159 6.2808 5.00521 6.33323L6.00248 20.7746H17.9934Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.25 6.23999C10.3881 6.23999 10.5 6.35192 10.5 6.48999L10.5 16.99C10.5 17.1281 10.3881 17.24 10.25 17.24H9.75C9.61193 17.24 9.5 17.1281 9.5 16.99L9.5 6.48999C9.5 6.35192 9.61193 6.23999 9.75 6.23999H10.25Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.25 6.23999C14.3881 6.23999 14.5 6.35192 14.5 6.48999V16.99C14.5 17.1281 14.3881 17.24 14.25 17.24H13.75C13.6119 17.24 13.5 17.1281 13.5 16.99V6.48999C13.5 6.35192 13.6119 6.23999 13.75 6.23999H14.25Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M3.2 4.73999H20.8C20.9105 4.73999 21 4.65045 21 4.53999V3.93999C21 3.82953 20.9105 3.73999 20.8 3.73999H12.5V2.48999C12.5 2.35192 12.3881 2.23999 12.25 2.23999L11.75 2.23999C11.6119 2.23999 11.5 2.35192 11.5 2.48999V3.73999H3.2C3.08954 3.73999 3 3.82953 3 3.93999V4.53999C3 4.65045 3.08954 4.73999 3.2 4.73999Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M20.8 3.27002C20.9105 3.27002 21 3.35956 21 3.47002V4.67002C21 4.78048 20.9105 4.87002 20.8 4.87002H3.2C3.08954 4.87002 3 4.78048 3 4.67002V3.47002C3 3.35956 3.08954 3.27002 3.2 3.27002H11.1817V2.27001C11.1817 2.15955 11.2712 2.07001 11.3817 2.07001H12.5817C12.6921 2.07001 12.7817 2.15955 12.7817 2.27001V3.27002H20.8Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M18.6903 6.20965L17.7116 20.3253H6.28062L5.30586 6.2099C5.30042 6.13125 5.23504 6.07023 5.15621 6.07023H3.86065C3.77377 6.07023 3.70506 6.14382 3.711 6.23049L4.77772 21.7856C4.78311 21.8643 4.84851 21.9253 4.92737 21.9253H19.0646C19.1434 21.9253 19.2087 21.8644 19.2142 21.7858L20.2994 6.23065C20.3054 6.14391 20.2367 6.07022 20.1498 6.07021L18.84 6.07003C18.7612 6.07002 18.6958 6.13102 18.6903 6.20965Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M10.65 6.07001C10.7329 6.07001 10.8 6.13716 10.8 6.22001L10.8 16.92C10.8 17.0029 10.7329 17.07 10.65 17.07H9.35001C9.26717 17.07 9.20001 17.0029 9.20001 16.92V6.22001C9.20001 6.13716 9.26717 6.07001 9.35001 6.07001H10.65Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M14.65 6.07001C14.7329 6.07001 14.8 6.13716 14.8 6.22001V16.92C14.8 17.0029 14.7329 17.07 14.65 17.07H13.35C13.2672 17.07 13.2 17.0029 13.2 16.92V6.22001C13.2 6.13716 13.2672 6.07001 13.35 6.07001H14.65Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M13 2.98672V2.29602C13 2.13253 12.8657 2 12.7 2H11.3C11.1343 2 11 2.13253 11 2.29602V2.98672H3.3C3.13431 2.98672 3 3.11925 3 3.28274V4.66414C3 4.82763 3.13431 4.96016 3.3 4.96016H20.7C20.8657 4.96016 21 4.82763 21 4.66414V3.28274C21 3.11925 20.8657 2.98672 20.7 2.98672H13Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M17.5245 20.0266L18.4806 6.41981C18.4915 6.26463 18.6223 6.14425 18.78 6.14427L20.1739 6.14447C20.3477 6.14449 20.4851 6.28973 20.4732 6.46078L19.4098 21.7243C19.399 21.8795 19.2682 22 19.1105 22H4.8803C4.72257 22 4.59177 21.8795 4.581 21.7242L3.52194 6.46051C3.51008 6.28945 3.64752 6.14425 3.82129 6.14428L5.21528 6.14447C5.37293 6.14449 5.50366 6.26491 5.51452 6.42009L6.46679 20.0266H17.5245Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M10.7 6.14423C10.8657 6.14423 11 6.27676 11 6.44025V16.7021C11 16.8656 10.8657 16.9981 10.7 16.9981H9.3C9.13431 16.9981 9 16.8656 9 16.7021V6.44025C9 6.27676 9.13432 6.14423 9.3 6.14423H10.7Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M14.7 6.14423C14.8657 6.14423 15 6.27676 15 6.44025V16.7021C15 16.8656 14.8657 16.9981 14.7 16.9981H13.3C13.1343 16.9981 13 16.8656 13 16.7021V6.44025C13 6.27676 13.1343 6.14423 13.3 6.14423H14.7Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M13 2.29602V2.98672H20.7C20.8657 2.98672 21 3.11925 21 3.28274V4.66414C21 4.82763 20.8657 4.96016 20.7 4.96016H3.3C3.13431 4.96016 3 4.82763 3 4.66414V3.28274C3 3.11925 3.13431 2.98672 3.3 2.98672H11V2.29602C11 2.13253 11.1343 2 11.3 2H12.7C12.8657 2 13 2.13253 13 2.29602Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M9.00001 16.7021V6.14423H3.82125C3.6475 6.14423 3.51009 6.28942 3.52196 6.46047L4.58101 21.7242C4.59179 21.8795 4.72258 22 4.88031 22H19.1105C19.2682 22 19.399 21.8795 19.4098 21.7243L20.4732 6.46078C20.4851 6.28973 20.3477 6.14449 20.174 6.14447L15 6.14423V16.7021C15 16.8656 14.8657 16.9982 14.7 16.9982H13.3C13.1343 16.9982 13 16.8656 13 16.7021V6.14423H11V16.7021C11 16.8656 10.8657 16.9982 10.7 16.9982H9.30001C9.13433 16.9982 9.00001 16.8656 9.00001 16.7021Z\", fill })\n  ] }) })\n});\nexport {\n  trash\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst lock = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 13.25C12.5 12.9739 12.2761 12.75 12 12.75C11.7239 12.75 11.5 12.9739 11.5 13.25V15.25C11.5 15.5261 11.7239 15.75 12 15.75C12.2761 15.75 12.5 15.5261 12.5 15.25V13.25Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.5 7.75C6.5 4.71243 8.96243 2.25 12 2.25C15.0376 2.25 17.5 4.71243 17.5 7.75V9.75H19C19.4142 9.75 19.75 10.0858 19.75 10.5V21C19.75 21.4142 19.4142 21.75 19 21.75H5C4.58579 21.75 4.25 21.4142 4.25 21V10.5C4.25 10.0858 4.58579 9.75 5 9.75H6.5V7.75ZM16.5 7.75V9.75H7.5V7.75C7.5 5.26472 9.51472 3.25 12 3.25C14.4853 3.25 16.5 5.26472 16.5 7.75ZM5.25 10.75H18.75V20.75H5.25V10.75Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12.8 13.5C12.8 13.0582 12.4418 12.7 12 12.7C11.5582 12.7 11.2 13.0582 11.2 13.5L11.2 15.5C11.2 15.9418 11.5582 16.3 12 16.3C12.4418 16.3 12.8 15.9418 12.8 15.5V13.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.20001 8.00001C6.20001 4.79676 8.79676 2.20001 12 2.20001C15.2033 2.20001 17.8 4.79676 17.8 8.00001V10H19.25C19.6642 10 20 10.3358 20 10.75V21.25C20 21.6642 19.6642 22 19.25 22H4.75C4.33579 22 4 21.6642 4 21.25V10.75C4 10.3358 4.33579 10 4.75 10H6.20001V8.00001ZM16.2 8.00001V10H7.80001V8.00001C7.80001 5.68042 9.68042 3.80001 12 3.80001C14.3196 3.80001 16.2 5.68042 16.2 8.00001ZM5.6 11.6V20.4H18.4V11.6H5.6Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M13 13.5C13 12.9477 12.5523 12.5 12 12.5C11.4477 12.5 11 12.9477 11 13.5V15.5C11 16.0523 11.4477 16.5 12 16.5C12.5523 16.5 13 16.0523 13 15.5V13.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6 8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8V10H19.25C19.6642 10 20 10.3358 20 10.75V21.25C20 21.6642 19.6642 22 19.25 22H4.75C4.33579 22 4 21.6642 4 21.25V10.75C4 10.3358 4.33579 10 4.75 10H6V8ZM16 8V10H8V8C8 5.79086 9.79086 4 12 4C14.2091 4 16 5.79086 16 8ZM6 12V20H18V12H6Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 2C8.68629 2 6 4.68629 6 8V10H4.75C4.33579 10 4 10.3358 4 10.75V21.25C4 21.6642 4.33579 22 4.75 22H19.25C19.6642 22 20 21.6642 20 21.25V10.75C20 10.3358 19.6642 10 19.25 10H18V8C18 4.68629 15.3137 2 12 2ZM16 10V8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8V10H16ZM13 13.5C13 12.9477 12.5523 12.5 12 12.5C11.4477 12.5 11 12.9477 11 13.5V15.5C11 16.0523 11.4477 16.5 12 16.5C12.5523 16.5 13 16.0523 13 15.5V13.5Z\", fill }) })\n});\nexport {\n  lock\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst lockOff = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12 12.75C12.2761 12.75 12.5 12.9739 12.5 13.25V15.25C12.5 15.5261 12.2761 15.75 12 15.75C11.7239 15.75 11.5 15.5261 11.5 15.25V13.25C11.5 12.9739 11.7239 12.75 12 12.75Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17.5 9.73528V9.75H19C19.4142 9.75 19.75 10.0858 19.75 10.5V21C19.75 21.4142 19.4142 21.75 19 21.75H5C4.58579 21.75 4.25 21.4142 4.25 21V10.5C4.25 10.0858 4.58579 9.75 5 9.75H6.5V7.75C6.5 4.71243 8.96243 2.25 12 2.25C13.8384 2.25 15.4661 3.15197 16.4648 4.53752L15.6888 5.17203C14.8752 4.00991 13.5263 3.25 12 3.25C9.51472 3.25 7.5 5.26472 7.5 7.75V9.75H16.5V9.73528H17.5ZM5.25 20.75H18.75V10.75H5.25V20.75Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12 12.7C12.4418 12.7 12.8 13.0582 12.8 13.5V15.5C12.8 15.9418 12.4418 16.3 12 16.3C11.5582 16.3 11.2 15.9418 11.2 15.5L11.2 13.5C11.2 13.0582 11.5582 12.7 12 12.7Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M19.25 10C19.6642 10 20 10.3358 20 10.75V21.25C20 21.6642 19.6642 22 19.25 22H4.75C4.33579 22 4 21.6642 4 21.25V10.75C4 10.3358 4.33579 10 4.75 10H6.20001V8.00001C6.20001 4.79676 8.79676 2.20001 12 2.20001C13.9361 2.20001 15.6507 3.14867 16.7042 4.60651L15.4624 5.62192C14.7051 4.52149 13.4368 3.80001 12 3.80001C9.68042 3.80001 7.80001 5.68042 7.80001 8.00001V10H19.25ZM5.6 20.4V11.6H18.4V20.4H5.6Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12 12.5C12.5523 12.5 13 12.9477 13 13.5V15.5C13 16.0523 12.5523 16.5 12 16.5C11.4477 16.5 11 16.0523 11 15.5V13.5C11 12.9477 11.4477 12.5 12 12.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M19.25 10H8V8C8 5.79086 9.79086 4 12 4C13.3744 4 14.5869 4.69318 15.307 5.749L16.8593 4.47969C15.7688 2.97712 13.9985 2 12 2C8.68629 2 6 4.68629 6 8V10H4.75C4.33579 10 4 10.3358 4 10.75V21.25C4 21.6642 4.33579 22 4.75 22H19.25C19.6642 22 20 21.6642 20 21.25V10.75C20 10.3358 19.6642 10 19.25 10ZM6 20V12H18V20H6Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8 10H19.25C19.6642 10 20 10.3358 20 10.75V21.25C20 21.6642 19.6642 22 19.25 22H4.75C4.33579 22 4 21.6642 4 21.25V10.75C4 10.3358 4.33579 10 4.75 10H6V8C6 4.68629 8.68629 2 12 2C13.9985 2 15.7688 2.97712 16.8593 4.47969L15.307 5.749C14.5869 4.69318 13.3744 4 12 4C9.79086 4 8 5.79086 8 8V10ZM12 12.5C12.5523 12.5 13 12.9477 13 13.5V15.5C13 16.0523 12.5523 16.5 12 16.5C11.4477 16.5 11 16.0523 11 15.5V13.5C11 12.9477 11.4477 12.5 12 12.5Z\", fill }) })\n});\nexport {\n  lockOff\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst coupon = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M3 9.26861C4.13176 9.66472 4.90476 10.748 4.90476 12C4.90476 13.2927 4.10021 14.3092 3 14.7146V19H21V14.7314C19.8682 14.3353 19.0952 13.252 19.0952 12C19.0952 10.7073 19.8998 9.69081 21 9.28537V5H3V9.26861ZM2.2381 4H21.7619C21.9048 4 22 4.09412 22 4.23529V9.88235C22 10.0235 21.9048 10.1176 21.7619 10.1176C20.8095 10.2588 20.0952 11.0118 20.0952 12C20.0952 12.9882 20.8095 13.7882 21.7619 13.8824C21.9048 13.8824 22 13.9765 22 14.1176V19.7647C22 19.9059 21.9048 20 21.7619 20H2.2381C2.09524 20 2 19.9059 2 19.7647V14.1176C2 13.9765 2.09524 13.8824 2.2381 13.8824C3.19048 13.7412 3.90476 12.9882 3.90476 12C3.90476 11.0118 3.19048 10.2118 2.2381 10.1176C2.09524 10.1176 2 10.0235 2 9.88235V4.23529C2 4.09412 2.09524 4 2.2381 4Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M3.6 8.87208C4.75061 9.44915 5.50476 10.6479 5.50476 12C5.50476 13.4056 4.7154 14.5369 3.6 15.1055V18.4H20.4V15.1279C19.2494 14.5508 18.4952 13.3521 18.4952 12C18.4952 10.5944 19.2846 9.46314 20.4 8.89449V5.6H3.6V8.87208ZM2.2381 4H21.7619C21.9048 4 22 4.09412 22 4.23529V9.88235C22 10.0235 21.9048 10.1176 21.7619 10.1176C20.8095 10.2588 20.0952 11.0118 20.0952 12C20.0952 12.9882 20.8095 13.7882 21.7619 13.8824C21.9048 13.8824 22 13.9765 22 14.1176V19.7647C22 19.9059 21.9048 20 21.7619 20H2.2381C2.09524 20 2 19.9059 2 19.7647V14.1176C2 13.9765 2.09524 13.8824 2.2381 13.8824C3.19048 13.7412 3.90476 12.9882 3.90476 12C3.90476 11.0118 3.19048 10.2118 2.2381 10.1176C2.09524 10.1176 2 10.0235 2 9.88235V4.23529C2 4.09412 2.09524 4 2.2381 4Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4 8.6342C5.15983 9.31563 5.90476 10.5848 5.90476 12C5.90476 13.4753 5.1239 14.6774 4 15.3415V18H20V15.3658C18.8402 14.6844 18.0952 13.4152 18.0952 12C18.0952 10.5247 18.8761 9.32263 20 8.65854V6H4V8.6342ZM21.7619 10.1176C21.9048 10.1176 22 10.0235 22 9.88235V4.23529C22 4.09412 21.9048 4 21.7619 4H2.2381C2.09524 4 2 4.09412 2 4.23529V9.88235C2 10.0235 2.09524 10.1176 2.2381 10.1176C3.19048 10.2118 3.90476 11.0118 3.90476 12C3.90476 12.9882 3.19048 13.7412 2.2381 13.8824C2.09524 13.8824 2 13.9765 2 14.1176V19.7647C2 19.9059 2.09524 20 2.2381 20H21.7619C21.9048 20 22 19.9059 22 19.7647V14.1176C22 13.9765 21.9048 13.8824 21.7619 13.8824C20.8095 13.7882 20.0952 12.9882 20.0952 12C20.0952 11.0118 20.8095 10.2588 21.7619 10.1176Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", d: \"M21.7619 4H2.2381C2.09524 4 2 4.09412 2 4.23529V9.88235C2 10.0235 2.09524 10.1176 2.2381 10.1176C3.19048 10.2118 3.90476 11.0118 3.90476 12C3.90476 12.9882 3.19048 13.7412 2.2381 13.8824C2.09524 13.8824 2 13.9765 2 14.1176V19.7647C2 19.9059 2.09524 20 2.2381 20H21.7619C21.9048 20 22 19.9059 22 19.7647V14.1176C22 13.9765 21.9048 13.8824 21.7619 13.8824C20.8095 13.7882 20.0952 12.9882 20.0952 12C20.0952 11.0118 20.8095 10.2588 21.7619 10.1176C21.9048 10.1176 22 10.0235 22 9.88235V4.23529C22 4.09412 21.9048 4 21.7619 4Z\", fill }) })\n});\nexport {\n  coupon\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst clock = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 3.8999C7.52644 3.8999 3.8999 7.52644 3.8999 12C3.8999 16.4736 7.52644 20.1001 12 20.1001C16.4736 20.1001 20.1001 16.4736 20.1001 12C20.1001 7.52644 16.4736 3.8999 12 3.8999ZM2.8999 12C2.8999 6.97416 6.97416 2.8999 12 2.8999C17.0258 2.8999 21.1001 6.97416 21.1001 12C21.1001 17.0258 17.0258 21.1001 12 21.1001C6.97416 21.1001 2.8999 17.0258 2.8999 12Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.5 11.7113V6.9129H11.5V12.2887L14.9502 14.2807L15.4502 13.4147L12.5 11.7113Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 4.19991C7.69212 4.19991 4.1999 7.69214 4.1999 12C4.1999 16.3079 7.69212 19.8001 12 19.8001C16.3079 19.8001 19.8001 16.3079 19.8001 12C19.8001 7.69214 16.3079 4.19991 12 4.19991ZM2.5999 12C2.5999 6.80848 6.80847 2.59991 12 2.59991C17.1915 2.59991 21.4001 6.80848 21.4001 12C21.4001 17.1915 17.1915 21.4001 12 21.4001C6.80847 21.4001 2.5999 17.1915 2.5999 12Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.8 11.5381V6.91292H11.2V12.4619L14.8002 14.5405L15.6002 13.1549L12.8 11.5381Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 4.3999C7.80258 4.3999 4.3999 7.80258 4.3999 12C4.3999 16.1974 7.80258 19.6001 12 19.6001C16.1974 19.6001 19.6001 16.1974 19.6001 12C19.6001 7.80258 16.1974 4.3999 12 4.3999ZM2.3999 12C2.3999 6.69801 6.69801 2.3999 12 2.3999C17.302 2.3999 21.6001 6.69801 21.6001 12C21.6001 17.302 17.302 21.6001 12 21.6001C6.69801 21.6001 2.3999 17.302 2.3999 12Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M13 11.4227V6.9129H11V12.5773L14.7002 14.7137L15.7002 12.9817L13 11.4227Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.0002 2.74982C6.89918 2.74982 2.75018 6.89982 2.75018 11.9998C2.75018 17.1008 6.89918 21.2498 12.0002 21.2498C17.1002 21.2498 21.2502 17.1008 21.2502 11.9998C21.2502 6.89982 17.1002 2.74982 12.0002 2.74982ZM12.8 11.5381V6.9129H11.2V12.4619L14.8002 14.5405L15.6002 13.1549L12.8 11.5381Z\", fill }) })\n});\nexport {\n  clock\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst redo = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M11.7498 3V8.5L15.5029 5.75L11.7498 3Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 6.08092C8.27208 6.08092 5.25 9.103 5.25 12.8309C5.25 16.5588 8.27208 19.5809 12 19.5809C15.7279 19.5809 18.75 16.5588 18.75 12.8309C18.75 11.5066 18.3691 10.2728 17.7112 9.23129L18.5566 8.69722C19.3126 9.89389 19.75 11.3121 19.75 12.8309C19.75 17.1111 16.2802 20.5809 12 20.5809C7.71979 20.5809 4.25 17.1111 4.25 12.8309C4.25 8.55071 7.71979 5.08092 12 5.08092V6.08092Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", d: \"M11.7498 4.78476V3L15.5029 5.75L11.7498 8.5V6.38571C8.30353 6.51715 5.55 9.35249 5.55 12.8309C5.55 16.3932 8.43776 19.2809 12 19.2809C15.5622 19.2809 18.45 16.3932 18.45 12.8309C18.45 11.565 18.0861 10.3865 17.4576 9.39153L18.8103 8.53703C19.5956 9.78023 20.05 11.2537 20.05 12.8309C20.05 17.2768 16.4459 20.8809 12 20.8809C7.55411 20.8809 3.95 17.2768 3.95 12.8309C3.95 8.46876 7.41968 4.91695 11.7498 4.78476Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", d: \"M11.7498 4.58465V3L15.5029 5.75L11.7498 8.5V6.58585C8.41402 6.71717 5.75 9.46294 5.75 12.8309C5.75 16.2827 8.54822 19.0809 12 19.0809C15.4518 19.0809 18.25 16.2827 18.25 12.8309C18.25 11.6039 17.8974 10.4623 17.2885 9.49833L18.9794 8.4302C19.7843 9.70443 20.25 11.2148 20.25 12.8309C20.25 17.3873 16.5563 21.0809 12 21.0809C7.44365 21.0809 3.75 17.3873 3.75 12.8309C3.75 8.35827 7.30921 4.71691 11.7498 4.58465Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", d: \"M11.7498 4.58465V3L15.5029 5.75L11.7498 8.5V6.58585C8.41402 6.71717 5.75 9.46294 5.75 12.8309C5.75 16.2827 8.54822 19.0809 12 19.0809C15.4518 19.0809 18.25 16.2827 18.25 12.8309C18.25 11.6039 17.8974 10.4623 17.2885 9.49833L18.9794 8.4302C19.7843 9.70443 20.25 11.2148 20.25 12.8309C20.25 17.3873 16.5563 21.0809 12 21.0809C7.44365 21.0809 3.75 17.3873 3.75 12.8309C3.75 8.35827 7.30921 4.71691 11.7498 4.58465Z\", fill }) })\n});\nexport {\n  redo\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst won = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM18 12.75C18 12.8881 17.8881 13 17.75 13H16.0002L15.1177 15.8246C15.085 15.9289 14.9884 16 14.879 16H13.9148C13.8061 16 13.7098 15.9297 13.6767 15.8261L12.7732 13L11.2268 13L10.3233 15.8261C10.2902 15.9297 10.1939 16 10.0852 16H9.12097C9.01162 16 8.91496 15.9289 8.88235 15.8246L7.99981 13H6.25C6.11193 13 6 12.8881 6 12.75V12.25C6 12.1119 6.11193 12 6.25 12H7.68736L6.85141 9.32456C6.80111 9.16358 6.92138 9 7.09003 9H7.52781C7.63655 9 7.73282 9.0703 7.76593 9.17388L8.66937 12H10.5355L11.439 9.17388C11.4721 9.0703 11.5684 9 11.6771 9H12.3229C12.4316 9 12.5279 9.0703 12.561 9.17388L13.4645 12H15.3306L16.2341 9.17388C16.2672 9.0703 16.3635 9 16.4722 9H16.91C17.0786 9 17.1989 9.16358 17.1486 9.32456L16.3126 12H17.75C17.8881 12 18 12.1119 18 12.25V12.75ZM15.011 13H13.7841L14.3975 14.9189L15.011 13ZM12.4536 12L12 10.5811L11.5464 12L12.4536 12ZM10.2159 13H8.98904L9.60245 14.9189L10.2159 13Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18 13.05C18 13.188 17.8881 13.3 17.75 13.3H16.0191L15.298 15.8188C15.2673 15.9261 15.1693 16 15.0577 16H13.5666C13.455 16 13.3569 15.9261 13.3262 15.8188L12.6052 13.3L11.3948 13.3L10.6738 15.8188C10.6431 15.9261 10.545 16 10.4334 16H8.94232C8.83075 16 8.73268 15.9261 8.70197 15.8188L7.98092 13.3H6.25C6.11193 13.3 6 13.188 6 13.05V11.95C6 11.8119 6.11193 11.7 6.25 11.7H7.5229L6.84126 9.3188C6.79554 9.15907 6.91546 9 7.08161 9H8.12133C8.2329 9 8.33097 9.07393 8.36168 9.1812L9.0827 11.7H10.293L11.0141 9.1812C11.0448 9.07393 11.1428 9 11.2544 9H12.7456C12.8572 9 12.9552 9.07393 12.9859 9.1812L13.707 11.7H14.9173L15.6383 9.1812C15.669 9.07393 15.7671 9 15.8787 9H16.9184C17.0845 9 17.2045 9.15907 17.1587 9.3188L16.4771 11.7H17.75C17.8881 11.7 18 11.8119 18 11.95V13.05ZM14.4593 13.3H14.165L14.3121 13.814L14.4593 13.3ZM12.1472 11.7L12 11.1859L11.8528 11.7L12.1472 11.7ZM9.83502 13.3H9.54072L9.68787 13.814L9.83502 13.3Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 20.4C16.6392 20.4 20.4 16.6392 20.4 12C20.4 7.36081 16.6392 3.6 12 3.6C7.36081 3.6 3.6 7.36081 3.6 12C3.6 16.6392 7.36081 20.4 12 20.4Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18 13.25C18 13.3881 17.8881 13.5 17.75 13.5H16.0805L15.4795 15.8129C15.4508 15.9231 15.3514 16 15.2375 16H13.1728C13.0601 16 12.9613 15.9246 12.9316 15.8159L12.299 13.5L11.701 13.5L11.0684 15.8159C11.0387 15.9246 10.9399 16 10.8272 16H8.76249C8.64864 16 8.54917 15.9231 8.52053 15.8129L7.91946 13.5H6.25C6.11193 13.5 6 13.3881 6 13.25L6 11.75C6 11.6119 6.11193 11.5 6.25 11.5H7.3997L6.83131 9.31288C6.79016 9.15454 6.90967 9 7.07327 9H8.32668C8.43938 9 8.53814 9.07541 8.56784 9.18412L9.20047 11.5H10.3868L11.0194 9.18412C11.0491 9.07541 11.1479 9 11.2606 9H12.7394C12.8521 9 12.9509 9.07541 12.9806 9.18412L13.6132 11.5H14.7995L15.4322 9.18412C15.4619 9.07541 15.5606 9 15.6733 9H16.9267C17.0903 9 17.2098 9.15454 17.1687 9.31288L16.6003 11.5H17.75C17.8881 11.5 18 11.6119 18 11.75V13.25ZM14.2532 13.5H14.1596L14.2064 13.6714L14.2532 13.5ZM9.84045 13.5H9.74681L9.79363 13.6714L9.84045 13.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM6.83131 9.31288C6.79016 9.15454 6.90967 9 7.07327 9H8.32668C8.43938 9 8.53814 9.07541 8.56784 9.18412L9.20047 11.5H10.3868L11.0194 9.18412C11.0491 9.07541 11.1479 9 11.2606 9H12.7394C12.8521 9 12.9509 9.07541 12.9806 9.18412L13.6132 11.5H14.7995L15.4322 9.18412C15.4619 9.07541 15.5606 9 15.6733 9H16.9267C17.0903 9 17.2098 9.15454 17.1687 9.31288L16.6003 11.5H17.75C17.8881 11.5 18 11.6119 18 11.75V13.25C18 13.3881 17.8881 13.5 17.75 13.5H16.0805L15.4795 15.8129C15.4508 15.9231 15.3514 16 15.2375 16H13.1728C13.0601 16 12.9613 15.9246 12.9316 15.8159L12.299 13.5H11.701L11.0684 15.8159C11.0387 15.9246 10.9399 16 10.8272 16H8.76249C8.64864 16 8.54917 15.9231 8.52053 15.8129L7.91946 13.5H6.25C6.11193 13.5 6 13.3881 6 13.25V11.75C6 11.6119 6.11193 11.5 6.25 11.5H7.3997L6.83131 9.31288Z\", fill }) })\n});\nexport {\n  won\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst pencil = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.6586 5.47487C17.2918 4.10804 15.0757 4.10804 13.7088 5.47487L5.93075 13.253C5.85404 13.3297 5.80451 13.4291 5.78923 13.536L5.12928 18.1557C5.05857 18.6506 5.48283 19.0749 5.97781 19.0042L10.5975 18.3442C10.7036 18.3291 10.8032 18.28 10.8805 18.2027L18.6586 10.4246C20.0254 9.05779 20.0254 6.84171 18.6586 5.47487ZM14.4159 6.18198C15.3923 5.20567 16.9752 5.20567 17.9515 6.18198C18.9278 7.15829 18.9278 8.7412 17.9515 9.71751L17.2444 10.4246L13.7088 6.88909L14.4159 6.18198ZM13.0017 7.59619L6.75563 13.8423L6.16637 17.9671L10.2912 17.3778L16.5373 11.1317L13.0017 7.59619Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.8707 5.04589C17.3867 3.5619 14.9807 3.5619 13.4967 5.04589L5.71857 12.824C5.59587 12.9467 5.51664 13.1056 5.4922 13.2767L4.83225 17.8964C4.73325 18.5893 5.32723 19.1833 6.02019 19.0843L10.6398 18.4244C10.8096 18.4001 10.969 18.3216 11.0926 18.198L18.8707 10.4199C20.3547 8.93591 20.3547 6.52988 18.8707 5.04589ZM14.628 6.17726C15.4872 5.31811 16.8802 5.31811 17.7393 6.17726C18.5985 7.03642 18.5985 8.42938 17.7393 9.28853L17.0322 9.99567L13.9209 6.8844L14.628 6.17726ZM12.7895 8.01578L7.03842 13.7669L6.51988 17.3967L10.1497 16.8781L15.9008 11.127L12.7895 8.01578Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M19.0121 4.90448C17.45 3.34238 14.9174 3.34238 13.3553 4.90448L5.5772 12.6826C5.42384 12.8359 5.3248 13.0346 5.29425 13.2485L4.6343 17.8681C4.51645 18.6931 5.22356 19.4002 6.04852 19.2823L10.6682 18.6224C10.8804 18.592 11.0796 18.4939 11.2341 18.3394L19.0121 10.5613C20.5742 8.99923 20.5742 6.46657 19.0121 4.90448ZM14.7695 6.31869C15.5506 5.53764 16.8169 5.53764 17.5979 6.31869C18.379 7.09974 18.379 8.36607 17.5979 9.14712L16.8908 9.85422L14.0624 7.0258L14.7695 6.31869ZM12.6482 8.44001L7.22703 13.8612L6.75563 17.161L10.0555 16.6896L15.4766 11.2684L12.6482 8.44001Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M18.8354 5.08134C17.3709 3.61687 14.9965 3.61687 13.5321 5.08134L12.825 5.78844L18.1283 11.0917L18.8354 10.3846C20.2998 8.92017 20.2998 6.5458 18.8354 5.08134Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M16.9969 12.2231L11.6936 6.91982L5.75397 12.8594C5.63894 12.9745 5.56466 13.1235 5.54174 13.2839L4.88179 17.9035C4.78751 18.5635 5.3532 19.1292 6.01316 19.0349L10.6328 18.375C10.792 18.3522 10.9414 18.2786 11.0573 18.1627L16.9969 12.2231Z\", fill })\n  ] }) })\n});\nexport {\n  pencil\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst delivery = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.5 3C14.5 2.44772 14.9477 2 15.5 2H22V3H15.5V19.5H22V20.5H12.6632C12.1015 21.6825 10.8962 22.5 9.5 22.5C8.1038 22.5 6.89855 21.6825 6.33682 20.5H3C2.44772 20.5 2 20.0523 2 19.5V13.8604C2 13.4299 2.27543 13.0478 2.68377 12.9117L6.63516 11.5946L8.9117 6.5862C9.07397 6.2292 9.42992 6 9.82206 6H14.5V3ZM7.05001 19.5C7.125 19.8694 7.28146 20.2093 7.49982 20.5C7.95592 21.1072 8.68209 21.5 9.5 21.5C10.3179 21.5 11.0441 21.1072 11.5002 20.5C11.7185 20.2093 11.875 19.8694 11.95 19.5C11.9828 19.3384 12 19.1712 12 19C12 17.6193 10.8807 16.5 9.5 16.5C8.11929 16.5 7 17.6193 7 19C7 19.1712 7.01722 19.3384 7.05001 19.5ZM12.9646 19.5C12.9879 19.3367 13 19.1698 13 19C13 17.067 11.433 15.5 9.5 15.5C7.567 15.5 6 17.067 6 19C6 19.1698 6.01209 19.3367 6.03544 19.5H3V13.8604L7.08114 12.5H14.5V19.5H12.9646ZM14.5 7H9.82206L7.77661 11.5H14.5V7Z\", fill }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.2 2.99995C14.2 2.28198 14.782 1.69995 15.5 1.69995H22V3.29995H15.8V19.2H22V20.7999L12.5023 20.8C11.8904 21.8185 10.7748 22.5 9.5 22.5C8.22523 22.5 7.10964 21.8185 6.49769 20.8H3.49995C2.78198 20.8 2.19995 20.2179 2.19995 19.5V13.8465C2.19995 13.3046 2.5361 12.8195 3.04349 12.6292L6.40887 11.3672L8.6385 6.46201C8.84945 5.99792 9.31219 5.69995 9.82198 5.69995H14.2V2.99995ZM8.03147 20.2056C7.80167 19.926 7.65017 19.5796 7.61048 19.2C7.60361 19.1342 7.6 19.0675 7.6 19C7.6 17.9507 8.45066 17.1 9.5 17.1C10.5493 17.1 11.4 17.9507 11.4 19C11.4 20.0493 10.5493 20.9 9.5 20.9C8.99842 20.9 8.54224 20.7056 8.20265 20.3881C8.1417 20.3311 8.0845 20.2702 8.03147 20.2056ZM6.00562 19.2H3.79995V14.0544L7.14502 12.8H14.2V19.2H12.9944C12.9981 19.1338 13 19.0671 13 19C13 17.067 11.433 15.5 9.5 15.5C7.567 15.5 6 17.067 6 19C6 19.0671 6.00189 19.1338 6.00562 19.2ZM14.2 7.29995H10.0152L8.24242 11.2H14.2V7.29995Z\", fill }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14 3C14 2.17157 14.6716 1.5 15.5 1.5H22V3.5H16V19H22V21H12.3727C11.7402 21.9067 10.6894 22.5 9.5 22.5C8.31063 22.5 7.25982 21.9067 6.62734 21H3.5C2.67157 21 2 20.3284 2 19.5V13.8465C2 13.2212 2.38786 12.6616 2.97331 12.442L6.261 11.2091L8.45637 6.3793C8.69978 5.8438 9.23371 5.5 9.82192 5.5H14V3ZM8 19C8 19.8284 8.67157 20.5 9.5 20.5C10.3284 20.5 11 19.8284 11 19C11 18.1716 10.3284 17.5 9.5 17.5C8.67157 17.5 8 18.1716 8 19ZM13 19H14V13H7.18133L4 14.193V19H6C6 17.067 7.567 15.5 9.5 15.5C11.433 15.5 13 17.067 13 19ZM14 7.5H10.1439L8.55297 11H14V7.5Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M15.5 2H21.5C21.7761 2 22 2.22386 22 2.5V20.5C22 20.7761 21.7761 21 21.5 21H15.5C15.2239 21 15 20.7761 15 20.5V2.5C15 2.22386 15.2239 2 15.5 2Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M13.7501 8.5H10.5L9.70842 11H13.75C13.8881 11 14 11.1119 14 11.25V15.6005C14 15.8606 13.6116 15.971 13.4468 15.7698C12.5115 14.6283 11.0908 13.8999 9.4999 13.8999C6.68325 13.8999 4.3999 16.1833 4.3999 18.9999C4.3999 19.5761 4.49547 20.13 4.67161 20.6467C4.72948 20.8164 4.60785 21 4.42854 21H3C2.17157 21 1.5 20.3284 1.5 19.5V13.8604C1.5 13.2147 1.91314 12.6415 2.52566 12.4374L6.6068 11.077C6.66663 11.057 6.72757 11.0409 6.78924 11.0287L8.44062 6.48738C8.65618 5.8946 9.21955 5.5 9.85031 5.5H13.7501C13.8882 5.5 14.0001 5.61193 14.0001 5.75V8.25C14.0001 8.38807 13.8882 8.5 13.7501 8.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M13.5 19C13.5 21.2091 11.7091 23 9.5 23C7.29086 23 5.5 21.2091 5.5 19C5.5 16.7909 7.29086 15 9.5 15C11.7091 15 13.5 16.7909 13.5 19ZM10.6429 19C10.6429 19.6312 10.1312 20.1429 9.5 20.1429C8.86882 20.1429 8.35714 19.6312 8.35714 19C8.35714 18.3688 8.86882 17.8571 9.5 17.8571C10.1312 17.8571 10.6429 18.3688 10.6429 19Z\", fill })\n  ] }) })\n});\nexport {\n  delivery\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst law = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 20.5V4.7666H17.5C17.7761 4.7666 18 4.54274 18 4.2666C18 3.99046 17.7761 3.7666 17.5 3.7666H12.5V2.25C12.5 2.11193 12.3881 2 12.25 2H11.75C11.6119 2 11.5 2.11193 11.5 2.25V3.7666H6.5C6.22386 3.7666 6 3.99046 6 4.2666C6 4.54274 6.22386 4.7666 6.5 4.7666H11.5V20.5H6.75C6.61193 20.5 6.5 20.6119 6.5 20.75V21.25C6.5 21.3881 6.61193 21.5 6.75 21.5H17.25C17.3881 21.5 17.5 21.3881 17.5 21.25V20.75C17.5 20.6119 17.3881 20.5 17.25 20.5H12.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.9838 4.14005C6.92624 3.92005 6.7274 3.7666 6.5 3.7666C6.2726 3.7666 6.07391 3.92005 6.01636 4.14005L4.61406 9.5H2.5V10C2.5 12.1539 4.24609 13.9 6.4 13.9C8.55391 13.9 10.3 12.1539 10.3 10V9.5H8.38609L6.9838 4.14005ZM7.35244 9.5L6.50008 6.24206L5.64772 9.5H7.35244ZM6.4 12.9C4.96888 12.9 3.77988 11.8634 3.54294 10.5H9.25706C9.02012 11.8634 7.83112 12.9 6.4 12.9Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17.9838 4.14005C17.9262 3.92005 17.7274 3.7666 17.5 3.7666C17.2726 3.7666 17.0739 3.92005 17.0164 4.14005L15.6141 9.5H13.5V10C13.5 12.1539 15.2461 13.9 17.4 13.9C19.5539 13.9 21.3 12.1539 21.3 10V9.5H19.3861L17.9838 4.14005ZM17.5001 6.24206L18.3524 9.5H16.6477L17.5001 6.24206ZM14.5429 10.5C14.7799 11.8634 15.9689 12.9 17.4 12.9C18.8311 12.9 20.0201 11.8634 20.2571 10.5H14.5429Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M12.8 20.2V5.06655H17.5C17.9418 5.06655 18.3 4.70838 18.3 4.26655C18.3 3.82472 17.9418 3.46655 17.5 3.46655H12.8V2.25C12.8 2.11193 12.688 2 12.55 2H11.45C11.3119 2 11.2 2.11193 11.2 2.25V3.46655H6.49995C6.05812 3.46655 5.69995 3.82472 5.69995 4.26655C5.69995 4.70838 6.05812 5.06655 6.49995 5.06655H11.2V20.2H6.75C6.61193 20.2 6.5 20.3119 6.5 20.45V21.55C6.5 21.688 6.61193 21.8 6.75 21.8H17.25C17.3881 21.8 17.5 21.688 17.5 21.55V20.45C17.5 20.3119 17.3881 20.2 17.25 20.2H12.8Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.27398 4.06407C7.18188 3.71207 6.86379 3.46655 6.49995 3.46655C6.13611 3.46655 5.81817 3.71207 5.72607 4.06407L4.3824 9.19995H2.19995V9.99995C2.19995 12.3195 4.08036 14.2 6.39995 14.2C8.71955 14.2 10.6 12.3195 10.6 9.99995V9.19995H8.61765L7.27398 4.06407ZM6.9638 9.19995L6.50002 7.42728L6.03625 9.19995H6.9638ZM6.39995 12.6C5.24314 12.6 4.26277 11.8445 3.92535 10.8H8.87455C8.53713 11.8445 7.55677 12.6 6.39995 12.6Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.274 4.06407C18.1819 3.71207 17.8638 3.46655 17.5 3.46655C17.1361 3.46655 16.8182 3.71207 16.7261 4.06407L15.3824 9.19995H13.2V9.99995C13.2 12.3195 15.0804 14.2 17.4 14.2C19.7195 14.2 21.6 12.3195 21.6 9.99995V9.19995H19.6177L18.274 4.06407ZM17.5 7.42728L17.9638 9.19995H17.0363L17.5 7.42728ZM14.9254 10.8C15.2628 11.8445 16.2431 12.6 17.4 12.6C18.5568 12.6 19.5371 11.8445 19.8746 10.8H14.9254Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M13 5.2666V20H17.25C17.3881 20 17.5 20.1119 17.5 20.25V21.75C17.5 21.8881 17.3881 22 17.25 22H6.75C6.61193 22 6.5 21.8881 6.5 21.75V20.25C6.5 20.1119 6.61193 20 6.75 20H11V5.2666H7.79519L8.77194 9H10.8V10C10.8 12.4301 8.83005 14.4 6.4 14.4C3.96995 14.4 2 12.4301 2 10V9H4.22788L5.52819 4.02988C5.55054 3.93778 5.58564 3.85068 5.63152 3.77053C5.69876 3.65281 5.78874 3.55107 5.89482 3.47044C6.05846 3.34587 6.26167 3.27059 6.48229 3.26676C6.48815 3.26665 6.49403 3.2666 6.49991 3.2666C6.49994 3.2666 6.49997 3.2666 6.5 3.2666H11V2.25C11 2.11193 11.1119 2 11.25 2H12.75C12.8881 2 13 2.11193 13 2.25V3.2666H17.4999H17.5C17.9735 3.2666 18.3702 3.59573 18.4737 4.0377L19.7719 9H22V10C22 12.4301 20.03 14.4 17.6 14.4C15.1699 14.4 13.2 12.4301 13.2 10V9H15.2279L16.2046 5.2666H13ZM6.49991 8.21751L6.70463 9H6.29519L6.49991 8.21751ZM4.21762 11C4.59682 11.8262 5.4314 12.4 6.4 12.4C7.3686 12.4 8.20318 11.8262 8.58238 11H4.21762ZM17.7046 9L17.4999 8.21751L17.2952 9H17.7046ZM17.6 12.4C16.6314 12.4 15.7968 11.8262 15.4176 11H19.7823C19.4031 11.8262 18.5686 12.4 17.6 12.4Z\", fill }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M13 5.2666V20H17.25C17.3881 20 17.5 20.1119 17.5 20.25V21.75C17.5 21.8881 17.3881 22 17.25 22H6.75C6.61193 22 6.5 21.8881 6.5 21.75V20.25C6.5 20.1119 6.61193 20 6.75 20H11V5.2666H7.79519L8.83735 9.25H10.55V10C10.55 12.292 8.69198 14.15 6.4 14.15C4.10802 14.15 2.25 12.292 2.25 10V9.25H4.16247L5.52819 4.02988C5.55054 3.93778 5.58564 3.85068 5.63152 3.77053C5.69876 3.65281 5.78874 3.55107 5.89482 3.47044C6.05846 3.34587 6.26167 3.27059 6.48229 3.26676C6.48815 3.26665 6.49403 3.2666 6.49991 3.2666C6.49988 3.2666 6.49994 3.2666 6.49991 3.2666H11V2.25C11 2.11193 11.1119 2 11.25 2H12.75C12.8881 2 13 2.11193 13 2.25V3.2666H17.4999C17.9734 3.2666 18.3702 3.59573 18.4737 4.0377L19.8373 9.25H21.75V10C21.75 12.292 19.8919 14.15 17.6 14.15C15.308 14.15 13.45 12.292 13.45 10V9.25H15.1625L16.2046 5.2666H13ZM6.49991 8.21751L6.77003 9.25H6.22979L6.49991 8.21751ZM17.77 9.25L17.4999 8.21751L17.2298 9.25H17.77Z\", fill }) })\n});\nexport {\n  law\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst eyeOn = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.9943 8.3938C10.0027 8.3938 8.38818 10.0083 8.38818 11.9999C8.38818 13.9915 10.0027 15.606 11.9943 15.606C13.9859 15.606 15.6004 13.9915 15.6004 11.9999C15.6004 10.0083 13.9859 8.3938 11.9943 8.3938ZM9.38818 11.9999C9.38818 10.5606 10.555 9.3938 11.9943 9.3938C13.4336 9.3938 14.6004 10.5606 14.6004 11.9999C14.6004 13.4392 13.4336 14.606 11.9943 14.606C10.555 14.606 9.38818 13.4392 9.38818 11.9999Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.9941 5.5C8.03446 5.5 4.36296 7.91761 2.3093 11.7645L2.18359 12L2.3093 12.2355C4.36296 16.0824 8.03446 18.5 11.9941 18.5C15.9547 18.5 19.6262 16.0824 21.6799 12.2355L21.8056 12L21.6799 11.7645C19.6262 7.91759 15.9547 5.5 11.9941 5.5ZM11.9941 17.5C8.53629 17.5 5.24744 15.4315 3.32041 12C5.24744 8.56854 8.53629 6.5 11.9941 6.5C15.4529 6.5 18.7417 8.56856 20.6688 12C18.7417 15.4314 15.4529 17.5 11.9941 17.5Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.9942 8.09375C9.83696 8.09375 8.08813 9.84257 8.08813 11.9999C8.08813 14.1571 9.83696 15.906 11.9942 15.906C14.1515 15.906 15.9003 14.1571 15.9003 11.9999C15.9003 9.84257 14.1515 8.09375 11.9942 8.09375ZM9.68813 11.9999C9.68813 10.7262 10.7206 9.69375 11.9942 9.69375C13.2679 9.69375 14.3003 10.7262 14.3003 11.9999C14.3003 13.2735 13.2679 14.306 11.9942 14.306C10.7206 14.306 9.68813 13.2735 9.68813 11.9999Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.9943 5.19995C7.90766 5.19995 4.14255 7.69383 2.04488 11.6232L1.84375 12L2.04488 12.3767C4.14255 16.3061 7.90766 18.8 11.9943 18.8C16.0819 18.8 19.847 16.3061 21.9447 12.3767L22.1459 12L21.9447 11.6232C19.847 7.69379 16.0819 5.19995 11.9943 5.19995ZM11.9943 17.2C8.70968 17.2 5.55805 15.2625 3.66604 11.9999C5.55805 8.73738 8.70968 6.79995 11.9943 6.79995C15.2799 6.79995 18.4316 8.73742 20.3236 11.9999C18.4316 15.2625 15.2799 17.2 11.9943 17.2Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.9943 7.8938C9.72655 7.8938 7.88818 9.73216 7.88818 11.9999C7.88818 14.2676 9.72655 16.106 11.9943 16.106C14.262 16.106 16.1004 14.2676 16.1004 11.9999C16.1004 9.73216 14.262 7.8938 11.9943 7.8938ZM9.88818 11.9999C9.88818 10.8367 10.8311 9.8938 11.9943 9.8938C13.1575 9.8938 14.1004 10.8367 14.1004 11.9999C14.1004 13.1631 13.1575 14.106 11.9943 14.106C10.8311 14.106 9.88818 13.1631 9.88818 11.9999Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.9942 5C7.82288 5 3.99537 7.54472 1.86835 11.5291L1.61694 12L1.86835 12.4709C3.99537 16.4553 7.82288 19 11.9942 19C16.1665 19 19.994 16.4553 22.1211 12.4709L22.3725 12L22.1211 11.5291C19.994 7.54467 16.1665 5 11.9942 5ZM11.9942 17C8.82466 17 5.76506 15.1491 3.89779 12C5.76506 8.85094 8.82466 7 11.9942 7C15.1648 7 18.2244 8.85098 20.0916 12C18.2244 15.149 15.1648 17 11.9942 17Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M9.38916 11.9996C9.38916 10.5626 10.5572 9.39355 11.9942 9.39355C13.4312 9.39355 14.5992 10.5626 14.5992 11.9996C14.5992 13.4376 13.4312 14.6066 11.9942 14.6066C10.5572 14.6066 9.38916 13.4376 9.38916 11.9996Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.9942 5.34937C15.9622 5.34937 19.7232 7.78136 21.8122 11.6944L21.9752 12.0004L21.8122 12.3054C19.7232 16.2184 15.9622 18.6504 11.9942 18.6504C8.02718 18.6504 4.26518 16.2184 2.17718 12.3054L2.01318 12.0004L2.17718 11.6944C4.26518 7.78136 8.02718 5.34937 11.9942 5.34937ZM8.38918 12.0004C8.38918 13.9884 10.0062 15.6064 11.9942 15.6064C13.9822 15.6064 15.5992 13.9884 15.5992 12.0004C15.5992 10.0114 13.9822 8.39337 11.9942 8.39337C10.0062 8.39337 8.38918 10.0114 8.38918 12.0004Z\", fill })\n  ] }) })\n});\nexport {\n  eyeOn\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nconst eyeOff = (fill) => ({\n  light: /* @__PURE__ */ jsxs(\"g\", { id: \"weight=light, fill=false\", children: [\n    /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 9.36523C11.2987 9.36523 10.6408 9.63749 10.1436 10.1348C9.6474 10.6309 9.375 11.2887 9.375 11.9912C9.375 12.6935 9.64724 13.3505 10.1439 13.848L9.43615 14.5545C8.75276 13.8699 8.375 12.959 8.375 11.9912C8.375 11.0237 8.7526 10.1115 9.43645 9.42768C10.1212 8.74298 11.0333 8.36523 12 8.36523C12.9667 8.36523 13.8788 8.74298 14.5636 9.42768L13.8564 10.1348C13.3592 9.63749 12.7013 9.36523 12 9.36523Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { id: \"vector_2\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.66455 19.3404L19.7316 4.27344L20.4387 4.98054L5.37166 20.0475L4.66455 19.3404Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { id: \"vector_3\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8.57491 16.8422C6.43688 15.9639 4.55166 14.2781 3.26807 11.9913C5.20685 8.53643 8.51818 6.45337 12.0001 6.45337C13.869 6.45337 15.6887 7.05347 17.2734 8.14369L17.9913 7.42581C16.2195 6.16306 14.152 5.45337 12.0001 5.45337C8.01641 5.45337 4.32236 7.88546 2.25697 11.756L2.13135 11.9914L2.257 12.2268C3.56767 14.6824 5.53421 16.559 7.81442 17.6027L8.57491 16.8422ZM9.62798 17.2033L8.82724 18.0041C9.84504 18.3468 10.9118 18.5284 12.0001 18.5284C15.9838 18.5284 19.6778 16.0963 21.7432 12.2268L21.8689 11.9914L21.7432 11.756C20.9648 10.2972 19.955 9.04272 18.7855 8.04579L18.0763 8.75502C19.109 9.62183 20.0146 10.7126 20.7321 11.9913C18.7933 15.4453 15.482 17.5284 12.0001 17.5284C11.1953 17.5284 10.3997 17.4171 9.62798 17.2033Z\", fill })\n  ] }),\n  regular: /* @__PURE__ */ jsxs(\"g\", { id: \"weight=regular, fill=false\", children: [\n    /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 9.66519C11.3783 9.66519 10.7968 9.9058 10.3557 10.3469C9.91586 10.7867 9.67501 11.3682 9.67501 11.9912C9.67501 12.6138 9.9156 13.1947 10.3562 13.636L9.22385 14.7664C8.48442 14.0257 8.07501 13.0386 8.07501 11.9912C8.07501 10.9442 8.48417 9.95566 9.22433 9.2155C9.96526 8.47457 10.9537 8.06519 12 8.06519C13.0463 8.06519 14.0348 8.47457 14.7757 9.2155L13.6443 10.3469C13.2033 9.9058 12.6217 9.66519 12 9.66519Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { id: \"vector_2\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.45239 19.1283L19.5194 4.06128L20.6508 5.19265L5.58376 20.2597L4.45239 19.1283Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { id: \"vector_3\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.09642 16.7206C6.90547 15.9408 4.94752 14.2934 3.61337 11.9913C5.51719 8.70528 8.6913 6.75332 12.0001 6.75332C13.8767 6.75332 15.71 7.38121 17.2927 8.52426L18.4364 7.38062C16.5598 5.96047 14.3319 5.15332 12.0001 5.15332C7.88936 5.15332 4.10168 7.66166 1.99226 11.6147L1.79126 11.9914L1.9923 12.368C3.36398 14.9378 5.44528 16.8972 7.86357 17.9534L9.09642 16.7206ZM10.9207 17.1591L9.55168 18.5281C10.347 18.7253 11.1669 18.8283 12.0001 18.8283C16.1107 18.8283 19.8984 16.32 22.0078 12.368L22.2089 11.9914L22.0079 11.6147C21.3646 10.4092 20.5653 9.33808 19.6483 8.43146L18.5176 9.56218C19.2233 10.2587 19.8546 11.0729 20.3867 11.9913C18.4829 15.2764 15.3088 17.2283 12.0001 17.2283C11.6382 17.2283 11.2779 17.205 10.9207 17.1591Z\", fill })\n  ] }),\n  bold: /* @__PURE__ */ jsxs(\"g\", { id: \"weight=bold, fill=false\", children: [\n    /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12 9.86523C11.4314 9.86523 10.9007 10.0848 10.4971 10.4883C10.0948 10.8906 9.875 11.4212 9.875 11.9912C9.875 12.5608 10.0945 13.0908 10.4977 13.4947L9.08229 14.9077C8.30551 14.1296 7.875 13.0917 7.875 11.9912C7.875 10.8913 8.30519 9.85183 9.08289 9.07413C9.8613 8.29572 10.9006 7.86523 12 7.86523C13.0994 7.86523 14.1387 8.29572 14.9171 9.07413L13.5029 10.4883C13.0993 10.0848 12.5686 9.86523 12 9.86523Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { id: \"vector_2\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4.31104 18.9869L19.378 3.91992L20.7922 5.33414L5.72525 20.4011L4.31104 18.9869Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { id: \"vector_3\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.47925 16.6378C7.24185 15.9356 5.22099 14.3136 3.84506 11.9913C5.72419 8.81882 8.80625 6.95337 12 6.95337C13.8884 6.95337 15.7377 7.60558 17.3225 8.79456L18.7481 7.36895C16.801 5.83316 14.4598 4.95337 12 4.95337C7.80458 4.95337 3.95447 7.51254 1.81571 11.5206L1.56445 11.9914L1.81576 12.4623C3.23241 15.1163 5.39985 17.1352 7.92112 18.1959L9.47925 16.6378ZM11.9175 17.028L10.0945 18.851C10.7182 18.9679 11.355 19.0284 12 19.0284C16.1953 19.0284 20.0454 16.4692 22.1842 12.4623L22.4355 11.9914L22.1842 11.5206C21.6334 10.4883 20.969 9.55213 20.2144 8.73103L18.7996 10.1459C19.299 10.698 19.7542 11.315 20.1549 11.9913C18.2757 15.1629 15.1937 17.0284 12 17.0284C11.9725 17.0284 11.945 17.0282 11.9175 17.028Z\", fill })\n  ] }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17.7599 7.90321L17.2909 8.37121L8.88791 16.7752L8.38291 17.2792L5.45491 20.2082L4.53491 19.2882L6.66991 17.1532C4.82891 16.0472 3.23891 14.3852 2.12491 12.2972L1.96191 11.9912L2.12491 11.6852C4.22591 7.74921 8.00991 5.30321 11.9999 5.30321C13.7939 5.30321 15.5439 5.80121 17.1209 6.70321L19.6029 4.22021L20.5219 5.14021L17.7599 7.90321ZM9.43691 9.42822C8.75191 10.1122 8.37491 11.0222 8.37491 11.9912C8.37491 12.9192 8.72891 13.7882 9.35991 14.4632L9.71491 14.1082L10.0679 13.7562C9.62491 13.2702 9.37491 12.6512 9.37491 11.9912C9.37491 11.2902 9.64791 10.6312 10.1439 10.1352C11.1069 9.17122 12.7599 9.15121 13.7639 10.0592L14.4709 9.35221C13.0879 8.06621 10.7789 8.08521 9.43691 9.42822Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M19.0169 8.06055C20.1409 9.04655 21.1179 10.2675 21.8749 11.6855L22.0379 11.9915L21.8749 12.2965C19.7739 16.2335 15.9899 18.6785 11.9999 18.6785C10.9419 18.6785 9.9009 18.5015 8.8999 18.1765L19.0169 8.06055Z\", fill })\n  ] }) })\n});\nexport {\n  eyeOff\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst bars = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M5 6.69287H18.9996V5.69287H5V6.69287Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M18.9996 12.5H5V11.5H18.9996V12.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { d: \"M18.9996 18.3071H5V17.3071H18.9996V18.3071Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.9996 12.8H5V11.2H18.9996V12.8Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.9996 18.6071H5V17.0071H18.9996V18.6071Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.9996 6.99282H5V5.39282H18.9996V6.99282Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.9996 13H5V11H18.9996V13Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.9996 18.8071H5V16.8071H18.9996V18.8071Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.9996 7.19287H5V5.19287H18.9996V7.19287Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.9996 13H5V11H18.9996V13Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.9996 18.8071H5V16.8071H18.9996V18.8071Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.9996 7.19287H5V5.19287H18.9996V7.19287Z\", fill })\n  ] }) })\n});\nexport {\n  bars\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst filterDot = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.84 6.99219H15.6602V5.99219H18.84V6.99219Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.6756 6.99219H5.16016V5.99219H12.6756V6.99219Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.8398 12.5H5.16016V11.5H18.8398V12.5Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.168 5.5C13.62 5.5 13.1758 5.94422 13.1758 6.4922C13.1758 7.04018 13.62 7.4844 14.168 7.4844C14.716 7.4844 15.1602 7.04018 15.1602 6.4922C15.1602 5.94422 14.716 5.5 14.168 5.5ZM12.1758 6.4922C12.1758 5.39194 13.0677 4.5 14.168 4.5C15.2682 4.5 16.1602 5.39194 16.1602 6.4922C16.1602 7.59246 15.2682 8.4844 14.168 8.4844C13.0677 8.4844 12.1758 7.59246 12.1758 6.4922Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M5.16016 17.0078H8.33996V18.0078H5.16016V17.0078Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.3242 17.0078H18.8396V18.0078H11.3242V17.0078Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.83204 16.5156C9.28407 16.5156 8.83984 16.9598 8.83984 17.5078C8.83984 18.0558 9.28407 18.5 9.83204 18.5C10.38 18.5 10.8242 18.0558 10.8242 17.5078C10.8242 16.9598 10.38 16.5156 9.83204 16.5156ZM7.83984 17.5078C7.83984 16.4076 8.73178 15.5156 9.83204 15.5156C10.9323 15.5156 11.8242 16.4076 11.8242 17.5078C11.8242 18.6081 10.9323 19.5 9.83204 19.5C8.73178 19.5 7.83984 18.6081 7.83984 17.5078Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.84 7.29214H15.6602V5.69214H18.84V7.29214Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.6756 7.29214H5.16016V5.69214H12.6756V7.29214Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.8398 12.8H5.16016V11.2H18.8398V12.8Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.168 5.79995C13.7857 5.79995 13.4758 6.10986 13.4758 6.49215C13.4758 6.87444 13.7857 7.18435 14.168 7.18435C14.5503 7.18435 14.8602 6.87444 14.8602 6.49215C14.8602 6.10986 14.5503 5.79995 14.168 5.79995ZM11.8758 6.49215C11.8758 5.2262 12.902 4.19995 14.168 4.19995C15.4339 4.19995 16.4602 5.2262 16.4602 6.49215C16.4602 7.7581 15.4339 8.78435 14.168 8.78435C12.902 8.78435 11.8758 7.7581 11.8758 6.49215Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M5.16016 16.7078H8.33996V18.3078H5.16016V16.7078Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.3242 16.7078H18.8396V18.3078H11.3242V16.7078Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.83204 16.8156C9.44975 16.8156 9.13984 17.1255 9.13984 17.5078C9.13984 17.8901 9.44975 18.2 9.83204 18.2C10.2143 18.2 10.5242 17.8901 10.5242 17.5078C10.5242 17.1255 10.2143 16.8156 9.83204 16.8156ZM7.53984 17.5078C7.53984 16.2418 8.5661 15.2156 9.83204 15.2156C11.098 15.2156 12.1242 16.2418 12.1242 17.5078C12.1242 18.7737 11.098 19.8 9.83204 19.8C8.5661 19.8 7.53984 18.7737 7.53984 17.5078Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.84 7.49219H15.6602V5.49219H18.84V7.49219Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.6756 7.49219H5.16016V5.49219H12.6756V7.49219Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.8398 13H5.16016V11H18.8398V13Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.168 6C13.8961 6 13.6758 6.22037 13.6758 6.4922C13.6758 6.76403 13.8961 6.9844 14.168 6.9844C14.4398 6.9844 14.6602 6.76403 14.6602 6.4922C14.6602 6.22037 14.4398 6 14.168 6ZM11.6758 6.4922C11.6758 5.1158 12.7916 4 14.168 4C15.5444 4 16.6602 5.1158 16.6602 6.4922C16.6602 7.8686 15.5444 8.9844 14.168 8.9844C12.7916 8.9844 11.6758 7.8686 11.6758 6.4922Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M5.16016 16.5078H8.33996V18.5078H5.16016V16.5078Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.3242 16.5078H18.8396V18.5078H11.3242V16.5078Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.83204 17.0156C9.56021 17.0156 9.33984 17.236 9.33984 17.5078C9.33984 17.7797 9.56021 18 9.83204 18C10.1039 18 10.3242 17.7797 10.3242 17.5078C10.3242 17.236 10.1039 17.0156 9.83204 17.0156ZM7.33984 17.5078C7.33984 16.1314 8.45564 15.0156 9.83204 15.0156C11.2084 15.0156 12.3242 16.1314 12.3242 17.5078C12.3242 18.8842 11.2084 20 9.83204 20C8.45564 20 7.33984 18.8842 7.33984 17.5078Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.84 7.49219H15.6602V5.49219H18.84V7.49219Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.6756 7.49219H5.16016V5.49219H12.6756V7.49219Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M18.8398 13H5.16016V11H18.8398V13Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.168 6C13.8961 6 13.6758 6.22037 13.6758 6.4922C13.6758 6.76403 13.8961 6.9844 14.168 6.9844C14.4398 6.9844 14.6602 6.76403 14.6602 6.4922C14.6602 6.22037 14.4398 6 14.168 6ZM11.6758 6.4922C11.6758 5.1158 12.7916 4 14.168 4C15.5444 4 16.6602 5.1158 16.6602 6.4922C16.6602 7.8686 15.5444 8.9844 14.168 8.9844C12.7916 8.9844 11.6758 7.8686 11.6758 6.4922Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M5.16016 16.5078H8.33996V18.5078H5.16016V16.5078Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.3242 16.5078H18.8396V18.5078H11.3242V16.5078Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.83204 17.0156C9.56021 17.0156 9.33984 17.236 9.33984 17.5078C9.33984 17.7797 9.56021 18 9.83204 18C10.1039 18 10.3242 17.7797 10.3242 17.5078C10.3242 17.236 10.1039 17.0156 9.83204 17.0156ZM7.33984 17.5078C7.33984 16.1314 8.45564 15.0156 9.83204 15.0156C11.2084 15.0156 12.3242 16.1314 12.3242 17.5078C12.3242 18.8842 11.2084 20 9.83204 20C8.45564 20 7.33984 18.8842 7.33984 17.5078Z\", fill })\n  ] }) })\n});\nexport {\n  filterDot\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nconst checkCalendar = (fill) => ({\n  light: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M15.3248 9.5332L11.1945 14.574L8.68976 11.2016L7.88696 11.7978L10.7738 15.6846C10.8656 15.8083 11.0093 15.8827 11.1633 15.8864C11.3172 15.89 11.4643 15.8225 11.5619 15.7034L16.0983 10.167L15.3248 9.5332Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8.02441 4.48633V2.10205H7.02441V4.48633H4.5C3.94886 4.48633 3.5 4.93519 3.5 5.48633V19.3979C3.5 19.9491 3.94886 20.3979 4.5 20.3979H19.5C20.0511 20.3979 20.5 19.9491 20.5 19.3979V5.48633C20.5 4.93519 20.0511 4.48633 19.5 4.48633H16.8538V2.10205H15.8538V4.48633H8.02441ZM4.5 5.48633H19.5V19.3979H4.5V5.48633Z\", fill })\n  ] }) }),\n  regular: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { d: \"M15.0926 8.99292L11.206 13.7363L8.93047 10.6726L7.646 11.6266L10.5328 15.5134C10.6797 15.7112 10.9096 15.8303 11.156 15.8361C11.4023 15.842 11.6377 15.734 11.7938 15.5434L16.3302 10.007L15.0926 8.99292Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8.32437 4.18628V2.10205H6.72437V4.18628H4.49995C3.78312 4.18628 3.19995 4.76945 3.19995 5.48628V19.3979C3.19995 20.1147 3.78312 20.6979 4.49995 20.6979H19.5C20.2168 20.6979 20.7999 20.1147 20.7999 19.3979V5.48628C20.7999 4.76945 20.2168 4.18628 19.5 4.18628H17.1537V2.10205H15.5537V4.18628H8.32437ZM4.79995 19.0979V5.78628H19.2V19.0979H4.79995Z\", fill })\n  ] }) }),\n  bold: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsxs(\"g\", { id: \"vector\", children: [\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M5 5.98633V18.8979H19V5.98633H5ZM3 5.48633C3 4.65904 3.67272 3.98633 4.5 3.98633H19.5C20.3273 3.98633 21 4.65904 21 5.48633V19.3979C21 20.2252 20.3273 20.8979 19.5 20.8979H4.5C3.67272 20.8979 3 20.2252 3 19.3979V5.48633Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8.52441 2.10205V4.98625H6.52441V2.10205H8.52441Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M17.3538 2.10205V4.98625H15.3538V2.10205H17.3538Z\", fill }),\n    /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M11.2138 13.4114L14.938 8.86621L16.485 10.1338L11.9486 15.6702C11.7534 15.9085 11.4593 16.0434 11.1513 16.0361C10.8434 16.0288 10.556 15.8799 10.3723 15.6327L7.48553 11.7459L9.09113 10.5533L11.2138 13.4114Z\", fill })\n  ] }) }),\n  fill: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8.52441 3.98633V2.10205H6.52441V3.98633H4.5C3.67272 3.98633 3 4.65904 3 5.48633V19.3979C3 20.2252 3.67272 20.8979 4.5 20.8979H19.5C20.3273 20.8979 21 20.2252 21 19.3979V5.48633C21 4.65904 20.3273 3.98633 19.5 3.98633H17.3538V2.10205H15.3538V3.98633H8.52441ZM14.9381 9L11.2139 13.5452L9.09119 10.6871L7.4856 11.8796L10.3724 15.7664C10.5561 16.0137 10.8434 16.1626 11.1514 16.1699C11.4593 16.1772 11.7535 16.0422 11.9487 15.804L16.4851 10.2676L14.9381 9Z\", fill }) })\n});\nexport {\n  checkCalendar\n};\n","import { jsx, Fragment } from \"react/jsx-runtime\";\nconst hanger = (fill) => ({\n  light: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(\"g\", { id: \"weight=light, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.1018 6.87183C10.1018 5.82348 10.9516 4.97363 12 4.97363C13.0484 4.97363 13.8982 5.82348 13.8982 6.87183C13.8982 7.92016 13.0484 8.76993 12 8.76993C11.7239 8.76993 11.5 8.99379 11.5 9.26993V11.7286L2.61451 19.1425C2.45292 19.2774 2.39305 19.4989 2.46476 19.6968C2.53646 19.8947 2.72439 20.0264 2.93484 20.0264H21.065C21.2755 20.0264 21.4634 19.8947 21.5351 19.6968C21.6068 19.4989 21.547 19.2774 21.3854 19.1425L12.5 11.7287V9.72697C13.8623 9.49007 14.8982 8.30199 14.8982 6.87183C14.8982 5.27119 13.6006 3.97363 12 3.97363C10.3994 3.97363 9.10181 5.27119 9.10181 6.87183H10.1018ZM19.6854 19.0264H4.31453L11.9999 12.6138L19.6854 19.0264Z\", fill }) }) }),\n  regular: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(\"g\", { id: \"weight=regular, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.4018 6.87178C10.4018 5.98911 11.1173 5.27358 12 5.27358C12.8826 5.27358 13.5982 5.98911 13.5982 6.87178C13.5982 7.75441 12.8827 8.46988 12 8.46988C11.5581 8.46988 11.2 8.82806 11.2 9.26988V11.5882L2.42228 18.9121C2.16373 19.1279 2.06795 19.4824 2.18267 19.799C2.2974 20.1155 2.59808 20.3264 2.93481 20.3264H21.065C21.4017 20.3264 21.7024 20.1155 21.8171 19.799C21.9319 19.4824 21.8361 19.1279 21.5775 18.9121L12.8 11.5882V9.96902C14.1791 9.61386 15.1982 8.3619 15.1982 6.87178C15.1982 5.10546 13.7663 3.67358 12 3.67358C10.2336 3.67358 8.80176 5.10546 8.80176 6.87178H10.4018ZM18.8575 18.7264H5.1423L11.9999 13.0045L18.8575 18.7264Z\", fill }) }) }),\n  bold: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=false\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.6018 6.87183C10.6018 6.09962 11.2278 5.47363 12 5.47363C12.7722 5.47363 13.3982 6.09962 13.3982 6.87183C13.3982 7.64399 12.7723 8.26993 12 8.26993C11.4477 8.26993 11 8.71765 11 9.26993V11.4946L2.2942 18.7586C1.97102 19.0283 1.85129 19.4714 1.9947 19.8672C2.13811 20.2629 2.51396 20.5264 2.93487 20.5264H21.0651C21.486 20.5264 21.8618 20.2629 22.0052 19.8672C22.1486 19.4714 22.0289 19.0283 21.7057 18.7586L13 11.4947V10.1204C14.3887 9.69348 15.3982 8.40062 15.3982 6.87183C15.3982 4.99505 13.8768 3.47363 12 3.47363C10.1232 3.47363 8.60181 4.99505 8.60181 6.87183H10.6018ZM12 13.265L18.3057 18.5264H5.69424L12 13.265Z\", fill }) }) }),\n  fill: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M10.6018 6.87183C10.6018 6.09962 11.2278 5.47363 12 5.47363C12.7722 5.47363 13.3982 6.09962 13.3982 6.87183C13.3982 7.64399 12.7723 8.26993 12 8.26993C11.4477 8.26993 11 8.71765 11 9.26993V11.4946L2.2942 18.7586C1.97102 19.0283 1.85129 19.4714 1.9947 19.8672C2.13811 20.2629 2.51396 20.5264 2.93487 20.5264H21.0651C21.486 20.5264 21.8618 20.2629 22.0052 19.8672C22.1486 19.4714 22.0289 19.0283 21.7057 18.7586L13 11.4947V10.1204C14.3887 9.69348 15.3982 8.40062 15.3982 6.87183C15.3982 4.99505 13.8768 3.47363 12 3.47363C10.1232 3.47363 8.60181 4.99505 8.60181 6.87183H10.6018Z\", fill }) }) })\n});\nexport {\n  hanger\n};\n","import { searchList } from \"./searchList.js\";\nimport { search } from \"./search.js\";\nimport { download } from \"./download.js\";\nimport { downloadSlim } from \"./downloadSlim.js\";\nimport { close } from \"./close.js\";\nimport { plus } from \"./plus.js\";\nimport { minus } from \"./minus.js\";\nimport { arrowLeft } from \"./arrowLeft.js\";\nimport { arrowRight } from \"./arrowRight.js\";\nimport { chevronRight } from \"./chevronRight.js\";\nimport { chevronLeft } from \"./chevronLeft.js\";\nimport { chevronDown } from \"./chevronDown.js\";\nimport { chevronUp } from \"./chevronUp.js\";\nimport { check } from \"./check.js\";\nimport { document } from \"./document.js\";\nimport { my } from \"./my.js\";\nimport { box } from \"./box.js\";\nimport { home } from \"./home.js\";\nimport { heart } from \"./heart.js\";\nimport { house } from \"./house.js\";\nimport { bag } from \"./bag.js\";\nimport { bell } from \"./bell.js\";\nimport { bellOff } from \"./bellOff.js\";\nimport { star } from \"./star.js\";\nimport { setting } from \"./setting.js\";\nimport { question } from \"./question.js\";\nimport { gift } from \"./gift.js\";\nimport { remove } from \"./remove.js\";\nimport { share } from \"./share.js\";\nimport { comment } from \"./comment.js\";\nimport { caution } from \"./caution.js\";\nimport { disclosureOff } from \"./disclosureOff.js\";\nimport { disclosureOn } from \"./disclosureOn.js\";\nimport { filter } from \"./filter.js\";\nimport { scrap } from \"./scrap.js\";\nimport { trash } from \"./trash.js\";\nimport { lock } from \"./lock.js\";\nimport { lockOff } from \"./lockOff.js\";\nimport { coupon } from \"./coupon.js\";\nimport { clock } from \"./clock.js\";\nimport { redo } from \"./redo.js\";\nimport { won } from \"./won.js\";\nimport { pencil } from \"./pencil.js\";\nimport { delivery } from \"./delivery.js\";\nimport { law } from \"./law.js\";\nimport { eyeOn } from \"./eyeOn.js\";\nimport { eyeOff } from \"./eyeOff.js\";\nimport { bars } from \"./bars.js\";\nimport { filterDot } from \"./filterDot.js\";\nimport { checkCalendar } from \"./checkCalendar.js\";\nimport { hanger } from \"./hanger.js\";\nexport {\n  arrowLeft,\n  arrowRight,\n  bag,\n  bars,\n  bell,\n  bellOff,\n  box,\n  caution,\n  check,\n  checkCalendar,\n  chevronDown,\n  chevronLeft,\n  chevronRight,\n  chevronUp,\n  clock,\n  close,\n  comment,\n  coupon,\n  delivery,\n  disclosureOff,\n  disclosureOn,\n  document,\n  download,\n  downloadSlim,\n  eyeOff,\n  eyeOn,\n  filter,\n  filterDot,\n  gift,\n  hanger,\n  heart,\n  home,\n  house,\n  law,\n  lock,\n  lockOff,\n  minus,\n  my,\n  pencil,\n  plus,\n  question,\n  redo,\n  remove,\n  scrap,\n  search,\n  searchList,\n  setting,\n  share,\n  star,\n  trash,\n  won\n};\n","import { useMemo } from \"react\";\nimport * as index from \"./assets/index.js\";\nconst useIconAsset = ({\n  type,\n  color,\n  fill,\n  weight\n}) => {\n  const icon = index[type](color);\n  const asset = useMemo(() => {\n    if (fill) {\n      return icon.fill;\n    }\n    return icon[weight];\n  }, [icon, fill, weight]);\n  return asset;\n};\nexport {\n  useIconAsset\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useIconAsset } from \"./Icon.hooks.js\";\nconst Icon = forwardRef(({\n  style,\n  type,\n  size = 24,\n  weight = \"light\",\n  fill = false,\n  color = \"rgba(0, 0, 0, 1)\",\n  onClick\n}, ref) => {\n  const asset = useIconAsset({\n    type,\n    weight,\n    color,\n    fill\n  });\n  return /* @__PURE__ */ jsx(\"svg\", { ref, xmlns: \"http://www.w3.org/2000/svg\", style: {\n    ...style,\n    width: size,\n    height: size,\n    minWidth: size,\n    minHeight: size\n  }, viewBox: \"0 0 24 24\", fill: \"none\", color, onClick, children: asset });\n});\nexport {\n  Icon\n};\n","import { useContext } from \"react\";\nimport { BreakpointContext } from \"./BreakpointProvider.js\";\nconst useBreakpointContext = () => {\n  return useContext(BreakpointContext);\n};\nexport {\n  useBreakpointContext\n};\n","import \"../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport { useBreakpointContext } from \"../components/@shared/providers/BreakpointProvider/BreakpointProvider.hooks.js\";\nconst useBreakpoint = () => {\n  const {\n    breakpoint\n  } = useBreakpointContext();\n  return breakpoint;\n};\nexport {\n  useBreakpoint\n};\n","var index = {};\nexport {\n  index as __exports\n};\n","import process$1 from \"../../../vite-plugin-node-polyfills/shims/process/dist/index.js\";\nimport { __exports as index } from \"../../../../_virtual/index.js\";\nimport React__default$1 from \"react\";\nvar React = React__default$1;\nfunction _interopDefaultLegacy(e) {\n  return e && typeof e === \"object\" && \"default\" in e ? e : { \"default\": e };\n}\nvar React__default = /* @__PURE__ */ _interopDefaultLegacy(React);\nfunction _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor)\n      descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps)\n    _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps)\n    _defineProperties(Constructor, staticProps);\n  return Constructor;\n}\nvar isProd = typeof process$1 !== \"undefined\" && process$1.env && process$1.env.NODE_ENV === \"production\";\nvar isString = function(o) {\n  return Object.prototype.toString.call(o) === \"[object String]\";\n};\nvar StyleSheet = /* @__PURE__ */ function() {\n  function StyleSheet2(param) {\n    var ref = param === void 0 ? {} : param, _name = ref.name, name = _name === void 0 ? \"stylesheet\" : _name, _optimizeForSpeed = ref.optimizeForSpeed, optimizeForSpeed = _optimizeForSpeed === void 0 ? isProd : _optimizeForSpeed;\n    invariant$1(isString(name), \"`name` must be a string\");\n    this._name = name;\n    this._deletedRulePlaceholder = \"#\" + name + \"-deleted-rule____{}\";\n    invariant$1(typeof optimizeForSpeed === \"boolean\", \"`optimizeForSpeed` must be a boolean\");\n    this._optimizeForSpeed = optimizeForSpeed;\n    this._serverSheet = void 0;\n    this._tags = [];\n    this._injected = false;\n    this._rulesCount = 0;\n    var node = typeof window !== \"undefined\" && document.querySelector('meta[property=\"csp-nonce\"]');\n    this._nonce = node ? node.getAttribute(\"content\") : null;\n  }\n  var _proto = StyleSheet2.prototype;\n  _proto.setOptimizeForSpeed = function setOptimizeForSpeed(bool) {\n    invariant$1(typeof bool === \"boolean\", \"`setOptimizeForSpeed` accepts a boolean\");\n    invariant$1(this._rulesCount === 0, \"optimizeForSpeed cannot be when rules have already been inserted\");\n    this.flush();\n    this._optimizeForSpeed = bool;\n    this.inject();\n  };\n  _proto.isOptimizeForSpeed = function isOptimizeForSpeed() {\n    return this._optimizeForSpeed;\n  };\n  _proto.inject = function inject() {\n    var _this = this;\n    invariant$1(!this._injected, \"sheet already injected\");\n    this._injected = true;\n    if (typeof window !== \"undefined\" && this._optimizeForSpeed) {\n      this._tags[0] = this.makeStyleTag(this._name);\n      this._optimizeForSpeed = \"insertRule\" in this.getSheet();\n      if (!this._optimizeForSpeed) {\n        if (!isProd) {\n          console.warn(\"StyleSheet: optimizeForSpeed mode not supported falling back to standard mode.\");\n        }\n        this.flush();\n        this._injected = true;\n      }\n      return;\n    }\n    this._serverSheet = {\n      cssRules: [],\n      insertRule: function(rule, index2) {\n        if (typeof index2 === \"number\") {\n          _this._serverSheet.cssRules[index2] = {\n            cssText: rule\n          };\n        } else {\n          _this._serverSheet.cssRules.push({\n            cssText: rule\n          });\n        }\n        return index2;\n      },\n      deleteRule: function(index2) {\n        _this._serverSheet.cssRules[index2] = null;\n      }\n    };\n  };\n  _proto.getSheetForTag = function getSheetForTag(tag) {\n    if (tag.sheet) {\n      return tag.sheet;\n    }\n    for (var i = 0; i < document.styleSheets.length; i++) {\n      if (document.styleSheets[i].ownerNode === tag) {\n        return document.styleSheets[i];\n      }\n    }\n  };\n  _proto.getSheet = function getSheet() {\n    return this.getSheetForTag(this._tags[this._tags.length - 1]);\n  };\n  _proto.insertRule = function insertRule(rule, index2) {\n    invariant$1(isString(rule), \"`insertRule` accepts only strings\");\n    if (typeof window === \"undefined\") {\n      if (typeof index2 !== \"number\") {\n        index2 = this._serverSheet.cssRules.length;\n      }\n      this._serverSheet.insertRule(rule, index2);\n      return this._rulesCount++;\n    }\n    if (this._optimizeForSpeed) {\n      var sheet = this.getSheet();\n      if (typeof index2 !== \"number\") {\n        index2 = sheet.cssRules.length;\n      }\n      try {\n        sheet.insertRule(rule, index2);\n      } catch (error) {\n        if (!isProd) {\n          console.warn(\"StyleSheet: illegal rule: \\n\\n\" + rule + \"\\n\\nSee https://stackoverflow.com/q/20007992 for more info\");\n        }\n        return -1;\n      }\n    } else {\n      var insertionPoint = this._tags[index2];\n      this._tags.push(this.makeStyleTag(this._name, rule, insertionPoint));\n    }\n    return this._rulesCount++;\n  };\n  _proto.replaceRule = function replaceRule(index2, rule) {\n    if (this._optimizeForSpeed || typeof window === \"undefined\") {\n      var sheet = typeof window !== \"undefined\" ? this.getSheet() : this._serverSheet;\n      if (!rule.trim()) {\n        rule = this._deletedRulePlaceholder;\n      }\n      if (!sheet.cssRules[index2]) {\n        return index2;\n      }\n      sheet.deleteRule(index2);\n      try {\n        sheet.insertRule(rule, index2);\n      } catch (error) {\n        if (!isProd) {\n          console.warn(\"StyleSheet: illegal rule: \\n\\n\" + rule + \"\\n\\nSee https://stackoverflow.com/q/20007992 for more info\");\n        }\n        sheet.insertRule(this._deletedRulePlaceholder, index2);\n      }\n    } else {\n      var tag = this._tags[index2];\n      invariant$1(tag, \"old rule at index `\" + index2 + \"` not found\");\n      tag.textContent = rule;\n    }\n    return index2;\n  };\n  _proto.deleteRule = function deleteRule(index2) {\n    if (typeof window === \"undefined\") {\n      this._serverSheet.deleteRule(index2);\n      return;\n    }\n    if (this._optimizeForSpeed) {\n      this.replaceRule(index2, \"\");\n    } else {\n      var tag = this._tags[index2];\n      invariant$1(tag, \"rule at index `\" + index2 + \"` not found\");\n      tag.parentNode.removeChild(tag);\n      this._tags[index2] = null;\n    }\n  };\n  _proto.flush = function flush() {\n    this._injected = false;\n    this._rulesCount = 0;\n    if (typeof window !== \"undefined\") {\n      this._tags.forEach(function(tag) {\n        return tag && tag.parentNode.removeChild(tag);\n      });\n      this._tags = [];\n    } else {\n      this._serverSheet.cssRules = [];\n    }\n  };\n  _proto.cssRules = function cssRules() {\n    var _this = this;\n    if (typeof window === \"undefined\") {\n      return this._serverSheet.cssRules;\n    }\n    return this._tags.reduce(function(rules, tag) {\n      if (tag) {\n        rules = rules.concat(Array.prototype.map.call(_this.getSheetForTag(tag).cssRules, function(rule) {\n          return rule.cssText === _this._deletedRulePlaceholder ? null : rule;\n        }));\n      } else {\n        rules.push(null);\n      }\n      return rules;\n    }, []);\n  };\n  _proto.makeStyleTag = function makeStyleTag(name, cssString, relativeToTag) {\n    if (cssString) {\n      invariant$1(isString(cssString), \"makeStyleTag accepts only strings as second parameter\");\n    }\n    var tag = document.createElement(\"style\");\n    if (this._nonce)\n      tag.setAttribute(\"nonce\", this._nonce);\n    tag.type = \"text/css\";\n    tag.setAttribute(\"data-\" + name, \"\");\n    if (cssString) {\n      tag.appendChild(document.createTextNode(cssString));\n    }\n    var head = document.head || document.getElementsByTagName(\"head\")[0];\n    if (relativeToTag) {\n      head.insertBefore(tag, relativeToTag);\n    } else {\n      head.appendChild(tag);\n    }\n    return tag;\n  };\n  _createClass(StyleSheet2, [\n    {\n      key: \"length\",\n      get: function get() {\n        return this._rulesCount;\n      }\n    }\n  ]);\n  return StyleSheet2;\n}();\nfunction invariant$1(condition, message) {\n  if (!condition) {\n    throw new Error(\"StyleSheet: \" + message + \".\");\n  }\n}\nfunction hash(str) {\n  var _$hash = 5381, i = str.length;\n  while (i) {\n    _$hash = _$hash * 33 ^ str.charCodeAt(--i);\n  }\n  return _$hash >>> 0;\n}\nvar stringHash = hash;\nvar sanitize = function(rule) {\n  return rule.replace(/\\/style/gi, \"\\\\/style\");\n};\nvar cache = {};\nfunction computeId(baseId, props) {\n  if (!props) {\n    return \"jsx-\" + baseId;\n  }\n  var propsToString = String(props);\n  var key = baseId + propsToString;\n  if (!cache[key]) {\n    cache[key] = \"jsx-\" + stringHash(baseId + \"-\" + propsToString);\n  }\n  return cache[key];\n}\nfunction computeSelector(id, css) {\n  var selectoPlaceholderRegexp = /__jsx-style-dynamic-selector/g;\n  if (typeof window === \"undefined\") {\n    css = sanitize(css);\n  }\n  var idcss = id + css;\n  if (!cache[idcss]) {\n    cache[idcss] = css.replace(selectoPlaceholderRegexp, id);\n  }\n  return cache[idcss];\n}\nfunction mapRulesToStyle(cssRules, options) {\n  if (options === void 0)\n    options = {};\n  return cssRules.map(function(args) {\n    var id = args[0];\n    var css = args[1];\n    return /* @__PURE__ */ React__default[\"default\"].createElement(\"style\", {\n      id: \"__\" + id,\n      // Avoid warnings upon render with a key\n      key: \"__\" + id,\n      nonce: options.nonce ? options.nonce : void 0,\n      dangerouslySetInnerHTML: {\n        __html: css\n      }\n    });\n  });\n}\nvar StyleSheetRegistry = /* @__PURE__ */ function() {\n  function StyleSheetRegistry2(param) {\n    var ref = param === void 0 ? {} : param, _styleSheet = ref.styleSheet, styleSheet = _styleSheet === void 0 ? null : _styleSheet, _optimizeForSpeed = ref.optimizeForSpeed, optimizeForSpeed = _optimizeForSpeed === void 0 ? false : _optimizeForSpeed;\n    this._sheet = styleSheet || new StyleSheet({\n      name: \"styled-jsx\",\n      optimizeForSpeed\n    });\n    this._sheet.inject();\n    if (styleSheet && typeof optimizeForSpeed === \"boolean\") {\n      this._sheet.setOptimizeForSpeed(optimizeForSpeed);\n      this._optimizeForSpeed = this._sheet.isOptimizeForSpeed();\n    }\n    this._fromServer = void 0;\n    this._indices = {};\n    this._instancesCounts = {};\n  }\n  var _proto = StyleSheetRegistry2.prototype;\n  _proto.add = function add(props) {\n    var _this = this;\n    if (void 0 === this._optimizeForSpeed) {\n      this._optimizeForSpeed = Array.isArray(props.children);\n      this._sheet.setOptimizeForSpeed(this._optimizeForSpeed);\n      this._optimizeForSpeed = this._sheet.isOptimizeForSpeed();\n    }\n    if (typeof window !== \"undefined\" && !this._fromServer) {\n      this._fromServer = this.selectFromServer();\n      this._instancesCounts = Object.keys(this._fromServer).reduce(function(acc, tagName) {\n        acc[tagName] = 0;\n        return acc;\n      }, {});\n    }\n    var ref = this.getIdAndRules(props), styleId = ref.styleId, rules = ref.rules;\n    if (styleId in this._instancesCounts) {\n      this._instancesCounts[styleId] += 1;\n      return;\n    }\n    var indices = rules.map(function(rule) {\n      return _this._sheet.insertRule(rule);\n    }).filter(function(index2) {\n      return index2 !== -1;\n    });\n    this._indices[styleId] = indices;\n    this._instancesCounts[styleId] = 1;\n  };\n  _proto.remove = function remove(props) {\n    var _this = this;\n    var styleId = this.getIdAndRules(props).styleId;\n    invariant(styleId in this._instancesCounts, \"styleId: `\" + styleId + \"` not found\");\n    this._instancesCounts[styleId] -= 1;\n    if (this._instancesCounts[styleId] < 1) {\n      var tagFromServer = this._fromServer && this._fromServer[styleId];\n      if (tagFromServer) {\n        tagFromServer.parentNode.removeChild(tagFromServer);\n        delete this._fromServer[styleId];\n      } else {\n        this._indices[styleId].forEach(function(index2) {\n          return _this._sheet.deleteRule(index2);\n        });\n        delete this._indices[styleId];\n      }\n      delete this._instancesCounts[styleId];\n    }\n  };\n  _proto.update = function update(props, nextProps) {\n    this.add(nextProps);\n    this.remove(props);\n  };\n  _proto.flush = function flush() {\n    this._sheet.flush();\n    this._sheet.inject();\n    this._fromServer = void 0;\n    this._indices = {};\n    this._instancesCounts = {};\n  };\n  _proto.cssRules = function cssRules() {\n    var _this = this;\n    var fromServer = this._fromServer ? Object.keys(this._fromServer).map(function(styleId) {\n      return [\n        styleId,\n        _this._fromServer[styleId]\n      ];\n    }) : [];\n    var cssRules2 = this._sheet.cssRules();\n    return fromServer.concat(Object.keys(this._indices).map(function(styleId) {\n      return [\n        styleId,\n        _this._indices[styleId].map(function(index2) {\n          return cssRules2[index2].cssText;\n        }).join(_this._optimizeForSpeed ? \"\" : \"\\n\")\n      ];\n    }).filter(function(rule) {\n      return Boolean(rule[1]);\n    }));\n  };\n  _proto.styles = function styles(options) {\n    return mapRulesToStyle(this.cssRules(), options);\n  };\n  _proto.getIdAndRules = function getIdAndRules(props) {\n    var css = props.children, dynamic = props.dynamic, id = props.id;\n    if (dynamic) {\n      var styleId = computeId(id, dynamic);\n      return {\n        styleId,\n        rules: Array.isArray(css) ? css.map(function(rule) {\n          return computeSelector(styleId, rule);\n        }) : [\n          computeSelector(styleId, css)\n        ]\n      };\n    }\n    return {\n      styleId: computeId(id),\n      rules: Array.isArray(css) ? css : [\n        css\n      ]\n    };\n  };\n  _proto.selectFromServer = function selectFromServer() {\n    var elements = Array.prototype.slice.call(document.querySelectorAll('[id^=\"__jsx-\"]'));\n    return elements.reduce(function(acc, element) {\n      var id = element.id.slice(2);\n      acc[id] = element;\n      return acc;\n    }, {});\n  };\n  return StyleSheetRegistry2;\n}();\nfunction invariant(condition, message) {\n  if (!condition) {\n    throw new Error(\"StyleSheetRegistry: \" + message + \".\");\n  }\n}\nvar StyleSheetContext = /* @__PURE__ */ React.createContext(null);\nStyleSheetContext.displayName = \"StyleSheetContext\";\nfunction createStyleRegistry() {\n  return new StyleSheetRegistry();\n}\nfunction StyleRegistry(param) {\n  var configuredRegistry = param.registry, children = param.children;\n  var rootRegistry = React.useContext(StyleSheetContext);\n  var ref = React.useState(function() {\n    return rootRegistry || configuredRegistry || createStyleRegistry();\n  }), registry = ref[0];\n  return /* @__PURE__ */ React__default[\"default\"].createElement(StyleSheetContext.Provider, {\n    value: registry\n  }, children);\n}\nfunction useStyleRegistry() {\n  return React.useContext(StyleSheetContext);\n}\nvar useInsertionEffect = React__default[\"default\"].useInsertionEffect || React__default[\"default\"].useLayoutEffect;\nvar defaultRegistry = typeof window !== \"undefined\" ? createStyleRegistry() : void 0;\nfunction JSXStyle(props) {\n  var registry = defaultRegistry ? defaultRegistry : useStyleRegistry();\n  if (!registry) {\n    return null;\n  }\n  if (typeof window === \"undefined\") {\n    registry.add(props);\n    return null;\n  }\n  useInsertionEffect(function() {\n    registry.add(props);\n    return function() {\n      registry.remove(props);\n    };\n  }, [\n    props.id,\n    String(props.dynamic)\n  ]);\n  return null;\n}\nJSXStyle.dynamic = function(info) {\n  return info.map(function(tagInfo) {\n    var baseId = tagInfo[0];\n    var props = tagInfo[1];\n    return computeId(baseId, props);\n  }).join(\" \");\n};\nindex.StyleRegistry = StyleRegistry;\nindex.createStyleRegistry = createStyleRegistry;\nindex.style = JSXStyle;\nindex.useStyleRegistry = useStyleRegistry;\nexport {\n  index as default\n};\n","import { getDefaultExportFromCjs } from \"../../_virtual/_commonjsHelpers.js\";\nimport \"./dist/index/index.js\";\nimport { __exports as index } from \"../../_virtual/index.js\";\nvar style = index.style;\nconst _JSXStyle = /* @__PURE__ */ getDefaultExportFromCjs(style);\nexport {\n  _JSXStyle as default\n};\n","const colors = {\n  transparent: \"transparent\",\n  gray00: \"#ffffff\",\n  // NOTE: rgba(255,255,255,0.9) 토큰\n  gray00Alpha90: \"rgba(255, 255, 255, 0.9)\",\n  gray100: \"#f4f4f4\",\n  gray300: \"#c4c4c4\",\n  gray400: \"#a0a0a0\",\n  gray600: \"#474747\",\n  gray700: \"#303033\",\n  gray800: \"#27272a\",\n  gray900: \"#19191a\",\n  gray950: \"#000000\",\n  gray950Alpha10: \"rgba(0, 0, 0, 0.1)\",\n  red500: \"#ff4800\",\n  // NOTE: PreviewCard 등에서 사용하는 연한 블루 배경\n  blue100: \"#d6e4ff\",\n  blue500: \"#375fff\",\n  borderDivider: \"#5D5D5D14\"\n};\nexport {\n  colors\n};\n","const css = (strings, ...expressions) => {\n  return strings.reduce((result, str, i) => `${result}${str}${expressions[i] ?? \"\"}`, \"\");\n};\nexport {\n  css\n};\n","import { css } from \"./css.js\";\nconst typography = (fontSize, fontWeight = 500, lineHeight = 1.4) => {\n  return {\n    // NOTE: button, input 등 폼 컨트롤은 font-family 를 상속하지 않아 UA 기본 서체로 떨어진다.\n    fontFamily: \"inherit\",\n    fontSize,\n    fontWeight,\n    lineHeight\n  };\n};\nconst typographyCSS = (fontSize, fontWeight = 500, lineHeight = 1.4) => {\n  return css`\n    /* NOTE: button, input 등 폼 컨트롤은 font-family 를 상속하지 않아 UA 기본 서체로 떨어진다. */\n    font-family: inherit;\n    font-size: ${fontSize}px;\n    font-weight: ${fontWeight};\n    line-height: ${lineHeight};\n  `;\n};\nexport {\n  typography,\n  typographyCSS\n};\n","const isObject = (object) => {\n  return typeof object === \"object\" && object !== null && !Array.isArray(object);\n};\nconst clsx = (...inputs) => {\n  const classNames = [];\n  inputs.forEach((input) => {\n    if (isObject(input)) {\n      Object.entries(input).forEach(([key, value]) => {\n        if (value) {\n          classNames.push(key);\n        }\n      });\n      return;\n    }\n    if (input) {\n      classNames.push(input);\n    }\n  });\n  return toString(classNames);\n};\nconst toString = (inputs) => inputs.join(\" \").trim();\nexport {\n  clsx\n};\n","var SpinnerSizeEnum = /* @__PURE__ */ ((SpinnerSizeEnum2) => {\n  SpinnerSizeEnum2[SpinnerSizeEnum2[\"small\"] = 16] = \"small\";\n  SpinnerSizeEnum2[SpinnerSizeEnum2[\"medium\"] = 20] = \"medium\";\n  SpinnerSizeEnum2[SpinnerSizeEnum2[\"xLarge\"] = 42] = \"xLarge\";\n  return SpinnerSizeEnum2;\n})(SpinnerSizeEnum || {});\nvar SpinnerStrokeEnum = /* @__PURE__ */ ((SpinnerStrokeEnum2) => {\n  SpinnerStrokeEnum2[SpinnerStrokeEnum2[\"small\"] = 3] = \"small\";\n  SpinnerStrokeEnum2[SpinnerStrokeEnum2[\"medium\"] = 4] = \"medium\";\n  SpinnerStrokeEnum2[SpinnerStrokeEnum2[\"xLarge\"] = 6] = \"xLarge\";\n  return SpinnerStrokeEnum2;\n})(SpinnerStrokeEnum || {});\nexport {\n  SpinnerSizeEnum,\n  SpinnerStrokeEnum\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"/* --path-length 50 by default */\\n.ruler-spinner {\\n  stroke-dasharray: var(--path-length);\\n  stroke-dashoffset: 0;\\n  rotate: -90deg;\\n\\n  &.pending {\\n    stroke-dashoffset: var(--path-length);\\n    animation: ruler-spinner 1.6s ease-in-out infinite;\\n  }\\n\\n  > circle.ruler-spinner-normal {\\n    stroke: #000000;\\n    opacity: 0.16;\\n  }\\n\\n  > circle.ruler-spinner-on-color {\\n    stroke: #f4f4f4;\\n  }\\n}\\n\\n@keyframes ruler-spinner {\\n  0% {\\n    stroke-dashoffset: var(--path-length);\\n  }\\n  50% {\\n    stroke-dashoffset: 0;\\n  }\\n  100% {\\n    stroke-dashoffset: calc(var(--path-length) * -1px);\\n  }\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nimport { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { SpinnerSizeEnum, SpinnerStrokeEnum } from \"./Spinner.types.js\";\n\nimport { clsx } from \"../../../utils/clsx.js\";\nconst getSpinnerDimension = (size) => {\n  switch (size) {\n    case \"xLarge\":\n      return {\n        size: SpinnerSizeEnum.xLarge,\n        stroke: SpinnerStrokeEnum.xLarge\n      };\n    case \"large\":\n    case \"medium\":\n      return {\n        size: SpinnerSizeEnum.medium,\n        stroke: SpinnerStrokeEnum.medium\n      };\n    case \"small\":\n    case \"xSmall\":\n      return {\n        size: SpinnerSizeEnum.small,\n        stroke: SpinnerStrokeEnum.small\n      };\n    default:\n      return {\n        size: SpinnerSizeEnum.medium,\n        stroke: SpinnerStrokeEnum.medium\n      };\n  }\n};\nconst PATH_LENGTH = 50;\nconst Spinner = forwardRef(({\n  size = \"medium\",\n  onColor = false,\n  isPending = true\n}, ref) => {\n  const sizeDimension = getSpinnerDimension(size);\n  return /* @__PURE__ */ jsx(\"svg\", { ref, className: clsx(\"ruler-spinner\", isPending ? \"pending\" : void 0), xmlns: \"http://www.w3.org/2000/svg\", width: sizeDimension.size, height: sizeDimension.size, viewBox: `-${sizeDimension.size / 2} -${sizeDimension.size / 2} ${sizeDimension.size} ${sizeDimension.size}`, style: {\n    \"--path-length\": PATH_LENGTH\n  }, children: /* @__PURE__ */ jsx(\"circle\", { r: Math.floor(sizeDimension.size / 2 - sizeDimension.stroke / 2), strokeWidth: sizeDimension.stroke, fill: \"none\", pathLength: PATH_LENGTH, className: onColor ? \"ruler-spinner-on-color\" : \"ruler-spinner-normal\" }) });\n});\nexport {\n  Spinner\n};\n","var ButtonTheme = /* @__PURE__ */ ((ButtonTheme2) => {\n  ButtonTheme2[\"LIGHT\"] = \"light\";\n  ButtonTheme2[\"DARK\"] = \"dark\";\n  return ButtonTheme2;\n})(ButtonTheme || {});\nvar ButtonVariant = /* @__PURE__ */ ((ButtonVariant2) => {\n  ButtonVariant2[\"PRIMARY\"] = \"primary\";\n  ButtonVariant2[\"SECONDARY\"] = \"secondary\";\n  ButtonVariant2[\"TERTIARY\"] = \"tertiary\";\n  ButtonVariant2[\"CUSTOM\"] = \"custom\";\n  ButtonVariant2[\"DISABLED\"] = \"disabled\";\n  return ButtonVariant2;\n})(ButtonVariant || {});\nvar ButtonSize = /* @__PURE__ */ ((ButtonSize2) => {\n  ButtonSize2[\"LARGE\"] = \"large\";\n  ButtonSize2[\"MEDIUM\"] = \"medium\";\n  ButtonSize2[\"SMALL\"] = \"small\";\n  ButtonSize2[\"X_SMALL\"] = \"xSmall\";\n  return ButtonSize2;\n})(ButtonSize || {});\nvar UrlType = /* @__PURE__ */ ((UrlType2) => {\n  UrlType2[\"DEFAULT\"] = \"default\";\n  UrlType2[\"ONELINK\"] = \"onelink\";\n  UrlType2[\"OUTLINK\"] = \"outlink\";\n  return UrlType2;\n})(UrlType || {});\nexport {\n  ButtonSize,\n  ButtonTheme,\n  ButtonVariant,\n  UrlType\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport _JSXStyle from \"../../../node_modules/styled-jsx/style.js\";\nimport { forwardRef } from \"react\";\nimport { colors } from \"../../../styles/colors.js\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { clsx } from \"../../../utils/clsx.js\";\nimport { definedOnly } from \"../../../utils/definedOnly.js\";\nimport { Icon } from \"../Icon/Icon.js\";\nimport { Spinner } from \"../Spinner/Spinner.js\";\nimport { ButtonVariant } from \"./Button.types.js\";\nconst ButtonSpinner = ({\n  variant,\n  size,\n  style\n}) => {\n  return /* @__PURE__ */ jsx(\"div\", { style, children: /* @__PURE__ */ jsx(Spinner, { size, onColor: variant === \"primary\" }) });\n};\nconst Button = ({\n  children,\n  style,\n  className,\n  as,\n  theme = \"light\",\n  size = \"medium\",\n  prefixIcon,\n  postfixIcon,\n  fill = false,\n  variant,\n  backgroundColor,\n  color,\n  tabAnimation = false,\n  pending,\n  overrideDisabledBackgroundColor,\n  overrideDisabledColor,\n  ...rest\n}, ref) => {\n  const Component = as ?? \"button\";\n  const isCustom = variant === ButtonVariant.CUSTOM;\n  const hasOverrideDisabledStyle = rest.disabled && (overrideDisabledBackgroundColor || overrideDisabledColor);\n  const isDisabledStateApplied = rest.disabled && !hasOverrideDisabledStyle;\n  const variantStyle = isDisabledStateApplied ? {\n    ...buttonStyleByVariant[variant][theme],\n    ...buttonStyleByVariant.disabled[theme]\n  } : buttonStyleByVariant[variant][theme];\n  const getOverrideBackgroundColor = () => {\n    if (isCustom) {\n      return backgroundColor;\n    }\n    if (hasOverrideDisabledStyle) {\n      return overrideDisabledBackgroundColor;\n    }\n    return void 0;\n  };\n  const getOverrideColor = () => {\n    if (isCustom) {\n      return color;\n    }\n    if (hasOverrideDisabledStyle) {\n      return overrideDisabledColor;\n    }\n    return void 0;\n  };\n  const customVariantStyle = definedOnly({\n    backgroundColor: getOverrideBackgroundColor(),\n    color: getOverrideColor()\n  });\n  const padding = paddingBySize[size];\n  const offset = offsetBySize[size];\n  const buttonStyle = {\n    ...style,\n    ...baseButtonStyle,\n    ...buttonStyleBySize[size],\n    ...variantStyle,\n    ...customVariantStyle,\n    padding: `${padding.y}px ${padding.x - (postfixIcon ? offset : 0)}px ${padding.y}px ${padding.x - (prefixIcon ? offset : 0)}px`,\n    width: fill ? \"100%\" : \"auto\"\n  };\n  const buttonSpinnerStyle = {\n    ...baseButtonSpinnerStyle,\n    ...buttonStyleBySize[size],\n    ...variantStyle,\n    ...customVariantStyle\n  };\n  const reshapedProps = {\n    ...rest,\n    href: rest.disabled ? void 0 : rest.href,\n    onClick: rest.disabled ? void 0 : rest.onClick\n  };\n  return /* @__PURE__ */ jsxs(Component, { ref, ...reshapedProps, style: buttonStyle, className: clsx(className, button.className), \"data-variant\": variant, \"data-theme\": theme, \"data-on-tab-variant-theme\": tabAnimation === true ? `${variant}-${theme}` : void 0, children: [\n    prefixIcon ? /* @__PURE__ */ jsx(Icon, { type: getIconType(prefixIcon), fill: getIconFill(prefixIcon), size: iconSizeByButtonSize[size], color: buttonStyle.color, weight: \"bold\" }) : null,\n    /* @__PURE__ */ jsx(\"div\", { style: contentStyle, children }),\n    postfixIcon ? /* @__PURE__ */ jsx(Icon, { type: getIconType(postfixIcon), fill: getIconFill(postfixIcon), size: iconSizeByButtonSize[size], color: buttonStyle.color, weight: \"bold\" }) : null,\n    !rest.disabled && pending ? /* @__PURE__ */ jsx(ButtonSpinner, { style: buttonSpinnerStyle, variant, size }) : null,\n    button.styles\n  ] });\n};\nconst getIconType = (icon) => typeof icon === \"string\" ? icon : icon.type;\nconst getIconFill = (icon) => typeof icon === \"string\" ? void 0 : icon.fill;\nconst baseButtonStyle = {\n  position: \"relative\",\n  height: \"auto\",\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  cursor: \"pointer\",\n  // reset button element css\n  textDecoration: \"none\",\n  outline: \"none\",\n  border: \"none\",\n  boxSizing: \"border-box\"\n};\nconst baseButtonSpinnerStyle = {\n  position: \"absolute\",\n  inset: 0,\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  cursor: \"default\"\n};\nconst offsetBySize = {\n  large: 4,\n  medium: 6,\n  small: 2,\n  xSmall: 2\n};\nconst paddingBySize = {\n  large: {\n    x: 20,\n    y: 16\n  },\n  medium: {\n    x: 18,\n    y: 12\n  },\n  small: {\n    x: 12,\n    y: 10\n  },\n  xSmall: {\n    x: 8,\n    y: 6\n  }\n};\nconst buttonStyleBySize = {\n  large: {\n    minWidth: 88,\n    borderRadius: 4,\n    gap: \"6px\",\n    ...typography(14, 700, 1.4)\n  },\n  medium: {\n    minWidth: 84,\n    borderRadius: 4,\n    gap: \"6px\",\n    ...typography(14, 700, 1.4)\n  },\n  small: {\n    minWidth: 66,\n    borderRadius: 2,\n    gap: \"6px\",\n    ...typography(12, 500, 1.36)\n  },\n  xSmall: {\n    minWidth: 60,\n    borderRadius: 2,\n    gap: \"2px\",\n    ...typography(11, 400, 1.36)\n  }\n};\nconst buttonStyleByVariant = {\n  primary: {\n    light: {\n      backgroundColor: \"#000\",\n      color: \"#fff\"\n    },\n    dark: {\n      backgroundColor: \"#fff\",\n      color: \"#000\"\n    }\n  },\n  secondary: {\n    light: {\n      backgroundColor: \"transparent\",\n      color: \"#000\",\n      border: \"1px solid #a0a0a0\"\n    },\n    dark: {\n      backgroundColor: \"#141414\",\n      color: \"#f4f4f4\",\n      border: \"1px solid #313131\"\n    }\n  },\n  tertiary: {\n    light: {\n      backgroundColor: \"#f4f4f4\",\n      color: \"#000\"\n    },\n    dark: {\n      backgroundColor: \"#19191a\",\n      color: \"#fff\"\n    }\n  },\n  custom: {\n    light: {\n      backgroundColor: \"#000\",\n      color: \"#fff\"\n    },\n    dark: {\n      backgroundColor: \"#fff\",\n      color: \"#000\"\n    }\n  },\n  disabled: {\n    light: {\n      backgroundColor: colors.gray100,\n      color: \"#c4c4c4\",\n      border: \"none\",\n      cursor: \"not-allowed\"\n    },\n    dark: {\n      backgroundColor: \"#242424\",\n      color: \"#626262\",\n      cursor: \"not-allowed\"\n    }\n  }\n};\nconst iconSizeByButtonSize = {\n  large: 18,\n  medium: 16,\n  small: 14,\n  xSmall: 12\n};\nconst contentStyle = {\n  display: \"flex\",\n  alignItems: \"center\"\n};\nconst button = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"1953548161\", children: [\"button.jsx-1953548161{-webkit-transition:all ease-out;transition:all ease-out;}\", \"button[data-variant='secondary'][data-theme='dark'].jsx-1953548161:not(:disabled):not(:active):hover{background-color:#1c1c1c !important;color:#e3e3e3 !important;}\", `button[data-on-tab-variant-theme='secondary-light'].jsx-1953548161:active{background-color:${buttonStyleByVariant.primary.light.backgroundColor} !important;color:${buttonStyleByVariant.primary.light.color} !important;border:1px solid ${buttonStyleByVariant.primary.light.backgroundColor} !important;}`, `button[data-on-tab-variant-theme='secondary-dark'].jsx-1953548161:active{background-color:${buttonStyleByVariant.primary.dark.backgroundColor} !important;color:${buttonStyleByVariant.primary.dark.color} !important;border:1px solid ${buttonStyleByVariant.primary.dark.backgroundColor} !important;}`] }),\n  className: \"jsx-1953548161\"\n};\nconst Default = forwardRef(Button);\nexport {\n  Default as Button\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { Icon } from \"../Icon/Icon.js\";\nimport \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../hooks/useTheme.js\";\nimport { useBreakpoint } from \"../../../hooks/useBreakpoint.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { Button as Default } from \"../Button/Button.js\";\nimport { typography } from \"../../../styles/typography.js\";\nconst ErrorFallback = ({\n  iconType,\n  iconSize = 40,\n  title,\n  descriptions,\n  buttonText,\n  buttonPrefixIcon,\n  buttonPostfixIcon,\n  onButtonClick\n}) => {\n  const breakpoint = useBreakpoint();\n  const theme = useTheme();\n  const errorFallbackDescriptions = typeof descriptions === \"string\" ? [descriptions] : descriptions;\n  return /* @__PURE__ */ jsx(\"div\", { style: {\n    ...containerStyle,\n    ...containerStyleByBreakpoint[breakpoint]\n  }, children: /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...wrapperStyle,\n    ...wrapperStyleByTheme[theme],\n    ...wrapperStyleByBreakpoint[breakpoint]\n  }, children: [\n    /* @__PURE__ */ jsx(Icon, { type: iconType, size: iconSize, weight: \"light\", color: iconColorByTheme[theme] }),\n    /* @__PURE__ */ jsxs(\"div\", { style: detailLayout, children: [\n      /* @__PURE__ */ jsx(\"span\", { style: {\n        ...titleStyle,\n        ...titleStyleByTheme[theme]\n      }, children: title }),\n      /* @__PURE__ */ jsx(\"div\", { style: {\n        ...descriptionStyle,\n        ...descriptionStyleByTheme[theme]\n      }, children: errorFallbackDescriptions.map((description, index) => (\n        // eslint-disable-next-line react/no-array-index-key\n        /* @__PURE__ */ jsx(\"span\", { children: description }, index)\n      )) })\n    ] }),\n    /* @__PURE__ */ jsx(Default, { ...toIconProps(buttonPrefixIcon, buttonPostfixIcon), variant: \"custom\", size: \"xSmall\", backgroundColor: buttonColorByTheme[theme].backgroundColor, color: buttonColorByTheme[theme].color, onClick: onButtonClick, children: buttonText })\n  ] }) });\n};\nconst toIconProps = (prefixIcon, postfixIcon) => {\n  if (!postfixIcon) {\n    return {\n      prefixIcon\n    };\n  }\n  return {\n    postfixIcon\n  };\n};\nconst containerStyle = {\n  width: \"100%\",\n  paddingBottom: 16\n};\nconst containerStyleByBreakpoint = {\n  desktop: {\n    paddingLeft: 0,\n    paddingRight: 0\n  },\n  tablet: {\n    paddingLeft: 16,\n    paddingRight: 16\n  },\n  mobile: {\n    paddingLeft: 16,\n    paddingRight: 16\n  }\n};\nconst wrapperStyle = {\n  width: \"100%\",\n  maxWidth: 1080,\n  display: \"flex\",\n  flexDirection: \"column\",\n  justifyContent: \"center\",\n  alignItems: \"center\",\n  gap: 8,\n  borderRadius: \"6px\"\n};\nconst wrapperStyleByTheme = {\n  light: {\n    backgroundColor: \"#F4F4F4\"\n  },\n  dark: {\n    backgroundColor: \"#19191A\"\n  }\n};\nconst wrapperStyleByBreakpoint = {\n  desktop: {\n    padding: \"40px 16px\"\n  },\n  tablet: {\n    padding: \"24px 16px\"\n  },\n  mobile: {\n    padding: \"24px 16px\"\n  }\n};\nconst iconColorByTheme = {\n  light: \"#000000\",\n  dark: \"#FFFFFF\"\n};\nconst buttonColorByTheme = {\n  light: {\n    backgroundColor: \"#ffffff\",\n    color: \"#000000\"\n  },\n  dark: {\n    backgroundColor: \"#474747\",\n    color: \"#FFFFFF\"\n  }\n};\nconst detailLayout = {\n  display: \"flex\",\n  flexDirection: \"column\",\n  alignItems: \"center\",\n  gap: \"4px\",\n  textAlign: \"center\",\n  paddingBottom: \"8px\"\n};\nconst titleStyle = {\n  ...typography(18, 500)\n};\nconst titleStyleByTheme = {\n  light: {\n    color: \"#000000\"\n  },\n  dark: {\n    color: \"#FFFFFF\"\n  }\n};\nconst descriptionStyle = {\n  display: \"flex\",\n  flexDirection: \"column\",\n  whiteSpace: \"pre-wrap\",\n  ...typography(14, 400)\n};\nconst descriptionStyleByTheme = {\n  light: {\n    color: \"#474747\"\n  },\n  dark: {\n    color: \"#A0A0A0\"\n  }\n};\nexport {\n  ErrorFallback\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { ErrorFallback } from \"../../../@shared/ErrorFallback/ErrorFallback.js\";\nconst NoContent = ({\n  onClick\n}) => {\n  return /* @__PURE__ */ jsx(ErrorFallback, { iconType: \"clock\", iconSize: 40, title: \"서비스 지연 중\", descriptions: `현재 접속량이 많아 서비스가 지연되고 있습니다.\n잠시 후 ‘새로고침’ 해주세요.`, buttonText: \"새로고침\", buttonPrefixIcon: \"redo\", onButtonClick: onClick });\n};\nexport {\n  NoContent\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext, useContext } from \"react\";\nconst noop = () => {\n};\nconst ComponentTimingContext = createContext({\n  markVisible: noop,\n  markReady: noop,\n  markFailed: noop\n});\nconst ComponentTimingProvider = ({\n  timing,\n  children\n}) => {\n  return /* @__PURE__ */ jsx(ComponentTimingContext.Provider, { value: timing, children });\n};\nconst useComponentTimingContext = () => {\n  return useContext(ComponentTimingContext);\n};\nexport {\n  ComponentTimingContext,\n  ComponentTimingProvider,\n  useComponentTimingContext\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useRef, useState } from \"react\";\nimport { SWRConfig } from \"../../../node_modules/swr/core/dist/index.js\";\nimport { useComponentTimingContext } from \"../../../hooks/beacon/ComponentTimingContext.js\";\nconst SWRErrorBoundary = ({\n  children,\n  fallback,\n  reportFailure = false,\n  errorRetryCount = 1,\n  errorRetryInterval = 5 * 1e3\n}) => {\n  const {\n    markFailed\n  } = useComponentTimingContext();\n  const exhaustedKeys = useRef(/* @__PURE__ */ new Set());\n  const [isError, setIsError] = useState(false);\n  const isFallbackShown = useRef(false);\n  const retry = () => {\n    isFallbackShown.current = false;\n    setIsError(false);\n  };\n  return /* @__PURE__ */ jsx(SWRConfig, { value: {\n    /**\n     * NOTE(임규민): retry count 를 모두 소진했을 경우에만 fallback 이 보여져야 하기 때문에, config 의 기본 옵션 대신 override callback 을 사용합니다.\n     * @see {@link https://swr.vercel.app/ko/docs/error-handling#error-retry}\n     */\n    onErrorRetry: (_error, key, _config, revalidate, {\n      retryCount\n    }) => {\n      if (retryCount > errorRetryCount) {\n        return;\n      }\n      if (retryCount >= errorRetryCount) {\n        exhaustedKeys.current.add(key);\n      }\n      setTimeout(() => {\n        revalidate({\n          retryCount\n        });\n      }, errorRetryInterval);\n    },\n    onError: (error, key) => {\n      if (!exhaustedKeys.current.has(key)) {\n        return;\n      }\n      exhaustedKeys.current.delete(key);\n      if (!isFallbackShown.current) {\n        isFallbackShown.current = true;\n        if (reportFailure) {\n          markFailed(error);\n        }\n      }\n      setIsError(true);\n    }\n  }, children: isError ? fallback == null ? void 0 : fallback(retry) : children });\n};\nexport {\n  SWRErrorBoundary\n};\n","var Theme = /* @__PURE__ */ ((Theme2) => {\n  Theme2[\"LIGHT\"] = \"light\";\n  Theme2[\"DARK\"] = \"dark\";\n  return Theme2;\n})(Theme || {});\nexport {\n  Theme\n};\n","import { ControlType } from \"framer\";\nimport { Theme } from \"../../styles/theme.js\";\nconst THEME_CONTROLS = {\n  theme: {\n    type: ControlType.Enum,\n    title: \"테마\",\n    description: \"Light 테마는 일부 스타일이 미적용되어 있을 수 있습니다.\",\n    options: [Theme.LIGHT, Theme.DARK],\n    optionTitles: [\"Light\", \"Dark\"],\n    defaultValue: Theme.LIGHT,\n    displaySegmentedControl: true\n  }\n};\nexport {\n  THEME_CONTROLS\n};\n","const FINGERPRINT_MAX_LENGTH = 64;\nconst MECHANISM_TYPES = {\n  // Web\n  ONERROR: \"onerror\",\n  UNHANDLED_REJECTION: \"onunhandledrejection\",\n  CONSOLE_ERROR: \"console.error\",\n  CSP_VIOLATION: \"csp_violation\",\n  REACT_ERROR_BOUNDARY: \"react.errorboundary\",\n  // React 19 root `onUncaughtError` — 잡은 바운더리가 없어 트리가 언마운트된 경우 (ADR-077 §결정 6)\n  REACT_UNCAUGHT: \"react.uncaught\",\n  // Manual / synthetic\n  MANUAL: \"manual\",\n  // captureException(err)\n  SYNTHETIC: \"synthetic\",\n  // captureMessage(msg) 가 합성한 fake error\n  CHAINED: \"chained\",\n  // Error.cause / AggregateError.errors[] 자식 노드\n  INSTRUMENT: \"instrument\",\n  // xhr / fetch wrapper\n  // Native (ADR-040 의 각 collector 가 origin 별로 채움)\n  NSEXCEPTION: \"nsexception\",\n  // iOS NSException\n  MACH: \"mach\",\n  // iOS Mach exception\n  SIGNAL: \"signalhandler\",\n  // POSIX signal handler (ADR-040 Phase 2)\n  ANR: \"anr\",\n  // Android ANR\n  APPEXITINFO: \"appexitinfo.native\",\n  // Android ApplicationExitInfo — native crash\n  APPEXITINFO_ANR: \"appexitinfo.anr\",\n  // Android ApplicationExitInfo — ANR (ADR-040 §285)\n  NATIVE_UNCAUGHT: \"native_uncaught\",\n  // Android Thread.UncaughtExceptionHandler\n  METRICKIT_CRASH: \"metrickit.crash\",\n  // iOS MetricKit MXCrashDiagnostic (BEACON-28)\n  METRICKIT_HANG: \"metrickit.hang\",\n  // iOS MetricKit MXHangDiagnostic (BEACON-28)\n  LOWMEMORY: \"lowmemory\",\n  // cross-platform OOM origin (iOS jetsam / Android REASON_LOW_MEMORY)\n  // Fallback\n  GENERIC: \"generic\",\n  // 분류 불가 — captureException default (ADR-035 §결정 4)\n  UNKNOWN_NATIVE: \"unknown.native\"\n  // native crash 인데 origin 미상 — recordCrash fallback (ADR-035 §결정 5 step 2)\n};\nconst RUM_ERROR_KIND = {\n  /** 앱 레벨 예외 — `captureException` / `captureMessage`. 프로세스 생존. (web 은 항상 이 값) */\n  EXCEPTION: \"exception\",\n  /** 프로세스 종료를 동반한 네이티브 크래시 (metrickit / appexitinfo / signal / 미상 fallback). */\n  CRASH: \"crash\",\n  /** 메인스레드 응답 지연 — iOS `MXHangDiagnostic`. **앱 생존** → crash-free 분자에서 제외 대상. */\n  HANG: \"hang\",\n  /** Android ANR (Application Not Responding). 프로세스 종료. */\n  ANR: \"anr\",\n  /** 메모리 부족 강제 종료 (iOS jetsam / Android `REASON_LOW_MEMORY`). 프로세스 종료. */\n  OOM: \"oom\"\n};\nconst RUM_HTTP_ERROR_KIND = {\n  /** 응답을 받았고 그 응답이 실패 — `status >= 400`. 세부 코드는 `status` 라벨이 보유. */\n  HTTP: \"http\",\n  /** 요청 취소 — fetch `AbortError`(`AbortController`) / XHR `abort` 이벤트. 사용자 이탈·SPA 언마운트. */\n  ABORT: \"abort\",\n  /** 타임아웃 — fetch `TimeoutError`(`AbortSignal.timeout`) / XHR `timeout` 이벤트. */\n  TIMEOUT: \"timeout\",\n  /** 실패 시점에 `navigator.onLine === false` — 단말이 오프라인. 서버 문제와 분리해야 하는 축. */\n  OFFLINE: \"offline\",\n  /** 그 외 네트워크 계열 실패 (CORS 차단 / DNS / TLS / 연결 단절 — 브라우저가 사유 은닉). */\n  NETWORK: \"network\",\n  /** 미지 수렴 — 원인 판별 불가(비-Error 거부값 등). 값 유한성 보장용 fallback. */\n  OTHER: \"other\"\n};\nconst SCREEN_MAX_LENGTH = 200;\nconst DOMAIN_MAX_LENGTH = 64;\nconst BREADCRUMB_TYPE_MAX = 32;\nconst BREADCRUMB_CATEGORY_MAX = 64;\nconst BREADCRUMB_MESSAGE_MAX = 500;\nconst BREADCRUMB_DATA_VALUE_MAX = 500;\nexport {\n  BREADCRUMB_CATEGORY_MAX,\n  BREADCRUMB_DATA_VALUE_MAX,\n  BREADCRUMB_MESSAGE_MAX,\n  BREADCRUMB_TYPE_MAX,\n  DOMAIN_MAX_LENGTH,\n  FINGERPRINT_MAX_LENGTH,\n  MECHANISM_TYPES,\n  RUM_ERROR_KIND,\n  RUM_HTTP_ERROR_KIND,\n  SCREEN_MAX_LENGTH\n};\n","function sha1(input) {\n  let h0 = 1732584193;\n  let h1 = 4023233417 | 0;\n  let h2 = 2562383102 | 0;\n  let h3 = 271733878;\n  let h4 = 3285377520 | 0;\n  const blocks = new Int32Array(80);\n  let start = 0;\n  let bytes = 0;\n  let hashed = false;\n  const length = input.length;\n  let index = 0;\n  while (index < length) {\n    if (hashed) {\n      hashed = false;\n      blocks[0] = blocks[16];\n      blocks[16] = 0;\n      blocks[1] = 0;\n      blocks[2] = 0;\n      blocks[3] = 0;\n      blocks[4] = 0;\n      blocks[5] = 0;\n      blocks[6] = 0;\n      blocks[7] = 0;\n      blocks[8] = 0;\n      blocks[9] = 0;\n      blocks[10] = 0;\n      blocks[11] = 0;\n      blocks[12] = 0;\n      blocks[13] = 0;\n      blocks[14] = 0;\n      blocks[15] = 0;\n    }\n    let i = start;\n    while (index < length && i < 64) {\n      const code = input.charCodeAt(index);\n      if (code < 128) {\n        blocks[i >>> 2] |= code << SHIFT[i++ & 3];\n        index++;\n      } else if (code < 2048) {\n        blocks[i >>> 2] |= (192 | code >>> 6) << SHIFT[i++ & 3];\n        blocks[i >>> 2] |= (128 | code & 63) << SHIFT[i++ & 3];\n        index++;\n      } else if (code < 55296 || code >= 57344) {\n        blocks[i >>> 2] |= (224 | code >>> 12) << SHIFT[i++ & 3];\n        blocks[i >>> 2] |= (128 | code >>> 6 & 63) << SHIFT[i++ & 3];\n        blocks[i >>> 2] |= (128 | code & 63) << SHIFT[i++ & 3];\n        index++;\n      } else {\n        const cp = 65536 + ((code & 1023) << 10 | input.charCodeAt(index + 1) & 1023);\n        blocks[i >>> 2] |= (240 | cp >>> 18) << SHIFT[i++ & 3];\n        blocks[i >>> 2] |= (128 | cp >>> 12 & 63) << SHIFT[i++ & 3];\n        blocks[i >>> 2] |= (128 | cp >>> 6 & 63) << SHIFT[i++ & 3];\n        blocks[i >>> 2] |= (128 | cp & 63) << SHIFT[i++ & 3];\n        index += 2;\n      }\n    }\n    bytes += i - start;\n    if (i >= 64) {\n      const lastByteIndex2 = i;\n      const block17 = blocks[16];\n      [h0, h1, h2, h3, h4] = hashBlock(blocks, h0, h1, h2, h3, h4);\n      blocks[16] = block17;\n      start = lastByteIndex2 - 64;\n      hashed = true;\n    } else {\n      start = i;\n    }\n  }\n  if (hashed) {\n    blocks[0] = blocks[16];\n    for (let k = 1; k < 16; k++)\n      blocks[k] = 0;\n    blocks[16] = 0;\n  }\n  const lastByteIndex = start;\n  blocks[lastByteIndex >>> 2] |= EXTRA[lastByteIndex & 3];\n  if (lastByteIndex >= 56) {\n    [h0, h1, h2, h3, h4] = hashBlock(blocks, h0, h1, h2, h3, h4);\n    for (let k = 0; k < 16; k++)\n      blocks[k] = 0;\n  }\n  blocks[14] = 0;\n  blocks[15] = bytes << 3;\n  [h0, h1, h2, h3, h4] = hashBlock(blocks, h0, h1, h2, h3, h4);\n  return toHex(h0) + toHex(h1) + toHex(h2) + toHex(h3) + toHex(h4);\n}\nconst SHIFT = [24, 16, 8, 0];\nconst EXTRA = [-2147483648, 8388608, 32768, 128];\nconst HEX_CHARS = \"0123456789abcdef\";\nfunction toHex(n) {\n  return HEX_CHARS[n >>> 28 & 15] + HEX_CHARS[n >>> 24 & 15] + HEX_CHARS[n >>> 20 & 15] + HEX_CHARS[n >>> 16 & 15] + HEX_CHARS[n >>> 12 & 15] + HEX_CHARS[n >>> 8 & 15] + HEX_CHARS[n >>> 4 & 15] + HEX_CHARS[n & 15];\n}\nfunction hashBlock(blocks, h0, h1, h2, h3, h4) {\n  for (let j = 16; j < 80; j++) {\n    const t2 = blocks[j - 3] ^ blocks[j - 8] ^ blocks[j - 14] ^ blocks[j - 16];\n    blocks[j] = t2 << 1 | t2 >>> 31;\n  }\n  let a = h0;\n  let b = h1;\n  let c = h2;\n  let d = h3;\n  let e = h4;\n  let f;\n  let t;\n  for (let j = 0; j < 20; j += 5) {\n    f = b & c | ~b & d;\n    t = a << 5 | a >>> 27;\n    e = t + f + e + 1518500249 + blocks[j] << 0;\n    b = b << 30 | b >>> 2;\n    f = a & b | ~a & c;\n    t = e << 5 | e >>> 27;\n    d = t + f + d + 1518500249 + blocks[j + 1] << 0;\n    a = a << 30 | a >>> 2;\n    f = e & a | ~e & b;\n    t = d << 5 | d >>> 27;\n    c = t + f + c + 1518500249 + blocks[j + 2] << 0;\n    e = e << 30 | e >>> 2;\n    f = d & e | ~d & a;\n    t = c << 5 | c >>> 27;\n    b = t + f + b + 1518500249 + blocks[j + 3] << 0;\n    d = d << 30 | d >>> 2;\n    f = c & d | ~c & e;\n    t = b << 5 | b >>> 27;\n    a = t + f + a + 1518500249 + blocks[j + 4] << 0;\n    c = c << 30 | c >>> 2;\n  }\n  for (let j = 20; j < 40; j += 5) {\n    f = b ^ c ^ d;\n    t = a << 5 | a >>> 27;\n    e = t + f + e + 1859775393 + blocks[j] << 0;\n    b = b << 30 | b >>> 2;\n    f = a ^ b ^ c;\n    t = e << 5 | e >>> 27;\n    d = t + f + d + 1859775393 + blocks[j + 1] << 0;\n    a = a << 30 | a >>> 2;\n    f = e ^ a ^ b;\n    t = d << 5 | d >>> 27;\n    c = t + f + c + 1859775393 + blocks[j + 2] << 0;\n    e = e << 30 | e >>> 2;\n    f = d ^ e ^ a;\n    t = c << 5 | c >>> 27;\n    b = t + f + b + 1859775393 + blocks[j + 3] << 0;\n    d = d << 30 | d >>> 2;\n    f = c ^ d ^ e;\n    t = b << 5 | b >>> 27;\n    a = t + f + a + 1859775393 + blocks[j + 4] << 0;\n    c = c << 30 | c >>> 2;\n  }\n  for (let j = 40; j < 60; j += 5) {\n    f = b & c | b & d | c & d;\n    t = a << 5 | a >>> 27;\n    e = t + f + e - 1894007588 + blocks[j] << 0;\n    b = b << 30 | b >>> 2;\n    f = a & b | a & c | b & c;\n    t = e << 5 | e >>> 27;\n    d = t + f + d - 1894007588 + blocks[j + 1] << 0;\n    a = a << 30 | a >>> 2;\n    f = e & a | e & b | a & b;\n    t = d << 5 | d >>> 27;\n    c = t + f + c - 1894007588 + blocks[j + 2] << 0;\n    e = e << 30 | e >>> 2;\n    f = d & e | d & a | e & a;\n    t = c << 5 | c >>> 27;\n    b = t + f + b - 1894007588 + blocks[j + 3] << 0;\n    d = d << 30 | d >>> 2;\n    f = c & d | c & e | d & e;\n    t = b << 5 | b >>> 27;\n    a = t + f + a - 1894007588 + blocks[j + 4] << 0;\n    c = c << 30 | c >>> 2;\n  }\n  for (let j = 60; j < 80; j += 5) {\n    f = b ^ c ^ d;\n    t = a << 5 | a >>> 27;\n    e = t + f + e - 899497514 + blocks[j] << 0;\n    b = b << 30 | b >>> 2;\n    f = a ^ b ^ c;\n    t = e << 5 | e >>> 27;\n    d = t + f + d - 899497514 + blocks[j + 1] << 0;\n    a = a << 30 | a >>> 2;\n    f = e ^ a ^ b;\n    t = d << 5 | d >>> 27;\n    c = t + f + c - 899497514 + blocks[j + 2] << 0;\n    e = e << 30 | e >>> 2;\n    f = d ^ e ^ a;\n    t = c << 5 | c >>> 27;\n    b = t + f + b - 899497514 + blocks[j + 3] << 0;\n    d = d << 30 | d >>> 2;\n    f = c ^ d ^ e;\n    t = b << 5 | b >>> 27;\n    a = t + f + a - 899497514 + blocks[j + 4] << 0;\n    c = c << 30 | c >>> 2;\n  }\n  return [\n    h0 + a << 0,\n    h1 + b << 0,\n    h2 + c << 0,\n    h3 + d << 0,\n    h4 + e << 0\n  ];\n}\nexport {\n  sha1\n};\n","import { BREADCRUMB_TYPE_MAX, BREADCRUMB_CATEGORY_MAX, BREADCRUMB_MESSAGE_MAX, SCREEN_MAX_LENGTH, DOMAIN_MAX_LENGTH, FINGERPRINT_MAX_LENGTH, BREADCRUMB_DATA_VALUE_MAX, MECHANISM_TYPES } from \"../../shared/dist/constants/index.js\";\nimport { sha1 } from \"../../shared/dist/util/index.js\";\nvar __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __pow = Math.pow;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a2, b) => {\n  for (var prop in b || (b = {}))\n    if (__hasOwnProp.call(b, prop))\n      __defNormalProp(a2, prop, b[prop]);\n  if (__getOwnPropSymbols)\n    for (var prop of __getOwnPropSymbols(b)) {\n      if (__propIsEnum.call(b, prop))\n        __defNormalProp(a2, prop, b[prop]);\n    }\n  return a2;\n};\nvar __spreadProps = (a2, b) => __defProps(a2, __getOwnPropDescs(b));\nvar __objRest = (source, exclude) => {\n  var target = {};\n  for (var prop in source)\n    if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n      target[prop] = source[prop];\n  if (source != null && __getOwnPropSymbols)\n    for (var prop of __getOwnPropSymbols(source)) {\n      if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n        target[prop] = source[prop];\n    }\n  return target;\n};\nvar __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\nvar __async = (__this, __arguments, generator) => {\n  return new Promise((resolve, reject) => {\n    var fulfilled = (value) => {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    };\n    var rejected = (value) => {\n      try {\n        step(generator.throw(value));\n      } catch (e) {\n        reject(e);\n      }\n    };\n    var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n    step((generator = generator.apply(__this, __arguments)).next());\n  });\n};\nconst HIGH_SURROGATE_MIN = 55296;\nconst HIGH_SURROGATE_MAX = 56319;\nconst LOW_SURROGATE_MIN = 56320;\nconst LOW_SURROGATE_MAX = 57343;\nconst isHighSurrogate = (code) => code >= HIGH_SURROGATE_MIN && code <= HIGH_SURROGATE_MAX;\nconst isLowSurrogate = (code) => code >= LOW_SURROGATE_MIN && code <= LOW_SURROGATE_MAX;\nfunction clampToMaxLength(value, max) {\n  if (value.length <= max)\n    return value;\n  let end = max;\n  const boundaryCode = value.charCodeAt(end - 1);\n  if (isHighSurrogate(boundaryCode) || isLowSurrogate(boundaryCode)) {\n    const prevCode = value.charCodeAt(end - 2);\n    const isWholePair = isLowSurrogate(boundaryCode) && isHighSurrogate(prevCode);\n    if (!isWholePair)\n      end -= 1;\n  }\n  return value.slice(0, end);\n}\nconst FINGERPRINT_FALLBACK_VALUE_HEAD = 64;\nfunction buildFingerprintInput(signal) {\n  var _a, _b, _c, _d, _e, _f;\n  const v0 = signal.exception.values[0];\n  const mechanismType = (_b = (_a = v0 == null ? void 0 : v0.mechanism) == null ? void 0 : _a.type) != null ? _b : \"unknown\";\n  const exceptionType = (_c = v0 == null ? void 0 : v0.type) != null ? _c : \"unknown\";\n  const frames = (_e = (_d = v0 == null ? void 0 : v0.stacktrace) == null ? void 0 : _d.frames) != null ? _e : [];\n  if (frames.length === 0) {\n    const valueHead = ((_f = v0 == null ? void 0 : v0.value) != null ? _f : \"\").slice(\n      0,\n      FINGERPRINT_FALLBACK_VALUE_HEAD\n    );\n    return `${mechanismType}${exceptionType}${valueHead}`;\n  }\n  const framesPart = frames.slice(0, 3).map(formatFrame).join(\"|\");\n  return `${mechanismType}${exceptionType}${framesPart}`;\n}\nfunction formatFrame(f) {\n  var _a, _b;\n  const fn = (_a = f.function) != null ? _a : \"\";\n  const file = (_b = f.filename) != null ? _b : \"\";\n  const ln = f.lineno !== void 0 ? String(f.lineno) : \"\";\n  return `${fn}@${file}:${ln}`;\n}\nfunction computeFingerprint(signal) {\n  return sha1(buildFingerprintInput(signal));\n}\nfunction isFingerprintSet(fp) {\n  return typeof fp === \"string\" && fp.trim() !== \"\";\n}\nfunction clampFingerprint(fp) {\n  return clampToMaxLength(fp, FINGERPRINT_MAX_LENGTH);\n}\nfunction resolveFingerprint(signal, internalFingerprint) {\n  const hostFp = signal.fingerprint;\n  if (isFingerprintSet(hostFp))\n    return clampFingerprint(hostFp.trim());\n  return clampFingerprint(internalFingerprint != null ? internalFingerprint : computeFingerprint(signal));\n}\nclass RingBuffer {\n  constructor(maxSize, initial = []) {\n    __publicField(this, \"items\");\n    __publicField(this, \"maxSize\");\n    if (maxSize <= 0) {\n      throw new RangeError(\"RingBuffer maxSize must be > 0\");\n    }\n    this.maxSize = maxSize;\n    this.items = initial.length > maxSize ? initial.slice(-maxSize) : initial.slice();\n  }\n  /**\n   * 끝에 push, maxSize 도달 시 oldest 1개 evict. **push 자체는 실패하지 않는다** — 상한에\n   * 닿아도 오래된 것을 밀어내고 항상 추가한다.\n   *\n   * @returns 이번 push 로 evict 가 **일어났는지**. 이 정보를 돌려주지 않으면 호출자가\n   *   `size >= capacity` 로 상한 판정을 재계산해야 하고, 그 순간 evict 규칙이 두 곳에\n   *   복제된다(정책 변경 시 호출자 쪽이 조용히 틀림 — BEACON-661 PreFlagGate 사례).\n   *   `boolean` 인 이유: `T` 에 `undefined` 가 포함될 수 있어 evict 된 *항목*을 돌려주면\n   *   \"evict 없음\" 과 구분되지 않고, push 는 hot path 라 객체 할당을 피한다.\n   */\n  push(item) {\n    const evicted = this.items.length >= this.maxSize;\n    if (evicted) {\n      this.items.shift();\n    }\n    this.items.push(item);\n    return evicted;\n  }\n  /** 모든 항목을 반환하면서 비운다 (batch consume 패턴). */\n  drain() {\n    return this.items.splice(0, this.items.length);\n  }\n  /**\n   * 내부 항목의 readonly 스냅샷. 매 호출마다 새 배열로 copy 하므로 호출자가 mutation 해도\n   * 내부 buffer 영향 없음 (readonly 계약을 런타임에서도 실효성 있게 유지).\n   */\n  snapshot() {\n    return this.items.slice();\n  }\n  /** 같은 maxSize + 동일 항목 집합을 가진 새 인스턴스 반환. */\n  clone() {\n    return new RingBuffer(this.maxSize, this.items);\n  }\n  /** 모든 항목 제거. maxSize 보존. */\n  clear() {\n    this.items.length = 0;\n  }\n  get size() {\n    return this.items.length;\n  }\n  get capacity() {\n    return this.maxSize;\n  }\n}\nconst EXCEPTION_BREADCRUMB_CAP = 50;\nfunction toWireExceptionLevel(level) {\n  return level === \"warn\" ? \"warning\" : level;\n}\nfunction toWireBreadcrumbLevel(level) {\n  if (level === void 0)\n    return void 0;\n  if (level === \"warn\")\n    return \"warning\";\n  if (level === \"fatal\")\n    return \"error\";\n  return level;\n}\nfunction toWireBreadcrumb(crumb) {\n  return {\n    type: crumb.type,\n    category: crumb.category,\n    timestamp: crumb.timestamp,\n    level: toWireBreadcrumbLevel(crumb.level),\n    message: crumb.message,\n    data: crumb.data\n  };\n}\nfunction clampBreadcrumbData(data) {\n  if (data === void 0)\n    return void 0;\n  const clamped = {};\n  for (const key of Object.keys(data)) {\n    clamped[key] = clampToMaxLength(data[key], BREADCRUMB_DATA_VALUE_MAX);\n  }\n  return clamped;\n}\nconst DEFAULT_BREADCRUMB_CAP = 100;\nclass Scope {\n  constructor(maxBreadcrumbs = DEFAULT_BREADCRUMB_CAP) {\n    __publicField(this, \"tags\");\n    __publicField(this, \"extra\");\n    __publicField(this, \"context\");\n    __publicField(this, \"level\");\n    __publicField(this, \"fingerprint\");\n    __publicField(this, \"activeTrace\");\n    __publicField(this, \"breadcrumbsBuffer\");\n    this.tags = {};\n    this.extra = {};\n    this.context = {};\n    this.breadcrumbsBuffer = new RingBuffer(maxBreadcrumbs);\n  }\n  /**\n   * breadcrumbs readonly view. mutation 은 addBreadcrumb / clear 로만.\n   * 반환값을 cast 해서 push/splice 등을 호출하면 ring buffer cap 정책이 우회되므로 금지.\n   */\n  get breadcrumbs() {\n    return this.breadcrumbsBuffer.snapshot();\n  }\n  /** 깊은 복사. tags / extra / context / breadcrumbs / level / fingerprint / activeTrace 모두 독립 인스턴스. */\n  clone() {\n    const cloned = new Scope(this.breadcrumbsBuffer.capacity);\n    cloned.tags = __spreadValues({}, this.tags);\n    cloned.extra = __spreadValues({}, this.extra);\n    cloned.context = __spreadValues({}, this.context);\n    cloned.breadcrumbsBuffer = this.breadcrumbsBuffer.clone();\n    cloned.level = this.level;\n    cloned.fingerprint = this.fingerprint;\n    cloned.activeTrace = this.activeTrace ? __spreadValues({}, this.activeTrace) : void 0;\n    return cloned;\n  }\n  setTag(key, value) {\n    this.tags[key] = value;\n  }\n  /**\n   * 개발자 자유 커스텀 컨텍스트 설정 (ADR-056 amend, BEACON-318).\n   * `setExtra(\"orderId\", \"A-123\")` → wire `ExceptionSignal.extra.orderId`. **소유: 개발자**.\n   * (구 `setContext` 의 2단 named 구조는 폐기 — SDK/개발자 소유 구분을 *별도 슬롯*으로 표현.)\n   */\n  setExtra(key, value) {\n    this.extra[key] = value;\n  }\n  setLevel(level) {\n    this.level = level;\n  }\n  setFingerprint(fingerprint) {\n    this.fingerprint = fingerprint;\n  }\n  /**\n   * breadcrumbs 끝에 push, max 초과 시 oldest evict (S-2).\n   *\n   * 입력 정규화 (ADR-036 §결정 6): 호스트가 `type` / `timestamp` 를 생략해도 인입 시점에\n   * `type ?? \"default\"` (ADR-036 카탈로그 fallback) / `timestamp ?? now()` 로 채워 완전형으로\n   * 저장한다. timestamp 는 *breadcrumb 발생 시점* 이 의미이므로 wire 변환(exception 조립) 시점이\n   * 아니라 여기서 찍어야 정확하다. 모든 capture 경로(수동 `addBreadcrumb` / autoCapture)가 이\n   * 단일 choke point 를 통과한다.\n   */\n  addBreadcrumb(crumb) {\n    var _a, _b;\n    this.breadcrumbsBuffer.push(__spreadProps(__spreadValues({}, crumb), {\n      type: clampToMaxLength((_a = crumb.type) != null ? _a : \"default\", BREADCRUMB_TYPE_MAX),\n      category: clampToMaxLength(crumb.category, BREADCRUMB_CATEGORY_MAX),\n      message: crumb.message === void 0 ? void 0 : clampToMaxLength(crumb.message, BREADCRUMB_MESSAGE_MAX),\n      data: clampBreadcrumbData(crumb.data),\n      timestamp: (_b = crumb.timestamp) != null ? _b : (/* @__PURE__ */ new Date()).toISOString()\n    }));\n  }\n  /**\n   * ADR-035 §결정 7 — `Hint.captureContext` 를 현재 scope 위에 1회 inline merge 한 새 Scope.\n   *\n   * `withScope({ user, tags, ... }, () => capture(...))` inline 패턴 — 원본 scope 는 변경하지\n   * 않고 격리 사본에 captureContext 를 덮어쓴다 (BeforeCapture stage).\n   *\n   * iOS BEACON-146 / Android BEACON-147 의 `applying()` 과 cross-language 동등.\n   */\n  applying(captureContext) {\n    const merged = this.clone();\n    if (captureContext.tags)\n      Object.assign(merged.tags, captureContext.tags);\n    if (captureContext.extra) {\n      Object.assign(merged.extra, captureContext.extra);\n    }\n    if (captureContext.level)\n      merged.level = captureContext.level;\n    return merged;\n  }\n  /**\n   * BeforeCapture stage (ADR-035 §결정 7-A) — Scope 의 tags/extra/context/breadcrumbs/level/\n   * fingerprint 를 capture 직후의 signal 에 적용한다. S-3 동형 시나리오의 본 구현.\n   *\n   * BEACON-148 정합 구현 — iOS Scope.swift (BEACON-146) / Android Scope.kt (BEACON-147) 와\n   * cross-language 동등 시맨틱. `hint.captureContext` 가 있으면 §결정 7 대로 본 scope 위에\n   * 1회 inline merge 한 사본을 적용 대상으로 쓴다.\n   *\n   * ## Signal type 별 적용 표\n   *\n   * | Scope 필드 | LogSignal | MetricSignal | ExceptionSignal |\n   * |---|---|---|---|\n   * | `tags`        | **merge (BEACON-148)** | skip (Prometheus 차원 분리, ADR-021) | merge (scope-first spread, event-wins-conflict) |\n   * | `extra`       | skip | skip | **merge (scope-first spread, event-wins-conflict)** — 개발자, ADR-056 amend |\n   * | `context`     | skip | skip | **merge (scope-first spread, event-wins-conflict)** — SDK 예약, ADR-056 amend |\n   * | `breadcrumbs` | skip | skip | **event-first concat** + tail-cap 50 |\n   * | `level`       | skip | skip | **overwrite if set** |\n   * | `fingerprint` | skip | skip | fill-if-empty (non-overwrite) |\n   *\n   * ## merge policy 의 trade-off — ExceptionSignal\n   *\n   * - **tags non-overwrite** — host 가 `captureException(err, { ...tags })` 로 명시한 호출-부 컨텍스트가\n   *   global Scope 의 잠재적 staleness 보다 신뢰 우선. Sentry SDK 정합.\n   * - **level overwrite** — `Scope.setLevel(\"fatal\")` 같은 명시 호출은 *override 의도* 가 명백하므로\n   *   buildExceptionSignal 의 default `\"error\"` 를 덮는다.\n   * - **breadcrumb event-first concat** — `[...event.breadcrumbs, ...scope.breadcrumbs]` 후 tail-cap 50.\n   *   ADR-035 §결정 7-A-1 본문 참조.\n   *\n   * ## LogSignal (BEACON-148)\n   *\n   * - `scope.tags` 자동 첨부 (scope-first spread, event-wins-conflict — ExceptionSignal 와 동일 시맨틱)\n   * - 다른 슬롯은 LogSignal wire schema 에 부재 → skip\n   *\n   * ## MetricSignal\n   *\n   * - 모든 슬롯 skip — Prometheus 차원 분리 (ADR-021)\n   *\n   * @param event - capture 직후의 signal.\n   * @param hint - `hint.captureContext` 가 있으면 inline merge 적용 대상으로 사용 (ADR-035 §결정 7).\n   */\n  applyToEvent(event, hint) {\n    const scope = hint.captureContext ? this.applying(hint.captureContext) : this;\n    switch (event.type) {\n      case \"log\":\n        return scope.applyToLog(event);\n      case \"metric\":\n        return event;\n      case \"exception\":\n        return scope.applyToException(event);\n      default:\n        return event;\n    }\n  }\n  /**\n   * BEACON-148 — `scope.tags` 를 wire 의 `LogSignal.tags` 에 자동 첨부. event 동일 key 우선.\n   * scope/event 양쪽 모두 비어있으면 event 원본 그대로 반환 (reference 동일).\n   */\n  applyToLog(event) {\n    const hasScope = Object.keys(this.tags).length > 0;\n    const hasEvent = event.tags && Object.keys(event.tags).length > 0;\n    if (!hasScope && !hasEvent)\n      return event;\n    const merged = __spreadValues({}, this.tags);\n    if (event.tags)\n      Object.assign(merged, event.tags);\n    return __spreadProps(__spreadValues({}, event), { tags: merged });\n  }\n  applyToException(event) {\n    var _a, _b;\n    const result = __spreadValues({}, event);\n    if (Object.keys(this.tags).length > 0) {\n      result.tags = __spreadValues(__spreadValues({}, this.tags), event.tags);\n    }\n    if (Object.keys(this.extra).length > 0) {\n      result.extra = __spreadValues(__spreadValues({}, this.extra), event.extra);\n    }\n    if (Object.keys(this.context).length > 0) {\n      result.context = __spreadValues(__spreadValues({}, this.context), event.context);\n    }\n    if (this.level !== void 0) {\n      result.level = toWireExceptionLevel(this.level);\n    }\n    if (isFingerprintSet(this.fingerprint) && !isFingerprintSet(event.fingerprint)) {\n      result.fingerprint = this.fingerprint;\n    }\n    if (this.activeTrace && !event.trace_id) {\n      result.trace_id = this.activeTrace.trace_id;\n    }\n    const scopeCrumbs = this.breadcrumbsBuffer.snapshot();\n    const eventCrumbs = (_b = (_a = event.breadcrumbs) == null ? void 0 : _a.values) != null ? _b : [];\n    if (scopeCrumbs.length > 0 || eventCrumbs.length > 0) {\n      const merged = [\n        ...eventCrumbs,\n        ...scopeCrumbs.map(toWireBreadcrumb)\n      ];\n      result.breadcrumbs = {\n        values: merged.length > EXCEPTION_BREADCRUMB_CAP ? merged.slice(-EXCEPTION_BREADCRUMB_CAP) : merged\n      };\n    }\n    return result;\n  }\n  /** 모든 필드 초기화 (root scope 재사용 시). */\n  clear() {\n    this.tags = {};\n    this.extra = {};\n    this.context = {};\n    this.breadcrumbsBuffer.clear();\n    this.level = void 0;\n    this.fingerprint = void 0;\n    this.activeTrace = void 0;\n  }\n  /**\n   * activeTrace setter — ADR-054 §결정 5. autoCapture 의 navigation hook 이 호출 (Writer).\n   *\n   * **navigation 단위 lifecycle** (BEACON-257 디자인 보강) — fetch wrap 은 *Scope 에 set 안 함*,\n   * 각 fetch 마다 *local span_id 생성* 후 traceparent 헤더에만 사용.\n   *\n   * @param trace - 새 navigation trace context (`{ trace_id }` 만). `undefined` 시 reset.\n   */\n  setActiveTrace(trace) {\n    this.activeTrace = trace;\n  }\n}\nclass Hub {\n  constructor(initialScope) {\n    __publicField(this, \"stack\");\n    this.stack = [(initialScope != null ? initialScope : new Scope()).clone()];\n  }\n  /** 현재 active scope 반환 (top of stack). 항상 1개 이상. */\n  getScope() {\n    return this.stack[this.stack.length - 1];\n  }\n  /** 현재 scope 의 clone 을 push 후 반환. */\n  pushScope() {\n    const cloned = this.getScope().clone();\n    this.stack.push(cloned);\n    return cloned;\n  }\n  /** stack 에서 pop. 길이 1이면 no-op (root 보존, H-3). */\n  popScope() {\n    if (this.stack.length > 1) {\n      this.stack.pop();\n    }\n  }\n  /**\n   * push → cb 실행 → 무조건 pop (H-1).\n   * cb 안에서의 scope 변경은 외부에 영향 없음.\n   *\n   * ⚠️ async cb 사용 주의 — withScope 는 동기 try/finally 로 push/pop 한다. cb 가 Promise\n   * 를 반환하면 그 즉시 popScope 가 실행되므로, `await` 너머에서의 scope mutation 은\n   * 이미 pop 된 scope 에 작용해 의미가 없다. async 격리가 필요한 환경 (Node 서버) 에서는\n   * AsyncLocalStorageStrategy (sdk-node 미래) 또는 명시적 pushScope/popScope 사용.\n   */\n  withScope(cb) {\n    const scope = this.pushScope();\n    try {\n      return cb(scope);\n    } finally {\n      this.popScope();\n    }\n  }\n  /**\n   * Stack 길이.\n   *\n   * 🔴 **테스트 편의가 아니라 프로덕션 계약이다** (MCP-4107, ADR-054 §9-3). `sdk-browser` 가\n   * 네이티브 trace seed 의 **소비 여부 판정**에 쓴다 — 길이 1 은 `popScope` 가 no-op 인\n   * (H-3) 유일한 scope, 곧 *\"여기 쓴 기록은 살아남는다\"* 를 뜻한다. 자식 scope 에서 소비하면\n   * 그 기록이 pop 과 함께 사라져 앱↔웹뷰 trace 연결이 **그 페이지 생애 동안 복구 불가**가\n   * 된다.\n   *\n   * 제거하거나 접근성을 좁히기 전에 그 호출부(`BeaconClient.nextNavigationTraceId`)를 먼저\n   * 확인할 것. 대체 구현으로 갈아탈 때 \"길이 1 = pop 되지 않는 scope\" 의미가 유지되지\n   * 않으면 **컴파일은 통과한 채 결함만 되살아난다.**\n   */\n  get stackSize() {\n    return this.stack.length;\n  }\n}\nclass GlobalAsyncContextStrategy {\n  createHub(initialScope) {\n    return new Hub(initialScope);\n  }\n  getCurrentHub(defaultHub) {\n    return defaultHub;\n  }\n  runWithContext(_scope, cb) {\n    return cb();\n  }\n}\nclass SystemClock {\n  now() {\n    return Date.now();\n  }\n  iso8601String() {\n    return new Date(this.now()).toISOString();\n  }\n}\nconst LOG_PREFIX = \"[beacon]\";\nfunction warnIntegrationError(name, phase, action, e) {\n  console.warn(\n    `${LOG_PREFIX} Integration \"${name}\" ${phase} threw — ${action}.`,\n    e\n  );\n}\nclass IntegrationRegistry {\n  constructor() {\n    __publicField(this, \"map\", /* @__PURE__ */ new Map());\n  }\n  /**\n   * Integration 등록. 같은 이름 두번째는 skip + console.warn (I-3).\n   *\n   * 각 integration 의 setupOnce 는 try/catch 로 격리된다 — 한 integration 이 throw 해도\n   * 후속 integration 등록은 계속 진행 (init failure cascade 방지).\n   */\n  setup(client, integrations) {\n    var _a;\n    for (const opt of integrations) {\n      const integration = \"integration\" in opt ? opt.integration : opt;\n      const enabled = \"enabled\" in opt ? (_a = opt.enabled) != null ? _a : true : true;\n      if (!enabled)\n        continue;\n      if (this.map.has(integration.name)) {\n        console.warn(\n          `${LOG_PREFIX} Integration \"${integration.name}\" is already registered. Skipping duplicate.`\n        );\n        continue;\n      }\n      try {\n        integration.setupOnce(client);\n      } catch (e) {\n        warnIntegrationError(\n          integration.name,\n          \"setupOnce\",\n          \"skipping registration\",\n          e\n        );\n        continue;\n      }\n      this.map.set(integration.name, integration);\n    }\n  }\n  /**\n   * Assemble stage processEvent 순회 (ADR-031 §1.2 EventHook).\n   * 등록 순서대로 호출. 한 integration 이 null 반환 시 즉시 drop (I-2).\n   *\n   * 각 integration 의 processEvent 는 try/catch 로 격리된다 — throw 시 해당 integration 만\n   * skip 하고 입력 event 를 그대로 다음 integration 으로 통과 (drop 아님). buggy integration\n   * 하나가 capture pipeline 전체를 막지 않도록 보장.\n   */\n  processEvent(event, hint) {\n    let current = event;\n    for (const integration of this.map.values()) {\n      if (current === null)\n        break;\n      if (!integration.processEvent)\n        continue;\n      try {\n        current = integration.processEvent(current, hint);\n      } catch (e) {\n        warnIntegrationError(\n          integration.name,\n          \"processEvent\",\n          \"passing event through\",\n          e\n        );\n      }\n    }\n    return current;\n  }\n  /** Integration lookup — 다른 Integration 이 의존 모듈 조회. */\n  get(name) {\n    return this.map.get(name);\n  }\n  /**\n   * 등록된 모든 integration 의 teardown 호출.\n   *\n   * 각 teardown 은 try/catch 로 격리된다 — 한 integration 의 cleanup 실패가\n   * 다른 integration 의 cleanup 을 막지 않도록 보장 (dangling state 회피).\n   */\n  teardownAll() {\n    var _a;\n    for (const integration of this.map.values()) {\n      try {\n        (_a = integration.teardown) == null ? void 0 : _a.call(integration);\n      } catch (e) {\n        warnIntegrationError(\n          integration.name,\n          \"teardown\",\n          \"continuing cleanup\",\n          e\n        );\n      }\n    }\n    this.map.clear();\n  }\n  /** 등록된 integration 수 (테스트 편의). */\n  get size() {\n    return this.map.size;\n  }\n}\nconst LEVEL_RANK = {\n  debug: 0,\n  info: 1,\n  warn: 2,\n  error: 3,\n  silent: 4\n};\nconst DEFAULT_LEVEL = \"warn\";\nconst DEFAULT_PREFIX = \"[beacon]\";\nclass ConsoleLogger {\n  constructor(level = DEFAULT_LEVEL, prefix = DEFAULT_PREFIX) {\n    __publicField(this, \"threshold\");\n    __publicField(this, \"prefix\");\n    this.threshold = LEVEL_RANK[level];\n    this.prefix = prefix;\n  }\n  debug(message, ...args) {\n    if (this.threshold > LEVEL_RANK.debug)\n      return;\n    this.emit(\"debug\", message, args);\n  }\n  info(message, ...args) {\n    if (this.threshold > LEVEL_RANK.info)\n      return;\n    this.emit(\"info\", message, args);\n  }\n  warn(message, ...args) {\n    if (this.threshold > LEVEL_RANK.warn)\n      return;\n    this.emit(\"warn\", message, args);\n  }\n  error(message, ...args) {\n    if (this.threshold > LEVEL_RANK.error)\n      return;\n    this.emit(\"error\", message, args);\n  }\n  emit(method, message, args) {\n    const console2 = globalThis.console;\n    if (!console2 || typeof console2[method] !== \"function\")\n      return;\n    console2[method](`${this.prefix} ${message}`, ...args);\n  }\n}\nclass NoopLogger {\n  debug(_message, ..._args) {\n  }\n  info(_message, ..._args) {\n  }\n  warn(_message, ..._args) {\n  }\n  error(_message, ..._args) {\n  }\n}\nconst HEX_CHARS$1 = \"0123456789abcdef\";\nfunction randomHex$1(length) {\n  let out = \"\";\n  for (let i = 0; i < length; i++) {\n    out += HEX_CHARS$1[Math.floor(Math.random() * 16)];\n  }\n  return out;\n}\nfunction fallbackUuidV4() {\n  const h = randomHex$1(32).split(\"\");\n  h[12] = \"4\";\n  h[16] = HEX_CHARS$1[8 + Math.floor(Math.random() * 4)];\n  const s = h.join(\"\");\n  return `${s.slice(0, 8)}-${s.slice(8, 12)}-${s.slice(12, 16)}-${s.slice(16, 20)}-${s.slice(20)}`;\n}\nfunction generateEventId() {\n  const cryptoObj = globalThis.crypto;\n  if (typeof (cryptoObj == null ? void 0 : cryptoObj.randomUUID) === \"function\") {\n    return cryptoObj.randomUUID();\n  }\n  return fallbackUuidV4();\n}\nconst fallback = (cb) => {\n  Promise.resolve().then(cb);\n};\nconst scheduleMicrotask = typeof queueMicrotask === \"function\" ? queueMicrotask.bind(globalThis) : fallback;\nfunction applyScreenDomainContext(signal, context) {\n  if (context == null ? void 0 : context.screen)\n    signal.screen = context.screen;\n  if (context == null ? void 0 : context.domain)\n    signal.domain = context.domain;\n  if (signal.screen) {\n    signal.screen = clampToMaxLength(signal.screen, SCREEN_MAX_LENGTH);\n  }\n  if (signal.domain) {\n    signal.domain = clampToMaxLength(signal.domain, DOMAIN_MAX_LENGTH);\n  }\n}\nconst DEFAULT_DESTROY_FLUSH_TIMEOUT_MS = 2e3;\nclass BaseClient {\n  constructor(options) {\n    __publicField(this, \"transport\");\n    __publicField(this, \"integrations\");\n    __publicField(this, \"contextStrategy\");\n    __publicField(this, \"hub\");\n    __publicField(this, \"logger\");\n    __publicField(this, \"clock\");\n    __publicField(this, \"destroyFlushTimeoutMs\");\n    __publicField(this, \"destroyed\", false);\n    __publicField(this, \"runtimeEnabled\");\n    __publicField(this, \"installCalled\", false);\n    var _a, _b, _c, _d, _e, _f, _g, _h;\n    this.transport = options.transport;\n    this.runtimeEnabled = (_a = options.enabled) != null ? _a : true;\n    this.logger = (_b = options.logger) != null ? _b : new ConsoleLogger();\n    this.clock = (_c = options.clock) != null ? _c : new SystemClock();\n    this.destroyFlushTimeoutMs = (_d = options.destroyFlushTimeoutMs) != null ? _d : DEFAULT_DESTROY_FLUSH_TIMEOUT_MS;\n    this.contextStrategy = (_e = options.contextStrategy) != null ? _e : new GlobalAsyncContextStrategy();\n    this.hub = this.contextStrategy.createHub(\n      (_f = options.initialScope) != null ? _f : new Scope()\n    );\n    this.integrations = new IntegrationRegistry();\n    const configuredCount = (_h = (_g = options.integrations) == null ? void 0 : _g.length) != null ? _h : 0;\n    if (configuredCount > 0) {\n      scheduleMicrotask(() => {\n        if (!this.installCalled && !this.destroyed) {\n          this.logger.warn(\n            `BaseClient: installIntegrations() was not called by child constructor. ${configuredCount} integration(s) configured but not registered — they will not run. Make sure child constructor calls \\`this.installIntegrations(opts.integrations ?? [])\\` after \\`super(opts)\\`. See ADR-031 §3.1.`\n          );\n        }\n      });\n    }\n  }\n  /**\n   * 자식 constructor 가 `super(opts)` 직후 호출해야 한다.\n   *\n   * 자식 클래스의 field initializer (`readonly runtime = \"web\"`) 는 `super()` 가 반환된 *후*\n   * 실행되므로, 부모 constructor 가 직접 `integrations.setup(this, ...)` 를 호출하면\n   * `setupOnce` 시점의 `client.runtime` 이 undefined — runtime 분기가 fallback 으로 빠지는\n   * 사일런트 버그가 발생한다 (TS 타입 체커 미감지). 본 메서드를 super() 직후 호출하여\n   * abstract field 초기화 *후* setupOnce 가 실행되도록 강제한다.\n   *\n   * 호출 누락 시 다음 microtask 에서 dev warning 출력 (안전망).\n   *\n   * Cross-language: Swift `init { super.init(opts); installIntegrations(opts.integrations) }`,\n   * Kotlin `init { installIntegrations(opts.integrations) }` (super 호출은 primary constructor).\n   * 상세 근거: ADR-031 §3.1.\n   */\n  installIntegrations(integrations) {\n    this.integrations.setup(this, integrations);\n    this.installCalled = true;\n  }\n  /**\n   * Hub accessor — *내부 전용*. 외부 (cross-package / test) 는 `getScope()` / `withScope(cb)` 만 사용.\n   *\n   * Cross-language 정합: iOS / Android 도 `Hub` 는 private 보유 + `Client.getScope()` /\n   * `Client.withScope()` 만 노출. 본 표면 비공개로 TS 도 동일한 추상화 경계 유지.\n   *\n   * @internal 자식 클래스 (BeaconClient 등) 와 본 클래스 내부 사용 전용.\n   */\n  getHub() {\n    return this.contextStrategy.getCurrentHub(this.hub);\n  }\n  /** 현재 active Scope. iOS / Android 의 `BeaconClient.getScope()` 와 동등. */\n  getScope() {\n    return this.getHub().getScope();\n  }\n  /**\n   * 임시 격리 scope cb 실행 — H-1. cb 안 mutation 은 외부 root scope 에 영향 없음.\n   *\n   * **sync only** — Hub.withScope 는 동기 try/finally 로 push/pop 한다. cb 가 Promise 를 반환하면\n   * 그 즉시 popScope 가 실행되므로 `await` 너머의 scope mutation 은 이미 pop 된 scope 에 작용해\n   * 의미가 없다 (`hub.ts:48` 의 async 주의). async 격리는 별도 ticket.\n   *\n   * **cb throw 시 implicit rethrow** — popScope 후 외부로 전파 (Swift `rethrows` explicit 와\n   * observable behavior 동등).\n   */\n  withScope(cb) {\n    return this.getHub().withScope(cb);\n  }\n  getIntegration(name) {\n    return this.integrations.get(name);\n  }\n  /** breadcrumb 추가 — 현재 Scope 의 ring buffer 에 push. */\n  addBreadcrumb(crumb) {\n    if (this.destroyed)\n      return;\n    this.getScope().addBreadcrumb(crumb);\n  }\n  /**\n   * scope.tags 에 단일 key-value 등록 (BEACON-148, iOS BEACON-146 / Android BEACON-147 cross-language 동등).\n   *\n   * 등록된 tag 는 이후 발송되는 모든 `LogSignal` / `ExceptionSignal` 의 wire `tags` 필드에\n   * 자동 첨부된다 (Scope.applyToEvent — `emit()` 의 1단계). 메트릭은 Prometheus 차원 분리 (ADR-021)\n   * 로 자동 첨부 대상 아님 — 메트릭 라벨이 필요하면 `metric()` 의 `labels` 인자를 직접 사용.\n   *\n   * **자식 override 패턴**: 영속화가 필요한 자식 (sdk-browser의 BeaconClient → LocalStorageScopeStorage)\n   * 은 본 메서드를 override 하여 super 호출 후 자체 storage.save() 를 추가한다.\n   *\n   * **권장 reserved key** (서버 wire spec / ADR-022 §wire-spec):\n   *   - `screen` — 현재 화면명 (Variable-mid 카디널리티, 검색만 가능)\n   *   - `domain` — 앱 내 도메인 영역 (Fixed-mid 카디널리티, Loki 라벨 promote ✅)\n   */\n  setTag(key, value) {\n    if (this.destroyed)\n      return;\n    this.getHub().getScope().setTag(key, value);\n  }\n  // ─── Public capture API ────────────────────────────────────────────────\n  //\n  // 5개 모두 BaseClient 의 concrete 구현. 자식이 override 할 표면 없음 — 클래스 헤더 주석의\n  // \"왜 이렇게 나눴는가\" 참조.\n  /**\n   * 에러 캡처. dashed UUID v4 event_id 반환 (wire 계약 — BEACON-256).\n   *\n   * **destroyed 후 동작**: id 는 그대로 발급하고 반환하지만 실제 송신은 `emit()` 의 가드가\n   * 차단 (no-op + id). caller 가 id 를 받지 못해 분기하는 회귀를 피하려는 결정 — 호출자\n   * 입장에서 client lifecycle 상태를 일일이 체크할 필요 없게 함.\n   *\n   * **Hint.mechanism override 경로** (ADR-035 §결정 4): host 가 `hint.mechanism` 으로 본질적\n   * 분류를 override 가능. 예: `try/catch` 했지만 *본질적으로 unhandled* 인 RPC timeout 의 경우\n   * `captureException(e, { mechanism: { handled: false, type: \"rpc.timeout\" } })`. 본 진입점은\n   * hint 를 *자식의 buildExceptionSignal hook 으로 그대로 전달* 만 하고, 실제 default + override\n   * merge 는 자식 구현체 (sdk-browser BeaconClient) 가 `util/mechanismDefault.ts` 의 `mergeMechanism`\n   * 으로 수행. BaseClient 자체는 mechanism 결정 책임 없음 — 자식이 *어떤 진입점에서 호출되었는지*\n   * (예: `defaultMechanism(\"captureException\")`) 를 알므로 정확한 default 적용 가능.\n   *\n   * **fingerprint** (ADR-035 §결정 2): `runExceptionPipeline` 의 Assemble stage 가\n   * `util/fingerprint.ts`:`resolveFingerprint` 위임 — Scope 사전 채움 사후 sha1 fallback. 본 진입점은 호출 안 함.\n   */\n  captureException(exception, hint = {}, context) {\n    var _a;\n    if (exception === null || exception === void 0) {\n      this.logger.warn(\n        \"[Beacon] captureException called with null/undefined; no-op\"\n      );\n      return \"\";\n    }\n    const eventId = generateEventId();\n    const enrichedHint = __spreadProps(__spreadValues({}, hint), {\n      handlingStack: (_a = hint.handlingStack) != null ? _a : new Error()\n    });\n    const signal = this.buildExceptionSignal(exception, enrichedHint, eventId);\n    this.emit(signal, enrichedHint, context);\n    return eventId;\n  }\n  /**\n   * 메시지 캡처. captureException 의 message 변형. id 반환 + destroyed 후 동작 동일.\n   *\n   * **합성 Error 평가 위치** (ADR-034.1 §결정 KEEP, BEACON-160):\n   * `new Error(message)` 를 *본 public API entry* 에서 평가한다. 이유는 V8 의 `Error.stack`\n   * 은 평가 시점의 call stack 을 innermost-first 로 직렬화하므로, 평가 위치가 곧 stack\n   * 최상단(innermost) frame 의 이름이 된다. public API 이름 (`captureMessage`) 이 innermost\n   * 에 정렬되어야 caller (sdk-browser `BeaconClient.buildExceptionSignalForSource`) 의 strip\n   * regex (`/captureMessage|captureException/` — *추상화 경계만* 담음) 가 정확히 매칭된다.\n   * 만약 평가를 자식의 `buildMessageSignal` impl hook 안으로 미루면 innermost frame 이\n   * *impl detail 이름* 으로 잡혀 regex 매칭 실패 + 추상화 누수.\n   */\n  captureMessage(message, level, hint = {}, context) {\n    var _a;\n    const eventId = generateEventId();\n    const syntheticException = (_a = hint.syntheticException) != null ? _a : new Error(message);\n    const signal = this.buildMessageSignal(\n      message,\n      level,\n      syntheticException,\n      hint,\n      eventId\n    );\n    this.emit(signal, hint, context);\n    return eventId;\n  }\n  log(level, message, metadata, context, options) {\n    if (this.destroyed)\n      return;\n    const signal = this.buildLogSignal(level, message, metadata);\n    this.emit(\n      signal,\n      (options == null ? void 0 : options.sampling) === \"exempt\" ? { logSampling: \"exempt\" } : void 0,\n      context\n    );\n  }\n  /**\n   * 로제타 사용자로그 전송 (MCP-3953 · ADR-093).\n   *\n   * **`log()`/`metric()` 과 같은 경로를 탄다** — `emit()` 이 destroyed 가드·kill-switch·Scope·\n   * integration·beforeSend 를 순서대로 거친 뒤 `dispatch()` 로 넘긴다. 표면만 다르고 파이프라인은\n   * 하나다.\n   *\n   * 그 파이프라인에서 track 에 **적용되지 않는 것**이 둘 있고, 둘 다 의도된 것이다.\n   *\n   * - **샘플링·노이즈 필터** — `logSampleRate`(`sample`)와 `filterNoise` 는 둘 다\n   *   `runLogPipeline` 안에만 있고 track 은 별도 타입이라 그 경로를 타지 않는다. 아래 consent\n   *   분기가 통과하면 **바로 `return signal`** 이다. 매출·퍼널 집계용이라 표본이 아니라\n   *   전수여야 한다\n   * - **beforeSend 훅** — `beforeSendTrack` 을 두지 않았다. 호스트가 **유실 불가 데이터**\n   *   (= SPEC §3.1 의 정의대로 **Beacon 수집 API 구간**의 보장. 벤더 구간은 전달만이다)를\n   *   드롭할 표면을 만들지 않는다\n   *\n   * 반면 **track 에도 걸리는 것**이 셋 있다.\n   *\n   * - **kill-switch** — 비상 정지는 데이터 종류를 가리지 않는다\n   * - 🔴 **consent** — `consentState: \"denied\"` 면 drop 한다(PR #802 리뷰). track 은\n   *   `userHashId`·`employee`·`screen`·`domain` 에 더해 로제타 `params`(사용자 행동 본문)를\n   *   실으므로 metric 의 *「비식별 집계라 무관」* 면제를 물려받지 않는다 — ⚠️ 그 면제 근거는\n   *   **metric 에서도 이미 참이 아니다**(`buildMetricSignal` 이 `userHashId`·`employee` 를\n   *   싣는다. 기존 상태이고 정정은 **MCP-4400**). 틀린 전제를 물려받지 않으려고 **Log 쪽**으로\n   *   분류했다.\n   *\n   *   ⚠️ **이 drop 은 「유실」이 아니라 「준수」다** — 거부를 받은 사용자의 행동 본문을 보내지\n   *   않는 것이 정확히 의도한 동작이고, log·exception 이 같은 상황에서 하는 일과 같다.\n   * - 🔴 **`PreFlagGate`** — `runBeforeSendPipeline` 의 **첫 줄**이라 타입 분기보다 앞이고,\n   *   따라서 track 도 보류 대상이다. 그리고 **상한 초과 시 가장 오래된 1건을 evict 한다** —\n   *   보류는 지연이지만 **evict 는 유실이다.**\n   *\n   *   노출 구간은 좁지만 하필 나쁜 자리다 — kill-switch 를 배선한 호스트에서, 비-bridge\n   *   브라우저이고, init 후 `preFlagBufferDeadlineMs`(기본 2,500ms) 안에, **전 시그널 합계**가\n   *   `PRE_FLAG_BUFFER_CAPACITY`(100, log·metric·exception 과 **공유**)를 넘을 때다. 그 2.5초는\n   *   페이지 로드 직후 — 로제타가 첫 발화들을 쏘는 구간과 겹친다.\n   *\n   *   ⚠️ **track 만 면제하지 않았다.** 면제하면 FF 확정 전에 나가므로 **kill-switch 가 ON 이어도\n   *   막지 못한다** — 비상 정지를 데이터 종류로 뚫는 셈이라 위 계약과 정면으로 어긋난다. 게다가\n   *   상한·evict 정책은 ADR-066 §결정 2 가 *\"100건 / oldest evict\"* 로 못 박은 **3플랫폼\n   *   Contract** 라, web 만 바꾸면 drift 가 된다.\n   *\n   *   따라서 지금은 **사실대로 적어 두고**, evict 우선순위(유실 불가 종을 마지막에 버리기)는\n   *   후속으로 넘긴다 — **MCP-4397**. `localStorageSignalOutbox` 의 같은 결함(MCP-4388)과 한\n   *   묶음이며, 둘 다 *\"버려지는 것이 정확히 지키려던 것\"* 이라는 같은 모양이다.\n   *\n   *   관측 수단은 `PreFlagGateOptions.onEvicted`(방출·폐기 계기마다 **델타**)와 `onOverflow`\n   *   (최초 1회)뿐이고 **종별 구분이 없다.** 즉 evict 가 track 이었는지 log 였는지 알 수 없고,\n   *   로제타 쪽에는 아무 신호도 가지 않는다\n   *\n   * @param record 로제타가 만든 발화 봉투\n   * @param _destinations 이 발화를 보낼 destination 키 목록.\n   *\n   *   🔴 **wire 에 싣지 않는다** — 라우팅 지시지 데이터가 아니다.\n   *\n   *   ⚠️ **지금 안 쓸 뿐 버릴 인자가 아니다.** 2026-08-26 결정으로 **전송계층과 fan-out 은\n   *   Beacon 소유**다(위키 「Rosetta 전송 위임」). 즉 이 인자는 *\"GA4·Amplitude·Beacon 중\n   *   어디로 보내라\"* 는 **지시**이고, 어댑터가 들어오면 그대로 소비된다. 역할 분담은\n   *   **「어디로」는 Rosetta, 「어떻게」는 Beacon** 이다 — destination 이 늘어도 Rosetta 는\n   *   바뀌지 않는다는 것이 그 결정의 목적이다.\n   *\n   *   구현은 **MCP-4399**. 그때까지는 받기만 한다.\n   */\n  track(record, destinations) {\n    if (this.destroyed)\n      return;\n    let signal;\n    let hint;\n    try {\n      signal = this.buildTrackSignal(record);\n      hint = this.trackHint(record, destinations);\n    } catch (err) {\n      this.countDropped(\"malformed\", \"track\");\n      this.logger.warn(\n        `[Beacon] track() dropped one event — malformed record: ${String(err)}`\n      );\n      return;\n    }\n    this.emit(signal, hint, void 0);\n  }\n  metric(name, value, type, labels, context) {\n    if (this.destroyed)\n      return;\n    const signal = this.buildMetricSignal(name, value, type, labels);\n    this.emit(signal, void 0, context);\n  }\n  /**\n   * destroyed 가드 통과 시 `transport.flush(timeoutMs)` 위임. buffer drain + in-flight 대기\n   * 모두 transport 책임.\n   *\n   * **try/catch 없음**: Transport interface 가 never-throw 계약 (transport.ts JSDoc). 계약\n   * 위반은 SDK bug 로 caller (앱) 까지 propagate — silent swallow 회피.\n   */\n  flush(timeoutMs) {\n    return __async(this, null, function* () {\n      if (this.destroyed)\n        return false;\n      if (!this.runtimeEnabled)\n        return false;\n      return this.transport.flush(timeoutMs);\n    });\n  }\n  /**\n   * 런타임 긴급 비활성화 (BEACON-327 kill-switch). 호출 즉시 다음 emit/flush 부터 no-op —\n   * 재-init·재배포 불요. 호스트 자체 feature flag 가 \"off\" 일 때 호출한다.\n   * 관찰 가능 행동: 이후 모든 capture 가 송신되지 않으며 buffered 잔여도 flush 되지 않는다.\n   */\n  disable() {\n    this.runtimeEnabled = false;\n  }\n  /** 비활성화 해제 (BEACON-327). 이후 emit/flush 정상 동작 재개. */\n  enable() {\n    this.runtimeEnabled = true;\n  }\n  /** 현재 활성화 상태 (BEACON-327). destroyed 와는 독립 — destroy 후에도 호출 안전. */\n  isEnabled() {\n    return this.runtimeEnabled;\n  }\n  /**\n   * 정상 종료. C-3 호환 순서로 자원 해제:\n   *   1. destroyed=true (재진입 가드 + 후속 capture no-op)\n   *   2. integrations.teardownAll() (auto-capture 등 source 차단 — registry 가 per-integration\n   *      throw 격리 보장)\n   *   3. transport.flush(this.destroyFlushTimeoutMs) — 내부 buffer drain + in-flight 대기\n   *   4. transport.close?.() (싱크 자원 해제 — AbortController / native handle / interval)\n   *\n   * **try/catch 없음 — 직선 흐름인 이유** (ADR-031 §6.1 Never-throw contract 적용):\n   *\n   * 풀려는 문제: 이전 구현은 flush/destroy 안의 4곳 step (flush 1 + destroy 3) 각각을\n   * try/catch 로 감싸거나 `tryCleanupStep` helper 로 통합해 throw 를 swallow + logger.warn 으로\n   * 변환했다. helper 는 파편화된 try/catch 를 한 곳에 모은 진전이었지만, *transport 가 throw\n   * 할 수 있다는 가정 자체* 가 남아 있었다 — 증상 무마이지 원인 해결이 아니다. 본 helper 는\n   * 외부 impl 작성자의 계약 위반을 silent swallow 해 *영원히 발견 안 되는 버그* 를 만든다.\n   *\n   * 선택: throw 가능성 가정 자체를 제거한다. Transport interface JSDoc 에 never-throw 계약\n   * 명시 (transport.ts) + HttpTransport 의 모든 throw 표면 (sendBeacon / JSON.stringify 등)\n   * 을 구현체 내부에서 흡수. IntegrationRegistry.teardownAll 도 per-integration try/catch 로\n   * 한 integration 실패가 다른 정리를 막지 않음을 보장. 결과적으로 destroy 가 5줄 직선 흐름.\n   *\n   * 트레이드오프: 외부 transport impl 이 계약을 어기고 throw 하면 destroy 가 caller 까지\n   * propagate. 의도된 트레이드오프 — silent swallow 가 일으키는 *영원히 발견 안 되는 계약\n   * 위반* 보다 caller 까지 표면화되는 게 낫다. 이는 본 도메인의 우선순위 (외부 impl 의 빠른\n   * 버그 발견 > defensive swallow) 에 대한 판단이다.\n   */\n  destroy() {\n    return __async(this, null, function* () {\n      var _a, _b;\n      if (this.destroyed)\n        return;\n      this.destroyed = true;\n      this.integrations.teardownAll();\n      yield this.transport.flush(this.destroyFlushTimeoutMs);\n      yield (_b = (_a = this.transport).close) == null ? void 0 : _b.call(_a);\n    });\n  }\n  /**\n   * log() 의 Signal 변환 hook. 자식은 ADR-021 LogSignal shape 으로 변환만 책임.\n   * destroyed 가드 / pipeline / dispatch 는 BaseClient 가 일괄 수행한다.\n   */\n  /**\n   * `TrackRecord`(중첩) → `TrackSignal`(평면) 변환. MCP-3953.\n   *\n   * **변환이 SDK 몫인 이유**(ADR-093 §예외): 규격의 주인이 규격에 맞춘다. 로제타가 Beacon wire\n   * 형상을 알아야 하면 Beacon 이 축을 바꿀 때마다 양쪽이 함께 움직여야 한다.\n   */\n  /**\n   * drop 계상 훅 — 기본 no-op. 파이프라인 **밖**에서 버린 것을 알리는 자리다.\n   *\n   * `PipelineCounter` 는 어댑터(sdk-browser `WebPipelineCounter`)가 소유하고 `PipelineContext`\n   * 로만 흘러들어 간다. 그런데 `track()` 의 형상 오류는 파이프라인에 **진입하기 전**에 잡히므로\n   * 그 경로로는 계상할 수 없다. 그래서 자식이 채우는 훅을 둔다.\n   *\n   * 기본 구현을 no-op 으로 두는 이유: 계상 수단이 없는 런타임(테스트 더블 포함)이 이것 때문에\n   * 깨질 이유가 없다. **관측 보강이지 계약이 아니다** — `destinations()` 를 abstract 로 둔 것과\n   * 반대 판단이며, 그쪽은 빠지면 데이터가 사라지지만 이쪽은 카운터만 비는 차이다.\n   */\n  countDropped(_reason, _signalType, _extraLabels) {\n  }\n  /**\n   * track 발화에 딸려 파이프라인을 흐를 `Hint` 를 만든다 — 기본은 빈 hint (MCP-4399).\n   *\n   * 이 hint 객체는 **같은 참조로** `emit()` → Integration → BeforeSend → (보류 시) `PreFlagGate`\n   * → 방출까지 흐른다. 자식은 이 참조를 키로 「수집 API 가 이 발화를 실제로 받아들였을 때 할\n   * 일」을 걸어 둘 수 있다 — `BeaconClient` 의 destination fan-out 이 그 소비자다.\n   *\n   * 🔴 게이트를 나열하지 않으려고 둔 자리다 (PR #837 리뷰). `emit()` 이 발화를 버리는 지점은\n   * destroyed · kill-switch · Integration `null` · BeforeSend `null` 넷이고 앞으로 늘 수 있다.\n   * 소비처가 그걸 손으로 다시 확인하면 나열에서 빠진 것이 그대로 구멍이 된다.\n   *\n   * `buildTrackSignal` 과 같은 try 안에서 불리므로 여기서 던져도 `track()` 밖으로 새지 않는다.\n   */\n  trackHint(_record, _destinations) {\n    return {};\n  }\n  // ─── Protected helpers (자식 capture 경로의 공통 진입점) ───────────────\n  /**\n   * destroyed 가드 + integration pipeline + dispatch 의 single source of truth.\n   *\n   * 모든 capture 경로 (log / metric / 자식의 captureException / captureMessage) 가 본 헬퍼를\n   * 통과해야 destroyed-after 회귀 (C-3) 와 I-2 drop short-circuit 이 일관되게 적용된다.\n   *\n   * `context` (per-call screen/domain override, ADR-050 §결정 2/3)는 destroyed 가드 직후 가장 앞에서\n   * {@link applyScreenDomainContext} 로 적용된다 — scope/integration/beforeSend 가 override 된 값을\n   * 보도록. 적용·clamp 의 상세 근거는 그 함수 JSDoc 참조.\n   *\n   * @returns event 가 destroyed 가드를 통과하고 pipeline 에서 drop 되지 않았으면 true.\n   *          dispatch 호출 여부와 동일.\n   */\n  emit(signal, hint = {}, context) {\n    if (this.destroyed)\n      return false;\n    if (!this.runtimeEnabled)\n      return false;\n    applyScreenDomainContext(signal, context);\n    const scoped = this.getScope().applyToEvent(signal, hint);\n    const processed = this.runIntegrationPipeline(scoped, hint);\n    if (processed === null)\n      return false;\n    const result = this.runBeforeSendPipeline(processed, hint);\n    if (result === null)\n      return false;\n    this.dispatch(result);\n    this.afterDispatch(result, hint);\n    return true;\n  }\n  /**\n   * 발화가 **실제로 `dispatch()` 된 직후** 불리는 훅 — 기본 no-op (MCP-4399).\n   *\n   * 여기에 도달했다는 것 자체가 destroyed 아님 · kill-switch 켜짐 · Integration 통과 ·\n   * BeforeSend 통과 · 보류 아님을 뜻한다. 게이트를 소비처가 다시 나열할 필요가 없다.\n   *\n   * 🔴 **dispatch «뒤» 인 것이 계약이다** (PR #837 리뷰 3라운드). 소비자(destination fan-out)가\n   * 호스트 함수를 동기로 부르므로, 앞에 두면 그 함수가 느린 만큼 수집 API 적재가 밀린다.\n   * 사용자 행동로그는 수집 API 가 유실 불가 구간이라 적재가 먼저다.\n   *\n   * ⚠️ 보류 방출 경로(`PreFlagGate` release)도 `dispatch()` 직후 이 훅을 부른다 — 자식이\n   * 자기 방출 경로를 가질 때 함께 불러야 한다.\n   */\n  afterDispatch(_signal, _hint) {\n  }\n  /**\n   * Assemble stage processEvent 순회 (ADR-031 §1.2 EventHook).\n   * Integration 들이 event 를 변형 / drop 가능.\n   *\n   * 입력 signal 은 *이미 `emit()` 안에서 `Scope.applyToEvent` 를 통과* 한 상태 (ADR-035 §결정 7-A\n   * BeforeCapture stage). 따라서 본 단계의 integration 들은 scope-적용된 signal 을 보고 변형 / drop\n   * 결정한다. BEACON-148 정합 — LogSignal/ExceptionSignal 의 tags 가 이미 채워져 있음.\n   *\n   * 가시성: protected — public 표면에서 제거 (PR-B0 P3-4). 외부 사용자가 우회 호출하는\n   * semantic violation 차단.\n   */\n  runIntegrationPipeline(event, hint) {\n    return this.integrations.processEvent(event, hint);\n  }\n  /**\n   * BeforeSend stage (ADR-038 §결정 5) 의 hook point. 자식 클래스가 override 하여 신호 타입별\n   * own pipeline 함수 (`runLogPipeline` / `runMetricPipeline` / `runExceptionPipeline`) 를 호출.\n   *\n   * **default = passthrough (sync)**: BaseClient 자체는 ADR-038 의 pipeline 함수에 대한 직접\n   * 의존 0. BeaconClient (sdk-browser) / 후속 NodeClient 등이 override 하여 *자기 BeaconConfig* 에서\n   * hook / sampling rate / noise patterns 등을 끌어와 신호별 pipeline 함수를 호출한다.\n   *\n   * **sync only 반환** (ADR-038 §Drift 방어책 §2 재정정 2026-05-22):\n   * 3-언어 (TS/Kotlin/Swift) 모두 sync return — Promise capability 없음. 호스트의 async enrichment\n   * 는 *초기화 시점 cache + hook 안 sync read* 패턴 (Sentry/Datadog prior art 동형).\n   *\n   * **계약**: null 반환 → drop (dispatch 안 함). throw → 자식 구현체가 try/catch 격리.\n   */\n  runBeforeSendPipeline(signal, _hint) {\n    return signal;\n  }\n}\nconst HANDLED_LIMIT = 300;\nconst UNHANDLED_LIMIT = 100;\nconst WINDOW_MS = 6e4;\nconst MAX_TRACKED_FINGERPRINTS = 1e3;\nclass ExceptionRateLimiter {\n  /**\n   * @param now 현재 시각(ms) 공급자. 테스트는 주입, 런타임은 default `Date.now`.\n   */\n  constructor(now = () => Date.now()) {\n    __publicField(this, \"windows\", /* @__PURE__ */ new Map());\n    this.now = now;\n  }\n  /**\n   * 1건 시도를 기록하고, *이 시도가 윈도우 한도를 초과했는지*(= drop 해야 하는지) 반환.\n   *\n   * 한도 미만이면 카운트를 올리고 `false`(통과), 한도 도달이면 카운트 그대로 `true`(drop).\n   * hot-path (활성 윈도우) 는 Map lookup + 정수 비교만 — allocation 없음.\n   *\n   * @param key 내부 sha1 fingerprint (computeFingerprint 결과).\n   * @param handled mechanism.handled — true=300/min, false=100/min.\n   */\n  shouldDrop(key, handled) {\n    const limit = handled ? HANDLED_LIMIT : UNHANDLED_LIMIT;\n    const t = this.now();\n    const w = this.windows.get(key);\n    if (w === void 0 || t - w.start >= WINDOW_MS) {\n      this.windows.set(key, { start: t, count: 1 });\n      if (this.windows.size > MAX_TRACKED_FINGERPRINTS)\n        this.sweepExpired(t);\n      return false;\n    }\n    if (w.count >= limit)\n      return true;\n    w.count += 1;\n    return false;\n  }\n  /** 윈도우가 만료된(start 가 1분 초과 경과) key 를 제거 — map 무한 성장 방지. */\n  sweepExpired(now) {\n    for (const [key, w] of this.windows) {\n      if (now - w.start >= WINDOW_MS)\n        this.windows.delete(key);\n    }\n  }\n}\nfunction checkConsent(ctx) {\n  return ctx.consentState !== \"denied\";\n}\nfunction enrich(signal, scope) {\n  var _a;\n  const scopeTags = scope.tags;\n  const hasScopeTags = Object.keys(scopeTags).length > 0;\n  const fieldsAdded = [];\n  if (signal.type === \"log\") {\n    return { signal, fieldsAdded };\n  }\n  if (signal.type === \"metric\") {\n    return { signal, fieldsAdded };\n  }\n  if (signal.type === \"exception\") {\n    if (!hasScopeTags)\n      return { signal, fieldsAdded };\n    fieldsAdded.push(\"tags\");\n    return {\n      signal: __spreadProps(__spreadValues({}, signal), {\n        tags: __spreadValues(__spreadValues({}, scopeTags), (_a = signal.tags) != null ? _a : {})\n      }),\n      fieldsAdded\n    };\n  }\n  return { signal, fieldsAdded };\n}\nfunction filterNoise(signal, patterns) {\n  if (!patterns || patterns.length === 0)\n    return false;\n  const text = extractMatchableText(signal);\n  if (text === void 0)\n    return false;\n  for (const p of patterns) {\n    if (typeof p.pattern === \"string\") {\n      if (text.includes(p.pattern))\n        return true;\n    } else if (p.pattern.test(text)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction extractMatchableText(signal) {\n  var _a, _b, _c;\n  if (signal.type === \"log\")\n    return signal.message;\n  if (signal.type === \"exception\") {\n    const first = (_b = (_a = signal.exception) == null ? void 0 : _a.values) == null ? void 0 : _b[0];\n    return (_c = first == null ? void 0 : first.value) != null ? _c : first == null ? void 0 : first.type;\n  }\n  return void 0;\n}\nfunction rateLimitException(signal, ctx, fingerprintKey) {\n  var _a, _b, _c;\n  if (!ctx.exceptionRateLimiter)\n    return false;\n  const handled = (_c = (_b = (_a = signal.exception.values[0]) == null ? void 0 : _a.mechanism) == null ? void 0 : _b.handled) != null ? _c : false;\n  return ctx.exceptionRateLimiter.shouldDrop(fingerprintKey, handled);\n}\nfunction sample(_signal, opts) {\n  const rate = opts.rate;\n  if (rate === void 0 || rate >= 1)\n    return true;\n  if (rate <= 0)\n    return false;\n  const value = opts.fingerprint !== void 0 ? deterministicValue(opts.fingerprint) : Math.random();\n  return value < rate;\n}\nfunction deterministicValue(fingerprint) {\n  let hash = 2166136261;\n  for (let i = 0; i < fingerprint.length; i++) {\n    hash ^= fingerprint.charCodeAt(i);\n    hash = Math.imul(hash, 16777619);\n  }\n  return (hash >>> 0) / 4294967296;\n}\nfunction runExceptionPipeline(exception, hint, ctx) {\n  var _a, _b, _c, _d, _e, _f, _g, _h;\n  const internalFingerprint = computeFingerprint(exception);\n  const signal = __spreadProps(__spreadValues({}, exception), {\n    fingerprint: resolveFingerprint(exception, internalFingerprint)\n  });\n  if (!checkConsent(ctx)) {\n    (_b = ctx.counter) == null ? void 0 : _b.incDropped(\"consent\", \"exception\", {\n      consent_state: (_a = ctx.consentState) != null ? _a : \"unknown\"\n    });\n    return null;\n  }\n  if (signal.level !== \"fatal\") {\n    if (rateLimitException(signal, ctx, internalFingerprint)) {\n      (_c = ctx.counter) == null ? void 0 : _c.incDropped(\"rate_limit\", \"exception\");\n      return null;\n    }\n    if (!sample(signal, {\n      rate: ctx.errorRate,\n      fingerprint: signal.fingerprint\n    })) {\n      (_d = ctx.counter) == null ? void 0 : _d.incDropped(\"sampler\", \"exception\");\n      return null;\n    }\n  }\n  if (filterNoise(signal, ctx.noisePatterns)) {\n    (_e = ctx.counter) == null ? void 0 : _e.incDropped(\"noise\", \"exception\");\n    return null;\n  }\n  const { signal: enriched, fieldsAdded } = enrich(signal, ctx.scope);\n  for (const field of fieldsAdded)\n    (_f = ctx.counter) == null ? void 0 : _f.incEnriched(field, \"exception\");\n  if (!ctx.beforeSendException)\n    return enriched;\n  let result;\n  try {\n    result = ctx.beforeSendException(enriched, hint);\n  } catch (e) {\n    (_g = ctx.counter) == null ? void 0 : _g.incErrored(\"exception\");\n    return null;\n  }\n  if (result === null) {\n    (_h = ctx.counter) == null ? void 0 : _h.incDropped(\"user_hook\", \"exception\");\n    return null;\n  }\n  return result;\n}\nfunction clampWireRate(rate) {\n  return Number.isFinite(rate) ? Math.min(1, Math.max(0, rate)) : 1;\n}\nfunction stampSampleRate(signal, exempt, rate) {\n  if (exempt)\n    return __spreadProps(__spreadValues({}, signal), { sampleRate: rate });\n  if (signal.sampleRate === void 0)\n    return signal;\n  const _a = signal, rest = __objRest(_a, [\"sampleRate\"]);\n  return rest;\n}\nfunction runLogPipeline(log, ctx, options = {}) {\n  var _a, _b, _c, _d, _e, _f, _g;\n  if (!checkConsent(ctx)) {\n    (_b = ctx.counter) == null ? void 0 : _b.incDropped(\"consent\", \"log\", {\n      consent_state: (_a = ctx.consentState) != null ? _a : \"unknown\"\n    });\n    return null;\n  }\n  const exempt = options.exempt === true;\n  const appliedRate = exempt ? clampWireRate(ctx.exemptLogSampleRate) : ctx.logSampleRate;\n  if (!sample(log, { rate: appliedRate })) {\n    (_c = ctx.counter) == null ? void 0 : _c.incDropped(\"sampler\", \"log\");\n    return null;\n  }\n  if (filterNoise(log, ctx.noisePatterns)) {\n    (_d = ctx.counter) == null ? void 0 : _d.incDropped(\"noise\", \"log\");\n    return null;\n  }\n  const { signal: enriched, fieldsAdded } = enrich(log, ctx.scope);\n  for (const field of fieldsAdded)\n    (_e = ctx.counter) == null ? void 0 : _e.incEnriched(field, \"log\");\n  if (!ctx.beforeSendLog)\n    return stampSampleRate(enriched, exempt, appliedRate);\n  let result;\n  try {\n    result = ctx.beforeSendLog(enriched);\n  } catch (e) {\n    (_f = ctx.counter) == null ? void 0 : _f.incErrored(\"log\");\n    return null;\n  }\n  if (result === null || typeof result !== \"object\") {\n    (_g = ctx.counter) == null ? void 0 : _g.incDropped(\"user_hook\", \"log\");\n    return null;\n  }\n  return stampSampleRate(result, exempt, appliedRate);\n}\nfunction runMetricPipeline(metric, ctx) {\n  var _a, _b, _c;\n  const { signal: enriched, fieldsAdded } = enrich(metric, ctx.scope);\n  for (const field of fieldsAdded)\n    (_a = ctx.counter) == null ? void 0 : _a.incEnriched(field, \"metric\");\n  if (!ctx.beforeSendMetric)\n    return enriched;\n  let result;\n  try {\n    result = ctx.beforeSendMetric(enriched);\n  } catch (e) {\n    (_b = ctx.counter) == null ? void 0 : _b.incErrored(\"metric\");\n    return null;\n  }\n  if (result === null) {\n    (_c = ctx.counter) == null ? void 0 : _c.incDropped(\"user_hook\", \"metric\");\n    return null;\n  }\n  return result;\n}\nconst DEFAULT_PERMANENT_FAILURE_CODES = /* @__PURE__ */ new Set([\n  400,\n  401,\n  403,\n  413,\n  422\n]);\nclass ExponentialBackoffRetryPolicy {\n  constructor(opts = {}) {\n    __publicField(this, \"maxRetries\");\n    __publicField(this, \"baseDelayMs\");\n    __publicField(this, \"maxDelayMs\");\n    __publicField(this, \"jitterRangeMs\");\n    __publicField(this, \"maxRetryAfterMs\");\n    __publicField(this, \"permanentFailureCodes\");\n    __publicField(this, \"random\");\n    var _a, _b, _c, _d, _e, _f, _g;\n    this.maxRetries = (_a = opts.maxRetries) != null ? _a : 3;\n    this.baseDelayMs = (_b = opts.baseDelayMs) != null ? _b : 1e3;\n    this.maxDelayMs = (_c = opts.maxDelayMs) != null ? _c : 6e4;\n    this.jitterRangeMs = (_d = opts.jitterRangeMs) != null ? _d : 1e3;\n    this.maxRetryAfterMs = (_e = opts.maxRetryAfterMs) != null ? _e : 3e5;\n    this.permanentFailureCodes = (_f = opts.permanentFailureCodes) != null ? _f : DEFAULT_PERMANENT_FAILURE_CODES;\n    this.random = (_g = opts.random) != null ? _g : Math.random;\n  }\n  shouldRetry(response, retryCount) {\n    if (retryCount >= this.maxRetries)\n      return false;\n    const sc = response.statusCode;\n    if (sc === 408 || sc === 429)\n      return true;\n    if (isPermanentFailure(response, this.permanentFailureCodes))\n      return false;\n    if (sc >= 500)\n      return true;\n    if (sc <= 0 || Number.isNaN(sc))\n      return true;\n    return false;\n  }\n  getDelay(retryCount, retryAfterHeader) {\n    const headerDelay = parseRetryAfter(retryAfterHeader);\n    const jitter = Math.floor(this.random() * this.jitterRangeMs);\n    if (headerDelay !== null) {\n      return Math.min(headerDelay + jitter, this.maxRetryAfterMs);\n    }\n    const base = Math.min(this.baseDelayMs * __pow(2, retryCount), this.maxDelayMs);\n    return base + jitter;\n  }\n}\nfunction isPermanentFailure(response, permanentFailureCodes) {\n  const sc = response.statusCode;\n  if (sc === 408 || sc === 429)\n    return false;\n  return permanentFailureCodes.has(sc) || sc >= 400 && sc < 500;\n}\nfunction parseRetryAfter(header) {\n  if (!header)\n    return null;\n  const trimmed = header.trim();\n  if (trimmed === \"\")\n    return null;\n  if (/^\\d+$/.test(trimmed)) {\n    return parseInt(trimmed, 10) * 1e3;\n  }\n  if (!/[a-zA-Z]/.test(trimmed))\n    return null;\n  const parsedDate = Date.parse(trimmed);\n  if (!Number.isNaN(parsedDate)) {\n    const diff = parsedDate - Date.now();\n    return diff > 0 ? diff : 0;\n  }\n  return null;\n}\nfunction defaultMechanism(source) {\n  switch (source) {\n    case \"captureException\":\n      return { type: MECHANISM_TYPES.GENERIC, handled: true };\n    case \"captureMessage\":\n      return { type: MECHANISM_TYPES.GENERIC, handled: true, synthetic: true };\n    case \"autoCapture.onerror\":\n      return { type: MECHANISM_TYPES.ONERROR, handled: false };\n    case \"autoCapture.unhandledrejection\":\n      return { type: MECHANISM_TYPES.UNHANDLED_REJECTION, handled: false };\n  }\n}\nfunction mergeMechanism(source, override) {\n  const base = defaultMechanism(source);\n  if (!override)\n    return base;\n  return __spreadValues(__spreadValues({}, base), override);\n}\nconst STACKTRACE_FRAME_LIMIT = 50;\nconst UNKNOWN_FUNCTION = \"?\";\nconst WEBPACK_ERROR_REGEXP = /\\(error: (.*)\\)/;\nconst STRIP_FRAME_REGEXP = /(^|\\.)(captureMessage|captureException)$/;\nfunction createStackParser(...parsers) {\n  const sortedParsers = parsers.sort((a2, b) => a2[0] - b[0]).map((p) => p[1]);\n  return (stack, skipFirstLines = 0, framesToPop = 0) => {\n    const frames = [];\n    const lines = stack.split(\"\\n\");\n    for (let i = skipFirstLines; i < lines.length; i++) {\n      let line = lines[i];\n      if (line.length > 1024) {\n        line = line.slice(0, 1024);\n      }\n      const cleanedLine = WEBPACK_ERROR_REGEXP.test(line) ? line.replace(WEBPACK_ERROR_REGEXP, \"$1\") : line;\n      if (cleanedLine.includes(\"Error: \")) {\n        continue;\n      }\n      for (const parser of sortedParsers) {\n        const frame = parser(cleanedLine);\n        if (frame) {\n          frames.push(frame);\n          break;\n        }\n      }\n      if (frames.length >= STACKTRACE_FRAME_LIMIT + framesToPop) {\n        break;\n      }\n    }\n    return stripFramesAndReverse(frames.slice(framesToPop));\n  };\n}\nfunction stripFramesAndReverse(stack) {\n  if (!stack.length) {\n    return [];\n  }\n  const localStack = Array.from(stack);\n  localStack.reverse();\n  if (STRIP_FRAME_REGEXP.test(getLastStackFrame(localStack).function || \"\")) {\n    localStack.pop();\n    if (STRIP_FRAME_REGEXP.test(getLastStackFrame(localStack).function || \"\")) {\n      localStack.pop();\n    }\n  }\n  return localStack.slice(0, STACKTRACE_FRAME_LIMIT).map((frame) => __spreadProps(__spreadValues({}, frame), {\n    filename: frame.filename || getLastStackFrame(localStack).filename,\n    function: frame.function || UNKNOWN_FUNCTION\n  }));\n}\nfunction getLastStackFrame(arr) {\n  return arr[arr.length - 1] || {};\n}\nconst CHROME_PRIORITY = 30;\nconst GECKO_PRIORITY = 50;\nfunction createFrame(filename, func, lineno, colno) {\n  const frame = {\n    filename,\n    function: func === \"<anonymous>\" ? UNKNOWN_FUNCTION : func\n  };\n  if (lineno !== void 0) {\n    frame.lineno = lineno;\n  }\n  if (colno !== void 0) {\n    frame.colno = colno;\n  }\n  return frame;\n}\nconst chromeRegexNoFnName = /^\\s*at (\\S+?)(?::(\\d+))(?::(\\d+))\\s*$/i;\nconst chromeRegex = /^\\s*at (?:(.+?\\)(?: \\[.+\\])?|.*?) ?\\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\\/)?.*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nconst chromeEvalRegex = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\nconst chromeDataUriRegex = /at (.+?) ?\\(data:(.+?),/;\nconst chromeStackParserFn = (line) => {\n  var _a;\n  const dataUriMatch = line.match(chromeDataUriRegex);\n  if (dataUriMatch) {\n    return {\n      filename: `<data:${dataUriMatch[2]}>`,\n      function: dataUriMatch[1]\n    };\n  }\n  const noFnParts = chromeRegexNoFnName.exec(line);\n  if (noFnParts) {\n    const [, filename, line2, col] = noFnParts;\n    return createFrame(filename, UNKNOWN_FUNCTION, +line2, +col);\n  }\n  const parts = chromeRegex.exec(line);\n  if (parts) {\n    const isEval = ((_a = parts[2]) == null ? void 0 : _a.indexOf(\"eval\")) === 0;\n    if (isEval) {\n      const subMatch = chromeEvalRegex.exec(parts[2]);\n      if (subMatch) {\n        parts[2] = subMatch[1];\n        parts[3] = subMatch[2];\n        parts[4] = subMatch[3];\n      }\n    }\n    const [func, filename] = extractSafariExtensionDetails(\n      parts[1] || UNKNOWN_FUNCTION,\n      parts[2]\n    );\n    return createFrame(\n      filename,\n      func,\n      parts[3] ? +parts[3] : void 0,\n      parts[4] ? +parts[4] : void 0\n    );\n  }\n  return;\n};\nconst chromeStackLineParser = [\n  CHROME_PRIORITY,\n  chromeStackParserFn\n];\nconst geckoREgex = /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)?((?:[-a-z]+)?:\\/.*?|\\[native code\\]|[^@]*(?:bundle|\\d+\\.js)|\\/[\\w\\-. /=]+)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nconst geckoEvalRegex = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\nconst gecko = (line) => {\n  const parts = geckoREgex.exec(line);\n  if (parts) {\n    const isEval = parts[3] && parts[3].indexOf(\" > eval\") > -1;\n    if (isEval) {\n      const subMatch = geckoEvalRegex.exec(parts[3]);\n      if (subMatch) {\n        parts[1] = parts[1] || \"eval\";\n        parts[3] = subMatch[1];\n        parts[4] = subMatch[2];\n        parts[5] = \"\";\n      }\n    }\n    let filename = parts[3];\n    let func = parts[1] || UNKNOWN_FUNCTION;\n    [func, filename] = extractSafariExtensionDetails(func, filename);\n    return createFrame(\n      filename,\n      func,\n      parts[4] ? +parts[4] : void 0,\n      parts[5] ? +parts[5] : void 0\n    );\n  }\n  return;\n};\nconst geckoStackLineParser = [GECKO_PRIORITY, gecko];\nconst defaultStackLineParsers = [\n  chromeStackLineParser,\n  geckoStackLineParser\n];\ncreateStackParser(...defaultStackLineParsers);\nconst extractSafariExtensionDetails = (func, filename) => {\n  const isSafariExtension = func.indexOf(\"safari-extension\") !== -1;\n  const isSafariWebExtension = func.indexOf(\"safari-web-extension\") !== -1;\n  return isSafariExtension || isSafariWebExtension ? [\n    func.indexOf(\"@\") !== -1 ? func.split(\"@\")[0] : UNKNOWN_FUNCTION,\n    isSafariExtension ? `safari-extension:${filename}` : `safari-web-extension:${filename}`\n  ] : [func, filename];\n};\nconst DEFAULT_EXCLUDES = [/node_modules/];\nfunction matchesAny(abs_path, patterns) {\n  if (!patterns || patterns.length === 0)\n    return false;\n  for (const p of patterns) {\n    if (typeof p === \"string\") {\n      if (abs_path.includes(p))\n        return true;\n    } else if (p.test(abs_path)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction inferInApp(abs_path, config) {\n  var _a;\n  const excludes = (_a = config == null ? void 0 : config.inAppExcludes) != null ? _a : DEFAULT_EXCLUDES;\n  if (matchesAny(abs_path, excludes))\n    return false;\n  if (matchesAny(abs_path, config == null ? void 0 : config.inAppIncludes))\n    return true;\n  return void 0;\n}\nfunction isEvalWrap(func) {\n  if (!func)\n    return false;\n  return func === \"eval\" || func.startsWith(\"eval \");\n}\nfunction extractFilename(absPath) {\n  var _a;\n  if (!absPath)\n    return void 0;\n  const clean = (_a = absPath.split(/[?#]/, 1)[0]) != null ? _a : absPath;\n  const lastSlash = clean.lastIndexOf(\"/\");\n  if (lastSlash === -1)\n    return clean || void 0;\n  const tail = clean.slice(lastSlash + 1);\n  return tail.length > 0 ? tail : void 0;\n}\nfunction mapSentryFrameToBeaconFrame(sentryFrame, config) {\n  const absPath = sentryFrame.filename;\n  const frame = {};\n  if (absPath !== void 0) {\n    frame.abs_path = absPath;\n    const filename = extractFilename(absPath);\n    if (filename !== void 0)\n      frame.filename = filename;\n  }\n  if (sentryFrame.function !== void 0 && sentryFrame.function !== UNKNOWN_FUNCTION && sentryFrame.function !== \"<anonymous>\" && sentryFrame.function.length > 0) {\n    frame.function = isEvalWrap(sentryFrame.function) ? \"eval\" : sentryFrame.function;\n  }\n  if (sentryFrame.lineno !== void 0 && Number.isFinite(sentryFrame.lineno) && sentryFrame.lineno > 0) {\n    frame.lineno = sentryFrame.lineno;\n  }\n  if (sentryFrame.colno !== void 0 && Number.isFinite(sentryFrame.colno) && sentryFrame.colno >= 0) {\n    frame.colno = sentryFrame.colno;\n  }\n  if (absPath !== void 0) {\n    const inApp = inferInApp(absPath, config);\n    if (inApp !== void 0)\n      frame.in_app = inApp;\n  }\n  return frame;\n}\nconst ERROR_HEADER = /^\\s*\\w*(Error|Exception)[:\\s]/;\nfunction getStackString(error) {\n  if (typeof error === \"string\")\n    return error;\n  if (error === null || typeof error !== \"object\")\n    return \"\";\n  try {\n    const stack = error.stack;\n    return typeof stack === \"string\" ? stack : \"\";\n  } catch (e) {\n    return \"\";\n  }\n}\nfunction parseStack(error, config) {\n  const raw = getStackString(error);\n  if (raw.length === 0) {\n    return { frames: [], raw, partial: false };\n  }\n  const lines = raw.split(\"\\n\");\n  const sortedParsers = defaultStackLineParsers.slice().sort((a2, b) => a2[0] - b[0]).map((p) => p[1]);\n  const sentryFrames = [];\n  let matchCount = 0;\n  let failCount = 0;\n  for (const rawLine of lines) {\n    if (rawLine.trim().length === 0)\n      continue;\n    if (ERROR_HEADER.test(rawLine) && !rawLine.includes(\"@\") && !rawLine.includes(\" at \")) {\n      continue;\n    }\n    const truncated = rawLine.length > 1024 ? rawLine.slice(0, 1024) : rawLine;\n    const cleanedLine = WEBPACK_ERROR_REGEXP.test(truncated) ? truncated.replace(WEBPACK_ERROR_REGEXP, \"$1\") : truncated;\n    let matched;\n    for (const parser of sortedParsers) {\n      const frame = parser(cleanedLine);\n      if (frame) {\n        matched = frame;\n        break;\n      }\n    }\n    if (matched) {\n      sentryFrames.push(matched);\n      matchCount++;\n      if (sentryFrames.length >= STACKTRACE_FRAME_LIMIT)\n        break;\n    } else {\n      failCount++;\n    }\n  }\n  const partial = matchCount > 0 && failCount > 0;\n  if (sentryFrames.length === 0 && (config == null ? void 0 : config.onParseMiss)) {\n    try {\n      config.onParseMiss(raw);\n    } catch (e) {\n    }\n  }\n  const frames = sentryFrames.map(\n    (f) => mapSentryFrameToBeaconFrame(f, config)\n  );\n  return { frames, raw, partial };\n}\nconst defaultStackFrameParser = {\n  parse(error, config) {\n    return parseStack(error, config);\n  }\n};\nconst HEX_CHARS = \"0123456789abcdef\";\nfunction randomHex(byteLength) {\n  const cryptoObj = globalThis.crypto;\n  if (typeof (cryptoObj == null ? void 0 : cryptoObj.getRandomValues) === \"function\") {\n    const bytes = new Uint8Array(byteLength);\n    cryptoObj.getRandomValues(bytes);\n    let out2 = \"\";\n    for (const b of bytes) {\n      out2 += HEX_CHARS[b >>> 4 & 15] + HEX_CHARS[b & 15];\n    }\n    return out2;\n  }\n  let out = \"\";\n  for (let i = 0; i < byteLength * 2; i++) {\n    out += HEX_CHARS[Math.floor(Math.random() * 16)];\n  }\n  return out;\n}\nfunction generateTraceId() {\n  return randomHex(16);\n}\nfunction generateSpanId() {\n  return randomHex(8);\n}\nfunction isValidTraceId(value) {\n  return typeof value === \"string\" && /^[0-9a-f]{32}$/.test(value) && !/^0{32}$/.test(value);\n}\nfunction formatTraceparent(ctx) {\n  return `00-${ctx.trace_id}-${ctx.span_id}-01`;\n}\nfunction shouldPropagate(url, targets) {\n  for (const target of targets) {\n    if (typeof target === \"string\") {\n      if (url.startsWith(target))\n        return true;\n    } else {\n      if (target.test(url))\n        return true;\n    }\n  }\n  return false;\n}\nconst UNKNOWN_UA_INFO = {\n  engine: \"etc\",\n  majorVersion: \"unknown\",\n  runtimeHint: \"unknown\"\n};\nfunction detectUA(userAgent) {\n  const ua = userAgent != null ? userAgent : readNavigatorUA();\n  if (!ua)\n    return UNKNOWN_UA_INFO;\n  return {\n    engine: detectEngine(ua),\n    majorVersion: detectMajorVersion(ua),\n    runtimeHint: detectRuntimeHint(ua)\n  };\n}\nfunction readNavigatorUA() {\n  try {\n    if (typeof navigator !== \"undefined\" && typeof navigator.userAgent === \"string\") {\n      return navigator.userAgent;\n    }\n  } catch (e) {\n  }\n  return null;\n}\nfunction isIOS(ua) {\n  return /(?:iPhone|iPad|iPod)/.test(ua) || /(?:CriOS|EdgiOS|FxiOS|OPiOS)\\//.test(ua);\n}\nfunction detectEngine(ua) {\n  if (isIOS(ua))\n    return \"safari\";\n  if (/(?:Chrome|Edg|OPR|Chromium)\\//.test(ua))\n    return \"v8\";\n  if (/Firefox\\//.test(ua))\n    return \"gecko\";\n  if (/Safari\\//.test(ua) && !/(?:Chrome|Chromium)\\//.test(ua))\n    return \"safari\";\n  if (/(?:JavaScriptCore|JSCEngine)/i.test(ua))\n    return \"jsc\";\n  return \"etc\";\n}\nfunction detectMajorVersion(ua) {\n  if (isIOS(ua)) {\n    const m = ua.match(/ OS (\\d+)[._]/);\n    return (m == null ? void 0 : m[1]) ? `ios-${m[1]}` : \"unknown\";\n  }\n  const candidates = [\n    [/Edg\\/(\\d+)/, \"edge\"],\n    [/OPR\\/(\\d+)/, \"opera\"],\n    [/Firefox\\/(\\d+)/, \"firefox\"],\n    [/(?:Chrome|Chromium)\\/(\\d+)/, \"chrome\"],\n    [/Version\\/(\\d+)[^\\s]*\\s+(?:Mobile\\/[^\\s]+\\s+)?Safari\\//, \"safari\"]\n  ];\n  for (const [re, browser] of candidates) {\n    const m = ua.match(re);\n    if (m == null ? void 0 : m[1])\n      return `${browser}-${m[1]}`;\n  }\n  return \"unknown\";\n}\nfunction detectRuntimeHint(ua) {\n  if (/Android[^)]*\\bwv\\b/.test(ua) || /Android.*\\bWebView\\b/i.test(ua)) {\n    return \"android-webview\";\n  }\n  if (/(?:iPhone|iPad|iPod).*AppleWebKit\\//.test(ua) && !/Safari\\//.test(ua)) {\n    return \"ios-wkwebview\";\n  }\n  if (/Hermes\\//i.test(ua) || /ReactNative\\//i.test(ua)) {\n    return \"rn-hermes\";\n  }\n  return \"web\";\n}\nexport {\n  BaseClient,\n  ConsoleLogger,\n  ExceptionRateLimiter,\n  ExponentialBackoffRetryPolicy,\n  GlobalAsyncContextStrategy,\n  Hub,\n  IntegrationRegistry,\n  MECHANISM_TYPES,\n  NoopLogger,\n  RingBuffer,\n  STRIP_FRAME_REGEXP,\n  Scope,\n  SystemClock,\n  UNKNOWN_UA_INFO,\n  checkConsent,\n  clampToMaxLength,\n  defaultMechanism,\n  defaultStackFrameParser,\n  detectUA,\n  enrich,\n  filterNoise,\n  formatTraceparent,\n  generateSpanId,\n  generateTraceId,\n  isFingerprintSet,\n  isPermanentFailure,\n  isValidTraceId,\n  mergeMechanism,\n  parseStack,\n  resolveFingerprint,\n  runExceptionPipeline,\n  runLogPipeline,\n  runMetricPipeline,\n  sample,\n  scheduleMicrotask,\n  shouldPropagate\n};\n","const DEFAULT_REPLACEMENT = \"[REDACTED]\";\nfunction compile(opts) {\n  var _a;\n  const exactPaths = /* @__PURE__ */ new Set();\n  const bareNames = /* @__PURE__ */ new Set();\n  for (const f of opts.fields) {\n    if (f.includes(\".\"))\n      exactPaths.add(f);\n    else\n      bareNames.add(f);\n  }\n  return {\n    exactPaths,\n    bareNames,\n    replacement: (_a = opts.replacement) != null ? _a : DEFAULT_REPLACEMENT\n  };\n}\nfunction maskValue(value, rules, path, seen) {\n  if (value === null || value === void 0)\n    return value;\n  if (typeof value !== \"object\")\n    return value;\n  if (seen.has(value))\n    return value;\n  seen.add(value);\n  if (Array.isArray(value)) {\n    return value.map(\n      (v, i) => maskValue(v, rules, `${path}[${i}]`, seen)\n    );\n  }\n  const out = {};\n  for (const [k, v] of Object.entries(value)) {\n    const childPath = path ? `${path}.${k}` : k;\n    if (rules.bareNames.has(k) || rules.exactPaths.has(childPath)) {\n      out[k] = rules.replacement;\n    } else {\n      out[k] = maskValue(v, rules, childPath, seen);\n    }\n  }\n  return out;\n}\nfunction maskObject(value, opts) {\n  if (opts.fields.length === 0)\n    return value;\n  return maskValue(value, compile(opts), \"\", /* @__PURE__ */ new WeakSet());\n}\nexport {\n  maskObject\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nclass t {\n  constructor() {\n    __publicField(this, \"t\");\n    __publicField(this, \"o\", 0);\n    __publicField(this, \"i\", []);\n  }\n  u(t2) {\n    var _a;\n    if (t2.hadRecentInput)\n      return;\n    const e2 = this.i[0], n2 = this.i.at(-1);\n    this.o && e2 && n2 && t2.startTime - n2.startTime < 1e3 && t2.startTime - e2.startTime < 5e3 ? (this.o += t2.value, this.i.push(t2)) : (this.o = t2.value, this.i = [t2]), (_a = this.t) == null ? void 0 : _a.call(this, t2);\n  }\n}\nconst e = () => {\n  const t2 = performance.getEntriesByType(\"navigation\")[0];\n  if (t2 && t2.responseStart > 0 && t2.responseStart < performance.now())\n    return t2;\n}, n = (t2) => {\n  if (\"loading\" === document.readyState)\n    return \"loading\";\n  const n2 = e();\n  if (n2) {\n    if (t2 < n2.domInteractive)\n      return \"loading\";\n    if (0 === n2.domContentLoadedEventStart || t2 < n2.domContentLoadedEventStart)\n      return \"dom-interactive\";\n    if (0 === n2.domComplete || t2 < n2.domComplete)\n      return \"dom-content-loaded\";\n  }\n  return \"complete\";\n}, o = (t2) => {\n  const e2 = t2.nodeName;\n  return 1 === t2.nodeType ? e2.toLowerCase() : e2.toUpperCase().replace(/^#/, \"\");\n}, i = (t2) => {\n  let e2 = \"\";\n  try {\n    for (; 9 !== (t2 == null ? void 0 : t2.nodeType); ) {\n      const n2 = t2, i2 = n2.id ? \"#\" + n2.id : [o(n2), ...Array.from(n2.classList).sort()].join(\".\");\n      if (e2.length + i2.length > 99)\n        return e2 || i2;\n      if (e2 = e2 ? i2 + \">\" + e2 : i2, n2.id)\n        break;\n      t2 = n2.parentNode;\n    }\n  } catch {\n  }\n  return e2;\n}, r = /* @__PURE__ */ new WeakMap();\nfunction s(t2, e2) {\n  let n2 = r.get(e2);\n  return n2 || (n2 = /* @__PURE__ */ new WeakMap(), r.set(e2, n2)), n2.get(t2) || n2.set(t2, new e2()), n2.get(t2);\n}\nlet a = -1;\nconst c = () => a, u = (t2) => {\n  addEventListener(\"pageshow\", (e2) => {\n    e2.persisted && (a = e2.timeStamp, t2(e2));\n  }, true);\n}, f = (t2, e2, n2, o2) => {\n  let i2, r2;\n  return (s2) => {\n    e2.value >= 0 && (s2 || o2) && (r2 = e2.value - (i2 ?? 0), (r2 || void 0 === i2) && (i2 = e2.value, e2.delta = r2, e2.rating = ((t3, e3) => t3 > e3[1] ? \"poor\" : t3 > e3[0] ? \"needs-improvement\" : \"good\")(e2.value, n2), t2(e2)));\n  };\n}, l = (t2) => {\n  requestAnimationFrame(() => requestAnimationFrame(t2));\n}, d = () => {\n  var _a;\n  return ((_a = e()) == null ? void 0 : _a.activationStart) ?? 0;\n}, h = (t2, n2 = -1) => {\n  const o2 = e();\n  let i2 = \"navigate\";\n  c() >= 0 ? i2 = \"back-forward-cache\" : o2 && (document.prerendering || d() > 0 ? i2 = \"prerender\" : document.wasDiscarded ? i2 = \"restore\" : o2.type && (i2 = o2.type.replace(/_/g, \"-\")));\n  return { name: t2, value: n2, rating: \"good\", delta: 0, entries: [], id: `v5-${Date.now()}-${Math.floor(8999999999999 * Math.random()) + 1e12}`, navigationType: i2 };\n}, m = (t2, e2, n2 = {}) => {\n  try {\n    if (PerformanceObserver.supportedEntryTypes.includes(t2)) {\n      const o2 = new PerformanceObserver((t3) => {\n        queueMicrotask(() => {\n          e2(t3.getEntries());\n        });\n      });\n      return o2.observe({ type: t2, buffered: true, ...n2 }), o2;\n    }\n  } catch {\n  }\n}, g = (t2) => {\n  let e2 = false;\n  return () => {\n    e2 || (t2(), e2 = true);\n  };\n};\nlet p = -1;\nconst y = /* @__PURE__ */ new Set(), v = () => \"hidden\" !== document.visibilityState || document.prerendering ? 1 / 0 : 0, b = (t2) => {\n  if (\"hidden\" === document.visibilityState) {\n    if (\"visibilitychange\" === t2.type)\n      for (const t3 of y)\n        t3();\n    isFinite(p) || (p = \"visibilitychange\" === t2.type ? t2.timeStamp : 0, removeEventListener(\"prerenderingchange\", b, true));\n  }\n}, M = () => {\n  var _a;\n  if (p < 0) {\n    const t2 = d(), e2 = document.prerendering ? void 0 : (_a = globalThis.performance.getEntriesByType(\"visibility-state\").find((e3) => \"hidden\" === e3.name && e3.startTime >= t2)) == null ? void 0 : _a.startTime;\n    p = e2 ?? v(), addEventListener(\"visibilitychange\", b, true), addEventListener(\"prerenderingchange\", b, true), u(() => {\n      setTimeout(() => {\n        p = v();\n      });\n    });\n  }\n  return { get firstHiddenTime() {\n    return p;\n  }, onHidden(t2) {\n    y.add(t2);\n  } };\n}, T = (t2) => {\n  document.prerendering ? addEventListener(\"prerenderingchange\", t2, true) : t2();\n}, E = [1800, 3e3], D = (t2, e2 = {}) => {\n  T(() => {\n    const n2 = M();\n    let o2, i2 = h(\"FCP\");\n    const r2 = m(\"paint\", (t3) => {\n      for (const e3 of t3)\n        \"first-contentful-paint\" === e3.name && (r2.disconnect(), e3.startTime < n2.firstHiddenTime && (i2.value = Math.max(e3.startTime - d(), 0), i2.entries.push(e3), o2(true)));\n    });\n    r2 && (o2 = f(t2, i2, E, e2.reportAllChanges), u((n3) => {\n      i2 = h(\"FCP\"), o2 = f(t2, i2, E, e2.reportAllChanges), l(() => {\n        i2.value = performance.now() - n3.timeStamp, o2(true);\n      });\n    }));\n  });\n}, L = [0.1, 0.25], S = (t2) => t2.find((t3) => {\n  var _a;\n  return 1 === ((_a = t3.node) == null ? void 0 : _a.nodeType);\n}) || t2[0], P = (e2, o2 = {}) => {\n  const r2 = s(o2 = Object.assign({}, o2), t), a2 = /* @__PURE__ */ new WeakMap();\n  r2.t = (t2) => {\n    var _a, _b;\n    if ((_a = t2 == null ? void 0 : t2.sources) == null ? void 0 : _a.length) {\n      const e3 = S(t2.sources), n2 = e3 == null ? void 0 : e3.node;\n      if (n2) {\n        const t3 = ((_b = o2.generateTarget) == null ? void 0 : _b.call(o2, n2)) ?? i(n2);\n        a2.set(e3, t3);\n      }\n    }\n  };\n  ((e3, n2 = {}) => {\n    const o3 = M();\n    D(g(() => {\n      let i2, r3 = h(\"CLS\", 0);\n      const a3 = s(n2, t), c2 = (t2) => {\n        for (const e4 of t2)\n          a3.u(e4);\n        a3.o > r3.value && (r3.value = a3.o, r3.entries = a3.i, i2());\n      }, d2 = m(\"layout-shift\", c2);\n      d2 && (i2 = f(e3, r3, L, n2.reportAllChanges), o3.onHidden(() => {\n        c2(d2.takeRecords()), i2(true);\n      }), u(() => {\n        a3.o = 0, r3 = h(\"CLS\", 0), i2 = f(e3, r3, L, n2.reportAllChanges), l(i2);\n      }), setTimeout(i2));\n    }));\n  })((t2) => {\n    e2(((t3) => {\n      var _a;\n      let e3 = {};\n      if (t3.entries.length) {\n        const o3 = t3.entries.reduce((t4, e4) => t4.value > e4.value ? t4 : e4);\n        if ((_a = o3 == null ? void 0 : o3.sources) == null ? void 0 : _a.length) {\n          const t4 = S(o3.sources);\n          t4 && (e3 = { largestShiftTarget: a2.get(t4), largestShiftTime: o3.startTime, largestShiftValue: o3.value, largestShiftSource: t4, largestShiftEntry: o3, loadState: n(o3.startTime) });\n        }\n      }\n      return Object.assign(t3, { attribution: e3 });\n    })(t2));\n  }, o2);\n}, w = (t2, o2 = {}) => {\n  D((o3) => {\n    t2(((t3) => {\n      let o4 = { timeToFirstByte: 0, firstByteToFCP: t3.value, loadState: n(c()) };\n      if (t3.entries.length) {\n        const i2 = e(), r2 = t3.entries.at(-1);\n        if (i2) {\n          const e2 = i2.activationStart || 0, s2 = Math.max(0, i2.responseStart - e2);\n          o4 = { timeToFirstByte: s2, firstByteToFCP: t3.value - s2, loadState: n(t3.entries[0].startTime), navigationEntry: i2, fcpEntry: r2 };\n        }\n      }\n      return Object.assign(t3, { attribution: o4 });\n    })(o3));\n  }, o2);\n};\nlet k = 0, _ = 1 / 0, F = 0;\nconst B = (t2) => {\n  for (const e2 of t2)\n    e2.interactionId && (_ = Math.min(_, e2.interactionId), F = Math.max(F, e2.interactionId), k = F ? (F - _) / 7 + 1 : 0);\n};\nlet C;\nconst O = () => C ? k : performance.interactionCount ?? 0, j = () => {\n  \"interactionCount\" in performance || C || (C = m(\"event\", B, { durationThreshold: 0 }));\n};\nlet I = 0;\nclass A {\n  constructor() {\n    __publicField(this, \"l\", []);\n    __publicField(this, \"h\", /* @__PURE__ */ new Map());\n    __publicField(this, \"m\");\n    __publicField(this, \"p\");\n  }\n  v() {\n    I = O(), this.l.length = 0, this.h.clear();\n  }\n  M() {\n    const t2 = Math.min(this.l.length - 1, Math.floor((O() - I) / 50));\n    return this.l[t2];\n  }\n  u(t2) {\n    var _a, _b;\n    if ((_a = this.m) == null ? void 0 : _a.call(this, t2), !t2.interactionId && \"first-input\" !== t2.entryType)\n      return;\n    const e2 = this.l.at(-1);\n    let n2 = this.h.get(t2.interactionId);\n    if (n2 || this.l.length < 10 || t2.duration > e2.T) {\n      if (n2 ? t2.duration > n2.T ? (n2.entries = [t2], n2.T = t2.duration) : t2.duration === n2.T && t2.startTime === n2.entries[0].startTime && n2.entries.push(t2) : (n2 = { id: t2.interactionId, entries: [t2], T: t2.duration }, this.h.set(n2.id, n2), this.l.push(n2)), this.l.sort((t3, e3) => e3.T - t3.T), this.l.length > 10) {\n        const t3 = this.l.splice(10);\n        for (const e3 of t3)\n          this.h.delete(e3.id);\n      }\n      (_b = this.p) == null ? void 0 : _b.call(this, n2);\n    }\n  }\n}\nconst W = (t2) => {\n  const e2 = globalThis.requestIdleCallback || setTimeout, n2 = globalThis.cancelIdleCallback || clearTimeout;\n  if (\"hidden\" === document.visibilityState)\n    t2();\n  else {\n    const o2 = g(t2);\n    let i2 = -1;\n    const r2 = () => {\n      n2(i2), o2();\n    };\n    addEventListener(\"visibilitychange\", r2, { once: true, capture: true }), i2 = e2(() => {\n      removeEventListener(\"visibilitychange\", r2, { capture: true }), o2();\n    });\n  }\n}, q = [200, 500], x = (t2, e2 = {}) => {\n  const o2 = s(e2 = Object.assign({}, e2), A);\n  let r2 = [], a2 = [], c2 = 0;\n  const l2 = /* @__PURE__ */ new WeakMap(), d2 = /* @__PURE__ */ new WeakMap();\n  let g2 = false;\n  const p2 = () => {\n    g2 || (W(y2), g2 = true);\n  }, y2 = () => {\n    const t3 = new Set(o2.l.map((t4) => l2.get(t4.entries[0]))), e3 = a2.length - 10;\n    a2 = a2.filter((n3, o3) => o3 >= e3 || t3.has(n3));\n    const n2 = /* @__PURE__ */ new Set();\n    for (const t4 of a2) {\n      const e4 = v2(t4.startTime, t4.processingEnd);\n      for (const t5 of e4)\n        n2.add(t5);\n    }\n    r2 = r2.filter((t4) => t4.startTime > c2 || n2.has(t4)), g2 = false;\n  };\n  o2.m = (t3) => {\n    const n2 = t3.startTime + t3.duration;\n    let o3;\n    c2 = Math.max(c2, t3.processingEnd);\n    for (let i2 = a2.length - 1; i2 >= 0; i2--) {\n      const r3 = a2[i2];\n      if (Math.abs(n2 - r3.renderTime) <= 8) {\n        o3 = r3, o3.startTime = Math.min(t3.startTime, o3.startTime), o3.processingStart = Math.min(t3.processingStart, o3.processingStart), o3.processingEnd = Math.max(t3.processingEnd, o3.processingEnd), false !== e2.includeProcessedEventEntries && o3.entries.push(t3);\n        break;\n      }\n    }\n    o3 || (o3 = { startTime: t3.startTime, processingStart: t3.processingStart, processingEnd: t3.processingEnd, renderTime: n2, entries: false !== e2.includeProcessedEventEntries ? [t3] : [] }, a2.push(o3)), (t3.interactionId || \"first-input\" === t3.entryType) && l2.set(t3, o3), p2();\n  }, o2.p = (t3) => {\n    var _a, _b, _c;\n    if (!d2.get(t3)) {\n      const n2 = (_a = t3.entries.find((t4) => t4.target)) == null ? void 0 : _a.target;\n      if (n2) {\n        const o3 = ((_b = e2.generateTarget) == null ? void 0 : _b.call(e2, n2)) ?? i(n2);\n        d2.set(t3, o3);\n      } else {\n        const e3 = (_c = t3.entries.find((t4) => t4.targetSelector)) == null ? void 0 : _c.targetSelector;\n        e3 && d2.set(t3, e3);\n      }\n    }\n  };\n  const v2 = (t3, e3) => {\n    const n2 = [];\n    for (const o3 of r2)\n      if (!(o3.startTime + o3.duration < t3)) {\n        if (o3.startTime > e3)\n          break;\n        n2.push(o3);\n      }\n    return n2;\n  }, b2 = (t3) => {\n    const e3 = t3.entries[0], i2 = l2.get(e3), r3 = e3.processingStart, s2 = Math.max(e3.startTime + e3.duration, r3), a3 = Math.min(i2.processingEnd, s2), c3 = i2.entries.sort((t4, e4) => t4.processingStart - e4.processingStart), u2 = v2(e3.startTime, a3), f2 = o2.h.get(e3.interactionId), h2 = { interactionTarget: d2.get(f2), interactionType: e3.name.startsWith(\"key\") ? \"keyboard\" : \"pointer\", interactionTime: e3.startTime, nextPaintTime: s2, processedEventEntries: c3, longAnimationFrameEntries: u2, inputDelay: r3 - e3.startTime, processingDuration: a3 - r3, presentationDelay: s2 - a3, loadState: n(e3.startTime), longestScript: void 0, totalScriptDuration: void 0, totalStyleAndLayoutDuration: void 0, totalPaintDuration: void 0, totalUnattributedDuration: void 0 };\n    return ((t4) => {\n      var _a;\n      if (!((_a = t4.longAnimationFrameEntries) == null ? void 0 : _a.length))\n        return;\n      const e4 = t4.interactionTime, n2 = t4.inputDelay, o3 = t4.processingDuration;\n      let i3, r4, s3 = 0, a4 = 0, c4 = 0, u3 = 0;\n      for (const c5 of t4.longAnimationFrameEntries) {\n        a4 = a4 + c5.startTime + c5.duration - c5.styleAndLayoutStart;\n        for (const t5 of c5.scripts) {\n          const c6 = t5.startTime + t5.duration;\n          if (c6 < e4)\n            continue;\n          const f4 = c6 - Math.max(e4, t5.startTime), l4 = t5.duration ? f4 / t5.duration * t5.forcedStyleAndLayoutDuration : 0;\n          s3 += f4 - l4, a4 += l4, f4 > u3 && (r4 = t5.startTime < e4 + n2 ? \"input-delay\" : t5.startTime >= e4 + n2 + o3 ? \"presentation-delay\" : \"processing-duration\", i3 = t5, u3 = f4);\n        }\n      }\n      const f3 = t4.longAnimationFrameEntries.at(-1), l3 = f3 ? f3.startTime + f3.duration : 0;\n      l3 >= e4 + n2 + o3 && (c4 = t4.nextPaintTime - l3), i3 && r4 && (t4.longestScript = { entry: i3, subpart: r4, intersectingDuration: u3 }), t4.totalScriptDuration = s3, t4.totalStyleAndLayoutDuration = a4, t4.totalPaintDuration = c4, t4.totalUnattributedDuration = t4.nextPaintTime - e4 - s3 - a4 - c4;\n    })(h2), Object.assign(t3, { attribution: h2 });\n  };\n  m(\"long-animation-frame\", (t3) => {\n    r2 = r2.concat(t3), p2();\n  }), ((t3, e3 = {}) => {\n    if (!globalThis.PerformanceEventTiming || !(\"interactionId\" in PerformanceEventTiming.prototype))\n      return;\n    const n2 = M();\n    T(() => {\n      j();\n      let o3, i2 = h(\"INP\");\n      const r3 = s(e3, A), a3 = (t4) => {\n        W(() => {\n          for (const e5 of t4)\n            r3.u(e5);\n          const e4 = r3.M();\n          e4 && e4.T !== i2.value && (i2.value = e4.T, i2.entries = e4.entries, o3());\n        });\n      }, c3 = m(\"event\", a3, { durationThreshold: e3.durationThreshold ?? 40 });\n      o3 = f(t3, i2, q, e3.reportAllChanges), c3 && (c3.observe({ type: \"first-input\", buffered: true }), n2.onHidden(() => {\n        a3(c3.takeRecords()), o3(true);\n      }), u(() => {\n        r3.v(), i2 = h(\"INP\"), o3 = f(t3, i2, q, e3.reportAllChanges);\n      }));\n    });\n  })((e3) => {\n    t2(b2(e3));\n  }, e2);\n};\nclass N {\n  constructor() {\n    __publicField(this, \"m\");\n  }\n  u(t2) {\n    var _a;\n    (_a = this.m) == null ? void 0 : _a.call(this, t2);\n  }\n}\nconst $ = [2500, 4e3], H = (t2, n2 = {}) => {\n  const o2 = s(n2 = Object.assign({}, n2), N), r2 = /* @__PURE__ */ new WeakMap();\n  o2.m = (t3) => {\n    var _a;\n    const e2 = t3.element;\n    if (e2) {\n      const o3 = ((_a = n2.generateTarget) == null ? void 0 : _a.call(n2, e2)) ?? i(e2);\n      r2.set(t3, o3);\n    } else\n      t3.id && r2.set(t3, `#${t3.id}`);\n  };\n  ((t3, e2 = {}) => {\n    T(() => {\n      const n3 = M();\n      let o3, i2 = h(\"LCP\");\n      const r3 = s(e2, N), a2 = (t4) => {\n        e2.reportAllChanges || (t4 = t4.slice(-1));\n        for (const e3 of t4)\n          r3.u(e3), e3.startTime < n3.firstHiddenTime && (i2.value = Math.max(e3.startTime - d(), 0), i2.entries = [e3], o3());\n      }, c2 = m(\"largest-contentful-paint\", a2);\n      if (c2) {\n        o3 = f(t3, i2, $, e2.reportAllChanges);\n        const n4 = g(() => {\n          a2(c2.takeRecords()), c2.disconnect(), o3(true);\n        }), r4 = (t4) => {\n          t4.isTrusted && (W(n4), removeEventListener(t4.type, r4, { capture: true }));\n        };\n        for (const t4 of [\"keydown\", \"click\", \"visibilitychange\"])\n          addEventListener(t4, r4, { capture: true });\n        u((n5) => {\n          i2 = h(\"LCP\"), o3 = f(t3, i2, $, e2.reportAllChanges), l(() => {\n            i2.value = performance.now() - n5.timeStamp, o3(true);\n          });\n        });\n      }\n    });\n  })((n3) => {\n    t2(((t3) => {\n      let n4 = { timeToFirstByte: 0, resourceLoadDelay: 0, resourceLoadDuration: 0, elementRenderDelay: t3.value };\n      if (t3.entries.length) {\n        const o3 = t3.entries.at(-1), i2 = o3.url && performance.getEntriesByType(\"resource\").find((t4) => t4.name === o3.url);\n        n4.target = r2.get(o3), n4.lcpEntry = o3, o3.url && (n4.url = o3.url), i2 && (n4.lcpResourceEntry = i2);\n        const s2 = e();\n        if (s2) {\n          const e2 = s2.activationStart || 0, o4 = Math.max(0, s2.responseStart - e2), r3 = Math.max(o4, i2 ? (i2.requestStart || i2.startTime) - e2 : 0), a2 = Math.min(t3.value, Math.max(r3, i2 ? i2.responseEnd - e2 : 0));\n          n4 = { ...n4, timeToFirstByte: o4, resourceLoadDelay: r3 - o4, resourceLoadDuration: a2 - r3, elementRenderDelay: t3.value - a2, navigationEntry: s2 };\n        }\n      }\n      return Object.assign(t3, { attribution: n4 });\n    })(n3));\n  }, n2);\n}, R = [800, 1800], U = (t2) => {\n  document.prerendering ? T(() => U(t2)) : \"complete\" !== document.readyState ? addEventListener(\"load\", () => U(t2), true) : setTimeout(t2);\n}, V = (t2, n2 = {}) => {\n  ((t3, n3 = {}) => {\n    let o2 = h(\"TTFB\"), i2 = f(t3, o2, R, n3.reportAllChanges);\n    U(() => {\n      const r2 = e();\n      r2 && (o2.value = Math.max(r2.responseStart - d(), 0), o2.entries = [r2], i2(true), u(() => {\n        o2 = h(\"TTFB\", 0), i2 = f(t3, o2, R, n3.reportAllChanges), i2(true);\n      }));\n    });\n  })((e2) => {\n    t2(((t3) => {\n      let e3 = { waitingDuration: 0, cacheDuration: 0, dnsDuration: 0, connectionDuration: 0, requestDuration: 0 };\n      if (t3.entries.length) {\n        const n3 = t3.entries[0], o2 = n3.activationStart || 0, i2 = Math.max((n3.workerStart || n3.fetchStart) - o2, 0), r2 = Math.max(n3.domainLookupStart - o2, 0), s2 = Math.max(n3.connectStart - o2, 0), a2 = Math.max(n3.connectEnd - o2, 0);\n        e3 = { waitingDuration: i2, cacheDuration: r2 - i2, dnsDuration: s2 - r2, connectionDuration: a2 - s2, requestDuration: t3.value - a2, navigationEntry: n3 };\n      }\n      return Object.assign(t3, { attribution: e3 });\n    })(e2));\n  }, n2);\n};\nexport {\n  L as CLSThresholds,\n  E as FCPThresholds,\n  q as INPThresholds,\n  $ as LCPThresholds,\n  R as TTFBThresholds,\n  P as onCLS,\n  w as onFCP,\n  x as onINP,\n  H as onLCP,\n  V as onTTFB\n};\n","const BRIDGE_GLOBAL_NAME = \"BeaconBridge\";\nconst BRIDGE_MESSAGE_VERSION = 2;\nexport {\n  BRIDGE_GLOBAL_NAME as B,\n  BRIDGE_MESSAGE_VERSION as a\n};\n","import { BaseClient, ExceptionRateLimiter, detectUA, defaultStackFrameParser, STRIP_FRAME_REGEXP, mergeMechanism, runLogPipeline, runMetricPipeline, runExceptionPipeline, checkConsent, generateTraceId, generateSpanId, shouldPropagate, formatTraceparent, Scope, isFingerprintSet, RingBuffer, isValidTraceId, clampToMaxLength, ConsoleLogger, ExponentialBackoffRetryPolicy, defaultMechanism, NoopLogger, isPermanentFailure } from \"../../sdk-core-ts/dist/index.js\";\nimport { RUM_ERROR_KIND, MECHANISM_TYPES, RUM_HTTP_ERROR_KIND } from \"../../shared/dist/constants/index.js\";\nimport { maskObject } from \"../../shared/dist/masking.js\";\nimport { onLCP as H$1, onFCP as w$1, onCLS as P$1, onINP as x$1, onTTFB as V } from \"../../../web-vitals/dist/web-vitals.attribution.js\";\nimport { B as BRIDGE_GLOBAL_NAME, a as BRIDGE_MESSAGE_VERSION } from \"../../sdk-core-ts/dist/constants-DO_NTY2-.js\";\nvar Ze = Object.defineProperty, et = Object.defineProperties;\nvar tt = Object.getOwnPropertyDescriptors;\nvar Z = Object.getOwnPropertySymbols, nt = Object.getPrototypeOf, rt = Object.prototype.hasOwnProperty, it = Object.prototype.propertyIsEnumerable, st = Reflect.get;\nvar U = (r, t, e) => t in r ? Ze(r, t, { enumerable: true, configurable: true, writable: true, value: e }) : r[t] = e, f = (r, t) => {\n  for (var e in t || (t = {}))\n    rt.call(t, e) && U(r, e, t[e]);\n  if (Z)\n    for (var e of Z(t))\n      it.call(t, e) && U(r, e, t[e]);\n  return r;\n}, S = (r, t) => et(r, tt(t));\nvar l = (r, t, e) => U(r, typeof t != \"symbol\" ? t + \"\" : t, e);\nvar ee = (r, t, e) => st(nt(r), e, t);\nvar g = (r, t, e) => new Promise((n, i) => {\n  var s = (c) => {\n    try {\n      a(e.next(c));\n    } catch (u) {\n      i(u);\n    }\n  }, o = (c) => {\n    try {\n      a(e.throw(c));\n    } catch (u) {\n      i(u);\n    }\n  }, a = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(s, o);\n  a((e = e.apply(r, t)).next());\n});\nfunction x() {\n  try {\n    return typeof localStorage == \"undefined\" ? null : localStorage;\n  } catch (r) {\n    return null;\n  }\n}\nconst Fe = \"__beacon_outbox_p_\", Me = \":\", Ne = \"__beacon_outbox_e_\", se = \"__beacon_outbox_seq__\", It = \"__beacon_signal_outbox__\", Lt = 12, oe = 4, Ct = 1e3, At = 512 * 1024, ae = 0.9, Be = \"_p\", Ot = 0.2;\nfunction kt(r) {\n  var t, e, n, i;\n  return r.type !== \"exception\" ? false : ((i = (n = (e = (t = r.exception) == null ? void 0 : t.values) == null ? void 0 : e[0]) == null ? void 0 : n.mechanism) == null ? void 0 : i.handled) === false;\n}\nfunction He(r) {\n  return r.endsWith(Be) ? \"protected\" : \"normal\";\n}\nfunction Pt(r, t) {\n  const e = [], n = [];\n  for (const o of r)\n    He(o) === \"protected\" ? e.push(o) : n.push(o);\n  const i = Math.max(1, Math.floor(t * Ot)), s = Math.max(0, e.length - i);\n  return [\n    ...e.slice(0, s),\n    ...n,\n    ...e.slice(s)\n  ];\n}\nfunction D(r) {\n  const t = r.indexOf(Me);\n  return r.slice(t >= 0 ? t + 1 : Ne.length);\n}\nfunction ce(r) {\n  const t = [], e = [];\n  try {\n    for (let n = 0; n < r.length; n += 1) {\n      const i = r.key(n);\n      i != null && i.startsWith(Fe) ? e.push(i) : i != null && i.startsWith(Ne) && t.push(i);\n    }\n  } catch (n) {\n    return [[], []];\n  }\n  return [le(t), le(e)];\n}\nconst q = \"\\0\";\nfunction Dt(r, t) {\n  const e = D(r), n = D(t);\n  return e < n ? -1 : e > n ? 1 : 0;\n}\nfunction le(r) {\n  const t = [];\n  for (const e of r) {\n    const n = D(e);\n    if (n.includes(q))\n      return r.sort(Dt);\n    t.push(n + q + e);\n  }\n  t.sort();\n  for (let e = 0; e < t.length; e += 1) {\n    const n = t[e];\n    r[e] = n.slice(n.indexOf(q) + 1);\n  }\n  return r;\n}\nfunction Ft() {\n  return Math.random().toString(36).slice(2, 2 + oe).padEnd(oe, \"0\");\n}\nclass Mt {\n  /**\n   * @param maxStoredSignals 건수 상한. 호스트의 `bufferSize` 를 그대로 받는다 — 휘발성 버퍼와\n   *   영구 저장소의 상한을 어긋나게 둘 이유가 없다.\n   * @param maxStoredBytes 바이트 상한. quota 독식 차단의 본질적인 축이다 (MCP-3956).\n   *   두 상한 모두 **오리진 전체** Beacon 엔트리 기준이다 (헤더 \"파티션\" 절).\n   * @param partition 엔트리 소유 단위 (MCP-4443). `BeaconClient` 는 `projectId` 를 넘긴다.\n   *   `release` 는 넣지 않는다 — 배포마다 이전 잔여가 영구 미전송된다 (헤더 \"파티션\" 절).\n   *   미지정(`\"\"`)은 직접 생성한 인스턴스끼리만 공유하는 파티션이다 — 서버 스키마가 빈\n   *   projectId 를 받지 않으므로 실제 projectId 와 겹치지 않는다.\n   */\n  constructor(t = Ct, e = At, n = \"\") {\n    l(this, \"onOnline\", null);\n    l(this, \"flushCallback\", null);\n    l(this, \"inProgress\", Promise.resolve());\n    l(this, \"paused\", false);\n    l(this, \"maxStoredSignals\");\n    l(this, \"maxStoredBytes\");\n    l(this, \"ownPrefix\");\n    l(this, \"seq\", null);\n    l(this, \"count\", 0);\n    l(this, \"bytes\", 0);\n    l(this, \"synced\", false);\n    l(this, \"dropCounts\", /* @__PURE__ */ new Map());\n    l(this, \"countedCorrupted\", /* @__PURE__ */ new Set());\n    l(this, \"hadResidueAtStart\");\n    this.maxStoredSignals = Math.max(1, t), this.maxStoredBytes = Math.max(1, e), this.ownPrefix = Fe + encodeURIComponent(n) + Me, this.discardLegacyBlob(), this.hadResidueAtStart = this.detectResidue(), typeof window != \"undefined\" && (this.onOnline = () => {\n      this.scheduleProcess();\n    }, window.addEventListener(\"online\", this.onOnline));\n  }\n  setFlushCallback(t) {\n    this.flushCallback = t, this.hadResidueAtStart && this.scheduleProcess();\n  }\n  /**\n   * processQueue 호출 직렬화 — 이전 진행 작업 완료 후 새 작업 시작. flag 가드 없이 chain\n   * 자체로 동시성 보장. `processQueueOnce` 안에서 callback throw 가 try/catch 흡수되므로\n   * chain reject 없음 (모든 then 이 발화 보장).\n   */\n  scheduleProcess() {\n    this.inProgress = this.inProgress.then(() => this.processQueueOnce());\n  }\n  /**\n   * 신호 1건을 영속 저장.\n   *\n   * **Never-throw**: 직렬화 불가 / storage 접근 실패 / quota 는 모두 silent drop.\n   */\n  append(t) {\n    const e = kt(t) ? \"protected\" : \"normal\", n = x();\n    if (!n) {\n      this.countDrop(\"write_failed\", e);\n      return;\n    }\n    let i;\n    try {\n      i = JSON.stringify(t);\n    } catch (c) {\n      this.countDrop(\"malformed\", \"normal\");\n      return;\n    }\n    this.ensureSynced(n);\n    const s = this.nextId(n, e === \"protected\"), o = this.ownPrefix + s, a = o.length + i.length;\n    if (!this.writeWithEviction(n, o, i)) {\n      this.countDrop(\"write_failed\", e);\n      return;\n    }\n    this.count += 1, this.bytes += a, (this.count > this.maxStoredSignals || this.bytes > this.maxStoredBytes) && this.evictDownTo(n);\n  }\n  /**\n   * 잔여를 oldest 순으로 읽어 반환 — storage 는 건드리지 않는다 (멱등).\n   *\n   * **자기 파티션만 돌려준다 (MCP-4443).** transport 의 모든 송신 경로(flush · pagehide\n   * `sendBeacon` · online/시작 복구)가 이것을 거치므로, 필터를 여기 한 곳에 두면 경로별로\n   * 빠뜨릴 자리가 없다.\n   *\n   * **손상 엔트리는 건너뛰되 지우지 않는다.** 반환값만 멱등하면 되는 게 아니라 *저장소를\n   * 건드리지 않는 것* 까지가 `peek` 계약이기 때문이다.\n   *\n   * ⚠️ **회수 전제가 MCP-3957 로 바뀌었다.** 종전 주석은 \"손상 엔트리는 영원히 peek 되지\n   * 않으므로 결국 가장 오래된 축에 남아 먼저 밀려난다\" 였는데, `evictionOrder` 도입 후\n   * **`_p` 마커가 붙은 손상 엔트리는 보호 꼬리에 놓여** `protectedIds.length <= cap` 인 동안\n   * 후보에 오르지 않는다. 즉 일반이 전멸할 때까지 건수 슬롯과 바이트를 점유한다.\n   *\n   * 집계는 `countedCorrupted` 로 1회만 되므로 지표가 부풀지는 않는다 — 남는 것은 **용량\n   * 잠식**이다. `peek` 에서 지우면 멱등 계약이 깨지므로 여기서 닫지 않고 후속으로 넘긴다\n   * (PR #765 리뷰, hiyasince).\n   */\n  peek(t) {\n    const e = x();\n    if (!e)\n      return [];\n    const n = t === void 0 ? Number.POSITIVE_INFINITY : Math.max(0, t), i = [];\n    for (const s of this.listIds(e)) {\n      if (i.length >= n)\n        break;\n      const o = ue(e, this.ownPrefix + s);\n      if (o !== null) {\n        i.push({ id: s, signal: o });\n        continue;\n      }\n      this.countedCorrupted.has(s) || (this.countedCorrupted.add(s), this.countDrop(\"corrupted\", \"normal\"));\n    }\n    return i;\n  }\n  /**\n   * 송신 성공 ack — 해당 id 만 제거. 없는 id 는 무동작 (중복 commit 안전).\n   *\n   * 키를 **자기 prefix 로** 만들므로 다른 파티션의 id 를 받아도 그 엔트리는 지워지지 않는다\n   * (`discard` 도 같다).\n   */\n  commit(t) {\n    this.remove(t);\n  }\n  /**\n   * 영구 거부(4xx) 폐기 — 해당 id 를 제거한다.\n   *\n   * 구현이 `commit` 과 같다는 점이 이 메서드가 불필요하다는 뜻은 아니다. 두 종결을 한 이름으로\n   * 부르면 호출부가 \"송신됐다\" 와 \"포기한다\" 를 구분할 수 없게 되고, 그 구분은 나중에 카운터를\n   * 붙일 자리이기도 하다 (MCP-3957). 모바일군의 `commit`/`discard` 분리와 같은 이유다.\n   */\n  discard(t) {\n    this.remove(t);\n  }\n  /**\n   * 누적된 drop 건수를 **꺼내면서 비운다** (ADR-088 §결정 5).\n   *\n   * 호출부는 flush 사이클 경계에서 이것을 부르고 `(reason, signalClass)` 당 **1건**의 counter 를\n   * `value = count` 로 발행한다. 사이클당 최대 발사량이 `|reason| × |class|` 로 **산식에 의해**\n   * 묶이므로, 포화가 아무리 심해도 카운터가 폭주하지 않는다.\n   *\n   * **정보 손실이 없다.** 창 예산(`WindowedDropBudget`)이나 발사 횟수 상한과 달리 누적기는\n   * 건수를 그대로 싣는다 — 초과분을 버리는 게 아니라 한 시그널의 `value` 로 합친다.\n   */\n  drainDropCounts() {\n    if (this.dropCounts.size === 0)\n      return [];\n    const t = [];\n    for (const [e, n] of this.dropCounts) {\n      const [i, s] = e.split(\"\\0\");\n      t.push({ reason: i, signalClass: s, count: n });\n    }\n    return this.dropCounts.clear(), t;\n  }\n  destroy() {\n    typeof window != \"undefined\" && this.onOnline && (window.removeEventListener(\"online\", this.onOnline), this.onOnline = null);\n  }\n  /**\n   * BEACON-327 — kill-switch disable 시 outbox replay 보류(storage 유지, 송신 0). 진행 중\n   * online 이벤트/페이지로드 복구가 발화해도 `processQueueOnce` 가 no-op.\n   */\n  pause() {\n    this.paused = true;\n  }\n  /**\n   * MCP-4136 — 주어진 작업을 **이 저장소의 직렬화 chain 위에서** 실행하고 끝날 때까지 기다린다.\n   *\n   * 저장소가 송신 큐가 되면서 드레인을 원하는 곳이 둘이 됐다 — `online` 이벤트·시작 시점 복구\n   * (이 클래스) 와 `transport.flush()` (batchSize·flushInterval). 두 경로가 각자 `peek` 하면\n   * **같은 엔트리를 둘 다 집어 이중 전송**된다. 그래서 transport 도 자기 작업을 이 chain 에\n   * 실어 보낸다.\n   *\n   * **`flushCallback` 을 쓰지 않는 이유**: 그러면 transport 의 flush 가 *콜백이 등록돼 있는지* 에\n   * 조용히 의존하게 된다 — 등록 전이면 flush 가 아무것도 안 하고 성공한 척한다. 작업을 인자로\n   * 받으면 그 결합이 사라지고, 이 클래스는 *언제 · 하나씩* 만 책임진다.\n   *\n   * `paused`(kill-switch) 판정은 호출자 몫이 아니라 이 클래스 몫이라 여기서 먼저 막는다.\n   */\n  runExclusive(t) {\n    return this.inProgress = this.inProgress.then(() => g(this, null, function* () {\n      if (!this.paused)\n        try {\n          yield t();\n        } catch (e) {\n        }\n    })), this.inProgress;\n  }\n  /**\n   * BEACON-327 — re-enable 시 보류 해제 + 즉시 재드레인. disable 중 (또는 그 이전 실패로) 쌓인\n   * 잔여를 다음 online 이벤트를 기다리지 않고 바로 서버로 재전송한다.\n   */\n  resume() {\n    this.paused = false, this.scheduleProcess();\n  }\n  /**\n   * online 이벤트 / setFlushCallback 시점에 잔여 시그널 재전송.\n   *\n   * peek → flushCallback → 성공 시 commit. callback 이 throw 하거나 송신 일부만 성공한 경우\n   * commit 안 호출 / 부분 commit → storage 보존 → 다음 online 까지 보장.\n   */\n  processQueueOnce() {\n    return g(this, null, function* () {\n      if (this.paused)\n        return;\n      const t = this.peek();\n      if (!(t.length === 0 || !this.flushCallback))\n        try {\n          yield this.flushCallback(t);\n        } catch (e) {\n        }\n    });\n  }\n  // ── 내부 ────────────────────────────────────────────────────────────────\n  /** 자기 파티션 엔트리 제거 (`commit`/`discard`). 키를 자기 prefix 로 만든다. */\n  remove(t) {\n    if (t.length === 0)\n      return;\n    const e = x();\n    if (e)\n      for (const n of t)\n        this.removeKey(e, this.ownPrefix + n);\n  }\n  /**\n   * 키 1개 제거.\n   *\n   * **실제로 지웠는지를 돌려준다.** evict 경로가 이 반환값으로 카운터를 올리기 때문이다 —\n   * `removeItem` 이 throw 하는 환경(세션 도중 읽기 전용이 된 저장소)에서 지우지도 못한 것을\n   * \"잃었다\" 고 세면 카운터가 거짓을 말한다. 없는 키는 무동작이다 (중복 commit 안전).\n   */\n  removeKey(t, e) {\n    try {\n      const n = t.getItem(e);\n      return n === null ? false : (t.removeItem(e), this.count = Math.max(0, this.count - 1), this.bytes = Math.max(0, this.bytes - (e.length + n.length)), this.countedCorrupted.delete(D(e)), true);\n    } catch (n) {\n      return false;\n    }\n  }\n  /**\n   * evict 1건. **자기 파티션만** capacity 로 센다 — 카운터는 이 인스턴스의 projectId 봉투로\n   * 나가므로, 남의 파티션 · 구 레이아웃 손실을 세면 관측치가 오귀속된다 (헤더 \"파티션\" 절).\n   */\n  evict(t, e) {\n    this.removeKey(t, e) && e.startsWith(this.ownPrefix) && this.countDrop(\"capacity\", He(e));\n  }\n  /** `(reason, signalClass)` 누적기를 1 올린다. **시그널을 만들지 않는다** — 재귀 차단 규칙. */\n  countDrop(t, e) {\n    var i;\n    const n = `${t}\\0${e}`;\n    this.dropCounts.set(n, ((i = this.dropCounts.get(n)) != null ? i : 0) + 1);\n  }\n  /**\n   * **자기 파티션** 엔트리 id 를 oldest 순으로 반환.\n   *\n   * zero-padded id 라 사전순 정렬이 곧 수치순이다.\n   *\n   * **자기 키만 모아 정렬한다** (MCP-4451). 오리진 전체를 id 순으로 정렬한 뒤 거르면 남의 파티션\n   * 몫까지 정렬 비용을 낸다. prefix 가 모두 같으므로 키 사전순이 곧 id 사전순이라 내장 `sort()`\n   * 한 번으로 충분하다.\n   */\n  listIds(t) {\n    const e = [];\n    try {\n      for (let n = 0; n < t.length; n += 1) {\n        const i = t.key(n);\n        i != null && i.startsWith(this.ownPrefix) && e.push(i);\n      }\n    } catch (n) {\n      return [];\n    }\n    return e.sort(), e.map((n) => n.slice(this.ownPrefix.length));\n  }\n  /**\n   * 생성 시점 잔여 판정 — `peek(1).length > 0` 과 **답도 `corrupted` 집계도 같다** (MCP-4451).\n   *\n   * `peek(1)` 은 1건을 얻으려고 자기 키를 전부 모아 정렬한다. 가장 오래된 엔트리가 정상이면\n   * 그것 하나로 답이 나오므로 선형 탐색으로 최솟값만 찾는다. 그 엔트리가 손상됐거나 저장소 접근이\n   * 실패하면 `peek(1)` 로 넘긴다 — 손상 엔트리를 건너뛰며 1회씩 세는 규칙을 `peek` 한 곳에만 둔다.\n   */\n  detectResidue() {\n    const t = x();\n    if (!t)\n      return false;\n    let e = null;\n    try {\n      for (let n = 0; n < t.length; n += 1) {\n        const i = t.key(n);\n        i != null && i.startsWith(this.ownPrefix) && (e === null || i < e) && (e = i);\n      }\n    } catch (n) {\n      return this.peek(1).length > 0;\n    }\n    return e === null ? false : ue(t, e) !== null || this.peek(1).length > 0;\n  }\n  /**\n   * 오리진의 **모든** Beacon 엔트리 키를 evict 순서로 반환 (헤더 \"파티션\" 절).\n   *\n   * ```\n   * 구 레이아웃(id 순) → 전체 파티션을 섞은 ADR-088 순서(보호 상한 초과분 → 일반 → 보호)\n   * ```\n   */\n  evictionCandidates(t) {\n    const [e, n] = ce(t);\n    return [...e, ...Pt(n, this.maxStoredSignals)];\n  }\n  /** 인스턴스당 1회 전수 스캔으로 count/bytes 를 실제 저장소와 맞춘다. */\n  ensureSynced(t) {\n    this.synced || this.resync(t);\n  }\n  /** count/bytes 를 **오리진 전체** 기준으로 재동기화하고 evict 후보를 돌려준다. */\n  resync(t) {\n    var i, s;\n    const e = this.evictionCandidates(t);\n    let n = 0;\n    for (const o of e)\n      try {\n        n += o.length + ((s = (i = t.getItem(o)) == null ? void 0 : i.length) != null ? s : 0);\n      } catch (a) {\n      }\n    return this.count = e.length, this.bytes = n, this.synced = true, e;\n  }\n  /**\n   * 다음 id 발급.\n   *\n   * **매번 저장소에서 시퀀스를 다시 읽는다.** 메모리 값만 쓰면 같은 오리진의 다른 인스턴스가\n   * 그 사이 발급한 값을 못 보고 같은 id 를 내어, 나중에 쓴 쪽이 상대 엔트리를 덮어쓴다. 읽기는\n   * 키 1개의 `getItem` 이라 잔여 크기와 무관하다 — 이 레이아웃이 없애려는 O(n) 비용과는 다른\n   * 성질이다.\n   */\n  nextId(t, e) {\n    var s;\n    const n = Math.max((s = this.seq) != null ? s : 0, this.readSeq(t)) + 1;\n    this.seq = n;\n    try {\n      t.setItem(se, String(n));\n    } catch (o) {\n    }\n    const i = e ? Be : \"\";\n    return `${String(n).padStart(Lt, \"0\")}_${Ft()}${i}`;\n  }\n  /**\n   * 시퀀스 복원 — 저장된 값과 **기존 엔트리의 최댓값 중 큰 쪽**을 쓴다.\n   *\n   * 둘 다 보는 이유: 시퀀스 키만 보면 그 키가 유실됐을 때 id 가 되감겨 기존 엔트리를 덮어쓴다.\n   * 엔트리 최댓값만 보면 전량 commit 되어 저장소가 빈 상태에서 id 가 1로 되돌아간다. 어느 쪽도\n   * 단독으로는 단조성을 보장하지 못한다.\n   */\n  readSeq(t) {\n    let e = 0;\n    try {\n      const n = t.getItem(se);\n      if (n !== null) {\n        const i = Number.parseInt(n, 10);\n        Number.isFinite(i) && i > 0 && (e = i);\n      }\n    } catch (n) {\n    }\n    if (e > 0)\n      return e;\n    for (const n of ce(t)) {\n      const i = n[n.length - 1];\n      if (i === void 0)\n        continue;\n      const s = Number.parseInt(D(i), 10);\n      Number.isFinite(s) && s > e && (e = s);\n    }\n    return e;\n  }\n  /**\n   * 엔트리 1건 기록. quota 로 실패하면 **oldest 를 비우고 재시도**한다.\n   *\n   * 종전에는 포화 시 신규를 drop 했다. 오래된 신호일수록 진단 가치가 낮으므로 밀어내는 쪽이\n   * 낫고, 무엇보다 이 저장소가 송신 큐가 되면(ADR-045 §5) 신규 drop 은 *방금 발생한 에러* 를\n   * 버리는 것이 된다. 호스트 데이터는 어떤 경우에도 건드리지 않는다.\n   *\n   * @returns 기록 성공 여부\n   */\n  writeWithEviction(t, e, n) {\n    try {\n      return t.setItem(e, n), true;\n    } catch (i) {\n    }\n    for (const i of this.evictionCandidates(t)) {\n      if (i === e)\n        break;\n      this.evict(t, i);\n      try {\n        return t.setItem(e, n), true;\n      } catch (s) {\n      }\n    }\n    return false;\n  }\n  /**\n   * 상한 초과분을 비운다. 목표는 상한의 `EVICT_TARGET_RATIO` (hysteresis).\n   *\n   * 순서는 ADR-088 §결정 3 — **보호 상한 초과분 → 일반 오래된 것 → 보호 오래된 것**.\n   * 종전에는 등급 무관 oldest 였고, 그래서 크래시가 로그와 같은 확률로 사라졌다.\n   *\n   * 판정도 후보도 **오리진 전체** 기준이다 — 구 레이아웃이 가장 먼저, 파티션끼리는 섞어서\n   * (헤더 \"파티션\" 절). 카운터는 자기 파티션 것만 센다 (`evict`).\n   */\n  evictDownTo(t) {\n    const e = this.resync(t), n = Math.floor(this.maxStoredSignals * ae), i = Math.floor(this.maxStoredBytes * ae);\n    for (const s of e) {\n      if (this.count <= n && this.bytes <= i)\n        break;\n      this.evict(t, s);\n    }\n  }\n  /**\n   * MCP-4150 이전 레이아웃(단일 키 배열)을 **이관하지 않고 회수**한다 (MCP-4443).\n   *\n   * 종전에는 생성자에서 이 블롭을 자기 엔트리로 1회 이관했다. 그러나 그 블롭은 오리진의 모든\n   * 탭이 공유하던 것이라 이관은 곧 **남의 신호를 자기 projectId 로 보내는 것**이다 — 이 티켓이\n   * 닫는 결함의 한 형태다. 구 레이아웃 엔트리와 같이 \"오귀속보다 미전송\" 을 따른다.\n   *\n   * 구 엔트리(`_e_`)는 남겨 evict 에 맡기지만 이 블롭은 지운다 — 상한이 없고(MCP-3956 이전)\n   * 부분 evict 도 안 되는 한 덩어리라 남기면 quota 를 통째로 잡고 있게 된다. 0.24.0~0.28.x\n   * 도 이 키를 (이관 후) 지워 왔으므로, 아직 이 키를 쓰는 0.23 이하 탭에 대한 영향은 종전과 같다.\n   */\n  discardLegacyBlob() {\n    var t;\n    try {\n      (t = x()) == null || t.removeItem(It);\n    } catch (e) {\n    }\n  }\n}\nfunction ue(r, t) {\n  try {\n    const e = r.getItem(t);\n    if (e === null)\n      return null;\n    const n = JSON.parse(e);\n    return n === null || typeof n != \"object\" || Array.isArray(n) ? null : n;\n  } catch (e) {\n    return null;\n  }\n}\nfunction O() {\n  return typeof window != \"undefined\" && typeof document != \"undefined\";\n}\nfunction Ue(r, t, e, n) {\n  const i = r || \"Unknown error\", s = new Error(i);\n  return s.stack = t ? `Error: ${i}\n    at ${t}:${e != null ? e : 0}:${n != null ? n : 0}` : \"\", s;\n}\nconst Nt = \"__beacon_queue\";\nfunction Bt(r) {\n  var i;\n  if (typeof window == \"undefined\")\n    return 0;\n  const e = window[Nt];\n  if (e && typeof e.__restore == \"function\")\n    try {\n      e.__restore();\n    } catch (s) {\n    }\n  if (!Array.isArray(e))\n    return 0;\n  let n = 0;\n  for (const s of e)\n    if (!(!s || typeof s != \"object\"))\n      try {\n        if (s.kind === \"error\") {\n          const o = (i = s.error) != null ? i : Ue(\n            s.message,\n            s.source,\n            s.lineno,\n            s.colno\n          );\n          r.captureException(o, {\n            mechanism: defaultMechanism(\"autoCapture.onerror\")\n          }), n++;\n        } else\n          s.kind === \"unhandledrejection\" && (r.captureException(s.reason, {\n            mechanism: defaultMechanism(\"autoCapture.unhandledrejection\")\n          }), n++);\n      } catch (o) {\n      }\n  return e.length = 0, n;\n}\nconst qe = \"page_view\", Ht = /* @__PURE__ */ new Set([\n  // 문서 파싱이 끝난 뒤라 확정돼 있다.\n  \"initial\",\n  // bfcache 복원은 제목까지 함께 복원된다.\n  \"bfcache\",\n  // 같은 페이지의 재포커스 — 제목이 바뀔 이유가 없다.\n  \"visibility\"\n]), P = \"beacon:navigation\";\nfunction Ut(r) {\n  if (typeof window == \"undefined\" || !window.location)\n    return false;\n  try {\n    return new URL(r, window.location.href).origin === window.location.origin;\n  } catch (t) {\n    return false;\n  }\n}\nconst qt = {\n  click: true,\n  input: false,\n  http: true,\n  console: true,\n  navigation: true,\n  lifecycle: true,\n  excludeFrameworkInternal: true\n}, jt = {\n  click: false,\n  input: false,\n  http: false,\n  console: false,\n  navigation: false,\n  lifecycle: false,\n  // http 자체가 꺼져 있어 값이 무의미하지만, 타입을 채우고 기본 방향(제외)과 어긋나지 않게 둔다.\n  excludeFrameworkInternal: true\n};\nfunction $t(r) {\n  var t, e, n, i, s, o, a;\n  return r === false ? f({}, jt) : r === void 0 || r === true ? f({}, qt) : {\n    click: (t = r.click) != null ? t : true,\n    input: (e = r.input) != null ? e : false,\n    http: (n = r.http) != null ? n : true,\n    console: (i = r.console) != null ? i : true,\n    navigation: (s = r.navigation) != null ? s : true,\n    lifecycle: (o = r.lifecycle) != null ? o : true,\n    excludeFrameworkInternal: (a = r.excludeFrameworkInternal) != null ? a : true\n  };\n}\nfunction Vt(r) {\n  const t = r.indexOf(\"?\");\n  if (t === -1)\n    return false;\n  const e = r.indexOf(\"#\");\n  if (e !== -1 && e < t)\n    return false;\n  const n = e === -1 ? r.slice(t) : r.slice(t, e);\n  return /[?&]_rsc(?:=|&|$)/.test(n);\n}\nconst Kt = \"next-router-prefetch\";\nfunction Gt(r, t, e) {\n  const n = (i) => {\n    var s, o;\n    if (i) {\n      if (typeof i.get == \"function\")\n        return (s = i.get(e)) != null ? s : void 0;\n      if (Array.isArray(i)) {\n        for (const a of i)\n          if (((o = a == null ? void 0 : a[0]) == null ? void 0 : o.toLowerCase()) === e)\n            return a[1];\n        return;\n      }\n      for (const [a, c] of Object.entries(i))\n        if (a.toLowerCase() === e)\n          return String(c);\n    }\n  };\n  if ((t == null ? void 0 : t.headers) !== void 0)\n    return n(t.headers);\n  if (typeof Request != \"undefined\" && r instanceof Request)\n    return n(r.headers);\n}\nfunction zt(r, t, e) {\n  return t === void 0 || !Vt(r) ? false : Gt(t, e, Kt) !== void 0;\n}\nconst Wt = 50, Xt = 200, Yt = 500;\nfunction M() {\n  return typeof performance != \"undefined\" ? performance.now() : Date.now();\n}\nfunction j(r) {\n  const t = M(), e = r.timeStamp;\n  return e > 0 && e <= t ? e : t;\n}\nconst Jt = /* @__PURE__ */ new Set([\n  \"GET\",\n  \"POST\",\n  \"PUT\",\n  \"PATCH\",\n  \"DELETE\",\n  \"HEAD\",\n  \"OPTIONS\",\n  \"TRACE\",\n  \"CONNECT\"\n]);\nfunction Qt(r) {\n  const t = r.toUpperCase();\n  return Jt.has(t) ? t : \"other\";\n}\nfunction Zt(r) {\n  try {\n    const t = r == null ? void 0 : r.name;\n    return t === \"AbortError\" ? \"abort\" : t === \"TimeoutError\" ? \"timeout\" : t === \"TypeError\" ? \"error\" : void 0;\n  } catch (t) {\n    return;\n  }\n}\nfunction en(r, t) {\n  return r >= 400 ? RUM_HTTP_ERROR_KIND.HTTP : t === \"abort\" ? RUM_HTTP_ERROR_KIND.ABORT : t === \"timeout\" ? RUM_HTTP_ERROR_KIND.TIMEOUT : t === \"error\" ? typeof navigator != \"undefined\" && navigator.onLine === false ? RUM_HTTP_ERROR_KIND.OFFLINE : RUM_HTTP_ERROR_KIND.NETWORK : RUM_HTTP_ERROR_KIND.OTHER;\n}\nfunction de(r) {\n  if (r.id)\n    return `#${r.id}`;\n  const t = r.tagName.toLowerCase();\n  if (r.classList.length === 0)\n    return t;\n  const e = Array.from(r.classList).slice(0, 2).join(\".\");\n  return `${t}.${e}`;\n}\nclass tn {\n  constructor(t = {}, e = void 0, n, i) {\n    l(this, \"client\", null);\n    l(this, \"options\");\n    l(this, \"resolvedBreadcrumbs\");\n    l(this, \"cleanups\", []);\n    l(this, \"navigationPatchInstalled\", false);\n    l(this, \"tracePropagationTargets\");\n    l(this, \"httpErrorsEnabled\");\n    l(this, \"selfEndpoint\");\n    l(this, \"pageTitle\");\n    var s, o, a, c, u;\n    this.options = {\n      pageViews: (s = t.pageViews) != null ? s : true,\n      errors: (o = t.errors) != null ? o : true,\n      performance: (a = t.performance) != null ? a : true,\n      interactionBreadcrumbs: (c = t.interactionBreadcrumbs) != null ? c : true\n    }, this.resolvedBreadcrumbs = $t(\n      t.interactionBreadcrumbs\n    ), this.tracePropagationTargets = e, this.httpErrorsEnabled = (u = t.httpErrors) != null ? u : true, this.selfEndpoint = n, this.pageTitle = i;\n  }\n  start(t) {\n    if (this.client = t, !O())\n      return;\n    this.installNavigationPatch(), this.options.pageViews && this.setupPageViews(), this.options.errors && this.setupErrors(), this.options.performance && this.setupPerformance();\n    const e = this.resolvedBreadcrumbs;\n    e.navigation && this.setupNavigationBreadcrumbs(), e.click && this.setupClickBreadcrumbs(), e.input && this.setupInputBreadcrumbs(), (e.http || this.httpErrorsEnabled || this.tracePropagationEnabled) && this.setupHttpBreadcrumbs(), e.console && this.setupConsoleBreadcrumbs(), e.lifecycle && this.setupLifecycleBreadcrumbs();\n  }\n  stop() {\n    for (const t of this.cleanups)\n      t();\n    this.cleanups = [], this.navigationPatchInstalled = false, this.client = null;\n  }\n  /**\n   * ADR-054 §결정 5 — navigation 발화 시점에 새 trace_id 생성 (page view 단위 lifecycle).\n   *\n   * 같은 page view 안 N fetch 는 *같은 trace_id* 공유 (computeTraceContextForOutgoing 가\n   * Scope 의 trace_id 재사용). 매 fetch 의 `span_id` 는 *local 생성* — Scope 미touch.\n   *\n   * **`span_id` 미저장 디자인 (BEACON-257 보강 2026-06-04)**:\n   * Scope.activeTrace 는 `{ trace_id }` 만 — `span_id` 를 Scope 에 stash 하면 *fetch 종료 후*\n   * sync error 발생 시 stale span_id 가 박혀 Tempo false correlation 위험. trace_id 만 박혀\n   * 있어도 trace tree 전체 검색 가능.\n   *\n   * **첫 페이지 진입** (init 직후) 도 본 함수가 *최초 trace_id 생성*. BEACON-255 amendment\n   * honest design 정합 — autoCapture 미활성화 환경은 *최초 fetch 가 trace 생성* 시점까지\n   * trace_id 부재가 정상.\n   */\n  rotateActiveTraceForNavigation() {\n    var n, i, s;\n    const t = (n = this.client) == null ? void 0 : n.getScope();\n    if (!t)\n      return;\n    const e = (s = (i = this.client) == null ? void 0 : i.nextNavigationTraceId()) != null ? s : generateTraceId();\n    t.setActiveTrace({ trace_id: e });\n  }\n  /**\n   * ADR-025: 2-Layer Hybrid SPA navigation tracking 의 patch 부분만 추출. pageViews 와\n   * navigation breadcrumb 양쪽이 본 patch 의 `beacon:navigation` synthetic event 를 listen.\n   * 중복 설치 회피 — idempotent.\n   *\n   * MCP-3900 — 세 경로(push / replace / popstate)가 **이 한 곳으로 수렴**한다. 이전에는\n   * popstate 를 각 구독자가 따로 듣고 patch 는 push/replace 만 알렸다. 그 구조에서 popstate 를\n   * 이 이벤트에도 실으면 같은 이동을 두 리스너가 경쟁적으로 처리해 `trigger` 라벨이 실행\n   * 순서에 따라 흔들린다. 발화를 단일 지점으로 모으고 구독자는 `kind` 로 갈래를 읽는다.\n   *\n   * URL 이 바뀌지 않은 호출은 발화하지 않는다 — 구독자마다 하던 중복 필터를 한 곳으로 올렸다.\n   */\n  installNavigationPatch() {\n    if (this.navigationPatchInstalled)\n      return;\n    this.navigationPatchInstalled = true;\n    let t = location.href;\n    const e = (a, c) => {\n      var d;\n      const u = location.href;\n      if (t = u, u === c)\n        return;\n      const h = { kind: a, from: c, to: u };\n      (d = this.client) == null || d.onNavigation(h), window.dispatchEvent(\n        new CustomEvent(P, {\n          detail: h\n        })\n      );\n    }, n = history.pushState, i = history.replaceState;\n    history.pushState = function(...c) {\n      const u = location.href, h = n.apply(this, c);\n      return e(\"push\", u), h;\n    }, history.replaceState = function(...c) {\n      const u = location.href, h = i.apply(this, c);\n      return e(\"replace\", u), h;\n    };\n    const s = () => e(\"popstate\", t);\n    window.addEventListener(\"popstate\", s);\n    const o = () => {\n      t = location.href;\n    };\n    window.addEventListener(\"hashchange\", o), this.cleanups.push(() => {\n      history.pushState = n, history.replaceState = i, window.removeEventListener(\"popstate\", s), window.removeEventListener(\"hashchange\", o);\n    });\n  }\n  setupPageViews() {\n    let t = location.href;\n    const e = (a) => {\n      var u;\n      const c = (u = this.pageTitle) == null ? void 0 : u.call(this, location.pathname);\n      if (c)\n        return c;\n      if (Ht.has(a))\n        return document.title || void 0;\n    }, n = (a) => {\n      var u;\n      a !== \"visibility\" && this.rotateActiveTraceForNavigation();\n      const c = e(a);\n      (u = this.client) == null || u.log(\"info\", qe, S(f(S(f({\n        url: location.href\n      }, c === void 0 ? {} : { title: c }), {\n        referrer: document.referrer\n      }), a === \"initial\" ? {} : { prev_url: t }), {\n        trigger: a\n      })), t = location.href;\n    }, i = () => {\n      document.visibilityState === \"visible\" && n(\"visibility\");\n    };\n    document.addEventListener(\"visibilitychange\", i), this.cleanups.push(\n      () => document.removeEventListener(\"visibilitychange\", i)\n    ), this.installNavigationPatch();\n    const s = (a) => {\n      if (location.href === t)\n        return;\n      const { kind: c } = a.detail;\n      n(c === \"popstate\" ? \"popstate\" : \"history\");\n    };\n    window.addEventListener(P, s), this.cleanups.push(\n      () => window.removeEventListener(P, s)\n    );\n    const o = (a) => {\n      a.persisted && n(\"bfcache\");\n    };\n    window.addEventListener(\"pageshow\", o), this.cleanups.push(\n      () => window.removeEventListener(\"pageshow\", o)\n    ), n(\"initial\");\n  }\n  /**\n   * 미처리 브라우저 에러 자동 수집 (ADR-035 §결정 6, BEACON-261).\n   *\n   * `window.onerror` / `unhandledrejection` 은 *구조화된 ExceptionSignal* 로 발행되어야 한다 —\n   * 이전 구현은 `client.log(\"error\", …)` 로 LogSignal 만 남겨, 가장 흔한 웹 에러원이\n   * mechanism.handled / crash-free ratio / structured grouping 어디에도 잡히지 않았다.\n   *\n   * `captureException` 경로로 라우팅 → event_id 발급 + exception pipeline + emit 을 그대로 재사용.\n   * 진입점별 mechanism default 는 `defaultMechanism(\"autoCapture.onerror\" | \"…unhandledrejection\")`\n   * 가 결정 (`handled: false` + type) — hint.mechanism 으로 전달돼 자식의 `mergeMechanism` 이 적용.\n   *\n   * breadcrumb 책임은 capture 와 직교 (ADR-036 §결정 5) — error breadcrumb 는 그대로 남긴다.\n   */\n  setupErrors() {\n    const t = (n) => {\n      var s, o, a;\n      (s = this.client) == null || s.addBreadcrumb({\n        type: \"default\",\n        category: \"error\",\n        timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n        level: \"error\",\n        message: n.message || \"Unknown error\"\n      });\n      const i = (o = n.error) != null ? o : Ue(\n        n.message,\n        n.filename,\n        n.lineno,\n        n.colno\n      );\n      (a = this.client) == null || a.captureException(i, {\n        mechanism: defaultMechanism(\"autoCapture.onerror\")\n      });\n    };\n    window.addEventListener(\"error\", t), this.cleanups.push(() => window.removeEventListener(\"error\", t));\n    const e = (n) => {\n      var s, o;\n      const i = n.reason instanceof Error ? n.reason.message : String(n.reason);\n      (s = this.client) == null || s.addBreadcrumb({\n        type: \"default\",\n        category: \"error\",\n        timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n        level: \"error\",\n        message: `Unhandled rejection: ${i}`\n      }), (o = this.client) == null || o.captureException(n.reason, {\n        mechanism: defaultMechanism(\"autoCapture.unhandledrejection\")\n      });\n    };\n    window.addEventListener(\"unhandledrejection\", e), this.cleanups.push(\n      () => window.removeEventListener(\"unhandledrejection\", e)\n    ), this.client && Bt(this.client);\n  }\n  setupPerformance() {\n    typeof PerformanceObserver != \"undefined\" && (H$1((t) => {\n      var e;\n      (e = this.client) == null || e.metric(\"web_lcp\", t.value, \"histogram\");\n    }), w$1((t) => {\n      var e;\n      (e = this.client) == null || e.metric(\"web_fcp\", t.value, \"histogram\");\n    }), P$1((t) => {\n      var e;\n      (e = this.client) == null || e.metric(\"web_cls\", t.value, \"histogram\");\n    }), x$1((t) => {\n      var e;\n      (e = this.client) == null || e.metric(\"web_inp\", t.value, \"histogram\");\n    }), V((t) => {\n      var e;\n      (e = this.client) == null || e.metric(\"web_ttfb\", t.value, \"gauge\");\n    }), this.setupLongTasks());\n  }\n  /**\n   * BEACON-459 — Long Task (메인스레드를 50ms+ 점유해 블로킹한 작업) 수집.\n   *\n   * Long task 는 INP/응답성 악화의 *직접 원인* 이다 — Beacon 은 web_inp 값만 알았지 \"무엇이\n   * 메인스레드를 막았나\" 는 보지 못했다. 각 longtask entry 의 `duration` 을 `web_long_task`\n   * **histogram** 으로 방출(web vitals 와 동일 컨벤션) → p75/p95 블로킹 시간 분석.\n   *\n   * - **feature-detect**: `supportedEntryTypes` 에 \"longtask\" 없으면(Safari/Firefox) 무소음 skip.\n   *   Web Vitals(web-vitals 위임) 경로와 독립 — 미지원 브라우저에서도 LCP 등은 계속 시도.\n   * - **buffered:true**: 옵저버 등록 이전(페이지 로드 중) long task 도 포착 — 부팅 구간이 가장\n   *   길게 막히므로 핵심.\n   * - **라벨 없음**: attribution(containerName 등)은 cardinality 위험이라 metric 차원 제외(v1).\n   *   어떤 스크립트가 막았는지는 LoAF 후속에서 별도 신호로.\n   * - **never-throw**: best-effort 텔레메트리. observe 가 던져도(엔진별 미지원) 무시.\n   */\n  setupLongTasks() {\n    var t;\n    if ((t = PerformanceObserver.supportedEntryTypes) != null && t.includes(\"longtask\"))\n      try {\n        const e = new PerformanceObserver((n) => {\n          var i;\n          for (const s of n.getEntries())\n            (i = this.client) == null || i.metric(\"web_long_task\", s.duration, \"histogram\");\n        });\n        e.observe({ type: \"longtask\", buffered: true }), this.cleanups.push(() => e.disconnect());\n      } catch (e) {\n      }\n  }\n  setupNavigationBreadcrumbs() {\n    let t = location.href;\n    this.installNavigationPatch();\n    const e = () => {\n      var s;\n      const i = location.href;\n      i !== t && (this.rotateActiveTraceForNavigation(), (s = this.client) == null || s.addBreadcrumb({\n        type: \"navigation\",\n        category: \"navigation\",\n        timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n        data: { from: t, to: i }\n      }), t = i);\n    }, n = () => e();\n    window.addEventListener(P, n), this.cleanups.push(\n      () => window.removeEventListener(P, n)\n    );\n  }\n  setupClickBreadcrumbs() {\n    const t = (e) => {\n      var c, u, h, d;\n      const n = e.target;\n      if (!(n instanceof Element) || n.closest(\"[data-beacon-skip]\"))\n        return;\n      const i = de(n), o = ((h = (u = (c = n.getAttribute(\"aria-label\")) != null ? c : n.getAttribute(\"title\")) != null ? u : n.textContent) != null ? h : \"\").trim().slice(0, Wt), a = { target: i };\n      o && (a.text = o), (d = this.client) == null || d.addBreadcrumb({\n        type: \"default\",\n        category: \"ui.click\",\n        timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n        data: a\n      });\n    };\n    document.addEventListener(\"click\", t, { capture: true }), this.cleanups.push(\n      () => document.removeEventListener(\"click\", t, { capture: true })\n    );\n  }\n  setupInputBreadcrumbs() {\n    const t = (e) => {\n      var s;\n      const n = e.target;\n      if (!(n instanceof HTMLInputElement) && !(n instanceof HTMLTextAreaElement) && !(n instanceof HTMLSelectElement) || n instanceof HTMLInputElement && n.type === \"password\" || n.closest(\"[data-beacon-skip]\"))\n        return;\n      const i = n.type;\n      (s = this.client) == null || s.addBreadcrumb({\n        type: \"default\",\n        category: \"ui.input\",\n        timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n        // value 절대 미수집 (ADR-036 §결정 3)\n        data: {\n          target: de(n),\n          field_type: i\n        }\n      });\n    };\n    document.addEventListener(\"input\", t, { capture: true }), this.cleanups.push(\n      () => document.removeEventListener(\"input\", t, { capture: true })\n    );\n  }\n  setupHttpBreadcrumbs() {\n    const t = this.resolvedBreadcrumbs.http;\n    if (typeof window.fetch == \"function\") {\n      const e = window.fetch;\n      window.fetch = (n, i) => {\n        var h;\n        const s = M(), o = typeof n == \"string\" ? n : n instanceof URL ? n.toString() : n.url, a = (h = i == null ? void 0 : i.method) != null ? h : n instanceof Request ? n.method : \"GET\", c = this.injectTraceContextIntoFetch(o, n, i), u = zt(o, n, c);\n        return e.call(window, n, c).then(\n          (d) => (this.observeHttpResult(\n            a,\n            o,\n            d.status,\n            d.ok ? \"info\" : \"warn\",\n            s,\n            t,\n            void 0,\n            u\n          ), d),\n          (d) => {\n            throw this.observeHttpResult(\n              a,\n              o,\n              0,\n              \"error\",\n              s,\n              t,\n              Zt(d),\n              u\n            ), d;\n          }\n        );\n      }, this.cleanups.push(() => {\n        window.fetch = e;\n      });\n    }\n    if (typeof XMLHttpRequest != \"undefined\") {\n      const e = XMLHttpRequest.prototype.open, n = XMLHttpRequest.prototype.send, i = \"__beacon_meta__\", s = (a, c, u, h, d, v, E) => this.observeHttpResult(\n        a,\n        c,\n        u,\n        h,\n        d,\n        t,\n        v,\n        // XHR wrap 은 요청 헤더를 모아두지 않아 prefetch 판별이 불가능하다. RSC 는 fetch 로만\n        // 나가므로 실무상 문제가 없고, 판별 불가는 **남기는 쪽**으로 떨어뜨린다.\n        false,\n        E\n      );\n      XMLHttpRequest.prototype.open = function(c, u, ...h) {\n        return this[i] = { method: c, url: u.toString() }, e.apply(this, [c, u, ...h]);\n      };\n      const o = (a, c) => this.injectTraceContextIntoXhr(a, c);\n      XMLHttpRequest.prototype.send = function(...c) {\n        const u = this[i], h = M();\n        u != null && u.url && o(this, u.url), u && (u.cause = void 0);\n        let d = 0, v = 0;\n        const E = (I) => {\n          this.readyState === 2 && !d && (d = j(I), v = this.status);\n        };\n        this.addEventListener(\"readystatechange\", E);\n        const T = (I) => (L) => {\n          u && (u.cause = I), d = j(L);\n        }, p = T(\"abort\"), b = T(\"timeout\"), R = T(\"error\");\n        this.addEventListener(\"abort\", p), this.addEventListener(\"timeout\", b), this.addEventListener(\"error\", R);\n        const _ = (I) => {\n          var k, Q;\n          const L = !(u != null && u.cause) && v || this.status;\n          s(\n            (k = u == null ? void 0 : u.method) != null ? k : \"GET\",\n            (Q = u == null ? void 0 : u.url) != null ? Q : \"\",\n            L,\n            L >= 400 || L === 0 ? \"warn\" : \"info\",\n            h,\n            u == null ? void 0 : u.cause,\n            // 헤더도 원인 이벤트도 없이 끝난 요청(동기 XHR 등)은 loadend 시각으로 폴백한다.\n            d || j(I)\n          ), this.removeEventListener(\"loadend\", _), this.removeEventListener(\"readystatechange\", E), this.removeEventListener(\"abort\", p), this.removeEventListener(\"timeout\", b), this.removeEventListener(\"error\", R);\n        };\n        return this.addEventListener(\"loadend\", _), n.apply(this, c);\n      }, this.cleanups.push(() => {\n        XMLHttpRequest.prototype.open = e, XMLHttpRequest.prototype.send = n;\n      });\n    }\n  }\n  /**\n   * ADR-036 §결정 8 — 요청 URL 이 SDK 자신의 ingest endpoint 인지.\n   * Beacon endpoint 는 단일 고정 설정값이라 prefix 매칭으로 충분(Sentry DSN/tunnel,\n   * DD intake 쿼리 서명 같은 heuristic 불필요). selfEndpoint 미주입 시 제외 안 함.\n   */\n  isSelfRequest(t) {\n    return this.selfEndpoint !== void 0 && t.startsWith(this.selfEndpoint);\n  }\n  /**\n   * fetch/XHR 응답 1건 관측 — 세 호출부(fetch then/catch, XHR loadend) 공통 경로.\n   * 두 직교 책임을 한 곳에서: (1) `http` breadcrumb trail(ADR-036), (2) 실패 메트릭(ADR-052 §결정7).\n   * 자기 ingest 요청(`isSelfRequest`)은 둘 다 제외 — 재귀·자기집계 차단(ADR-036 §결정8).\n   *\n   * ADR-081 이전에는 세 번째 책임으로 전건 latency histogram(`rum_http_duration`, ADR-071)이\n   * 여기 있었다. 클라 시계열의 48.1% 를 쓰면서 URL 라벨 금지로 엔드포인트 축이 없어 \"어느 API 가\n   * 느린가\"에 답하지 못해 폐지했다 — 왕복+route 관측은 traceparent(ADR-054) 경로로 간다.\n   *\n   * 메트릭은 **ExceptionSignal 아님** → `captureException`/`rum_error_total` 과 중복 0(데이터 분리).\n   * instrumentation 이 출처라 파생(processEvent)이 아닌 직접 `client.metric` 호출.\n   *\n   * @param status 0 = 네트워크 단절. 실패 메트릭은 `httpErrorsEnabled && (status>=400 || status===0)`\n   *   일 때 발사. metric 라벨은 저카디널리티(status·kind·method)만 — domain/screen 은\n   *   client.buildMetricSignal 이 자동 부착(URL 미포함).\n   * @param cause BEACON-619 — 실패 원인 축(fetch 거부 err / XHR 원인 이벤트에서 도출). 성공\n   *   응답은 `undefined`(status 로 이미 결정되므로 미사용).\n   */\n  observeHttpResult(t, e, n, i, s, o, a, c, u) {\n    var E, T;\n    if (this.isSelfRequest(e))\n      return;\n    const h = (u != null ? u : M()) - s, d = n > 0 && n < 400, v = this.resolvedBreadcrumbs.excludeFrameworkInternal && d && c;\n    o && !v && ((E = this.client) == null || E.addBreadcrumb({\n      type: \"http\",\n      category: \"http\",\n      timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n      level: i,\n      data: {\n        method: t,\n        url: e,\n        status: String(n),\n        duration: String(Math.round(h))\n      }\n    })), this.httpErrorsEnabled && (n >= 400 || n === 0) && ((T = this.client) == null || T.metric(\"rum_http_error_total\", 1, \"counter\", {\n      status: String(n),\n      method: Qt(t),\n      kind: en(n, a)\n    }));\n  }\n  /**\n   * ADR-054 §결정 2/3 — 공통 trace context 계산 (header inject 전용).\n   *\n   * - 주입 대상 검사 (`shouldPropagateTrace` — same-origin 기본 / [] opt-out / 명시 패턴)\n   * - 대상 시: Scope.activeTrace.trace_id 가 있으면 *재사용* (같은 page view 안 같은 trace),\n   *   없으면 *새로 생성 후 Scope 에 저장* (첫 fetch 가 navigation 이전이면 trace 생성 책임).\n   *   span_id 는 *매 fetch 마다 local 생성* — Scope 미touch.\n   * - 비대상 시: undefined.\n   *\n   * **`span_id` 를 Scope 에 저장 안 함** (BEACON-257 디자인 보강 2026-06-04):\n   * 본 함수 반환의 `span_id` 는 *호출자 (injectTraceContextIntoFetch/Xhr) 의 traceparent\n   * 헤더 직렬화 전용*. Scope.activeTrace 는 `{ trace_id }` 만 유지 — fetch 종료 후 sync\n   * error 의 stale span_id false correlation 차단.\n   */\n  computeTraceContextForOutgoing(t) {\n    var s, o, a, c;\n    if (!this.shouldPropagateTrace(t))\n      return;\n    const e = (s = this.client) == null ? void 0 : s.getScope();\n    if (!e)\n      return;\n    let n = (o = e.activeTrace) == null ? void 0 : o.trace_id;\n    n || (n = (c = (a = this.client) == null ? void 0 : a.nextNavigationTraceId()) != null ? c : generateTraceId(), e.setActiveTrace({ trace_id: n }));\n    const i = generateSpanId();\n    return { trace_id: n, span_id: i };\n  }\n  /**\n   * traceparent 전파가 켜져 있는가 (ADR-054 §결정 3, BEACON-460 amend) — **URL 무관**의\n   * 설정 수준 판정이라 wrap 설치 여부를 결정할 수 있다. URL 단위 판정은 {@link shouldPropagateTrace}.\n   *\n   * 3-state 해석: `undefined` = same-origin 자동(**on**) / `[]` = opt-out(off) /\n   * `[patterns]` = cross-origin opt-in(on).\n   */\n  get tracePropagationEnabled() {\n    return this.tracePropagationTargets === void 0 || this.tracePropagationTargets.length > 0;\n  }\n  /**\n   * ADR-054 §결정 3 (BEACON-460 amend) — outgoing 요청에 traceparent 를 주입할지 판정.\n   *\n   * 3-state:\n   *   - `undefined`(미설정) → **same-origin 자동 주입**. `location` 기준 동일 origin(상대경로\n   *     포함)만. same-origin 은 CORS preflight 가 없고 호스트 자기 backend 라 안전 — 그래서 기본.\n   *   - `[]`(명시) → 완전 비활성(opt-out).\n   *   - `[patterns]` → core `shouldPropagate`(startsWith / RegExp.test) — cross-origin opt-in.\n   *\n   * {@link tracePropagationEnabled} 와 축이 다르다 — 그쪽은 **설정 수준**(wrap 을 설치할지),\n   * 이쪽은 **URL 단위**(이 요청에 헤더를 넣을지)다.\n   */\n  shouldPropagateTrace(t) {\n    return this.tracePropagationTargets === void 0 ? Ut(t) : shouldPropagate(t, this.tracePropagationTargets);\n  }\n  /**\n   * ADR-054 §결정 2 — fetch wrap 안 traceparent 헤더 inject.\n   *\n   * `RequestInit.headers` 의 3 형식 (`Headers` / `[string, string][]` / `Record<string, string>`)\n   * 모두 다뤄야 함. `traceparent` 가 이미 호스트에 의해 명시되어 있으면 *덮어쓰지 않음*\n   * (호스트의 자체 OTel 도구 통합 등 의도된 override 보존).\n   *\n   * ## 🔴 새 `init.headers` 의 재료는 「실제로 나갈 헤더」여야 한다 (MCP-4450)\n   *\n   * 이 함수는 기존 헤더에 traceparent 를 **덧붙이는 게 아니라 `init.headers` 를 새로 만든다.**\n   * 그리고 fetch 명세상 `init.headers` 가 있으면 Request 가 들고 있던 헤더 목록은 **병합이 아니라\n   * 교체**된다. 따라서 재료에 Request 의 헤더를 넣지 않으면, 호스트가\n   * `fetch(new Request(url, { headers }))` 로 실어 보낸 헤더가 **엔진 단에서 전부 버려진다.**\n   *\n   * 최초 게시본(0.2.0)부터 재료가 `init.headers` 뿐이었고, 그 결과 `Authorization`·`Content-Type`·\n   * FormData 의 multipart boundary 가 소실됐다(실측 — Chromium/WebKit/Firefox 3엔진 동일).\n   * ky 1.13.0 이 정확히 이 형태(`fetch(request, {})`)라 29CM `packages/apis/core` 가 대상이다.\n   * 기본값(same-origin)에서는 29CM API 가 서브도메인이라 발현하지 않았을 뿐, API 오리진을\n   * `tracePropagationTargets` 에 넣는 순간 전 호출의 인증 헤더가 빠지는 구조였다.\n   *\n   * 규칙은 fetch 명세 그대로다:\n   *\n   *   init.headers 있음  → 그것이 나갈 헤더다. **합치지 않는다** — 호스트가 교체를 요청한 것이고,\n   *                        합치면 일부러 뺀 헤더가 되살아난다\n   *   init.headers 없음  → Request 의 헤더가 나갈 헤더다. 그걸 재료로 삼는다\n   *\n   * Request 판별을 `input instanceof Request` 로 하지 않는다. wrap 상단의 url 추출과 같은 분기를\n   * 쓰기 위해서이고, `instanceof` 는 realm 이 다르면 조용히 거짓이 된다 — MCP-4402 에서\n   * `instanceof Headers` 가 jsdom 과 undici 사이에서 그렇게 실패한 전례가 있다. 여기서 거짓이 되면\n   * 수정이 적용되지 않은 채 결함이 되살아난다.\n   *\n   * 주입 대상이 아니면 `init` 을 **그대로** 반환한다 — 새 객체를 만드는 것만으로도 위 교체 규칙이\n   * 발동할 수 있어서, 필요 없는 곳에서는 손대지 않는다.\n   */\n  injectTraceContextIntoFetch(t, e, n) {\n    var c;\n    const i = this.computeTraceContextForOutgoing(t);\n    if (!i)\n      return n;\n    const s = n ? f({}, n) : {}, o = typeof e == \"string\" || e instanceof URL ? void 0 : e.headers, a = new Headers((c = s.headers) != null ? c : o);\n    return a.has(\"traceparent\") || a.set(\"traceparent\", formatTraceparent(i)), s.headers = a, s;\n  }\n  /** ADR-054 §결정 2 — XHR send 직전 setRequestHeader 로 traceparent 주입. */\n  injectTraceContextIntoXhr(t, e) {\n    const n = this.computeTraceContextForOutgoing(e);\n    if (n)\n      try {\n        t.setRequestHeader(\"traceparent\", formatTraceparent(n));\n      } catch (i) {\n      }\n  }\n  setupConsoleBreadcrumbs() {\n    const t = [\"warn\", \"error\"];\n    for (const e of t) {\n      const n = console[e], i = (...s) => {\n        var a;\n        const o = s.map((c) => {\n          try {\n            return String(c).slice(0, Xt);\n          } catch (u) {\n            return \"[unstringifiable]\";\n          }\n        }).join(\" \").slice(0, Yt);\n        return (a = this.client) == null || a.addBreadcrumb({\n          type: \"default\",\n          category: \"console\",\n          timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n          level: e,\n          data: { arguments: o }\n        }), n.apply(console, s);\n      };\n      console[e] = i, this.cleanups.push(() => {\n        console[e] = n;\n      });\n    }\n  }\n  setupLifecycleBreadcrumbs() {\n    const t = () => {\n      var i;\n      (i = this.client) == null || i.addBreadcrumb({\n        type: \"default\",\n        category: \"app.lifecycle\",\n        timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n        data: { event: \"pagehide\" }\n      });\n    };\n    window.addEventListener(\"pagehide\", t), this.cleanups.push(\n      () => window.removeEventListener(\"pagehide\", t)\n    );\n    const e = () => {\n      var i;\n      (i = this.client) == null || i.addBreadcrumb({\n        type: \"default\",\n        category: \"app.lifecycle\",\n        timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n        data: {\n          event: \"visibilitychange\",\n          state: document.visibilityState\n        }\n      });\n    };\n    document.addEventListener(\"visibilitychange\", e), this.cleanups.push(\n      () => document.removeEventListener(\"visibilitychange\", e)\n    );\n    const n = (i) => {\n      var s;\n      (s = this.client) == null || s.addBreadcrumb({\n        type: \"default\",\n        category: \"app.lifecycle\",\n        timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n        data: { event: \"pageshow\", persisted: String(i.persisted) }\n      });\n    };\n    window.addEventListener(\"pageshow\", n), this.cleanups.push(\n      () => window.removeEventListener(\"pageshow\", n)\n    );\n  }\n}\nconst nn = new Set(\n  Object.keys({\n    initial: true,\n    visibility: true,\n    history: true,\n    popstate: true,\n    bfcache: true\n  })\n);\nfunction rn(r) {\n  return r == null ? \"unknown\" : typeof r == \"string\" && nn.has(r) ? r : \"other\";\n}\nfunction he(r) {\n  const t = {};\n  return r.screen && (t.screen = r.screen), r.domain && (t.domain = r.domain), t.screen === void 0 && t.domain === void 0 ? void 0 : t;\n}\nclass sn {\n  constructor() {\n    l(this, \"name\", \"derived-metrics\");\n    l(this, \"client\", null);\n  }\n  setupOnce(t) {\n    this.client = t;\n  }\n  processEvent(t, e) {\n    var n, i, s, o, a, c, u, h;\n    switch (t.type) {\n      case \"exception\": {\n        const d = (a = (o = (s = (i = (n = t.exception) == null ? void 0 : n.values) == null ? void 0 : i[0]) == null ? void 0 : s.mechanism) == null ? void 0 : o.handled) != null ? a : false;\n        (c = this.client) == null || c.metric(\n          \"rum_error\",\n          1,\n          \"counter\",\n          {\n            handled: String(d),\n            kind: RUM_ERROR_KIND.EXCEPTION\n          },\n          he(t)\n        );\n        break;\n      }\n      case \"log\":\n        t.message === qe && ((h = this.client) == null || h.metric(\n          \"rum_view\",\n          1,\n          \"counter\",\n          {\n            view_type: \"page\",\n            trigger: rn((u = t.metadata) == null ? void 0 : u.trigger)\n          },\n          he(t)\n        ));\n        break;\n    }\n    return t;\n  }\n}\nconst on = \"beacon.scope\";\nclass an {\n  constructor(t = on) {\n    l(this, \"storageKey\");\n    this.storageKey = t;\n  }\n  load() {\n    const t = x();\n    if (!t)\n      return null;\n    let e;\n    try {\n      e = t.getItem(this.storageKey);\n    } catch (s) {\n      return null;\n    }\n    if (e === null)\n      return null;\n    let n;\n    try {\n      n = JSON.parse(e);\n    } catch (s) {\n      return null;\n    }\n    if (typeof n != \"object\" || n === null)\n      return null;\n    const i = new Scope();\n    if (n.tags && typeof n.tags == \"object\")\n      for (const [s, o] of Object.entries(n.tags))\n        typeof o == \"string\" && i.setTag(s, o);\n    if (n.extra && typeof n.extra == \"object\")\n      for (const [s, o] of Object.entries(n.extra))\n        typeof o == \"string\" && i.setExtra(s, o);\n    return n.level && i.setLevel(n.level), isFingerprintSet(n.fingerprint) && i.setFingerprint(n.fingerprint), i;\n  }\n  save(t) {\n    const e = x();\n    if (!e)\n      return;\n    const n = {\n      tags: f({}, t.tags),\n      extra: f({}, t.extra),\n      level: t.level,\n      fingerprint: t.fingerprint\n    };\n    try {\n      e.setItem(this.storageKey, JSON.stringify(n));\n    } catch (i) {\n    }\n  }\n  clear() {\n    const t = x();\n    if (t)\n      try {\n        t.removeItem(this.storageKey);\n      } catch (e) {\n      }\n  }\n}\nconst cn = \"_beacon_s\", ln = 1800 * 1e3, un = 14400 * 1e3, dn = 1e3, hn = 365 * 24 * 60 * 60;\nfunction fe() {\n  return typeof crypto != \"undefined\" && crypto.randomUUID ? crypto.randomUUID() : \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, (r) => {\n    const t = Math.random() * 16 | 0;\n    return (r === \"x\" ? t : t & 3 | 8).toString(16);\n  });\n}\nfunction pe(r) {\n  var t, e, n;\n  if (typeof document == \"undefined\")\n    return null;\n  try {\n    const i = document.cookie.split(/;\\s*/);\n    for (const s of i) {\n      const o = s.indexOf(\"=\");\n      if (o === -1 || s.slice(0, o) !== r)\n        continue;\n      const a = {};\n      for (const h of s.slice(o + 1).split(\"&\")) {\n        const d = h.indexOf(\"=\");\n        d !== -1 && (a[h.slice(0, d)] = decodeURIComponent(h.slice(d + 1)));\n      }\n      const c = Number.parseInt((t = a.created) != null ? t : \"\", 10), u = Number.parseInt((e = a.expire) != null ? e : \"\", 10);\n      return !a.id || !Number.isFinite(c) || !Number.isFinite(u) ? null : {\n        id: a.id,\n        created: c,\n        expire: u,\n        env: (n = a.env) != null ? n : \"browser\"\n      };\n    }\n    return null;\n  } catch (i) {\n    return null;\n  }\n}\nfunction fn(r, t) {\n  if (typeof document == \"undefined\")\n    return;\n  const e = `id=${t.id}&created=${t.created}&expire=${t.expire}&env=${encodeURIComponent(t.env)}`, n = typeof location != \"undefined\" && location.protocol === \"https:\" ? \"; Secure\" : \"\";\n  try {\n    document.cookie = `${r}=${e}; path=/; max-age=${hn}; SameSite=Lax${n}`;\n  } catch (i) {\n  }\n}\nclass pn {\n  constructor(t = {}) {\n    l(this, \"idleMs\");\n    l(this, \"absoluteMs\");\n    l(this, \"cookieName\");\n    l(this, \"now\");\n    l(this, \"enablePolling\");\n    l(this, \"id\");\n    l(this, \"createdAt\");\n    l(this, \"lastActivity\");\n    l(this, \"listeners\", []);\n    l(this, \"pollTimer\", null);\n    var i, s, o, a, c;\n    this.idleMs = (i = t.idleMs) != null ? i : ln, this.absoluteMs = (s = t.absoluteMs) != null ? s : un, this.cookieName = (o = t.cookieName) != null ? o : cn, this.now = (a = t.now) != null ? a : () => Date.now(), this.enablePolling = (c = t.enablePolling) != null ? c : true;\n    const e = pe(this.cookieName), n = this.now();\n    e && e.expire > n ? (this.id = e.id, this.createdAt = e.created, this.lastActivity = n) : (this.id = fe(), this.createdAt = n, this.lastActivity = n), this.persist(), this.bindActivity(), this.shouldPoll() && this.startPolling();\n  }\n  /** 현재 sessionId. 만료된 경우 자동 회전 후 새 ID 반환. */\n  getSessionId() {\n    return this.isExpired() && this.rotate(), this.id;\n  }\n  /** 사용자 활동 신호 — 외부 코드에서도 호출 가능 */\n  touch() {\n    if (this.isExpired()) {\n      this.rotate();\n      return;\n    }\n    this.lastActivity = this.now(), this.persist();\n  }\n  /** 명시적 재시작 (예: 로그아웃) */\n  rotate() {\n    this.id = fe();\n    const t = this.now();\n    this.createdAt = t, this.lastActivity = t, this.persist();\n  }\n  /** SSR/destroy 시 활동 리스너 + 폴링 정리 */\n  destroy() {\n    this.stopPolling();\n    for (const t of this.listeners)\n      t();\n    this.listeners = [];\n  }\n  isExpired() {\n    const t = this.now();\n    return t - this.lastActivity > this.idleMs || t - this.createdAt > this.absoluteMs;\n  }\n  persist() {\n    const t = {\n      id: this.id,\n      created: this.createdAt,\n      // expire 는 idle 도달 시점과 absolute 도달 시점 중 가까운 쪽.\n      expire: Math.min(\n        this.lastActivity + this.idleMs,\n        this.createdAt + this.absoluteMs\n      ),\n      env: \"browser\"\n    };\n    fn(this.cookieName, t);\n  }\n  bindActivity() {\n    if (typeof window == \"undefined\" || typeof document == \"undefined\")\n      return;\n    const t = () => this.touch(), e = [\"click\", \"pointerdown\", \"keydown\", \"scroll\"];\n    for (const i of e)\n      window.addEventListener(i, t, { passive: true, capture: true }), this.listeners.push(\n        () => window.removeEventListener(i, t, { capture: true })\n      );\n    const n = () => {\n      document.visibilityState === \"visible\" ? (this.enablePolling && this.pollTimer === null && (this.syncFromCookie(), this.startPolling()), t()) : this.pollTimer !== null && this.stopPolling();\n    };\n    document.addEventListener(\"visibilitychange\", n), this.listeners.push(\n      () => document.removeEventListener(\"visibilitychange\", n)\n    );\n  }\n  /**\n   * ADR-026 §6 — 1초마다 cookie 를 읽어 메모리 상태 sync.\n   * 다른 탭이 발급/갱신한 세션을 즉시 반영. visibility hidden 동안에는 멈춤.\n   */\n  startPolling() {\n    this.enablePolling && this.pollTimer === null && typeof setInterval != \"undefined\" && (this.pollTimer = setInterval(() => this.syncFromCookie(), dn));\n  }\n  stopPolling() {\n    this.pollTimer !== null && (clearInterval(this.pollTimer), this.pollTimer = null);\n  }\n  shouldPoll() {\n    return !this.enablePolling || typeof document == \"undefined\" ? false : document.visibilityState !== \"hidden\";\n  }\n  syncFromCookie() {\n    const t = pe(this.cookieName);\n    if (!t)\n      return;\n    if (t.id !== this.id) {\n      this.id = t.id, this.createdAt = t.created, this.lastActivity = this.now();\n      return;\n    }\n    const e = Math.min(\n      this.lastActivity + this.idleMs,\n      this.createdAt + this.absoluteMs\n    );\n    t.expire > e && (this.lastActivity = t.expire - this.idleMs);\n  }\n}\nconst me = \"__beacon_device_id__\";\nfunction $() {\n  return typeof crypto != \"undefined\" && crypto.randomUUID ? crypto.randomUUID() : \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, (r) => {\n    const t = Math.random() * 16 | 0;\n    return (r === \"x\" ? t : t & 3 | 8).toString(16);\n  });\n}\nlet C = null;\nfunction mn() {\n  const r = x();\n  if (!r)\n    return C != null || (C = $()), C;\n  try {\n    let t = r.getItem(me);\n    return t || (t = $(), r.setItem(me, t)), t;\n  } catch (t) {\n    return C != null || (C = $()), C;\n  }\n}\nfunction gn() {\n  return typeof navigator == \"undefined\" ? \"en\" : navigator.language || \"en\";\n}\nfunction yn() {\n  return \"browser\";\n}\nfunction je() {\n  if (typeof navigator != \"undefined\")\n    return navigator.userAgentData;\n}\nfunction vn() {\n  var r;\n  return (r = je()) == null ? void 0 : r.platform;\n}\nfunction ge(r) {\n  if (r !== void 0)\n    return Number.isNaN(r) ? 0 : r >= 1 ? 1 : r <= 0 ? 0 : r;\n}\nclass bn {\n  constructor(t, e, n, i) {\n    l(this, \"base\", null);\n    l(this, \"appVersion\");\n    l(this, \"sessions\");\n    l(this, \"deployment\");\n    l(this, \"sampleRates\");\n    l(this, \"osVersionFromHints\");\n    l(this, \"osVersionResolveStarted\", false);\n    this.appVersion = t, this.sessions = e != null ? e : new pn(), this.deployment = n != null ? n : {}, this.sampleRates = i;\n  }\n  collect() {\n    var n, i;\n    this.base || (this.base = f(f(f(S(f({\n      platform: \"web\"\n    }, this.appVersion !== void 0 && { appVersion: this.appVersion }), {\n      deviceId: mn(),\n      // ADR-061 §결정 4 — 브라우저 JS 는 os.version 을 추측하지 않는다(omit).\n      // standalone 신호는 서버가 요청 User-Agent 로 enrich(BEACON-357), 인앱 WebView 는\n      // bridge 가 native osVersion 을 주입. precedence: native bridge > (후속)\n      // SDK getHighEntropyValues(BEACON-353) > 서버 UA enrich > 없음.\n      locale: gn(),\n      environment: yn(),\n      deviceModel: vn()\n    }), this.deployment.release !== void 0 && {\n      release: this.deployment.release\n    }), this.deployment.dist !== void 0 && {\n      dist: this.deployment.dist\n    }), this.deployment.deployEnvironment !== void 0 && {\n      deployEnvironment: this.deployment.deployEnvironment\n    }));\n    const t = ge((n = this.sampleRates) == null ? void 0 : n.logSampleRate), e = ge((i = this.sampleRates) == null ? void 0 : i.errorRate);\n    return S(f(f(f(f({}, this.base), this.osVersionFromHints !== void 0 && {\n      osVersion: this.osVersionFromHints\n    }), t !== void 0 && { logSampleRate: t }), e !== void 0 && { errorRate: e }), {\n      sessionId: this.sessions.getSessionId()\n    });\n  }\n  /**\n   * ADR-061 §결정 5 (B안) — Chromium high-entropy Client Hint 로 실제 OS 버전 취득.\n   * fire-and-forget, 1회 resolve 후 캐시. standalone 전용(ContextCollector 는 standalone\n   * 경로에서만 생성 — bridge 모드는 본 경로 우회). 미지원/reject 시 no-op → 서버 UA\n   * enrich(BEACON-357) 폴백. UA 정규식 추측이 아닌 sanctioned 플랫폼 API.\n   * @internal — SDK init(client.ts)이 1회 호출. 앱 코드가 직접 호출하는 API 아님.\n   */\n  resolveOsVersion() {\n    if (this.osVersionResolveStarted)\n      return;\n    this.osVersionResolveStarted = true;\n    const t = je();\n    t != null && t.getHighEntropyValues && t.getHighEntropyValues([\"platformVersion\"]).then((e) => {\n      var n, i;\n      if (e.platformVersion) {\n        const s = (i = (n = e.platform) != null ? n : t.platform) != null ? i : \"\";\n        this.osVersionFromHints = `${s} ${e.platformVersion}`.trim();\n      }\n    }).catch(() => {\n    });\n  }\n  destroy() {\n    this.sessions.destroy();\n  }\n}\nconst Sn = \"sourcemap\", wn = 64, En = 2e3, Tn = 64;\nfunction _n() {\n  if (typeof globalThis == \"undefined\")\n    return;\n  const r = globalThis.__BEACON_DEBUG_IDS__;\n  if (!(!r || typeof r != \"object\"))\n    return r;\n}\nfunction xn(r, t) {\n  if (!t)\n    return;\n  const e = [], n = /* @__PURE__ */ new Set();\n  for (const i of r) {\n    const s = i.abs_path;\n    if (!s || n.has(s) || s.length > En || (n.add(s), !Object.prototype.hasOwnProperty.call(t, s)))\n      continue;\n    const o = t[s];\n    if (!(typeof o != \"string\" || o.length === 0 || o.length > wn) && (e.push({\n      type: Sn,\n      code_file: s,\n      debug_id: o\n    }), e.length >= Tn))\n      break;\n  }\n  return e.length > 0 ? { images: e } : void 0;\n}\nfunction Rn(r) {\n  var e;\n  const t = [];\n  for (const n of r) {\n    const i = (e = n.stacktrace) == null ? void 0 : e.frames;\n    i && t.push(...i);\n  }\n  return t;\n}\nclass In {\n  constructor(t) {\n    this.transport = t;\n  }\n  incDropped(t, e, n = {}) {\n    this.enqueue(\"beacon.pipeline.dropped\", f({\n      reason: t,\n      signal_type: e\n    }, n));\n  }\n  incErrored(t) {\n    this.enqueue(\"beacon.pipeline.errored\", { stage: \"user_hook\", hook: t });\n  }\n  /**\n   * ADR-053 §결정 5(MCP-4032) — 호스트 `config.screen` / `config.domain` resolver 가 던져서\n   * 자동값을 못 구했다는 **client 인스턴스당 축별 마커**. 발행 횟수 통제는 호출부(`BeaconClient\n   * .reportResolverFailure`)가 하며 — resolver 실패는 **대개** 재현되므로 시그널마다 세면 전송량이\n   * 2배가 된다 — 시계열은 *실패 횟수*가 아니라 **영향받은 페이지 로드 수**로 읽는다. 세션은\n   * 인스턴스 수명 중에도 회전하므로 *세션 수*로 읽으면 오래 열린 탭에서 과소 집계된다.\n   *\n   * `beacon.pipeline.errored` 를 **재사용**한다 — `beacon.` 접두 메트릭은 서버\n   * `RESERVED_METRIC_NAMES` 에 없으면 참칭으로 판정돼 시그널이 통째로 드롭되므로\n   * (`packages/server/src/processors/cardinalityGuard.ts`), 새 이름을 만들면 서버 선등재가\n   * 먼저 필요하다. 여기서 늘어나는 것은 이름이 아니라 기존 라벨의 **값 2개**뿐이다\n   * (`stage=\"config_resolver\"` · `hook=\"screen\"|\"domain\"`).\n   */\n  incConfigResolverErrored(t) {\n    this.enqueue(\"beacon.pipeline.errored\", {\n      stage: \"config_resolver\",\n      hook: t\n    });\n  }\n  incEnriched(t, e) {\n    this.enqueue(\"beacon.pipeline.enriched\", {\n      field: t,\n      signal_type: e\n    });\n  }\n  /**\n   * ADR-079 §결정 5·9 — SLT marker 가 **무발신 폐기**된 건수. 서버 선등재 완료(MCP-4054).\n   *\n   * 미종료 marker 는 아무것도 emit 하지 않으므로 **이 카운터가 만료의 유일한 관측 경로**다.\n   * 없으면 SLT 결측이 \"측정을 안 했다\"인지 \"만료로 버렸다\"인지 영영 구분되지 않는다.\n   *\n   * 🔴 **그 전제는 standalone 에서만 성립한다.** bridge 모드는 transport 가 null 이라\n   * `enqueue` 가 첫 줄에서 return 한다(본 파일 헤더). 반면 `perf_timing` 세그먼트는\n   * `log()` → bridge 로 정상 전달되고 `pagehide` 정리도 그대로 돌므로, **웹뷰에서는 완주한\n   * SLT 만 보이고 이탈로 버려진 것은 보이지 않는다.** §결정 5 가 경계한 낙관 편향이 데이터에\n   * 그대로 재현되는데 그것을 알아챌 카운터가 없는 상태다 — `lifecycle` 폐기는 앱 웹뷰에서\n   * 가장 흔한 사유라 영향이 작지 않다. 모든 `beacon.client.*` 가 공유하는 성질이며 별건이다\n   * (PR #725 리뷰). **웹뷰 SLT 를 품질 지표로 쓰기 전에 반드시 해소해야 한다.**\n   *\n   * ⚠️ `screen` 라벨을 싣지 않는다 — §결정 9 가 149 지면 × 3 플랫폼 = **894 시계열** 근거로\n   * 명시적으로 배제했다. 지면별 분해가 필요하면 Loki 원본 로그로 내려간다. `platform` 은\n   * 서버가 부여하므로 클라는 `reason` 만 붙인다.\n   */\n  incSltExpired(t) {\n    this.enqueue(\"beacon.client.slt_expired\", { reason: t });\n  }\n  /**\n   * ADR-079 §결정 10-2 — 역순 앵커(`RESPONSE_END` < `REQUEST_START`) 관측.\n   *\n   * `slt_expired` 에 얹지 않는 이유: 그쪽은 **무발신 폐기**만 세는데 본 케이스는 `slt_total`\n   * 이 발신되므로 카운터 회계가 갈라진다(§결정 9 의 `superseded` 선행 지표 활용이 전제하는\n   * 회계 훼손). 라벨은 `{platform}` 뿐이라 클라는 아무것도 붙이지 않는다.\n   *\n   * 프리페치·비동기 디스패치 순서 뒤집힘은 런타임 조건이라 코드 리뷰가 못 잡는다 —\n   * 이 카운터가 유일한 탐지 수단이다.\n   */\n  incSltAnchorInconsistent() {\n    this.enqueue(\"beacon.client.slt_anchor_inconsistent\", {});\n  }\n  /**\n   * ADR-088 §결정 4·5 — 저장 버퍼가 시그널을 잃은 건수. 서버 선등재 완료(MCP-4322).\n   *\n   * **`value` 가 1 이 아닌 유일한 카운터다.** drop 마다 쏘면 포화가 metric 으로 전이되므로\n   * (drop 이 많을수록 metric 이 늘고 그 metric 이 다시 버퍼를 채운다) 저장소가 누적하고\n   * flush 사이클 경계에서 `(reason, class)` 당 1건으로 묶어 발행한다. 누적값을 `value` 에\n   * 실으므로 **건수가 손실되지 않는다** — 창 예산 방식과 다른 점이다.\n   *\n   * ⚠️ `platform` 을 싣지 않는다 — `projectId` 분절(ADR-075)에서 파생되고 라벨 버킷을 1키 더\n   * 먹는다 (§확인 항목 3).\n   */\n  incBufferDropped(t, e, n) {\n    this.enqueue(\n      \"beacon.client.buffer_dropped\",\n      { reason: t, signal_class: e },\n      n\n    );\n  }\n  /**\n   * transport 직접 enqueue — BaseClient.emit() / runMetricPipeline 경로 우회.\n   * 재귀 위험 0. transport 가 null (bridge 모드 / pre-init) 이면 silent drop.\n   */\n  enqueue(t, e, n = 1) {\n    if (!this.transport)\n      return;\n    const i = {\n      type: \"metric\",\n      timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n      name: t,\n      value: n,\n      metricType: \"counter\",\n      labels: e,\n      // ADR-084 (MCP-3990) — 이 경로는 `dispatch()` 를 우회하므로 surface 를 직접 박는다.\n      //\n      // **상수 `web` 이 맞다.** 우회하는 것은 enrich 파이프라인이지 모드 판정이 아니다. 이\n      // 카운터는 실제 `HttpTransport` 가 있을 때만 발행되는데(위 null 가드 + bridge/SSR 의\n      // inert transport 는 `enqueue` 미구현이라 throw→아래 swallow), 그 조건은 standalone\n      // 브라우저에서만 성립한다. 헤더 주석의 \"bridge 모드 → silent drop\" 이 그 대우다.\n      //\n      // 정보량이 0인 상수인데도 싣는 이유는 **축의 전수성**이다. 빼면 대시보드가\n      // `beacon_surface=\"web\"` 로 필터할 때 내부 카운터만 조용히 빠져, 있는지도 모르는 구멍이\n      // 생긴다. 라벨 부재와 라벨 불일치는 쿼리 작성자에게 같은 함정이다.\n      surface: \"web\"\n    };\n    try {\n      this.transport.enqueue(i);\n    } catch (s) {\n    }\n  }\n}\nconst G = 100, $e = 2500;\nfunction Ln(r) {\n  return r === void 0 || !Number.isFinite(r) ? G : Math.max(1, Math.floor(r));\n}\nfunction Cn(r) {\n  return !Number.isFinite(r) || r <= 0 ? $e : r;\n}\nclass An {\n  constructor(t) {\n    l(this, \"buffer\");\n    l(this, \"options\");\n    l(this, \"timer\", null);\n    l(this, \"open\", true);\n    l(this, \"overflowNotified\", false);\n    l(this, \"evicted\", 0);\n    l(this, \"evictedReported\", 0);\n    l(this, \"draining\", false);\n    this.options = t, this.buffer = new RingBuffer(\n      Ln(t.capacity)\n    ), this.timer = setTimeout(() => {\n      this.timer = null, this.options.onDeadline();\n    }, Cn(t.deadlineMs));\n  }\n  /**\n   * 1건 보류. 상한 초과 시 `RingBuffer` 가 가장 오래된 1건을 evict 한다.\n   *\n   * @returns 보류했으면 true. 이미 닫힌 게이트면 false(호출자가 정상 경로로 진행).\n   */\n  hold(t) {\n    return !this.open || this.draining ? false : (this.buffer.push(t) && (this.evicted++, this.overflowNotified || (this.overflowNotified = true, this.notify(() => {\n      var e, n;\n      return (n = (e = this.options).onOverflow) == null ? void 0 : n.call(e);\n    }))), true);\n  }\n  /**\n   * 게이트를 닫고 보류분을 `release` 로 넘긴다(FIFO 보존). 두 번째 호출부터 no-op — deadline\n   * 만료와 FF 확정이 경합해도 먼저 온 쪽만 유효하다.\n   *\n   * ⚠️ **순서 계약**: `close()` 가 `release()` 보다 **먼저**다. release 안에서 각 entry 가\n   * 파이프라인을 재통과하며 `hold()` 를 다시 부르는데, 그때 게이트가 열려 있으면 그대로 재보류돼\n   * 영원히 방출되지 않는다.\n   */\n  settle(t) {\n    this.open && (this.close(), this.emitAll(t), this.notifySettled(t));\n  }\n  /**\n   * 보류분을 방출하되 **게이트는 열어 둔다** — 탭 이탈(`pagehide`/`visibilitychange`) 전용.\n   *\n   * 이 계기는 `settle()` 과 달리 *종료*가 아니다: `visibilitychange(hidden)` 은 **단순 탭 전환**\n   * 에서도 발생하는데, 여기서 게이트까지 닫으면 부팅 2.5s 안에 탭을 한 번 옮긴 세션은 그 뒤\n   * FF 가 도착해도 영원히 fallback rate 로 남는다(재무장 없음). 나가야 하는 것은 *그 시점까지\n   * 쌓인 분* 뿐이고, 이후 시그널은 계속 보류해 확정 rate 를 받는 것이 옳다 (PR #582 리뷰).\n   *\n   * 탭이 실제로 폐기되면 열린 채로 사라질 뿐이라 손해가 없다.\n   */\n  flushOpen(t) {\n    this.open && this.emitAll(t, () => this.notifySettled(t));\n  }\n  /**\n   * 버퍼를 비워 `release` 로 넘긴다(FIFO 보존). 방출 중 재보류는 `draining` 이 막는다.\n   *\n   * @param onDrained 방출 직후 **draining 구간 안에서** 실행할 후처리(선택). 여기서 만들어지는\n   *   시그널은 게이트를 우회한다 — 게이트가 열린 채인 `flushOpen()` 경로가 필요로 한다.\n   * @returns 방출한 건수.\n   */\n  emitAll(t, e) {\n    const n = this.buffer.drain();\n    if (n.length === 0)\n      return 0;\n    this.draining = true;\n    try {\n      this.notify(() => this.options.release(n, t)), e == null || e();\n    } finally {\n      this.draining = false;\n    }\n    return n.length;\n  }\n  /**\n   * 게이트를 닫고 보류분을 **전량 폐기**한다 — disabled 상태로 닫히는 경로(모바일\n   * `purgeAllSessions` / `purgePreconfiguredSignals` 동형). `release` 는 호출하지 않는다.\n   */\n  purge(t) {\n    if (!this.open)\n      return;\n    this.close();\n    const e = this.buffer.size;\n    this.buffer.clear(), e > 0 && this.notify(() => {\n      var n, i;\n      return (i = (n = this.options).onPurge) == null ? void 0 : i.call(n, e, t);\n    }), this.notifySettled(t);\n  }\n  /** 닫기 + 타이머 해제. `open` 가드 덕에 게이트당 정확히 1회 실행된다. */\n  close() {\n    this.open = false, this.timer && (clearTimeout(this.timer), this.timer = null);\n  }\n  /** 계기 1건 + 그 사이 새로 발생한 evict 델타를 함께 통지. */\n  notifySettled(t) {\n    this.notify(() => {\n      var n, i;\n      return (i = (n = this.options).onSettled) == null ? void 0 : i.call(n, t);\n    });\n    const e = this.evicted - this.evictedReported;\n    e > 0 && (this.evictedReported = this.evicted, this.notify(() => {\n      var n, i;\n      return (i = (n = this.options).onEvicted) == null ? void 0 : i.call(n, e);\n    }));\n  }\n  /**\n   * 주입 콜백 실행 래퍼 — **never-throw**.\n   *\n   * ⚠️ 이 래퍼와 *호출 순서* 둘 다 계약이다. 종전에는 `close()` 안에서 `drain()` *前*에 통지해,\n   * 진단 콜백이 throw 하면 보류분이 **방출도 폐기도 되지 않은 채 좌초**됐다(PR #582 리뷰).\n   * 콜백 구현은 호스트 주입 logger 를 쓸 수 있어 throw 불가를 가정할 수 없고, 여기서 막지 않으면\n   * `hold()`(= `runBeforeSendPipeline` 안)나 `destroy()` 로 예외가 샌다.\n   */\n  notify(t) {\n    try {\n      t();\n    } catch (e) {\n    }\n  }\n}\nconst ye = {\n  REQUEST_START: \"REQUEST_START\",\n  RESPONSE_END: \"RESPONSE_END\"\n}, On = \"slt_total\", kn = \"slt_tap_to_request\", Pn = \"slt_request_to_response\", Dn = \"slt_response_to_render\";\nclass Ve {\n  /**\n   * `@internal` — `BeaconClient` facade 만 생성한다. 호스트가 직접 만들면 `onEnd` 결합이\n   * 없어 아무것도 발신하지 못한다 (`PerformanceTimer` 와 같은 이유).\n   */\n  constructor(t, e, n) {\n    l(this, \"state\", \"running\");\n    l(this, \"startTime\");\n    l(this, \"requestStart\");\n    l(this, \"responseEnd\");\n    l(this, \"warnedPhases\", /* @__PURE__ */ new Set());\n    this.screen = t, this.hooks = e, this.monotonicNow = n, this.startTime = n();\n  }\n  /** `running` 상태 여부. registry 의 evict/만료 대상 선별에 쓴다. */\n  get isRunning() {\n    return this.state === \"running\";\n  }\n  /**\n   * 앵커 기록. `running` 이 아니면 no-op.\n   *\n   * **같은 phase 재기록 규칙** (§결정 10-1) — last-wins/first-wins 단일 규칙이 아니라\n   * **앵커의 의미**를 기준으로 한다:\n   *   - `REQUEST_START` **최초 유지** — 재시도가 있으면 그 대기가 네트워크 구간에 귀속돼야\n   *     한다. last-wins 면 재시도 대기가 앱 구간(`tap_to_request`)으로 새어 네트워크가\n   *     낙관 편향된다\n   *   - `RESPONSE_END` **최종 갱신** — 캐시+네트워크 이중 응답에서 마지막 응답이 실제 완료다.\n   *     first-wins 면 늦은 응답 비용이 렌더 구간으로 귀속된다\n   *\n   * 재기록은 호스트 실수가 아니라 구조적으로 발생한다 — keyed 형은 공통 네트워크 계층\n   * 계측을 권장하므로 재시도·프리페치·캐시 이중응답이 같은 phase 를 여러 번 부른다.\n   */\n  mark(t) {\n    if (this.state !== \"running\")\n      return;\n    const e = this.monotonicNow();\n    if (t === ye.REQUEST_START) {\n      this.requestStart === void 0 && (this.requestStart = e);\n      return;\n    }\n    if (t !== ye.RESPONSE_END) {\n      const n = String(t);\n      this.warnedPhases.has(n) || (this.warnedPhases.add(n), this.fire(() => {\n        var i, s;\n        return (s = (i = this.hooks).onUnknownPhase) == null ? void 0 : s.call(i, n);\n      }));\n      return;\n    }\n    this.responseEnd = e;\n  }\n  /**\n   * 종료 + 발신. 멱등 — 두 번째 호출 no-op. `cancel()` 후 호출도 no-op.\n   *\n   * `slt_total` 은 **항상** 발신하고, 구간 3개는 \"두 앵커 존재 && duration ≥ 0\" 게이트를\n   * 통과한 것만 보낸다 (§결정 4 부분 계측 허용 — 네트워크 앵커를 못 심는 지면에서도\n   * `slt_total` 은 얻는다).\n   */\n  end() {\n    if (this.state !== \"running\")\n      return;\n    this.state = \"ended\";\n    const t = this.monotonicNow();\n    this.fireTerminate();\n    const e = [\n      { name: On, durationMs: t - this.startTime }\n    ], { requestStart: n, responseEnd: i } = this;\n    n !== void 0 && i !== void 0 && i < n ? this.fire(() => this.hooks.onAnchorInconsistent()) : (n !== void 0 && this.push(e, kn, n - this.startTime), n !== void 0 && i !== void 0 && this.push(\n      e,\n      Pn,\n      i - n\n    ), i !== void 0 && this.push(e, Dn, t - i)), this.fire(() => this.hooks.onEnd(this.screen, e));\n  }\n  /** 무발신 폐기. `end()` 후 호출은 no-op (이미 발신됨). */\n  cancel() {\n    this.state === \"running\" && (this.state = \"cancelled\", this.fireTerminate());\n  }\n  /** duration ≥ 0 게이트. 음수는 조용히 생략한다 — 가짜 0 클램프는 p75 를 낙관 왜곡한다. */\n  push(t, e, n) {\n    n >= 0 && t.push({ name: e, durationMs: n });\n  }\n  /** never-throw 경계 — registry 회수 실패가 발신 경로를 막지 않는다. */\n  fireTerminate() {\n    this.fire(() => {\n      var t, e;\n      return (e = (t = this.hooks).onTerminate) == null ? void 0 : e.call(t);\n    });\n  }\n  /** never-throw 경계 공용 — hook 이 던져도 측정 경로가 멈추지 않는다. */\n  fire(t) {\n    try {\n      t();\n    } catch (e) {\n    }\n  }\n}\nclass Fn {\n  constructor() {\n    l(this, \"markers\", /* @__PURE__ */ new Map());\n  }\n  /** 진행 중인 keyed marker 수 (테스트/진단용). */\n  get size() {\n    return this.markers.size;\n  }\n  /**\n   * 키에 marker 를 등록한다. 같은 키가 이미 있으면 **그것을 돌려준다** — 호출부가\n   * `reason=\"superseded\"` 로 폐기한 뒤 새 marker 를 넣는다.\n   *\n   * 폐기를 호출부에 맡기는 이유: 관측 카운터 발신은 client 의 책임이고, registry 가 그걸\n   * 알면 client 를 알아야 한다(`PerformanceTimerRegistry` 가 timer 를 생성하지 않는 것과\n   * 같은 판단).\n   *\n   * @returns 밀려난 이전 marker. 없으면 `undefined`.\n   */\n  replace(t, e) {\n    const n = this.markers.get(t);\n    return this.markers.set(t, e), n;\n  }\n  /** 키로 조회. **미존재 키는 `undefined`** — 호출부가 no-op 한다(§결정 2, 카운터 없음). */\n  get(t) {\n    return this.markers.get(t);\n  }\n  /**\n   * 키를 비운다 (멱등).\n   *\n   * `expected` 를 주면 **그 marker 가 아직 그 키에 있을 때만** 지운다. 같은 키가 재시작된\n   * 뒤 옛 marker 의 종료 hook 이 늦게 도착해 **새 marker 를 지워버리는** 것을 막는다 —\n   * `superseded` 경로에서 실제로 일어나는 순서다(이전 marker 를 cancel → 그 hook 이\n   * `remove` 호출 → 그 시점 키에는 이미 새 marker 가 있다).\n   */\n  remove(t, e) {\n    e !== void 0 && this.markers.get(t) !== e || this.markers.delete(t);\n  }\n  /** 전부 비운다. marker 상태는 건드리지 않는다 — 종료 주체는 호출부다. */\n  clear() {\n    this.markers.clear();\n  }\n}\nfunction z() {\n  return typeof performance != \"undefined\" && typeof performance.now == \"function\" ? performance.now() : Date.now();\n}\nclass W {\n  /**\n   * `@internal` — `BeaconClient.startTimer` / `timing` facade 만 호출한다. 호스트 코드는\n   * constructor 직접 호출 금지 (PerformanceTimer 단독으로는 log 전송 불가 — onStop 결합).\n   */\n  constructor(t, e, n, i = z, s) {\n    l(this, \"state\", \"running\");\n    l(this, \"cachedDurationMs\", 0);\n    l(this, \"startTime\");\n    this.name = t, this.labels = e, this.onStop = n, this.monotonicNow = i, this.onTerminate = s, this.startTime = i();\n  }\n  /** `running` 상태 여부. registry 의 evict/만료 대상 선별에 쓴다 (Swift `isRunning` 동형). */\n  get isRunning() {\n    return this.state === \"running\";\n  }\n  /**\n   * 종료 hook 발화 — never-throw 경계. registry 회수가 실패해도 `stop()` 의 반환값·`onStop`\n   * 발화가 영향을 받아서는 안 된다(SDK never-throw contract).\n   */\n  fireTerminate() {\n    var t;\n    try {\n      (t = this.onTerminate) == null || t.call(this);\n    } catch (e) {\n    }\n  }\n  /**\n   * 경과 시간 (ms) 반환 + onStop 1회 호출.\n   *\n   * - 멱등: 두 번째 호출은 캐시된 duration 반환, onStop 재호출 없음.\n   * - `cancel()` 후 호출 시: 0 반환, onStop 미호출.\n   */\n  stop() {\n    return this.state === \"running\" ? (this.state = \"stopped\", this.cachedDurationMs = this.monotonicNow() - this.startTime, this.fireTerminate(), this.onStop(this.name, this.cachedDurationMs, this.labels), this.cachedDurationMs) : this.state === \"stopped\" ? this.cachedDurationMs : 0;\n  }\n  /**\n   * 로그 전송 없이 폐기. `running` 일 때만 `cancelled` 전환 — `stop()` 이후는 no-op (이미 전송됨).\n   */\n  cancel() {\n    this.state === \"running\" && (this.state = \"cancelled\", this.fireTerminate());\n  }\n}\nconst Mn = 3e4, Nn = 100;\nclass Bn {\n  constructor(t = {}) {\n    l(this, \"timeoutMs\");\n    l(this, \"maxActiveTimers\");\n    l(this, \"onDiscard\");\n    l(this, \"scheduleTimeout\");\n    l(this, \"cancelTimeout\");\n    l(this, \"entries\", /* @__PURE__ */ new Map());\n    l(this, \"nextSeq\", 0);\n    l(this, \"pagehideHandler\", null);\n    l(this, \"destroyed\", false);\n    var e, n, i, s;\n    this.timeoutMs = (e = t.timeoutMs) != null ? e : Mn, this.maxActiveTimers = (n = t.maxActiveTimers) != null ? n : Nn, this.onDiscard = t.onDiscard, this.scheduleTimeout = (i = t.scheduleTimeout) != null ? i : (o, a) => globalThis.setTimeout(o, a), this.cancelTimeout = (s = t.cancelTimeout) != null ? s : (o) => globalThis.clearTimeout(o);\n  }\n  /** 현재 registry 가 붙들고 있는 timer 수 (테스트/진단용). */\n  get size() {\n    return this.entries.size;\n  }\n  /**\n   * timer 를 registry 에 등록하고 회수 hook 을 돌려준다.\n   *\n   * 호출부(`BeaconClient.startTimer`)는 이 hook 을 `PerformanceTimer` 의 `onTerminate` 로\n   * 넘긴다. Swift 처럼 registry 가 timer 를 직접 생성하지 않는 이유: Web 의 `startTimer` 는\n   * `onStop` 안에서 `this.log(...)` 를 부르는 클라이언트 클로저라, timer 생성 책임을 registry\n   * 로 옮기면 registry 가 클라이언트를 알아야 한다. 등록/회수만 맡기고 생성은 facade 에 둔다.\n   *\n   * **cap 검사 순서** (Swift `startTimer` / Android `BeaconClient.kt` 와 동일):\n   * 1. `size >= max` 이면 oldest running entry evict.\n   * 2. 새 entry insert.\n   *\n   * `>=` 인 이유 — `>` 면 insert 후 `max + 1` 개가 잠깐 존재한다. `>=` 라야 실효 cap 이\n   * 정확히 `maxActiveTimers` 다.\n   *\n   * @returns 이 timer 의 `onTerminate` 로 넘길 회수 함수 (멱등).\n   */\n  register(t, e) {\n    if (this.destroyed)\n      return () => {\n      };\n    const n = this.nextSeq++;\n    this.entries.size >= this.maxActiveTimers && this.evictOldest();\n    const i = this.timeoutMs > 0 ? this.scheduleTimeout(() => this.expire(n), this.timeoutMs) : void 0;\n    return this.entries.set(n, { timer: t, seq: n, ttlHandle: i, onDiscard: e }), () => this.remove(n);\n  }\n  /**\n   * 미종료 timer 를 전부 cancel 하고 registry 를 비운다 (§10-3 / `destroy()`).\n   *\n   * cancel 은 `onTerminate` → `remove` 재진입을 일으키므로, **순회 중 맵을 변형하지 않도록**\n   * 대상 스냅샷을 먼저 뜨고 맵을 비운 뒤 cancel 한다. Swift 가 락 안에서 수집하고 락 밖에서\n   * cancel 하는 것과 같은 구조이며, 여기서는 락 대신 순회 안전성이 이유다.\n   */\n  cancelAll(t = \"lifecycle\") {\n    if (this.entries.size === 0)\n      return;\n    const e = [...this.entries.values()];\n    this.entries.clear();\n    for (const n of e)\n      this.clearTtl(n);\n    for (const n of e) {\n      const i = n.timer.isRunning;\n      n.timer.cancel(), i && this.reportDiscard(t, n);\n    }\n  }\n  /**\n   * §10-3 — `pagehide` 에 일괄 정리를 배선한다.\n   *\n   * **bridge/standalone 무관하게 배선한다.** client 의 drain 리스너는 standalone 전용이지만\n   * (bridge 는 native 가 drain), timer 정리는 전송이 아니라 **메모리 안전** 문제라 웹뷰에서도\n   * 필요하다. 그래서 그 리스너에 얹지 않고 registry 가 자기 것을 소유한다.\n   *\n   * 🔴 **`visibilitychange→hidden` 은 듣지 않는다.** 초안은 *\"모바일 앱 전환은 `hidden` 만\n   * 발화하고 `pagehide` 는 오지 않을 수 있다\"* 를 근거로 함께 들었는데, 그 근거가 성립하지\n   * 않는다 — 그 경우 페이지가 **프로세스와 함께 사라지므로 정리할 대상 자체가 없다.** 반면\n   * `hidden` 은 탭 전환·창 최소화처럼 **페이지가 살아 있는** 순간에도 발화해서, 진행 중인\n   * 비동기 측정(ADR-047 §8 이 권장하는 `startTimer`/`stop` 쌍)을 조용히 죽인다. 느린 요청일수록\n   * 사용자가 이탈해 백그라운드로 갈 확률이 높아 **하필 느린 표본이 더 잘 사라진다.**\n   * 살아 있는 페이지 구간은 TTL(§10-1)이 맡는다. 상세는 ADR-047 §10-3 Amendment.\n   */\n  installLifecycleListeners() {\n    typeof window != \"undefined\" && (this.pagehideHandler || this.destroyed || (this.pagehideHandler = () => this.cancelAll(\"lifecycle\"), window.addEventListener(\"pagehide\", this.pagehideHandler)));\n  }\n  /** 리스너 해제 + 잔여 timer 일괄 cancel. `BeaconClient.destroy()` 에서 호출한다. */\n  destroy() {\n    this.destroyed || (this.destroyed = true, typeof window != \"undefined\" && this.pagehideHandler && window.removeEventListener(\"pagehide\", this.pagehideHandler), this.pagehideHandler = null, this.cancelAll(\"lifecycle\"));\n  }\n  // ─── 내부 helper ────────────────────────────────────────────────────\n  /** registry 항목 + TTL 해제 (멱등). timer 상태는 건드리지 않는다 — 호출자가 종료 주체다. */\n  remove(t) {\n    const e = this.entries.get(t);\n    e && (this.entries.delete(t), this.clearTtl(e));\n  }\n  /** §10-1 — TTL 만료. 등록돼 있고 아직 running 인 경우에만 폐기한다. */\n  expire(t) {\n    const e = this.entries.get(t);\n    e && (this.entries.delete(t), this.clearTtl(e), e.timer.isRunning && (e.timer.cancel(), this.reportDiscard(\"ttl\", e)));\n  }\n  /**\n   * §10-2 — oldest **running** entry 를 evict.\n   *\n   * `Map` 은 삽입 순서를 보존하므로 첫 running 항목이 곧 oldest 다 — Swift 처럼 `seq` 최소값을\n   * 따로 찾을 필요가 없다. `seq` 는 진단용으로만 남긴다.\n   *\n   * running 이 아닌 항목(stop 직후 `onStop` 안에서 새 timer 가 생긴 찰나 등)은 건너뛴다.\n   * 전부 non-running 이면 evict 하지 않는다 — 곧 회수될 항목이라 cap 을 잠깐 넘는 편이\n   * 살아 있는 측정을 죽이는 것보다 낫다.\n   */\n  evictOldest() {\n    for (const [t, e] of this.entries)\n      if (e.timer.isRunning) {\n        this.entries.delete(t), this.clearTtl(e), e.timer.cancel(), this.reportDiscard(\"evicted\", e);\n        return;\n      }\n  }\n  clearTtl(t) {\n    t.ttlHandle !== void 0 && this.cancelTimeout(t.ttlHandle);\n  }\n  /**\n   * never-throw 경계 — 관측 hook 이 던져도 폐기 경로가 멈추지 않는다.\n   *\n   * 전역 hook 과 per-timer hook 을 **둘 다** 부른다. 전자는 registry 총량 관측,\n   * 후자는 그 timer 소유자(SLT marker 등)가 자기 사유를 받는 통로다.\n   */\n  reportDiscard(t, e) {\n    var n, i;\n    try {\n      (n = this.onDiscard) == null || n.call(this, t);\n    } catch (s) {\n    }\n    try {\n      (i = e == null ? void 0 : e.onDiscard) == null || i.call(e, t);\n    } catch (s) {\n    }\n  }\n}\nconst Hn = 60 * 1024, Un = 64 * 1024;\nfunction Ke(r) {\n  let t = 0;\n  for (let e = 0; e < r.length; e += 1) {\n    const n = r.charCodeAt(e);\n    n < 128 ? t += 1 : n < 2048 ? t += 2 : n >= 55296 && n <= 56319 && e + 1 < r.length && (r.charCodeAt(e + 1) & 64512) === 56320 ? (t += 4, e += 1) : t += 3;\n  }\n  return t;\n}\nfunction ve(r) {\n  const t = [];\n  let e = 0, n = 0;\n  for (; n < r.length; n += 1) {\n    const i = r[n];\n    let s;\n    try {\n      s = Ke(JSON.stringify(i.signal));\n    } catch (o) {\n      continue;\n    }\n    if (t.length > 0 && e + s > Hn)\n      break;\n    t.push(i), e += s;\n  }\n  return { taken: t, rest: r.slice(n) };\n}\nconst qn = 5e3, jn = 3e4, $n = 1e3, Vn = 50;\nclass Kn {\n  constructor(t) {\n    l(this, \"endpoint\");\n    l(this, \"projectId\");\n    l(this, \"clientId\");\n    l(this, \"contextProvider\");\n    l(this, \"buffer\");\n    l(this, \"batchSize\");\n    l(this, \"retryPolicy\");\n    l(this, \"signalOutbox\");\n    l(this, \"logger\");\n    l(this, \"pendingWork\", /* @__PURE__ */ new Set());\n    l(this, \"pendingSinceFlush\", 0);\n    l(this, \"claimedEntryIds\", /* @__PURE__ */ new Set());\n    l(this, \"bufferDropSink\", null);\n    l(this, \"abortController\", new AbortController());\n    l(this, \"requestTimeoutMs\");\n    l(this, \"aborted\", false);\n    var e, n, i, s, o, a;\n    this.endpoint = t.endpoint.replace(/\\/$/, \"\"), this.projectId = t.projectId, this.clientId = t.clientId, this.contextProvider = t.contextProvider, this.buffer = new RingBuffer(\n      (e = t.bufferSize) != null ? e : $n\n    ), this.batchSize = (n = t.batchSize) != null ? n : Vn, this.retryPolicy = (i = t.retryPolicy) != null ? i : new ExponentialBackoffRetryPolicy(), this.signalOutbox = (s = t.signalOutbox) != null ? s : null, this.logger = (o = t.logger) != null ? o : new NoopLogger(), this.requestTimeoutMs = (a = t.requestTimeoutMs) != null ? a : jn;\n  }\n  // ───────────────────────────────────────────────────────────────────────\n  // ① 공개 API — BeaconClient / SignalOutbox 어댑터가 부르는 표면\n  // 이름은 Transport 계약이라 바꾸지 않는다.\n  // ───────────────────────────────────────────────────────────────────────\n  /**\n   * Signal 1건을 적재. batchSize 도달 시 비동기 flush trigger.\n   * `BaseClient.emit()` 의 dispatch 경유 호출되므로 destroyed/drop 가드는 호출자 책임.\n   *\n   * 자동 trigger 는 `.catch()` 로 swallow 한다 — 비동기 송신이 시작되므로 unhandled rejection 이\n   * 될 수 있다. 실제 송신 실패는 status/reason 으로 표현되고 SignalOutbox 가 흡수한다.\n   */\n  enqueue(t) {\n    if (this.aborted)\n      return;\n    const e = this.signalOutbox;\n    if (e) {\n      e.append(t), this.pendingSinceFlush += 1, this.pendingSinceFlush >= this.batchSize && this.drainOutbox().catch(() => {\n      });\n      return;\n    }\n    this.buffer.push(t), this.buffer.size >= this.batchSize && this.drainOutbox().catch(() => {\n    });\n  }\n  /**\n   * 내부 buffer drain trigger + in-flight 대기. timeoutMs 안에 모두 settle 시 true, 미완료 시 false.\n   *\n   * **timeout 은 전체 시간 cap** 이다 — drain 의 send 도 race 에 포함된다. 그래서 `drainOutbox()`\n   * 를 `await` 하지 않고 fire-and-forget 으로 부른다(send 가 `pendingWork` 에 동기 등록하므로 race 가\n   * 잡는다). `await` 였다면 maxRetries × backoff(~30s+)가 timeout 밖으로 밀려나 의미가 모순된다.\n   *\n   * 동시 호출은 같은 `pendingWork` Set 을 공유해 일관된다. drain 중 들어온 enqueue 는 *다음* flush\n   * 가 가져간다 — 두 묶음으로 송신될 뿐 손실이 아니다.\n   */\n  flush(t) {\n    return g(this, null, function* () {\n      this.drainOutbox().catch(() => {\n      });\n      const e = t != null ? t : qn;\n      if (this.pendingWork.size === 0)\n        return true;\n      let n = null;\n      try {\n        const i = Promise.all(\n          [...this.pendingWork].map((o) => o.catch(() => {\n          }))\n        ).then(() => true), s = new Promise((o) => {\n          n = setTimeout(o, e, false);\n        });\n        return yield Promise.race([i, s]);\n      } finally {\n        n !== null && clearTimeout(n);\n      }\n    });\n  }\n  close() {\n    return g(this, null, function* () {\n      this.aborted = true, this.abortController.abort();\n    });\n  }\n  /**\n   * 외부 발신용. buffer 우회 — caller 가 명시한 signals 묶음을 직접 송신.\n   *\n   * `options.escalateToSignalOutboxOnFailure`(default `true`)로 *escalation 의도* 를 가른다.\n   * capture 경로는 실패 시 영구 저장소로 올려야 보존되고, replay 경로는 이미 저장소에서 꺼낸\n   * signals 라 또 적재하면 누적된다. aborted 상태나 retry 중 abort 에서도 이 방어막은 거친다\n   * (escalation 옵션 true 한정) — graceful shutdown 의 손실 0 보장.\n   *\n   * `options.allowKeepalive`(default `true`, MCP-4439)는 `sendEntries` 가 같은 사이클의 이어지는\n   * 봉투에 `false` 로 넘긴다. `true` 여도 본문이 64KiB 를 넘으면 재시도 루프가 keepalive 를 끈다.\n   */\n  send(t, e) {\n    return g(this, null, function* () {\n      const n = (e == null ? void 0 : e.escalateToSignalOutboxOnFailure) !== false, i = (e == null ? void 0 : e.allowKeepalive) !== false;\n      if (this.aborted)\n        return n && this.signalOutbox && t.signals.length > 0 && this.appendAll(t.signals), { statusCode: 0, reason: \"transport closed\" };\n      if (t.signals.length === 0)\n        return { statusCode: 0, reason: \"empty envelope\" };\n      const s = this.sendWithRetry(\n        t.signals,\n        t.resource,\n        n,\n        i\n      );\n      this.pendingWork.add(s);\n      try {\n        return yield s;\n      } finally {\n        this.pendingWork.delete(s);\n      }\n    });\n  }\n  /**\n   * MCP-4150 — 저장소에서 꺼낸 엔트리를 송신하고 **종결까지 책임진다**. 봉투 분할 규칙 전문은\n   * LLD §5.1.1.\n   *\n   * commit / discard 의 소유자를 여기 하나로 둔다. 판정이 두 벌이 되면 `permanentFailureCodes`\n   * 커스터마이즈가 한쪽에만 먹고, 4xx 영구 거부분이 저장소에 남아 매 replay 마다 재전송된다\n   * (PR #692 에서 재현된 무한 루프 — `discard` 를 신설한 이유).\n   *\n   *   - 2xx      → `commit(ids)`\n   *   - 4xx 영구 → `discard(ids)`  — 남기면 다음 시도가 또 거부될 뿐이다\n   *   - 재시도성 → 무동작. 저장소에 그대로 두어 다음 flush / online 을 기다린다\n   *\n   * 불변식 3개 (MCP-4439):\n   *   - **2xx 가 아니면 멈춘다.** 건너뛰면 oldest 가 남은 채 새것이 먼저 나가 순서가 뒤집힌다.\n   *   - **keepalive 는 사이클의 첫 봉투에만 건다.** 이어지는 봉투는 앞 봉투와 quota 가 합산돼\n   *     거부된다.\n   *   - **in-flight 표시는 받은 엔트리 전체에 사이클 끝까지 유지한다.** 봉투마다 풀면 대기 중인\n   *     뒤 봉투를 `flushViaBeacon` 이 집어 commit 하고 이 루프가 같은 엔트리를 또 보낸다.\n   */\n  sendEntries(t) {\n    return g(this, null, function* () {\n      if (t.length === 0)\n        return { statusCode: 0, reason: \"empty envelope\" };\n      const e = this.contextProvider.collect(), n = t.map((i) => i.id);\n      for (const i of n)\n        this.claimedEntryIds.add(i);\n      try {\n        let i = {\n          statusCode: 0,\n          reason: \"empty envelope\"\n        }, s = t, o = true;\n        for (; s.length > 0; ) {\n          const { taken: a, rest: c } = ve(s);\n          if (s = c, a.length !== 0 && (i = yield this.send(\n            { signals: a.map((u) => u.signal), resource: e },\n            {\n              // 이미 저장소 안에 있다 — escalation 이 발화하면 같은 신호가 한 번 더 적재된다.\n              escalateToSignalOutboxOnFailure: false,\n              allowKeepalive: o\n            }\n          ), o = false, this.settle(\n            a.map((u) => u.id),\n            i\n          ), i.statusCode < 200 || i.statusCode >= 300))\n            break;\n        }\n        return this.drainBufferDropCounts(), i;\n      } finally {\n        for (const i of n)\n          this.claimedEntryIds.delete(i);\n      }\n    });\n  }\n  /**\n   * pagehide / visibilitychange 동기 송신 (ADR-011, LLD §5.3). 저장소 잔여를 즉시 `peek` 해\n   * `navigator.sendBeacon` 으로 fire-and-forget.\n   *\n   * **Never-throw (Transport contract)**: `navigator.sendBeacon`(spec §4.7.1 InvalidStateError)\n   * 과 `JSON.stringify`(circular ref) 의 throw 표면을 모두 흡수해 `false` 로 단일화한다 —\n   * pagehide handler 가 try/catch 없이 부를 수 있어야 한다.\n   */\n  flushViaBeacon() {\n    this.drainBufferDropCounts();\n    const t = this.signalOutbox;\n    if (t) {\n      const { taken: n } = ve(\n        t.peek().filter((s) => !this.claimedEntryIds.has(s.id))\n      );\n      if (n.length === 0)\n        return true;\n      const i = this.trySendBeacon(n.map((s) => s.signal));\n      return i && t.commit(n.map((s) => s.id)), i;\n    }\n    const e = this.buffer.drain();\n    return e.length === 0 ? true : this.trySendBeacon(e);\n  }\n  /**\n   * 발행 sink — `WebPipelineCounter.incBufferDropped` 를 client 가 꽂는다.\n   *\n   * counter 가 transport 를 생성자로 받으므로 순환을 피하려면 나중에 꽂아야 한다. 내부 카운터의\n   * 봉투 모양(surface · metricType · 파이프라인 우회)은 `pipelineCounter` 한 곳에만 있어야 drift\n   * 가 없기도 하다.\n   */\n  setBufferDropSink(t) {\n    this.bufferDropSink = t;\n  }\n  // ───────────────────────────────────────────────────────────────────────\n  // ② 송신 파이프라인 — drain → 봉투 조립 → 시도 → 재시도\n  // 평시 경로. 이탈 경로(③)와 달리 fetch 를 쓴다.\n  // ───────────────────────────────────────────────────────────────────────\n  /**\n   * 잔여를 한 번에 send. `flush()` 와 `enqueue()` 의 자동 trigger 가 호출.\n   *\n   * **불변식 — collect 먼저, drain 나중**: `buffer.drain()` 은 destructive 라 되돌릴 수 없는\n   * commit point 다. `ContextProvider.collect` 는 계약상 never-throw(ADR-031 §6.1)지만 외부\n   * 구현체가 계약을 어기면, drain 이 먼저였을 때 signals 가 어디에도 남지 않고 사라진다 —\n   * 호출자(enqueue / flush)의 `.catch()` 가 throw 마저 흡수하므로 propagate 도 되지 않는다.\n   */\n  drainOutbox() {\n    return g(this, null, function* () {\n      const t = this.signalOutbox;\n      if (t) {\n        this.pendingSinceFlush = 0;\n        const i = () => g(this, null, function* () {\n          const o = t.peek();\n          o.length !== 0 && (yield this.sendEntries(o));\n        }), s = t.runExclusive ? t.runExclusive(i) : i();\n        this.pendingWork.add(s);\n        try {\n          yield s;\n        } finally {\n          this.pendingWork.delete(s);\n        }\n        return;\n      }\n      const e = this.contextProvider.collect();\n      if (this.buffer.size === 0)\n        return;\n      const n = this.buffer.drain();\n      yield this.send({ signals: n, resource: e });\n    });\n  }\n  /**\n   * 요청 1건의 `RequestInit`.\n   *\n   * keepalive 판정이 **실제 본문 바이트** 를 봐야 하므로 직렬화와 같은 자리에 둔다 (MCP-4439,\n   * LLD §5.1.1). 64KiB 를 넘는 본문에 걸면 `fetch()` 가 요청을 내보내지도 않고 `TypeError` 로\n   * reject 하는데, 그것이 statusCode 0(재시도성)으로 분류돼 같은 봉투를 영원히 다시 시도한다.\n   */\n  buildRequest(t, e) {\n    const n = JSON.stringify(t);\n    return {\n      method: \"POST\",\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"X-Beacon-Client-Id\": this.clientId\n      },\n      body: n,\n      keepalive: e && Ke(n) <= Un\n    };\n  }\n  /**\n   * 시도 1회 — 요청 조립 + fetch. 재시도·분류·escalation 은 호출자의 몫이다.\n   *\n   * `async` 를 붙이지 않는다: 직렬화 throw(circular ref 등)가 호출자의 `try` 에서 **동기로**\n   * 잡혀야 재시도 분류가 네트워크 오류와 같아진다.\n   */\n  attemptSend(t, e) {\n    return this.fetchWithTimeout(\n      `${this.endpoint}/v1/signals`,\n      this.buildRequest(t, e)\n    );\n  }\n  /**\n   * 실 송신 루프 — 시도 + 분류 + 재시도 + final escalation.\n   *\n   * @param escalate `true` 면 final-failure(4xx 즉시 / 5xx 소진 / network err / mid-retry abort)\n   *                 시 `appendAll(signals)` 로 마지막 방어막에 적재. capture path 는 true,\n   *                 SignalOutbox replay path 는 false (이미 storage 안에 있음).\n   * @param allowKeepalive `false` 면 본문 크기와 무관하게 keepalive 를 걸지 않는다 (MCP-4439 —\n   *                 `sendEntries` 의 이어지는 봉투).\n   *\n   * aborted 가드가 발화해도 *return early* 하지 않고 루프를 break 해 끝의 `appendAll` 분기를\n   * 거친다 — \"영구 저장소는 항상 거친다\" 는 사용자 모델과 정합하며, close 가 graceful shutdown\n   * 의 timeout 으로 끼어들어도 손실이 0 이다.\n   */\n  sendWithRetry(t, e, n, i) {\n    return g(this, null, function* () {\n      const s = {\n        projectId: this.projectId,\n        resource: e,\n        // wire 봉투 키 = resource (ADR-056)\n        signals: t\n      }, o = this.retryPolicy;\n      let a = 0, c, u = false;\n      for (let h = 0; h <= o.maxRetries; h++) {\n        if (this.aborted) {\n          a = 0, c = \"transport closed mid-retry\";\n          break;\n        }\n        try {\n          const d = yield this.attemptSend(s, i);\n          if (d.ok)\n            return this.reportSchemaRejections(d), { statusCode: d.status };\n          if (a = d.status, c = d.statusText, isPermanentFailure(\n            { statusCode: a, reason: c },\n            o.permanentFailureCodes\n          )) {\n            u = true;\n            break;\n          }\n          if (!o.shouldRetry(\n            { statusCode: a, reason: c },\n            h\n          ))\n            break;\n          const v = Gn(d);\n          yield this.sleep(o.getDelay(h, v));\n        } catch (d) {\n          if (this.aborted) {\n            a = 0, c = \"transport closed mid-retry\";\n            break;\n          }\n          if (a = 0, c = d instanceof Error ? d.message : \"network error\", !o.shouldRetry({ statusCode: 0, reason: c }, h))\n            break;\n          yield this.sleep(o.getDelay(h));\n        }\n      }\n      return n && !u && this.signalOutbox && this.appendAll(t), { statusCode: a, reason: c != null ? c : \"max retries\" };\n    });\n  }\n  // ───────────────────────────────────────────────────────────────────────\n  // ③ 이탈 경로 — pagehide / visibilitychange (ADR-011)\n  // 동기로 돌아야 해 fetch 가 아니라 navigator.sendBeacon 을 쓴다.\n  // ───────────────────────────────────────────────────────────────────────\n  /**\n   * navigator.sendBeacon 송신 *시도만* — 모든 실패를 `false` 반환으로 단일화한다. 덕분에\n   * `flushViaBeacon` 의 escalation 분기가 한 곳(`if (!sent)`)이라, 실패 path 를 새로 추가해도\n   * 누락되지 않는다.\n   *\n   * 흡수하는 throw 표면 3개: 지원 부재(`navigator` / `sendBeacon`), `contextProvider.collect()`,\n   * `JSON.stringify`(circular ref) · `navigator.sendBeacon`(spec §4.7.1 InvalidStateError).\n   */\n  trySendBeacon(t) {\n    if (typeof navigator == \"undefined\" || !navigator.sendBeacon)\n      return false;\n    try {\n      const e = {\n        projectId: this.projectId,\n        // wire 봉투 키 = resource (ADR-056)\n        resource: this.contextProvider.collect(),\n        signals: t\n      }, n = new Blob([JSON.stringify(e)], {\n        type: \"application/json\"\n      });\n      return navigator.sendBeacon(`${this.endpoint}/v1/signals`, n);\n    } catch (e) {\n      return false;\n    }\n  }\n  // ───────────────────────────────────────────────────────────────────────\n  // ④ 저장소 종결 — commit / discard / 적재 / 카운터 발행\n  // 송신 결과를 SignalOutbox 상태로 옮기는 자리.\n  // ───────────────────────────────────────────────────────────────────────\n  /** 송신 결과에 따라 저장소를 정리한다. 판정은 재시도 루프와 **같은 helper·같은 policy** 를 쓴다. */\n  settle(t, e) {\n    const n = this.signalOutbox;\n    if (n) {\n      if (e.statusCode >= 200 && e.statusCode < 300) {\n        n.commit(t);\n        return;\n      }\n      isPermanentFailure(\n        { statusCode: e.statusCode, reason: e.reason },\n        this.retryPolicy.permanentFailureCodes\n      ) && n.discard(t);\n    }\n  }\n  /**\n   * MCP-4150 — outbox 는 신호 1건 단위(`append`)로 적재한다. escalation 경로는 배치를 넘기므로\n   * 여기서 펼친다. 적재 *시점* 은 바뀌지 않는다.\n   */\n  appendAll(t) {\n    const e = this.signalOutbox;\n    if (e)\n      for (const n of t)\n        e.append(n);\n  }\n  /**\n   * 저장소가 누적한 drop 건수를 꺼내 counter 로 발행한다 (ADR-088 §결정 5).\n   *\n   * drop 지점에서 바로 쏘면 포화가 metric 으로 전이된다 — drop 이 많을수록 metric 이 늘고 그\n   * metric 이 다시 저장소를 채운다. 저장소는 세기만 하고, 발행은 **사이클 경계**인 이 자리에서\n   * `(reason, class)` 당 1건(`value` = 누적 N)으로 묶는다. 사이클당 최대 발사량이\n   * `|reason| × |class|` 로 묶이므로 포화가 심해도 폭주하지 않고, 발행된 카운터가 다시 evict 돼도\n   * *다음* 사이클의 누적값 1 이 될 뿐이다(이미 누적기를 비운 뒤다).\n   */\n  drainBufferDropCounts() {\n    var i;\n    const t = this.bufferDropSink, e = (i = this.signalOutbox) == null ? void 0 : i.drainDropCounts;\n    if (!t || !e)\n      return;\n    let n;\n    try {\n      n = e.call(this.signalOutbox);\n    } catch (s) {\n      return;\n    }\n    for (const { reason: s, signalClass: o, count: a } of n)\n      a > 0 && t(s, o, a);\n  }\n  // ───────────────────────────────────────────────────────────────────────\n  // ⑤ 유틸 — 진단 · 타임아웃 · 백오프 대기\n  // 송신 의미를 갖지 않는 보조 표면. 모두 never-throw 계약을 지킨다.\n  // ───────────────────────────────────────────────────────────────────────\n  /**\n   * BEACON-611 — 202 응답에 실려온 per-signal 거부 사유를 logger 로 노출한다.\n   *\n   * 서버는 ADR-057 per-signal 부분 수용에 따라 무효 신호만 drop 하고 봉투는 202 로 수용한다.\n   * 종전에는 `response.ok` 면 body 를 통째로 버려서 **송신측이 자기 시그널의 유실을 알 수조차\n   * 없었다.** 이 메서드가 그 채널을 잇는다.\n   *\n   * **capture 경로 금지**: 이 진단을 다시 시그널로 캡처하면 거부 → 캡처 → 재거부 폭주가 된다.\n   * logger 로만 내보내고 어떤 경우에도 capture/enqueue 를 부르지 않는다.\n   *\n   * **never-throw**: body 가 JSON 이 아니거나 이미 소비됐어도 송신 결과에 영향을 주면 안 된다.\n   */\n  reportSchemaRejections(t) {\n    return g(this, null, function* () {\n      if (!(this.logger instanceof NoopLogger))\n        try {\n          const e = yield t.json();\n          if (typeof (e == null ? void 0 : e.rejected) != \"number\" || e.rejected <= 0)\n            return;\n          const n = Array.isArray(e.errors) ? e.errors : [];\n          this.logger.warn(\n            `${e.rejected} signal(s) rejected by server schema validation`,\n            n\n          );\n        } catch (e) {\n        }\n    });\n  }\n  /**\n   * `fetch` + **요청별** 타임아웃 (MCP-4417). 값의 근거는 `DEFAULT_REQUEST_TIMEOUT_MS` · LLD §5.2.\n   *\n   * **왜 손으로 짜는가.** `AbortSignal.timeout()` · `AbortSignal.any()` · 사유 인자를 받는\n   * `abort(reason)` 셋 다 Safari 15.4~17 구간에 들어왔는데 이 패키지의 하한은 iOS 15.1 이다\n   * (`flush` 가 `Promise.allSettled` 를 피하는 것과 **같은 기준**).\n   *\n   * **인스턴스 컨트롤러를 대체하지 않고 잇는다.** `close()` 의 abort 가 진행 중인 요청을 끊는\n   * 계약(헤더 §동시성 contract)은 그대로여야 하므로 인스턴스 signal 의 abort 를 요청별 컨트롤러로\n   * forward 한다. 리스너는 finally 에서 **반드시** 뗀다 — 인스턴스 signal 은 transport 수명 내내\n   * 살아 있어서, 안 떼면 요청마다 리스너가 쌓인다.\n   */\n  fetchWithTimeout(t, e) {\n    return g(this, null, function* () {\n      const n = new AbortController();\n      let i = false;\n      const s = () => n.abort(), o = setTimeout(() => {\n        i = true, n.abort();\n      }, this.requestTimeoutMs);\n      this.abortController.signal.addEventListener(\"abort\", s);\n      try {\n        return this.abortController.signal.aborted && n.abort(), yield fetch(t, S(f({}, e), { signal: n.signal }));\n      } catch (a) {\n        if (i && !this.aborted) {\n          try {\n            this.logger.warn(\n              `beacon: request timed out after ${this.requestTimeoutMs}ms — 재시도 대상으로 처리`\n            );\n          } catch (c) {\n          }\n          throw new Error(`request timeout after ${this.requestTimeoutMs}ms`);\n        }\n        throw a;\n      } finally {\n        clearTimeout(o), this.abortController.signal.removeEventListener(\"abort\", s);\n      }\n    });\n  }\n  /**\n   * Sleep + `close()` 의 abort signal race — close 가 들어오면 즉시 wake 해 retry 가드가 빠르게\n   * 통과하고 escalation 분기에 닿는다(graceful shutdown 의 timeout 안에서).\n   *\n   * 본 메서드는 *실행* 만 책임진다 — *얼마나 기다릴지* 는 `RetryPolicy`(Domain)의 결정이다\n   * (ADR-031 §1.2 / LLD §4.1).\n   */\n  sleep(t) {\n    return new Promise((e) => {\n      if (this.abortController.signal.aborted) {\n        e();\n        return;\n      }\n      const n = () => {\n        clearTimeout(i), e();\n      }, i = setTimeout(() => {\n        this.abortController.signal.removeEventListener(\"abort\", n), e();\n      }, t);\n      this.abortController.signal.addEventListener(\"abort\", n, {\n        once: true\n      });\n    });\n  }\n}\nfunction Gn(r) {\n  var t, e, n;\n  return (n = (e = (t = r.headers) == null ? void 0 : t.get) == null ? void 0 : e.call(t, \"retry-after\")) != null ? n : null;\n}\nconst Ge = \"__beacon_native_context__\";\nfunction zn() {\n  if (typeof window == \"undefined\")\n    return null;\n  const r = window[BRIDGE_GLOBAL_NAME];\n  if (!r || typeof r != \"object\")\n    return null;\n  const t = r;\n  return typeof t.send != \"function\" || typeof t.getAllowedWebViewHosts != \"function\" || typeof t.getNativeContext != \"function\" ? null : r;\n}\nfunction Wn(r) {\n  try {\n    const t = JSON.parse(r);\n    return Array.isArray(t) ? t.filter((e) => typeof e == \"string\") : [];\n  } catch (t) {\n    return [];\n  }\n}\nfunction Xn(r) {\n  try {\n    const t = JSON.parse(r);\n    if (t && typeof t.platform == \"string\" && typeof t.deviceId == \"string\" && typeof t.sessionId == \"string\")\n      return t;\n  } catch (t) {\n  }\n  return null;\n}\nfunction Yn() {\n  if (typeof window == \"undefined\")\n    return null;\n  const r = window[Ge];\n  if (!r || typeof r != \"object\")\n    return null;\n  const t = r.userHashId;\n  return typeof t != \"string\" || t.length === 0 ? null : t;\n}\nfunction Jn() {\n  if (typeof window == \"undefined\")\n    return null;\n  const r = window[Ge];\n  if (!r || typeof r != \"object\")\n    return null;\n  const t = r.employee;\n  return typeof t != \"boolean\" ? null : t;\n}\nfunction Qn(r) {\n  const t = r == null ? void 0 : r.traceId;\n  return isValidTraceId(t) ? t : null;\n}\nfunction Zn(r, t) {\n  const e = r.toLowerCase();\n  return t.some((n) => {\n    const i = n.toLowerCase();\n    return e === i || e.endsWith(`.${i}`);\n  });\n}\nfunction er() {\n  try {\n    return tr();\n  } catch (r) {\n    return { mode: \"standalone\", reason: \"detect_threw\" };\n  }\n}\nfunction tr() {\n  const r = zn();\n  if (!r) {\n    const i = typeof window == \"undefined\" ? void 0 : window[BRIDGE_GLOBAL_NAME];\n    return {\n      mode: \"standalone\",\n      reason: i == null ? \"absent\" : \"incomplete\"\n    };\n  }\n  const t = typeof location != \"undefined\" ? location.hostname : \"\", e = Wn(r.getAllowedWebViewHosts());\n  if (e.length > 0 && !Zn(t, e))\n    return { mode: \"standalone\", reason: \"host_denied\" };\n  const n = Xn(r.getNativeContext());\n  return n ? { mode: \"bridge\", handle: { bridge: r, context: n } } : { mode: \"standalone\", reason: \"context_invalid\" };\n}\nfunction nr(r) {\n  return r !== \"absent\";\n}\nfunction rr(r, t) {\n  const e = {\n    v: BRIDGE_MESSAGE_VERSION,\n    signal: t,\n    bridgeTs: Date.now()\n  };\n  try {\n    r.bridge.send(JSON.stringify(e));\n  } catch (n) {\n  }\n}\nconst be = \"beacon.client_id\";\nlet Se = false;\nconst ze = 1e3;\nfunction we(r) {\n  return typeof r != \"string\" || r.length === 0 ? null : r;\n}\nfunction Ee(r) {\n  return typeof r == \"boolean\" ? r : null;\n}\nconst ir = 10, sr = 2e4;\nfunction Te(r, t) {\n  return !t || !r ? {} : { raw_stacktrace: clampToMaxLength(r, sr) };\n}\nconst or = 2e3, ar = /* @__PURE__ */ new Set([\n  MECHANISM_TYPES.ONERROR,\n  MECHANISM_TYPES.UNHANDLED_REJECTION\n]);\nfunction cr(r, t) {\n  var n;\n  const e = (n = r.handlingStack) == null ? void 0 : n.stack;\n  return !e || ar.has(t) ? {} : {\n    // ADR-056 — 전용 슬롯 handling_stacktrace (구 extra.handling_stack).\n    handling_stacktrace: clampToMaxLength(e, or)\n  };\n}\nfunction _e(r) {\n  if (r instanceof Error)\n    return r.name || \"Error\";\n  if (typeof r == \"string\")\n    return \"Error\";\n  if (r !== null && typeof r == \"object\" && \"name\" in r && typeof r.name == \"string\") {\n    const t = r.name;\n    if (t.length > 0)\n      return t;\n  }\n  return \"Error\";\n}\nfunction xe(r) {\n  if (r instanceof Error)\n    return r.message || \"(no message)\";\n  if (typeof r == \"string\")\n    return r;\n  if (r === null)\n    return \"(null)\";\n  if (r === void 0)\n    return \"(undefined)\";\n  try {\n    return String(r);\n  } catch (t) {\n    return \"(unstringifiable)\";\n  }\n}\nfunction lr(r) {\n  return typeof AggregateError != \"undefined\" && r instanceof AggregateError && Array.isArray(r.errors);\n}\nfunction Re(r) {\n  if (typeof r == \"object\" && r !== null && \"cause\" in r)\n    return r.cause;\n}\nfunction F() {\n  return typeof crypto != \"undefined\" && typeof crypto.randomUUID == \"function\" ? crypto.randomUUID() : `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;\n}\nfunction ur() {\n  if (typeof window == \"undefined\")\n    return F();\n  const r = x();\n  if (!r)\n    return F();\n  try {\n    const t = r.getItem(be);\n    if (t)\n      return t;\n    const e = F();\n    return r.setItem(be, e), e;\n  } catch (t) {\n    return F();\n  }\n}\nconst w = {\n  enabled: true,\n  batchSize: 50,\n  flushInterval: 5e3,\n  maxRetries: 3,\n  enableOffline: true,\n  autoCapture: {\n    pageViews: true,\n    errors: true,\n    performance: true,\n    interactionBreadcrumbs: true,\n    // ADR-052 §결정 7 (BEACON-317) — HTTP 실패 메트릭 default on.\n    httpErrors: true\n  },\n  bufferSize: 1e3,\n  maskFields: [],\n  // BEACON-565 (ADR-059 §결정 3 개정, 2026-07-15 Slack 확정) — FF payload 미수신 시(장애·\n  // fetch 실패·payload 결함·부팅 초기) 발동하는 최후 안전장치. full(100%)이면 해당 구간에\n  // 로그가 전량 수집돼 rate-limit 유발·과수집 리스크 → 1% 로 억제. 정상 경로는 FF payload\n  // rate 가 setSampleRates() 로 덮어쓰므로 운영 영향 없음(FF 미배선 호스트는 미설정 시 1% 동작\n  // — 100% 원복은 logSampleRate 명시). iOS(BEACON-563)/Android(BEACON-561)도 동일 하향 진행.\n  // errorRate 는 저볼륨·고가치라 default 미주입(미설정=full) 유지.\n  logSampleRate: 0.01,\n  // BEACON-661 (ADR-066 결정 5′) — FF 확정 전 선수집의 최대 대기. Amplitude 어댑터 fetch\n  // 타임아웃(1500) + 여유 1000. `killSwitch` 미배선이면 이 값과 무관하게 선수집 자체가 비활성.\n  preFlagBufferDeadlineMs: $e\n  // ADR-038 BeforeSend 옵션은 모두 optional — DEFAULT 에서는 미설정 유지.\n  // 호스트가 명시할 때만 BeaconConfigResolved 에 들어옴.\n  // ADR-054 §결정 3 (BEACON-460 amend) — tracePropagationTargets 는 DEFAULT 미적용:\n  // 미설정(undefined)을 그대로 보존해 autoCapture 가 same-origin 자동 주입으로 해석한다\n  // (3-state: undefined=same-origin / []=opt-out / [patterns]=cross-origin opt-in).\n};\nfunction dr(r) {\n  return r === void 0 ? w.preFlagBufferDeadlineMs : We(r) ? r : w.preFlagBufferDeadlineMs;\n}\nfunction We(r) {\n  return Number.isFinite(r) && r >= 0;\n}\nfunction Xe(r) {\n  if (Number.isFinite(r))\n    return r < 0 ? 0 : r > 1 ? 1 : r;\n}\nfunction hr(r) {\n  var t, e, n, i, s, o, a, c, u, h, d;\n  return S(f({}, r), {\n    enabled: (t = r.enabled) != null ? t : w.enabled,\n    batchSize: (e = r.batchSize) != null ? e : w.batchSize,\n    flushInterval: (n = r.flushInterval) != null ? n : w.flushInterval,\n    maxRetries: (i = r.maxRetries) != null ? i : w.maxRetries,\n    enableOffline: (s = r.enableOffline) != null ? s : w.enableOffline,\n    autoCapture: (o = r.autoCapture) != null ? o : w.autoCapture,\n    bufferSize: (a = r.bufferSize) != null ? a : w.bufferSize,\n    maskFields: (c = r.maskFields) != null ? c : w.maskFields,\n    // BEACON-565 — logSampleRate 도 defaulted 필드(0.01 안전장치). 명시 0(full-drop opt-in)은\n    // ?? 가 nullish 만 대체하므로 보존된다.\n    logSampleRate: (u = r.logSampleRate) != null ? u : w.logSampleRate,\n    // MCP-3103 — errorRate 는 여전히 default 를 주입하지 않지만(미설정=full 유지) **nullish 는\n    // 여기서 흡수한다**. 종전처럼 `...config` 로만 통과시키면 `null` 이 rate 홀더까지 흘러\n    // `sample()` 의 `rate <= 0`(관계 연산자가 null 을 0 으로 강제변환한다) 에 걸리고, non-fatal\n    // 예외가 *전량 조용히* drop 됐다 — `null !== undefined` 라 \"미설정 = 항상 통과\" 분기를 못 탄다.\n    // 호스트 FF payload 는 JSON 이라 \"빈 슬롯\" 이 null 로 오고 JS 호스트는 타입 검사를 안 받는다\n    // (모바일은 rate 슬롯이 non-optional 이라 타입에서 막힌다 — Web 한정 결함이었다).\n    //   `DEFAULT_CONFIG.errorRate = 1.0` 을 넣지 않은 이유: \"미설정 = full\" 을 *상수의 부재*로\n    //   표현한 BEACON-565 결정이 뒤집히고, 봉투 rate carry 도 omit(서버 해석 = 1.0) 대신 1.0 을\n    //   싣기 시작해 \"FF 가 적용됐는가\" 판정(ADR-063 §결정 0 ①)이 흐려진다. `sample()` 쪽에 가드를\n    //   두지 않은 이유: sdk-core-ts 는 3언어 공유 계약이라, 타입으로 이미 막히는 iOS/Android 까지\n    //   이 Web 전용 입력 때문에 끌고 들어가게 된다.\n    //   **숫자의 유효성은 여기서 다루지 않는다.** 바로 아래 preFlagBufferDeadlineMs 가 NaN·음수까지\n    //   되돌리는 것과의 비대칭은 의도다 — 그쪽은 범위 밖에 정의된 의미가 없어 *설정 실수*와\n    //   opt-out(0)이 구분되지 않지만, rate 는 전 구간에 정의된 포화 의미가 있고(`>= 1` 통과 /\n    //   `<= 0` drop) wire 정규화(`normalizeCarriedRate`, MCP-3573)가 그 매핑을 이미 SoT 로\n    //   고정했다. 이 줄이 흡수하는 것은 범위 밖 *숫자*가 아니라 **숫자가 아닌 값**이다.\n    errorRate: (h = r.errorRate) != null ? h : void 0,\n    // ADR-099 §결정 3 — 면제 rate 는 `errorRate` 와 같은 취급이다: **미설정 = 전수(1.0)** 이며\n    // `DEFAULT_CONFIG` 에 상수를 넣지 않는다. 면제는 호출자가 \"이 로그는 전수가 필요하다\" 고\n    // 명시한 경우이므로 기본값이 1% 인 `logSampleRate` 와 안전장치의 방향이 반대다. nullish 흡수\n    // 이유는 바로 위 `errorRate` 와 같다(JSON FF payload 의 빈 슬롯이 `null` 로 온다).\n    // 🔴 clamp 한다 — 봉투 rate 3종과 달리 이 값은 **신호 필드**(`LogSignal.sampleRate`, 0..1)로\n    // 나가므로, 범위 밖 값이면 그 신호만 서버에서 거부된다(ADR-099 §결정 1 \"SDK 는 clamp 한 값만\n    // 싣는다\"). 봉투 쪽은 `normalizeCarriedRate`(MCP-3573)가 경계에서 접어주지만 신호 단위 필드는\n    // 그 경로를 타지 않는다. `setSampleRates` 는 이미 clamp 하므로 여기만 열려 있었다.\n    exemptLogSampleRate: Xe((d = r.exemptLogSampleRate) != null ? d : Number.NaN),\n    // BEACON-661 — defaulted 필드. 명시 0(선수집 opt-out)은 보존하되, **유효하지 않은 값은\n    // default 로 되돌린다**: `??` 는 nullish 만 대체하므로 NaN·음수가 그대로 통과해 무장 조건\n    // `> 0` 에서 조용히 탈락했고, 그 결과 *설정 실수*와 *명시적 opt-out(0)* 이 구분되지 않았다\n    // (PR #582 리뷰).\n    preFlagBufferDeadlineMs: dr(\n      r.preFlagBufferDeadlineMs\n    )\n  });\n}\nfunction Ie(r, t) {\n  var n;\n  return {\n    baseOpts: {\n      transport: {\n        send: () => g(null, null, function* () {\n          return { statusCode: 0, reason: t };\n        }),\n        flush: () => g(null, null, function* () {\n          return true;\n        })\n      },\n      enabled: r.enabled,\n      destroyFlushTimeoutMs: ze,\n      // 호스트 logger 를 반드시 실어 보낸다 (3차 자체 리뷰 지적).\n      //\n      // 빠뜨리면 `BaseClient` 가 자체 `ConsoleLogger` 로 폴백해, `logger: new NoopLogger()` 나\n      // 구조화 로거를 넘긴 호스트에게도 raw `console.warn` 이 나간다. SSR 경로에서는 이게 특히\n      // 나쁘다 — 그 통지가 **inert 모드의 유일한 관측 채널**(ADR-080 §결정 3)인데, 정작 그것을\n      // 끄거나 다른 곳으로 보낼 수단이 사라지고 Next 서버의 JSON 로그 파이프라인이 깨진다.\n      logger: (n = r.logger) != null ? n : new ConsoleLogger()\n    },\n    transport: null,\n    context: null,\n    signalOutbox: null\n  };\n}\nfunction fr(r, t, e) {\n  var a, c;\n  if (t)\n    return Ie(r, \"bridge mode\");\n  if (!O())\n    return Ie(r, \"non-browser runtime (SSR)\");\n  const n = new bn(\n    r.appVersion,\n    void 0,\n    {\n      release: r.release,\n      dist: r.dist,\n      deployEnvironment: r.deployEnvironment\n    },\n    e\n  );\n  n.resolveOsVersion();\n  const i = r.enableOffline && x() ? new Mt(\n    (a = r.bufferSize) != null ? a : w.bufferSize,\n    void 0,\n    r.projectId\n  ) : null, s = (c = r.logger) != null ? c : new ConsoleLogger(), o = new Kn({\n    endpoint: r.endpoint,\n    projectId: r.projectId,\n    clientId: ur(),\n    contextProvider: n,\n    bufferSize: r.bufferSize,\n    batchSize: r.batchSize,\n    logger: s,\n    // BeaconConfig.maxRetries 만 사용자 표면 — 나머지 retry params (baseDelayMs / jitter /\n    // Retry-After 등) 는 SDK 내부 default. RetryPolicy port 분리는 ADR-031 §1.2 / LLD §4.1\n    // (Phase 2, BEACON-26).\n    retryPolicy: new ExponentialBackoffRetryPolicy({\n      maxRetries: r.maxRetries\n    }),\n    signalOutbox: i\n  });\n  return i && i.setFlushCallback((u) => g(null, null, function* () {\n    yield o.sendEntries(u);\n  })), {\n    baseOpts: {\n      transport: o,\n      enabled: r.enabled,\n      destroyFlushTimeoutMs: ze,\n      logger: s\n    },\n    transport: o,\n    context: n,\n    signalOutbox: i\n  };\n}\nfunction pr(r, t) {\n  try {\n    return new URL(r).pathname !== new URL(t).pathname;\n  } catch (e) {\n    return true;\n  }\n}\nconst mr = (r, t) => {\n  if (!r)\n    return;\n  const e = r;\n  if (typeof e.plan == \"function\" && typeof e.execute == \"function\")\n    return r;\n  try {\n    t(\"[Beacon] destinations must be createDestinationFanout(map)\");\n  } catch (n) {\n  }\n};\nclass X extends BaseClient {\n  constructor(e) {\n    var v, E, T;\n    const n = hr(e), i = er(), s = i.mode === \"bridge\" ? i.handle : null, o = {\n      logSampleRate: n.logSampleRate,\n      errorRate: n.errorRate,\n      exemptLogSampleRate: n.exemptLogSampleRate\n    }, a = fr(n, s, o), c = new an(), u = c.load();\n    super(\n      u ? S(f({}, a.baseOpts), { initialScope: u }) : a.baseOpts\n    );\n    l(this, \"runtime\", \"web\");\n    l(this, \"config\");\n    l(this, \"bridgeHandle\");\n    l(this, \"pendingNativeTraceId\", null);\n    l(this, \"httpTransport\");\n    l(this, \"contextCollector\");\n    l(this, \"signalOutbox\");\n    l(this, \"autoCapturePlugin\");\n    l(this, \"scopeStorage\");\n    l(this, \"pipelineCounter\");\n    l(this, \"destinationFanout\");\n    l(this, \"pendingDestinationDelivery\", /* @__PURE__ */ new WeakMap());\n    l(this, \"destinationMissReported\", /* @__PURE__ */ new Set());\n    l(this, \"reportedResolverFailures\", /* @__PURE__ */ new Set());\n    l(this, \"exceptionRateLimiter\", new ExceptionRateLimiter());\n    l(this, \"uaInfo\");\n    l(this, \"flushTimer\", null);\n    l(this, \"pagehideHandler\", null);\n    l(this, \"visibilityHandler\", null);\n    l(this, \"timerRegistry\", new Bn());\n    l(this, \"screenLoadRegistry\", new Fn());\n    l(this, \"userHashId\", null);\n    l(this, \"employee\", null);\n    l(this, \"storedScreen\", null);\n    l(this, \"runtimeSampleRates\");\n    l(this, \"killSwitchUnsubscribe\", null);\n    l(this, \"preFlagGate\", null);\n    l(this, \"ffRatesApplied\", false);\n    l(this, \"resolverFailureNotified\", /* @__PURE__ */ new Set());\n    this.installIntegrations([\n      new sn(),\n      ...(v = n.plugins) != null ? v : []\n    ]), this.config = n, this.runtimeSampleRates = o, this.bridgeHandle = s, this.pendingNativeTraceId = s ? Qn(s.context) : null, this.httpTransport = a.transport, this.contextCollector = a.context, this.signalOutbox = a.signalOutbox, this.isEnabled() || (E = this.signalOutbox) == null || E.pause(), this.scopeStorage = c, this.pipelineCounter = new In(a.transport), this.destinationFanout = mr(\n      e.destinations,\n      (p) => this.logger.warn(p)\n    ), (T = a.transport) == null || T.setBufferDropSink((p, b, R) => {\n      this.pipelineCounter.incBufferDropped(p, b, R);\n    }), this.uaInfo = detectUA(), this.timerRegistry.installLifecycleListeners(), this.userHashId = we(e.userHashId), this.employee = Ee(e.employee), e.preFlagBufferDeadlineMs !== void 0 && !We(e.preFlagBufferDeadlineMs) && this.logger.warn(\n      `[Beacon] invalid preFlagBufferDeadlineMs (${String(e.preFlagBufferDeadlineMs)}) — falling back to ${w.preFlagBufferDeadlineMs}ms. Use 0 to disable pre-flag buffering explicitly.`\n    ), n.killSwitch && !s && n.preFlagBufferDeadlineMs > 0 && O() && (this.preFlagGate = new An({\n      deadlineMs: n.preFlagBufferDeadlineMs,\n      // 게이트는 *언제* 만 알고 *어떻게* 는 모른다 — 방출 방법은 여기서 주입한다.\n      release: (p) => {\n        if (this.destroyed) {\n          this.logger.warn(\n            `[Beacon] client already destroyed — ${p.length} pre-flag signal(s) not sent.`\n          );\n          return;\n        }\n        for (const { signal: b, hint: R } of p)\n          try {\n            const _ = this.runBeforeSendPipeline(b, R);\n            _ !== null && (this.dispatch(_), this.afterDispatch(_, R));\n          } catch (_) {\n            this.logger.warn(\n              `[Beacon] pre-flag release failed for one ${b.type} signal — remaining held signals continue. This indicates a never-throw contract violation: ${String(_)}`\n            );\n          }\n      },\n      // 게이트를 *닫는* 네 계기(resolved/unresolved/deadline/destroy)를 전부 settlePreFlag 로\n      // 모은다 — deadline 만 게이트가 자체 settle 하면 그 경로만 enabled 가드를 우회한다\n      // (PR #582 리뷰). `pagehide` 는 게이트를 닫지 않아 `flushOpen()` 을 직접 부르며, 그 경로의\n      // enabled 판정은 `persistAndSend()` 최상단 early-return 이 담당한다.\n      onDeadline: () => this.settlePreFlag(\"deadline\"),\n      onPurge: (p, b) => {\n        this.logger.warn(\n          `[Beacon] disabled at ${b} — discarded ${p} pre-flag signal(s).`\n        );\n      },\n      onOverflow: () => {\n        this.logger.warn(\n          `[Beacon] pre-flag buffer overflow (>${G}) — oldest (earliest boot) signals evicted while waiting for the kill-switch flag. See beacon.pre_flag.evicted for the count.`\n        );\n      },\n      // 부팅 윈도우의 관측 2축. **이 metric 들 자신은 hold 되지 않는다** — 종료 계기는 게이트가\n      // 닫힌 뒤 호출되고, `pagehide`(게이트 유지)는 게이트가 `draining` 구간 안에서 부르기\n      // 때문이다(PR #582 리뷰 — 그러지 않으면 탭 폐기 시 그 라벨이 통째로 유실된다).\n      // disabled 로 닫힌 경우엔 `metric()`→`emit()` 의 runtimeEnabled 가드가 egress 를 막는다\n      // (BEACON-327 — purge 경로에서 새 시그널이 나가지 않는다).\n      // 이름은 둘 다 서버 예약 네임스페이스 allowlist 등재분(`cardinalityGuard.ts`) — 미등재\n      // 이름은 서버가 드롭하므로 SDK 단독 변경으로는 관측이 성립하지 않는다.\n      // 보류분이 움직인 계기마다 1건. **확정 FF rate 로 나간 것은 `resolved` 뿐**이고\n      // (`resolved_no_rate`/`unresolved`/`deadline`/`pagehide` 는 모두 현 유효 rate),\n      // 그 분포가 곧 실효 커버리지다.\n      onSettled: (p) => {\n        const b = p === \"resolved\" && !this.ffRatesApplied ? \"resolved_no_rate\" : p;\n        this.metric(\"beacon.pre_flag.settled\", 1, \"counter\", {\n          reason: b\n        });\n      },\n      // 상한 초과로 버린 건수 — 버려지는 쪽이 *가장 오래된* = 부팅 최초 시그널이다.\n      onEvicted: (p) => {\n        this.metric(\"beacon.pre_flag.evicted\", p, \"counter\");\n      }\n    }));\n    const h = n.pageTitle, d = h ? (p) => this.callHostResolver(\"pageTitle\", h, p) : void 0;\n    if (this.autoCapturePlugin = new tn(\n      n.autoCapture,\n      n.tracePropagationTargets,\n      // ADR-036 §결정 8 — 자기 ingest endpoint 제외용. fetch wrap 이 자기 전송 관측 차단.\n      n.endpoint,\n      // MCP-4033 / ADR-080 §결정 5 — page_view title 은 호스트 라우팅 지식에 위임한다.\n      //\n      // **감싼 뒤 넘긴다.** 맨몸으로 주면 resolver 의 throw 가 `page_view` 발사 경로를 타고\n      // `init()` 밖으로 새어 호스트 앱을 부팅에서 죽인다(실측). 가드를 `callHostResolver` 한\n      // 지점에 모아 `screen`/`domain` 과 같은 정책을 쓰게 한다 — AutoCapture 는 logger 를 갖지\n      // 않으므로 통지도 여기서만 가능하다.\n      d\n    ), this.autoCapturePlugin.start(this), !O()) {\n      Se || (Se = true, this.logger.warn(\n        \"[Beacon] non-browser runtime detected (SSR) — client is inert: no signals are sent, no timers are scheduled. Call init() from the browser (e.g. a client component's useEffect) instead. This notice is logged once per process.\"\n      ));\n      return;\n    }\n    this.wireKillSwitch(n.killSwitch), !s && (i.mode === \"standalone\" && nr(i.reason) && this.emitBridgeDetectFailedCounter(i.reason), this.flushTimer = setInterval(() => {\n      this.flush();\n    }, n.flushInterval), typeof window != \"undefined\" && (this.pagehideHandler = () => {\n      this.persistAndSend();\n    }, window.addEventListener(\"pagehide\", this.pagehideHandler), this.visibilityHandler = () => {\n      document.visibilityState === \"hidden\" && this.persistAndSend();\n    }, document.addEventListener(\"visibilitychange\", this.visibilityHandler)));\n  }\n  /** WebView bridge 모드 여부 (테스트/디버깅용). */\n  isBridgeMode() {\n    return this.bridgeHandle !== null;\n  }\n  /**\n   * 호스트 앱이 *단방향 해시* 된 사용자 식별자를 SDK 에 push 한다 (ADR-046 §결정 1/2/3).\n   *\n   * - 로그인 직후 / 토큰 갱신 후 / 앱 시작 시 자동 로그인 성공 후 호출하여 hashId 갱신.\n   * - 로그아웃 직후 `null` 호출로 unset — 이후 시그널에서 `userHashId` 필드 omit.\n   * - 빈 문자열 `\"\"` 입력은 자동으로 `null` 로 normalize (§결정 3).\n   * - SDK 는 raw `userId` / `email` / `phoneNumber` 를 받지 않는다 — 호스트 앱이 *해싱 책임*.\n   *\n   * **bridge 모드에서의 동작**: WebView bridge 모드에서는 hashId 의 SSOT 가 native\n   * (iOS / Android)이며, native 가 `__beacon_native_context__` 에 in-place patch 한\n   * 값을 시그널 생성 시점에 읽는다 (§결정 7-1). 이 경우 본 메서드의 보관값은\n   * 시그널 주입에 사용되지 않는다 — bridge 모드에서 호출해도 무해하나 효과 없음.\n   *\n   * @param hash 호스트 앱이 정의한 해시 알고리즘으로 생성된 식별자 (hex / base64 / JWT claim 등).\n   */\n  setUserHashId(e) {\n    this.userHashId = we(e);\n  }\n  /**\n   * 호스트가 임직원(무신사 내부 구성원) 여부를 push 한다 (ADR-068). standalone 모드의 시그널\n   * `employee` 주입 출처. bridge 모드에서는 native context 가 출처이며 이 보관값은 무시된다\n   * (`resolveEmployee` 참조).\n   *\n   * @param value `true`=임직원 / `false`=비임직원 / `null`=미판별.\n   */\n  setEmployee(e) {\n    this.employee = Ee(e);\n  }\n  /**\n   * 호스트가 **현재 논리 화면명**을 SDK 에 보관시킨다 (MCP-4357 / ADR-094 §결정 1).\n   *\n   * 이후 발생하는 모든 시그널의 `screen` 이 이 값으로 해석된다 — 호출부가 없는 **자동 발사**\n   * 신호(`page_view` · `rum_view` · `rum_error` · Web Vitals)까지 포함한다. 그게 이 API 의\n   * 존재 이유다: URL 이 바뀌지 않는 지면(BottomSheet · Dialog · 탭 전환 · `?tab=` 으로만 갈리는\n   * 지면 · 레지스트리 미등재 신규 지면)은 per-call override 로 덮을 호출부가 없다.\n   *\n   * ## 우선순위 (4단, ADR-094 §결정 2)\n   *\n   * `per-call 인자` > **`setScreen()` 보관값** > `config.screen` 레지스트리 매처 > fallback 상수\n   *\n   * 보관값은 `config.screen: false`(자동 화면명 끔)보다도 우선한다. `false` 는 *자동 해석*을\n   * 끄겠다는 선언이지 화면축 자체의 mute 가 아니며, 호스트가 명시적으로 push 한 값을 무시하면\n   * 바로 위 단(per-call 인자)이 `false` 를 무시하는 것과 어긋난다.\n   *\n   * ## 자동 무효화 — **이 API 의 절반이다**\n   *\n   * SPA 라우트가 바뀌면(`push` / `replace` / `popstate`) 보관값이 **자동으로 해제**되고 화면명은\n   * 레지스트리 매처로 되돌아간다. 무효화가 없으면 모달을 닫고 다른 지면으로 이동해도 옛 값이\n   * 계속 붙는다 — ADR-050 §결정 3 이 setter 방식을 기각한 사유가 정확히 그 stale 이다.\n   * 따라서 호스트는 **이탈 시 `clearScreen()` 을 부를 의무가 없다**(라우팅이 있는 이탈이라면).\n   * 라우팅 없이 모달만 닫는 경우에만 {@link clearScreen} 이 필요하다.\n   *\n   * ## ⚠️ 카디널리티 — 논리 화면명만 넘긴다\n   *\n   * 서버는 1급 라벨(`beacon.screen`/`beacon.domain`)의 지면 종류를 **2,000 종**으로 제한한다\n   * (`cardinalityGuard.ts` `MAX_DISTINCT_PER_LABEL`, `SIGNAL_USAGE.md` §카디널리티). 그리고 이\n   * 예산이 **말뿐인 상한이 아니라는 실적**이 있다 — 2026-09-01 MCP-4227 에서 라벨 버킷\n   * (`MAX_KNOWN_LABEL_BUCKETS`)이 256 → 1,024 로 상향된 것이 실제 소진 때문이었다. 게다가 이\n   * 카운터는 **프로세스 생애 전체**에 걸쳐 누적돼 파드 재시작 전에는 회복되지 않는다.\n   *\n   * 그러므로 상품명·주문번호·검색어처럼 **콘텐츠 단위로 갈라지는 문자열을 넘기면 안 된다.**\n   * `\"product.detail\"` 은 옳고 `\"product.detail.나이키 에어포스 1\"` 은 틀렸다 — 후자는 상품 수만큼\n   * 지면을 만들어 예산을 혼자 태운다. Android SDK 의 `trackScreenView` KDoc 과 같은 제약이다.\n   *\n   * 길이 상한(`SCREEN_MAX_LENGTH`)은 emit choke point 가 일괄 clamp 하므로 여기서 자르지 않는다.\n   *\n   * @param screen 논리 화면명. 빈 문자열은 {@link clearScreen} 과 같이 **해제**로 처리된다.\n   *   문자열이 아닌 값은 경고 1회 후 무시된다(never-throw, ADR-031 §6.1).\n   */\n  setScreen(e) {\n    const n = typeof e == \"string\" ? e : void 0;\n    if (n === void 0 && this.notifyOnce(\n      \"screen:setScreen_type\",\n      `[Beacon] setScreen() received ${typeof e}, expected string — the call is ignored and the stored screen is released. \\`screen\\` keeps resolving from \\`config.screen\\`, so it is **not** omitted from subsequent signals. Fix the setScreen() call site. This notice is logged once per failure mode.`\n    ), !n) {\n      this.storedScreen = null;\n      return;\n    }\n    this.storedScreen = n;\n  }\n  /**\n   * 보관 화면 해제 (MCP-4357 / ADR-094 §결정 1). 이후 화면명은 `config.screen` 레지스트리\n   * 매처 → fallback 상수 순으로 되돌아간다. 미보관 상태에서 불러도 무해하다(멱등).\n   *\n   * **라우팅을 동반한 이탈에는 필요 없다** — 그건 자동 무효화가 처리한다({@link setScreen}).\n   * 라우팅 없이 모달·바텀시트만 닫는 경우가 이 API 의 자리다.\n   */\n  clearScreen() {\n    this.storedScreen = null;\n  }\n  /**\n   * **이동이 일어났다** — `AutoCapturePlugin` 의 발화 지점이 구독자 통지 **전에** 부른다\n   * (MCP-4383 / ADR-094 §결정 3 Amendment).\n   *\n   * ## 왜 구독자가 아니라 여기인가\n   *\n   * 보관 화면 무효화는 특정 구독자의 관심사가 아니라 **이동 자체의 결과**다. 구독자로 배선하면\n   * `window` **등록 순서**로 줄을 서는데, 그 순서는 타입으로도 테스트 이름으로도 드러나지 않는다.\n   * MCP-4357 에서 실제로 그 결함이 났다 — 무효화가 `setupPageViews()` 보다 늦게 등록돼\n   * *이탈을 트리거한 `page_view` 자신* 이 옛 화면명을 달고 나갔고, 수습은 생성자 두 줄의 배치와\n   * 주석이었다. 이제 순서는 `dispatch()` 의 호출 위치 한 줄로 강제된다.\n   *\n   * 앞으로 \"이동하면 X 도 리셋\" 이 생기면 갈 곳이 여기 하나다. 구독자를 하나 더 다는 설계는\n   * 그때마다 순서를 다시 따져야 한다.\n   *\n   * **never-throw** — 발화 경로에서 불리므로 여기서 던지면 `history.pushState` 를 부른 호스트\n   * 코드까지 예외가 나간다. 현재 본문은 필드 대입뿐이라 던질 수 없지만, 그 성질이 앞으로도\n   * 유지되도록 새 책임을 추가할 때 이 주석을 함께 읽어야 한다.\n   *\n   * @param detail 이동의 종류와 전/후 URL. `from`/`to` 는 절대 URL(`location.href`).\n   *\n   * @internal — `AutoCapturePlugin` 전용. 호스트가 직접 부를 API 가 아니다.\n   *   (`nextNavigationTraceId()` 와 같은 처리 — 플러그인이 부르므로 `private` 일 수 없다.)\n   */\n  onNavigation(e) {\n    pr(e.from, e.to) && (this.storedScreen = null);\n  }\n  /**\n   * §결정 7-1 합류 지점 — 시그널에 박을 `userHashId` 의 출처를 모드별로 분기한다.\n   *\n   * - **bridge 모드** — native 가 `__beacon_native_context__` 에 patch 한 `userHashId`\n   *   를 라이브로 읽는다 (§결정 6 통로 소비). web SDK 자체 `setUserHashId` 보관값은 무시.\n   * - **standalone(순수 web) 모드** — 자체 `setUserHashId` 보관값(`this.userHashId`)을 사용.\n   *\n   * 미설정 시 `null` 반환 → 호출부가 시그널에서 `userHashId` 필드를 omit (§결정 3).\n   * 본 메서드는 시그널 생성 시점에 1회 호출되어 그 순간의 값을 스냅샷한다 (§결정 7-4).\n   */\n  resolveUserHashId() {\n    return this.bridgeHandle ? Yn() : this.userHashId;\n  }\n  /**\n   * §결정 7-1 합류 지점 (ADR-068) — 시그널에 박을 `employee` 의 출처를 모드별로 분기한다.\n   *\n   * - **bridge 모드** — native 가 `__beacon_native_context__` 에 patch 한 `employee` 를\n   *   라이브로 읽는다 (앱 내 웹뷰의 임직원 판별 권위는 native, ADR-063/068 §결정 4).\n   * - **standalone(순수 web) 모드** — 자체 `setEmployee` 보관값(`this.employee`)을 사용.\n   *\n   * 미판별 시 `null` 반환 → 호출부가 시그널에서 `employee` 필드를 omit.\n   */\n  resolveEmployee() {\n    return this.bridgeHandle ? Jn() : this.employee;\n  }\n  // ─── BaseClient hook 구현 ────────────────────────────────────────────\n  // ─── unknown → ExceptionSignal value helpers ──────────────────────────\n  //\n  // `captureException(unknown)` 가 받는 입력은 *임의 타입* — Error / string / DOM Event / null /\n  // Symbol / 순환 객체 모두 가능. ExceptionSignal 의 `type` (Error class 명) / `value` (메시지)\n  // 두 필드를 안전하게 추출. ADR-035 §결정 1 의 입력 변환 규칙 정합.\n  buildExceptionSignal(e, n, i) {\n    return this.buildExceptionSignalForSource(\n      e,\n      n,\n      i,\n      \"captureException\",\n      \"error\"\n    );\n  }\n  /**\n   * ExceptionSignal 생성 공통 로직 — captureException / captureMessage / AutoCapture (onerror /\n   * unhandledrejection) 모두 본 helper 경유. 진입점 정보를 `source` param 으로 받아 `defaultMechanism`\n   * 정합.\n   *\n   * **흐름** (ADR-035 §결정 7 + ADR-038 §결정 5):\n   *   1. parseStack(exception) — Phase 1 (BEACON-131) parser. frames + raw 추출.\n   *   2. mergeMechanism(source, hint.mechanism) — Phase 2 (BEACON-139). 진입점 default + 호스트 override.\n   *   3. ExceptionSignal 조립 — `event_id` / `level` / `platform` / `exception.values[0]` 채움.\n   *   4. fingerprint 는 *본 단계 부재* — `runExceptionPipeline` 의 Assemble stage 진입 시 계산 (sha1 sync, BEACON-130).\n   *\n   * **synthetic exception** (captureMessage 경로): `hint.syntheticException` 이 있으면 그것의 stack\n   * 사용 (사용자 호출 부의 stack 보존, ADR-035 §결정 7).\n   */\n  buildExceptionSignalForSource(e, n, i, s, o) {\n    var R, _, I, L, k;\n    const a = (R = n.syntheticException) != null ? R : e, c = defaultStackFrameParser.parse(a, {\n      inAppExcludes: [/node_modules/],\n      // ADR-034 §5.2(3) — 전 엔진 regex 실패 시 parser miss counter 발행.\n      onParseMiss: () => this.emitStackParseMissCounter()\n    });\n    let u = c.frames;\n    for (; u.length > 0 && STRIP_FRAME_REGEXP.test((I = (_ = u[0]) == null ? void 0 : _.function) != null ? I : \"\"); )\n      u = u.slice(1);\n    const h = mergeMechanism(s, n.mechanism), d = _e(e), v = xe(e), E = !(e instanceof Error) && h.synthetic === void 0, T = S(f({\n      type: d,\n      value: v,\n      stacktrace: u.length > 0 ? { frames: u } : void 0\n    }, Te(c.raw, a instanceof Error)), {\n      mechanism: f(S(f({}, h), {\n        exception_id: 0\n      }), E ? { synthetic: true } : {})\n    }), p = (L = h.handled) != null ? L : false, b = [T, ...this.unwindErrorChain(e, p)];\n    return f(f(f(f(f({\n      type: \"exception\",\n      timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n      event_id: i,\n      level: o,\n      platform: \"web\",\n      exception: { values: b }\n    }, this.resolveScreenDomain()), this.requestField()), this.userHashIdField()), this.employeeField()), cr(n, (k = h.type) != null ? k : \"\"));\n  }\n  /**\n   * ADR-032 §결정 10 (BEACON-262) — `top` 의 Error chain 을 `values[1..]` 로 펼친다.\n   * (`values[0]` = 최상위는 호출부 책임. 본 메서드는 그 *뒤에* 붙을 노드만 반환.)\n   *\n   * **Cross-language SSOT** (sdk-android BEACON-116 `unwindCauseChain`):\n   *   - `Error.cause` 선형 체인: 각 cause 가 exception_id=N, parent_id=N-1, source=\"cause\".\n   *   - 공통: type=\"chained\", handled 는 root 상속, 총 10개 cap, `visited` 순환 가드.\n   *\n   * **AggregateError** (Web-only 언어기능 — Kotlin/Swift 무대응, 의도된 idiom drift):\n   *   - `errors[]` 형제가 모두 aggregate(values[0])를 부모로 (parent_id=0, source=`errors[i]`).\n   */\n  unwindErrorChain(e, n) {\n    const i = [], s = /* @__PURE__ */ new Set([e]), o = (c) => c != null && 1 + i.length < ir && !s.has(c);\n    let a = Re(e);\n    for (; o(a); ) {\n      const c = 1 + i.length;\n      s.add(a), i.push(\n        this.buildChainedValue(\n          a,\n          c,\n          c - 1,\n          \"cause\",\n          n\n        )\n      ), a = Re(a);\n    }\n    if (lr(e))\n      for (const [c, u] of e.errors.entries())\n        o(u) && (s.add(u), i.push(\n          this.buildChainedValue(\n            u,\n            1 + i.length,\n            0,\n            `errors[${c}]`,\n            n\n          )\n        ));\n    return i;\n  }\n  /** 체인 노드(cause / sibling) 1개를 ExceptionValue 로 변환. STRIP_FRAME 미적용 (독립 stack). */\n  buildChainedValue(e, n, i, s, o) {\n    const a = defaultStackFrameParser.parse(e, {\n      inAppExcludes: [/node_modules/],\n      onParseMiss: () => this.emitStackParseMissCounter()\n    });\n    return S(f({\n      type: _e(e),\n      value: xe(e),\n      stacktrace: a.frames.length > 0 ? { frames: a.frames } : void 0\n    }, Te(a.raw, e instanceof Error)), {\n      mechanism: {\n        type: MECHANISM_TYPES.CHAINED,\n        handled: o,\n        exception_id: n,\n        parent_id: i,\n        source: s\n      }\n    });\n  }\n  /**\n   * ADR-034 §5.2(3) — Stack parser miss counter 발행.\n   *\n   * `defaultStackFrameParser.parse()` 가 frames.length === 0 (전 엔진 regex 실패)\n   * 시 `config.onParseMiss` 콜백으로 호출. transport 직접 enqueue 로 pipeline 우회\n   * (WebPipelineCounter 와 동일 패턴 — 재귀 위험 0 + masking/enrich 미적용).\n   *\n   * 라벨: bounded enum 만 (`ua_engine` 5 / `ua_major_version` ~50 / `runtime_hint` 7).\n   * 조합 cardinality ≈ 1,750 series — Prometheus 안전 범위.\n   */\n  emitStackParseMissCounter() {\n    if (!this.httpTransport)\n      return;\n    const e = {\n      type: \"metric\",\n      timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n      name: \"beacon.stack.parse_miss\",\n      value: 1,\n      metricType: \"counter\",\n      labels: {\n        ua_engine: this.uaInfo.engine,\n        ua_major_version: this.uaInfo.majorVersion,\n        runtime_hint: this.uaInfo.runtimeHint\n      },\n      // ADR-084 (MCP-3990) — 이 경로도 `dispatch()` 를 우회하므로 surface 를 직접 박는다.\n      // 근거는 `pipelineCounter.ts` 의 같은 주석과 동일하다 — 위 `httpTransport` 널 가드가\n      // 곧 standalone 조건이라 상수 `web` 이 맞고, 정보량 0 인 상수를 굳이 싣는 이유는\n      // **축의 전수성**이다(빼면 `beacon_surface=\"web\"` 필터에서 이 카운터만 조용히 빠진다).\n      surface: \"web\"\n    };\n    try {\n      this.httpTransport.enqueue(e);\n    } catch (n) {\n    }\n  }\n  /**\n   * ADR-028 — WebView bridge 감지가 *이상 징후* 로 standalone 에 떨어졌음을 알리는 counter.\n   * init 1회당 최대 1건.\n   *\n   * `emitStackParseMissCounter` 와 동일 패턴 — transport 직접 enqueue 로 pipeline 우회\n   * (재귀 위험 0 + masking/enrich 미적용). 라벨은 `BridgeAbsenceReason` enum 4값\n   * (`incomplete` / `host_denied` / `context_invalid` / `detect_threw`) 뿐이라 cardinality\n   * 안전하다 — 값이 늘어도 가드 버킷은 `projectId\\0labelKey` 키라 추가 소모가 없다.\n   *\n   * `absent` 는 발행 대상이 아니다 — 브릿지가 없는 게 정상인 트래픽(순수 웹 / SDK 미탑재\n   * 구버전 앱 웹뷰)이라 오류 모니터링 신호가 아니다 (`shouldReportAbsence` 참조).\n   *\n   * disabled 상태에서는 발행하지 않는다 — 이 counter 는 pipeline 을 우회해 emit 게이트를\n   * 타지 않으므로, BEACON-327(disabled 시 egress 차단)을 여기서 명시적으로 재적용한다.\n   */\n  emitBridgeDetectFailedCounter(e) {\n    if (!this.httpTransport || !this.isEnabled())\n      return;\n    const n = {\n      type: \"metric\",\n      timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n      name: \"beacon.bridge.detect_failed\",\n      value: 1,\n      metricType: \"counter\",\n      labels: { reason: e },\n      // ADR-084 (MCP-3990) — 이 경로도 `dispatch()` 를 우회하므로 surface 를 직접 박는다.\n      // 근거는 `pipelineCounter.ts` 의 같은 주석과 동일하다 — 위 `httpTransport` 널 가드가\n      // 곧 standalone 조건이라 상수 `web` 이 맞고, 정보량 0 인 상수를 굳이 싣는 이유는\n      // **축의 전수성**이다(빼면 `beacon_surface=\"web\"` 필터에서 이 카운터만 조용히 빠진다).\n      surface: \"web\"\n    };\n    try {\n      this.httpTransport.enqueue(n);\n    } catch (i) {\n    }\n  }\n  buildMessageSignal(e, n, i, s, o) {\n    const a = n === \"warn\" ? \"warning\" : n != null ? n : \"error\";\n    return this.buildExceptionSignalForSource(\n      i,\n      s,\n      o,\n      \"captureMessage\",\n      a\n    );\n  }\n  /** `BaseClient.countDropped` 구현 — 파이프라인 밖 drop 을 같은 카운터로 보낸다. */\n  countDropped(e, n, i) {\n    this.pipelineCounter.incDropped(e, n, i);\n  }\n  buildTrackSignal(e) {\n    var n, i;\n    return f(f(f(f(f({\n      type: \"track\",\n      // SDK 가 **수집한** 시각. `occurred_at`(실제 발생)과 다르다 — 오프라인 후 재전송되면\n      // 둘이 크게 벌어지고, 그 간격 자체가 하류에서 의미를 갖는다.\n      timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n      event_instance_id: e.event_instance_id,\n      event_definition_id: e.event_definition_id,\n      registry_version: e.registry_version,\n      occurred_at: e.occurred_at,\n      // 🔴 중첩 → 평면. 로제타는 `event: { name, params }` 로 주고 wire 는 평면이다.\n      name: e.event.name,\n      params: e.event.params\n    }, this.resolveScreenDomain()), ((n = e.context) == null ? void 0 : n.screen) && { screen: e.context.screen }), ((i = e.context) == null ? void 0 : i.domain) && { domain: e.context.domain }), this.userHashIdField()), this.employeeField());\n  }\n  /**\n   * 이 클라이언트가 배달할 수 있는 destination 목록 — 로제타 capability 조회용.\n   *\n   * 현재는 **`beacon` 하나**다. Beacon 은 받은 것을 Kafka 로 넘겨 데이터플랫폼팀 컨슈머까지\n   * 배달하고, **벤더(GA4·Amplitude 등) fan-out 은 하지 않는다.**\n   *\n   * ⚠️ **미정이라서 `[\"beacon\"]` 인 것이 아니다.** fan-out 주체는 2026-08-26 결정으로\n   * **Beacon** 이다(위키 「Rosetta 전송 위임」 — *\"전송계층은 기존 설계대로 Beacon 이 구현\"*).\n   * 여기서 beacon 만 답하는 이유는 **아직 벤더 어댑터가 없기 때문**이다.\n   *\n   * 🔴 **능력 보고는 「있는 것」만 답해야 한다.** 결정이 났다고 미리 `ga4`·`amplitude` 를\n   * 넣으면 로제타가 그리로 보내고 그 이벤트는 아무 데도 도착하지 않는다 — 결정은 계획이고\n   * 이 함수가 답하는 것은 현재 능력이다.\n   *\n   * 어댑터가 land 하면 그 키들이 여기 추가된다(**MCP-4399**). 선례는 이미 있다 —\n   * `@beacon/sdk-browser/amplitude` 서브패스(BEACON-365 / ADR-059).\n   */\n  destinations() {\n    var e, n;\n    return [\"beacon\", ...(n = (e = this.destinationFanout) == null ? void 0 : e.keys) != null ? n : []];\n  }\n  /**\n   * 로제타 사용자로그의 destination fan-out 을 **수집 API 가 받아들인 순간**에 건다 (MCP-4399).\n   *\n   * ## 왜 `track()` 을 오버라이드하지 않는가 (PR #837 리뷰)\n   *\n   * 1판은 `super.track()` 뒤에서 바로 배달했다. `super.track()` 은 반환값이 없어 적재 여부를\n   * 모르므로, `emit()` 이 버리는 발화도 벤더로는 나갔다 — consent · kill-switch 를 손으로 다시\n   * 확인하게 했더니 **Integration `null` drop 이 나열에서 빠져** 같은 구멍이 남았다. 게이트를\n   * 소비처가 나열하는 한 이 모양은 반복된다.\n   *\n   * 그래서 배달을 **`dispatch()` 직후**(`afterDispatch` 훅)로 옮긴다. 그 지점에 도달했다는 것\n   * 자체가 「destroyed 아님 · kill-switch 켜짐 · Integration 통과 · consent 통과 · 보류 아님」을\n   * 뜻한다.\n   *\n   * 🔴 **적재가 먼저다** (PR #837 리뷰 3라운드). 2판 한때 배달을 `runBeforeSendPipeline` 안(=\n   * `dispatch()` 앞)에 두어, 호스트 함수가 동기로 느리면 수집 API 적재가 그만큼 밀렸다. GTM 의\n   * `dataLayer.push` 는 태그 평가를 동기로 돌리므로 가상의 우려가 아니다.\n   *\n   * ## 보류 창도 같이 닫힌다 (구 MCP-4448)\n   *\n   * `PreFlagGate` 가 FF 확정 전 발화를 보류하면 track 분기에 도달하지 않으므로 배달도 안 된다.\n   * 확정 후 방출될 때 **같은 hint** 로 다시 들어오므로 그때 배달된다. 「꺼짐」으로 확정돼 폐기되면\n   * 끝내 배달되지 않는다 — 수집 API 와 벤더가 **같은 운명**을 따른다.\n   *\n   * ## 대응 관계를 WeakMap 으로 두는 이유\n   *\n   * 배달 클로저를 `Hint` 필드로 싣지 않는다 — `Hint` 는 capture 3종이 공유하는 공개 타입이고\n   * 3언어 개념이다. hint 객체 참조를 키로 두면 공개 표면이 안 늘고, 발화가 어느 지점에서\n   * 버려지든 hint 가 GC 될 때 항목도 같이 사라져 **정리 코드가 필요 없다.**\n   */\n  /**\n   * destination fan-out 실행 지점 — 수집 API 적재(`dispatch`) **직후** (MCP-4399).\n   *\n   * 한 발화에 1회만 배달되도록 꺼내면서 지운다. `deliver()` 는 never-throw 라 여기서 던지지 않는다.\n   */\n  afterDispatch(e, n) {\n    var s;\n    if (e.type !== \"track\")\n      return;\n    const i = this.pendingDestinationDelivery.get(n);\n    i && (this.pendingDestinationDelivery.delete(n), (s = this.destinationFanout) == null || s.execute(\n      i.plan,\n      i.meta,\n      (o, a, c) => this.reportDestinationMiss(o, a, c)\n    ));\n  }\n  trackHint(e, n) {\n    const i = {}, s = this.destinationFanout;\n    if (!s || n.length === 0)\n      return i;\n    const o = {\n      eventInstanceId: e.event_instance_id,\n      occurredAt: e.occurred_at\n    }, a = s.plan(n);\n    return a.every((c) => c.kind === \"skip\") || this.pendingDestinationDelivery.set(i, { plan: a, meta: o }), i;\n  }\n  buildLogSignal(e, n, i) {\n    return f(f(f({\n      type: \"log\",\n      timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n      level: e,\n      message: n,\n      metadata: this.applyMask(i)\n    }, this.resolveScreenDomain()), this.userHashIdField()), this.employeeField());\n  }\n  /**\n   * ⚠️ **`userHashId` 를 부착하지 않는다** — 3종 시그널 중 metric 만의 예외다 (ADR-046 §7-3 정정,\n   * MCP-3571 / MCP-4098). `log`(`buildLogSignal`) · `exception`(`buildExceptionSignalForSource`)\n   * 과 달리 여기서는 `userHashIdField()` 를 **의도적으로 빼며, 되돌리지 말 것.**\n   *\n   * 서버 `metricProcessor.ts` 의 attributes 조립부에는 `signal.userHashId` 를 참조하는 문장이\n   * **0건**이다 — 즉 막는 코드가 있는 게 아니라 **부재(omission)로 지켜지는 불변식**이고, 그\n   * 보증 실체는 회귀 테스트 하나뿐이다(`metricProcessor.test.ts`). 그 조립부에 한 줄이 잘못\n   * 추가되면 **사용자 수만큼 시계열이 분기**한다 — BEACON-592 의 `client.id` 가 정확히 그\n   * 실패 모드였다(90h 파드가 26.4만 시계열 누적, 정상 대비 148배, `/metrics` 직렬화만으로\n   * CPU 소진). **wire 에 값이 없으면 그 실패 모드 자체가 성립하지 않는다 — defense in depth.**\n   *\n   * 함께 지우면 안 되는 것:\n   * - `employeeField()` — `true`/`false` 저카디널리티라 metric 라벨로 **존치 확정**(ADR-068 §결정 3).\n   *   바로 아래 인접 행이라 「인자 제거」 지시에 휩쓸리기 쉽다.\n   * - `MetricSignalSchema.userHashId` — `optional` 로 **유지**한다(ADR-058 additive-only).\n   *   구 SDK 코호트가 계속 보내도 400 이 나면 안 된다.\n   */\n  buildMetricSignal(e, n, i, s) {\n    return f(f({\n      type: \"metric\",\n      timestamp: (/* @__PURE__ */ new Date()).toISOString(),\n      name: e,\n      value: n,\n      metricType: i,\n      labels: this.applyMask(s)\n    }, this.resolveScreenDomain()), this.employeeField());\n  }\n  /**\n   * ADR-053 (ADR-050 자동수집 확장) — 자동 발사 신호(page_view · 파생 rum_*)에 screen/domain 부여.\n   *\n   * **build 시점 해석**: `location.pathname` 을 *신호를 만드는 순간* 읽어 per-route 로 해석한다.\n   * setter(stale 세션 값 read-at-send)와 달리 발생=해석 시점이 일치하므로 ADR-050 §결정3 의\n   * \"마지막 set 함정\" 에 걸리지 않는다. 진짜 async 에러의 잔여 staleness 는 ADR-049 §한계 D 의\n   * 본질적 한계 (어떤 방법도 못 고침).\n   *\n   * - screen: `config.screen` 미지정 = raw pathname / `false` = omit / 함수 = 정규화(카디널리티).\n   * - domain: `config.domain` string = 정적 / 함수 = pathname resolver. 반환 falsy = omit.\n   *\n   * 본 메서드는 *자동값*(ADR-053 config resolver)만 책임진다. per-call override(ADR-050 §결정 2/3\n   * 시그널 인자)는 build 단계가 아니라 `BaseClient.emit(signal, hint, context)` 단일 choke point\n   * 에서 이 자동값 위에 덮인다 — `Hint.captureContext` override 와 같은 패턴.\n   *\n   * SSR-safe: `location` 부재(서버)면 빈 객체.\n   *\n   */\n  resolveScreenDomain() {\n    if (typeof location == \"undefined\")\n      return {};\n    const e = location.pathname, n = {}, i = this.storedScreen;\n    if (i)\n      n.screen = i;\n    else {\n      const a = this.config.screen;\n      if (a !== false) {\n        const c = typeof a == \"function\" ? this.callHostResolver(\"screen\", a, e) : e;\n        c && (n.screen = c);\n      }\n    }\n    const s = this.config.domain, o = typeof s == \"function\" ? this.callHostResolver(\"domain\", s, e) : this.acceptHostString(\"domain\", s, \"config is\");\n    return o && (n.domain = o), n;\n  }\n  /**\n   * 호스트 resolver(`screen` / `domain` / `pageTitle`) 를 **never-throw** 로 호출한다\n   * (ADR-031 §6.1).\n   *\n   * ## 왜 필요한가 — 실측\n   *\n   * 종전에는 `screenCfg(pathname)` 을 맨몸으로 불렀다. 호스트 resolver 가 던지면 그 예외가\n   * `resolveScreenDomain()` → `buildLogSignal()` → `client.log()` 밖으로 그대로 샌다. 실측:\n   *\n   * ```\n   * screen resolver throw   → client.log() 가 던진다\n   * pageTitle resolver throw → init() 이 던진다     ← 부팅에서 호스트 앱이 죽는다\n   * ```\n   *\n   * 두 번째가 특히 나쁘다. `autoCapture.pageViews` 가 기본 on 이라 생성자가 최초 `page_view` 를\n   * *동기* 발사하므로, resolver 한 줄의 결함이 `init()` 을 통째로 던지게 만든다 — MCP-3634\n   * (`safeLocalStorage`) 가 막으려던 것과 같은 형태의 최악 파손이다.\n   *\n   * `screen`/`domain` 의 무가드 호출은 **본 티켓 이전부터 있던 것** 이지만, `pageTitle`(MCP-4033\n   * 신규)이 세 번째 사례가 되므로 셋을 한 지점으로 모아 함께 닫는다. 레포의 다른 호스트 콜백은\n   * 이미 같은 정책이다 — `BeaconErrorBoundary` 의 `beforeCapture`/`onError` silently swallow,\n   * `PreFlagGate` 의 주입 콜백 `notify()` never-throw.\n   *\n   * ## 던지지 않아도 깨질 수 있다 — 반환 **타입** 도 믿지 않는다\n   *\n   * 시그니처는 `=> string | undefined` 지만 타입 검사를 받지 않는 JS 호스트에게 그것은 강제력이\n   * 없다. resolver 가 API 응답값을 그대로 흘려보내는 것은 흔한 형태다(ADR-046 §결정 3 이\n   * `employee` 에서 같은 판정을 내렸다). 문자열이 아닌 값이 통과하면 던질 때보다 **더 나쁘게**\n   * 깨진다 — 실측:\n   *\n   * ```\n   * screen: () => 42     → clampToMaxLength 가 TypeError 를 던진다 → client.log() 사망\n   * pageTitle: () => 7   → 던지지 않고 wire 에 title:7 이 실린다 → 서버 zod 가 배치 전체를 거부\n   * ```\n   *\n   * 두 번째가 더 위험하다. 조용하고, 손실 범위가 그 필드도 그 신호도 아닌 **배치 전체** 다 —\n   * 같은 배치에 실린 무관한 시그널까지 함께 사라진다.\n   *\n   * ## 실패 시 동작\n   *\n   * 어느 경우든 해당 필드만 omit 하고 시그널은 정상 발사한다. 필드 하나 때문에 신호 전체를 버리면\n   * 관측이 통째로 사라져 더 나쁘다. 문자열로 **강제 변환하지 않는다** — `String({})` 은\n   * `\"[object Object]\"` 라서, 값이 있고 아무것도 뜻하지 않는 상태를 만든다(ADR-078 / ADR-080\n   * §결정 5 가 없애려는 바로 그것). 모르면 넣지 않는다.\n   *\n   * 통지는 **종류·실패형태별 1회** — 깨진 resolver 는 *모든 시그널* 에서 깨지므로, 매번 warn 하면\n   * 트래픽에 비례해 로그가 범람한다(ADR-080 §결정 3 과 같은 판단).\n   *\n   * ## 콘솔 warn 만으로는 부족하다 — 카운터도 발행한다 (ADR-053 §결정 5, MCP-4032)\n   *\n   * 위 `warn` 은 **그 브라우저의 콘솔에만** 남는다. 운영자는 호스트 사용자의 콘솔을 볼 수 없으므로\n   * resolver 가 깨진 채 배포돼도 서버 쪽에서는 `screen` 이 비어 있다는 사실만 보이고 *왜* 비었는지는\n   * 보이지 않는다 — 호스트가 축을 안 넣은 것과 resolver 가 깨진 것이 구분되지 않는다. 그래서\n   * `screen`/`domain` 은 {@link reportResolverFailure} 로 `beacon.pipeline.errored`\n   * `{stage=\"config_resolver\", hook=…}` 마커를 함께 올린다. 읽는 법과 한계는 ADR-053 §결정 5 ·\n   * 가이드 §6.6.1 참조 — 특히 **마커는 실패 *범위*를 말해주지 않는다.**\n   *\n   * ⚠️ 카운터는 `screen`/`domain` **두 축에만**, 그리고 **throw 경로에만** 붙는다.\n   * - `pageTitle` 은 메트릭 라벨 축이 아니라 로그 필드라, ADR-053 §결정 5 의 근거(축이 비면\n   *   그룹핑·카디널리티 판정이 깨진다)가 적용되지 않는다. 콘솔 warn 으로 충분하다.\n   * - **타입 위반 경로({@link acceptHostString})는 아직 마커를 올리지 않는다.** 결과는 throw 와\n   *   같은 \"축이 비었다\" 인데 시계열에는 안 잡혀 관측에 구멍이 남는다 — ADR-053 §결정 5 가 throw\n   *   만 전제하고 쓰였기 때문이며, 확장은 ADR 개정이 선행이라 별건으로 둔다.\n   */\n  callHostResolver(e, n, i) {\n    let s;\n    try {\n      s = n(i);\n    } catch (o) {\n      this.notifyResolverBroken(\n        `${e}:throw`,\n        `${e} resolver threw: ${String(o)}`\n      ), e !== \"pageTitle\" && this.reportResolverFailure(e);\n      return;\n    }\n    return this.acceptHostString(e, s, \"resolver returned\");\n  }\n  /**\n   * 호스트가 준 값을 문자열일 때만 통과시킨다 — resolver 반환값이든 `domain` 처럼 설정에 직접\n   * 적은 값이든 출처가 같으므로 판정도 같다. 상세는 `callHostResolver()` 의 \"반환 타입\" 절.\n   */\n  acceptHostString(e, n, i) {\n    if (n != null) {\n      if (typeof n != \"string\") {\n        this.notifyResolverBroken(\n          `${e}:type`,\n          `${e} ${i} ${typeof n}, expected string`\n        );\n        return;\n      }\n      return n;\n    }\n  }\n  /** 깨진 호스트 resolver 통지 — `kind:실패형태` 별 1회. 상세는 `callHostResolver()`. */\n  notifyResolverBroken(e, n) {\n    this.notifyOnce(\n      e,\n      `[Beacon] ${n} — that field is omitted from this and subsequent signals. Fix the resolver; the SDK will not retry it differently. This notice is logged once per failure mode.`\n    );\n  }\n  /**\n   * **키당 1회** 경고 — never-throw. {@link notifyResolverBroken} 과 `setScreen()` 통지가\n   * 공유하는 코어이며, **문구를 통째로 받는다.**\n   *\n   * 문구를 여기서 조립하지 않는 이유: 호출부마다 *사실이 다르다*. resolver 실패는 실제로 \"그\n   * 필드가 이후 시그널에서 omit\" 되지만, `setScreen()` 거부는 보관값만 풀리고 `screen` 은\n   * `config.screen` 으로 계속 붙는다. 공용 boilerplate 를 뒤에 붙이면 후자에 **거짓 문장**이\n   * 딸려 나가 호스트가 없는 문제를 쫓는다 (PR #787 리뷰 — hiyasince/sephin91: 키는 갈렸는데\n   * 문구가 안 갈렸다는 지적).\n   *\n   * ⚠️ 전체를 try 로 감싸는 이유는 {@link notifyResolverBroken} 의 종전 주석과 같다 — 이\n   * 메서드는 `callHostResolver` 의 `catch` **안에서도** 불리므로, 여기서 새로 던진 예외는\n   * 아무도 잡지 않고 호스트까지 나간다. `resolverFailureNotified` 는 서브클래스 필드라\n   * `super()` 완료 전에는 `undefined` 일 수 있고, `logger` 도 호스트가 주입한 객체다.\n   */\n  notifyOnce(e, n) {\n    try {\n      if (this.resolverFailureNotified.has(e))\n        return;\n      this.resolverFailureNotified.add(e), this.logger.warn(n);\n    } catch (i) {\n    }\n  }\n  /**\n   * 벤더 미배달 통지 — **이 메서드 자체가 절대 던지지 않는다** (SPEC C-7f · MCP-4546).\n   *\n   * 🔴 종전 구현은 `onMiss` 안에서 `logger.warn` 을 **try 밖**에서 불렀다. `logger` 는 호스트가\n   * 주입하는 객체이고(`config.logger`), 이 통지는 라우터의 `catch` **안에서도** 불린다 —\n   * 거기서 새로 던진 예외는 아무도 잡지 않고 `afterDispatch` → `emit` 을 타고 **호스트 앱까지\n   * 나간다.** 벤더를 격리해 놓고 *격리 코드가* 호스트를 죽이는 형태다. {@link notifyOnce} 가\n   * 같은 이유로 전체를 감싸고 있는데 이 경로만 빠져 있었다.\n   *\n   * ⚠️ 억제 마킹은 **성공·실패와 무관하게** 한다(`finally`). 「발행 성공 뒤 마킹」\n   * ({@link reportResolverFailure})을 여기 그대로 적용하면, 고장난 logger 에 **매 발화마다\n   * 재시도**하게 되어 바로 아래 「증폭 논거」가 되살아난다(실측: 발화 5회 → warn 5회). 카운터와\n   * 달리 경고는 **시도 한 번이면 족하다** — 계상은 어차피 전수로 따로 나간다.\n   *\n   * 계상은 **키마다 전수**다(C-7c) — 억제는 로그에만 건다. 사유·벤더를 라벨로 실어 「배선 결함\n   * / 매핑 drift / 벤더 비호환」의 처방이 서버에서 갈리게 한다. 메트릭 **이름은 그대로**라\n   * (`beacon.pipeline.dropped`) 서버 예약 목록 갱신이 필요 없다.\n   */\n  reportDestinationMiss(e, n, i) {\n    try {\n      this.countDropped(\"destination_miss\", \"track\", {\n        miss: e,\n        destination: n\n      });\n    } catch (s) {\n    }\n    try {\n      const s = `${n}:${e}`;\n      if (this.destinationMissReported.has(s))\n        return;\n      try {\n        this.logger.warn(\n          `[Beacon] destination \"${n}\" not delivered (${e})` + (i ? `: ${String(i)}` : \"\") + ' — further occurrences for this destination/reason are counted, not logged. See beacon.pipeline.dropped{reason=\"destination_miss\"}.'\n        );\n      } finally {\n        this.destinationMissReported.add(s);\n      }\n    } catch (s) {\n    }\n  }\n  /**\n   * resolver 실패 보고 — **이 메서드 자체가 절대 던지지 않는다.**\n   *\n   * ⚠️ **카운터는 client 인스턴스당 축별 1회만** 발행한다(`reportedResolverFailures`). 호출부는\n   * *모든 시그널마다* 도는데, resolver 실패는 같은 함수에 같은 형태의 입력이라 **대개** 한 번\n   * 깨지면 계속 깨진다 — 실패마다 세면 시그널 1건당 카운터 1건이 붙어 **전송량이 2배**가 되고,\n   * 레이트 리밋이 시그널 단위(ADR-070)라 *실패를 알리는 신호가 실제 데이터를 밀어낸다.* 여기서\n   * 필요한 정보는 \"이 인스턴스의 이 축이 깨졌다\" 뿐이고 횟수는 그 위에 아무것도 더하지 않으므로\n   * 카운터를 **마커**로 쓴다. \"대개\" 인 이유 — 입력이 신호마다 달라지는 resolver 는 *일부만*\n   * 깨질 수 있고, 그래서 **마커는 실패 *범위*를 말해주지 않는다**(ADR-053 §결과).\n   *\n   * ⚠️ 단위는 **client 인스턴스(= `init()` 1회 ≈ 페이지 로드 1회)** 지 *세션*이 아니다. 세션은\n   * 비활동 만료로 인스턴스 수명 중에도 회전하는데(`SessionManager.getSessionId`/`touch` →\n   * `rotate`) 카운터는 회전해도 다시 나가지 않는다. 따라서 시계열은 *실패 횟수*도 *영향받은\n   * 세션 수*도 아니라 **영향받은 페이지 로드 수**로 읽는다(가이드 §6.6.1 동일 서술).\n   *\n   * 보고 경로가 던지면 그 예외는 {@link callHostResolver} 의 `catch` 안에서 새로 발생하는\n   * 것이라 아무도 잡지 않고 호스트까지 나간다 — resolver 를 격리해 놓고 *격리 코드가* 호스트를\n   * 죽이는 형태다. `this.pipelineCounter` / `this.reportedResolverFailures` 는 서브클래스\n   * 필드라 `super()` 가 끝난 뒤에 초기화되므로, `BaseClient` 생성자 경로에서 시그널이 만들어지면\n   * 이 시점에 `undefined` 일 수 있다(현재 그런 경로는 없지만, never-throw 는 도달 가능성을\n   * 증명해야 유지되는 성질이면 안 된다). 그래서 전체를 한 겹으로 감싼다.\n   */\n  reportResolverFailure(e) {\n    try {\n      if (this.reportedResolverFailures.has(e))\n        return;\n      this.pipelineCounter.incConfigResolverErrored(e), this.reportedResolverFailures.add(e);\n    } catch (n) {\n    }\n  }\n  /**\n   * signal 을 어디로 흘려보낼지. bridge 모드면 즉시 native bridge 패스스루 (sync 불변식 —\n   * ADR-028 §2: 시그널 발생 → bridge.send 사이 await 금지). 일반 모드면 transport.enqueue\n   * 호출 — HttpTransport 가 buffer + batchSize 정책을 내부적으로 처리.\n   */\n  dispatch(e) {\n    var n, i;\n    if (e.surface = this.bridgeHandle ? \"webview\" : \"web\", this.bridgeHandle) {\n      rr(this.bridgeHandle, e);\n      return;\n    }\n    (i = (n = this.transport).enqueue) == null || i.call(n, e);\n  }\n  /**\n   * BEACON-324 — 런타임 샘플링 rate 조정 (비용 통제 1차 방어선).\n   *\n   * 트래픽/비용 급증 시 호스트가 자체 feature flag 값으로 호출 → 재배포·리로드 없이 다음 시그널부터\n   * 즉시 송신량을 낮춘다. 제공된 키만 변경(부분 업데이트), 각 값은 `[0, 1]` 로 clamp, 비유한값은 무시.\n   *\n   * **샘플링 ≠ kill-switch**: 메트릭은 샘플링을 거치지 않고, `errorRate` 는 non-fatal exception 에만\n   * 적용된다(fatal 크래시는 항상 송신). 전체 비활성화는 BEACON-327 후속.\n   *\n   * @example\n   * client.setSampleRates({ logSampleRate: 0.1 }); // 로그 10%로\n   * client.setSampleRates({ errorRate: 0 });       // non-fatal 에러 전송 중단\n   */\n  setSampleRates(e) {\n    for (const n of [\n      \"logSampleRate\",\n      \"errorRate\",\n      \"exemptLogSampleRate\"\n    ]) {\n      const i = e[n];\n      if (i === void 0)\n        continue;\n      const s = Xe(i);\n      s !== void 0 && (this.runtimeSampleRates[n] = s);\n    }\n  }\n  /**\n   * BEACON-327 — kill-switch off. core emit/flush 게이트(super)에 더해 **outbox replay 도 보류**.\n   * outbox replay(online 이벤트/페이지로드 복구)는 emit/flush 를 우회해 `transport.send` 를 직접\n   * 호출하므로, disable 시 함께 멈추지 않으면 disabled 상태에서도 잔여가 송신돼 \"disabled→0 송신\"\n   * 계약이 깨진다. storage 는 유지되어 re-enable 시 재전송된다.\n   */\n  disable() {\n    var e;\n    super.disable(), (e = this.signalOutbox) == null || e.pause();\n  }\n  /**\n   * BEACON-327 — kill-switch on. core 게이트 해제(super) + outbox replay 재개. disable 중\n   * (또는 그 이전 실패로) 쌓인 잔여를 즉시 재드레인해 서버로 재전송한다.\n   */\n  enable() {\n    var e;\n    super.enable(), (e = this.signalOutbox) == null || e.resume();\n  }\n  /**\n   * BEACON-365 — kill-switch provider 배선. 부팅 직후 *백그라운드*로 enabled 를 1회 해석하고,\n   * provider 가 subscribe 를 지원하면 실시간 변화도 반영한다. init() 동기 계약을 깨지 않도록\n   * 모두 비동기로 처리한다.\n   *\n   * **Fail-safe**: `resolveEnabled()` reject / 미해결은 무시(enabled 유지). 오직 명시 `false`\n   * 만 `disable()` 한다 — 불확실(에러/타임아웃)에 수집을 끊지 않는다.\n   */\n  wireKillSwitch(e) {\n    e && (Promise.resolve().then(() => e.resolveEnabled()).then(\n      (n) => this.applyKillSwitchResolution(n),\n      () => {\n        this.settlePreFlag(\"unresolved\");\n      }\n    ).catch((n) => {\n      this.logger.warn(\n        `[Beacon] kill-switch resolution failed after fetch — pre-flag stays held until deadline: ${String(n)}`\n      );\n    }), e.subscribe && (this.killSwitchUnsubscribe = e.subscribe((n) => {\n      this.applyKillSwitch(n);\n    })));\n  }\n  /**\n   * BEACON-372 — provider 결과를 정규화해 반영. `boolean` 은 enabled 만, `KillSwitchResolution`\n   * 은 enabled + 선택적 `sampleRates`(FF payload 운반분)를 `setSampleRates()` 로 적용한다.\n   * sampleRates 를 먼저 적용해 enable 직후 곧바로 유효 rate 가 걸리게 한다.\n   */\n  applyKillSwitchResolution(e) {\n    this.destroyed || (typeof e == \"boolean\" ? this.applyKillSwitch(e) : (e.sampleRates && (this.setSampleRates(e.sampleRates), this.ffRatesApplied || (this.ffRatesApplied = Number.isFinite(\n      e.sampleRates.logSampleRate\n    ))), this.applyKillSwitch(e.enabled)), this.settlePreFlag(\"resolved\"));\n  }\n  /**\n   * provider 결과를 현재 상태에 반영(중복 호출 안전, destroy 후 no-op).\n   *\n   * `subscribe(onChange)` 의 싱크이기도 하다 — 그쪽은 `enabled` 만 오고 rate 를 실을 수 없다\n   * (`KillSwitchProvider.subscribe` 시그니처).\n   *\n   * BEACON-661 — 그래서 여기서는 **폐기만** 하고 drain 은 하지 않는다. off 판정은 rate 와 무관해\n   * 어느 경로로 왔든 즉시 폐기가 맞지만(모바일 purge 동형), on 은 rate 를 운반하는\n   * `applyKillSwitchResolution` 에서만 drain 해야 한다. 반대로 하면 구독이 먼저 발화하는 provider\n   * 에서 게이트가 rate 없이 닫힌다.\n   */\n  applyKillSwitch(e) {\n    this.destroyed || (e ? this.isEnabled() || this.enable() : this.isEnabled() && this.disable(), e || this.settlePreFlag(\"resolved\"));\n  }\n  /**\n   * BEACON-661 — 선수집 게이트에 \"때가 됐다\"만 알린다. 버퍼·타이머·FIFO 는 게이트 소유이고,\n   * 여기서 정하는 것은 **방출이냐 폐기냐** 하나뿐이다.\n   *\n   * ⚠️ **게이트를 *닫는* 네 계기(resolved/unresolved/deadline/destroy)는 전부 이 함수를 지난다** —\n   * disabled 상태의 방출은 BEACON-327 egress 차단 계약 위반이라 판정이 반드시 필요하다.\n   *\n   * `pagehide` 만 예외로 `flushOpen()` 을 직접 부른다(게이트를 닫지 않으므로 drain/purge 선택이\n   * 성립하지 않는다). 그 경로의 enabled 판정은 **`persistAndSend()` 최상단의 early-return** 이\n   * 담당한다 — 즉 판정점은 두 곳이며, `flushOpen()` 을 다른 곳에서 부르려면 그 자리에도 판정이\n   * 필요하다(PR #582 리뷰).\n   *\n   * 적용 rate 는 방출 시점의 `runtimeSampleRates` 다. `resolved` 는 *판정 도착*을 뜻할 뿐이고\n   * FF payload 가 rate 를 운반했을 때만 FF rate 가 걸린다(아니면 현 유효 rate — 관측에서는\n   * `resolved_no_rate` 로 갈린다). 나머지 계기는 판정 부재이므로 현 유효 rate 다.\n   * 이미 닫힌 게이트면 no-op.\n   *\n   * `destroy` 계기에서 disabled 면 폐기한다 — `BaseClient.destroy` 의 teardown flush 가\n   * kill-switch 와 무관하게 transport 를 비우는 것과 **의도적으로 다르다**. 그쪽은 이미 egress\n   * 심사를 통과해 적재된 잔여이고, 여기 보류분은 아직 심사 전이다.\n   */\n  settlePreFlag(e) {\n    var n, i;\n    this.isEnabled() ? (n = this.preFlagGate) == null || n.settle(e) : (i = this.preFlagGate) == null || i.purge(e);\n  }\n  /**\n   * BeforeSend stage (ADR-038 §결정 5) — 신호별 own pipeline 함수 분기.\n   *\n   * BaseClient 의 default passthrough 를 override 하여 `BeaconConfig` 에 등록된 hook /\n   * sampling rate / noise patterns / consent state 를 PipelineContext 로 wire 한다.\n   *\n   * **신호 타입별 분기**:\n   *   - `log` → `runLogPipeline` (consent → sample → noise → enrich → hook)\n   *   - `metric` → `runMetricPipeline` (enrich → hook, 적재 0)\n   *   - `exception` → `runExceptionPipeline` (fingerprint → consent → if (!fatal) sample → noise → enrich → hook)\n   *\n   * **sync only** (ADR-038 §Drift 방어책 §2 재정정 2026-05-22): hook / pipeline 함수 모두\n   * sync 라 본 메서드도 sync. fast-path 분리 불필요 — 항상 동일 경로.\n   *   - Exception fingerprint sha1 도 `@beacon/shared/util/sha1.ts` 의 sync 자체 구현 활용 →\n   *     async 전염 없음 (BEACON-130 2026-05-26 결정).\n   *\n   * **bridge 모드**: bridge 모드에서도 본 hook 은 호출되지만, **sampling 은 강제 비활성화**\n   * (Design B / native authority — 아래 ctx 주석 참조, BEACON-392). 즉 hook(beforeSend/noise/\n   * consent)은 그대로 적용되나 `sample()` 단계만 우회 → 100% native 로 forward. 호스트가\n   * bridge 모드에서 hook 을 등록하면 그대로 적용된다 — 의도된 동작.\n   */\n  runBeforeSendPipeline(e, n) {\n    var a, c, u;\n    if ((a = this.preFlagGate) != null && a.hold({ signal: e, hint: n }))\n      return null;\n    const i = this.config, s = this.bridgeHandle !== null, o = {\n      scope: this.getScope(),\n      beforeSendLog: i.beforeSendLog,\n      beforeSendMetric: i.beforeSendMetric,\n      beforeSendException: i.beforeSendException,\n      logSampleRate: s ? void 0 : this.runtimeSampleRates.logSampleRate,\n      // ADR-099 §결정 5 — 면제 로그도 bridge 모드에선 web 이 거르지 않는다. web 이 먼저 걸러도\n      // native 가 자기 면제 rate 로 값을 덮어쓰므로, 걸러낸 비율만큼 그대로 **과소 집계**가 된다\n      // (web 0.1 로 거른 뒤 native 가 1.0 으로 표기 → 실제의 1/10). 판정 권위는 native 하나다.\n      exemptLogSampleRate: s ? void 0 : this.runtimeSampleRates.exemptLogSampleRate,\n      errorRate: s ? void 0 : this.runtimeSampleRates.errorRate,\n      noisePatterns: i.noisePatterns,\n      consentState: i.consentState,\n      counter: this.pipelineCounter,\n      exceptionRateLimiter: this.exceptionRateLimiter\n    };\n    if (e.type === \"log\")\n      return runLogPipeline(e, o, {\n        exempt: n.logSampling === \"exempt\"\n      });\n    if (e.type === \"metric\")\n      return runMetricPipeline(e, o);\n    if (e.type === \"exception\") {\n      const h = {\n        mechanism: n.mechanism,\n        originalException: n.originalException,\n        syntheticException: n.syntheticException\n      }, d = runExceptionPipeline(e, h, o);\n      if (d === null)\n        return null;\n      const v = xn(\n        Rn(d.exception.values),\n        _n()\n      );\n      return v ? S(f({}, d), { debug_meta: v }) : d;\n    }\n    return e.type === \"track\" ? checkConsent(o) ? e : ((u = o.counter) == null || u.incDropped(\"consent\", \"track\", {\n      consent_state: (c = o.consentState) != null ? c : \"unknown\"\n    }), null) : e;\n  }\n  // ─── Scope mutation 공개 표면 + 자동 영속화 (ADR-038 §결정 7, BEACON-136) ─────\n  //\n  // Scope mutation API (BEACON-136 / FE-24150 Wave 2) — setTag / setExtra / setLevel / setFingerprint.\n  // 각 setX 호출은 `getScope().setX()` + `saveScope()` 를 캡슐화 — 호스트가 영속화 직접 신경 쓰지 않게 함.\n  //\n  // **raw 사용자 식별 미제공 (ADR-046 §결정 1, BEACON-389)**: `setUser(raw User)` 는 평문 PII 를\n  // wire 로 흘리는 결함이라 제거됐다. 사용자 식별은 단방향 해시 `setUserHashId` 단일 채널을 쓴다.\n  //\n  // BEACON-148 (iOS BEACON-146 / Android BEACON-147 cross-language 정합) — `setTag` 가 등록한\n  // tag 는 이후 발송 시그널의 wire `LogSignal.tags` / `ExceptionSignal.tags` 에 자동 첨부\n  // (Scope.applyToEvent — emit 1단계).\n  //\n  // `withScope` 는 BaseClient 가 제공 (Client interface §3.1) — sdk-browser 추가 책임 없음.\n  // `addBreadcrumb` 도 BaseClient 가 이미 제공하며, LocalStorageScopeStorage 가 breadcrumbs 를\n  // 영속화하지 않으므로 (의도된 세션 ephemeral) 별도 saveScope 트리거 없음.\n  /**\n   * key-value 태그 추가 (BEACON-135 / BEACON-148). Scope.tags 갱신 + LocalStorageScopeStorage 자동 persist.\n   *\n   * 이후 발송되는 모든 `LogSignal` / `ExceptionSignal` 의 wire `tags` 필드에 자동 첨부된다\n   * (Scope.applyToEvent — emit 1단계). 메트릭은 Prometheus 차원 분리 (ADR-021) 로 자동 첨부 대상 아님.\n   *\n   * 권장 reserved key — `screen` (현재 화면명) / `domain` (앱 내 도메인 영역).\n   */\n  setTag(e, n) {\n    this.getScope().setTag(e, n), this.saveScope();\n  }\n  /**\n   * 개발자 자유 커스텀 컨텍스트 설정 (ADR-056 amend, BEACON-318).\n   * `setExtra(\"orderId\", \"A-123\")` → wire `ExceptionSignal.extra.orderId`. **소유: 개발자**.\n   * 검색 인덱싱 안 함(필터링은 `setTag` 사용). 서버는 단일 JSON attribute `beacon.extra` 로 보존.\n   */\n  setExtra(e, n) {\n    this.getScope().setExtra(e, n), this.saveScope();\n  }\n  /**\n   * 심각도 override (`warn` / `error` / `fatal`). ExceptionSignal.level 을 overwrite 함 — host\n   * 의 명시 의도 표명. fatal 보존이 필요하면 `withScope` 격리 사용.\n   */\n  setLevel(e) {\n    this.getScope().setLevel(e), this.saveScope();\n  }\n  /**\n   * server-side grouping 키 명시 지정. `runExceptionPipeline` 의 sha1 자동 계산을 우선 (BEACON-141\n   * fill-if-empty cascade). 같은 의미의 에러를 별도 group 으로 묶고 싶을 때 사용.\n   */\n  setFingerprint(e) {\n    this.getScope().setFingerprint(e), this.saveScope();\n  }\n  /**\n   * Scope 영속화 — 5종 setX 메서드가 자동 호출. host 가 직접 호출도 가능 (e.g., `client.getScope()`\n   * 후 직접 mutate 한 뒤 영속화). 자식 scope (`withScope` 안) mutation 은 cb 종료 시 pop 되어\n   * 사라지므로 호출 의미 없음.\n   */\n  saveScope() {\n    this.scopeStorage.save(this.getScope());\n  }\n  /** Scope 영속화 클리어 — destroy / 로그아웃 시 호스트가 명시 호출. */\n  clearScope() {\n    this.scopeStorage.clear();\n  }\n  /**\n   * navigation 단위 trace_id 발급 — ADR-054 §결정 5 (MCP-4107).\n   *\n   * `AutoCapturePlugin` 의 navigation hook 과 outgoing fetch fallback 이 **둘 다** 이 한\n   * 지점을 거친다. 두 경로가 각자 `generateTraceId()` 를 부르던 종전 구조에 seed 를 끼우면,\n   * pageViews 를 끈 호스트에서는 첫 fetch 가 먼저 도착해 네이티브 trace 를 놓쳤을 것이다.\n   *\n   * **1회성이다.** 첫 호출만 네이티브 seed 를 돌려주고 이후에는 새로 생성한다 — 웹뷰 진입\n   * 시점만 앱 trace 에 잇고 웹뷰 내부 navigation 은 평소대로 회전시킨다.\n   *\n   * @internal — `AutoCapturePlugin` 전용.\n   */\n  nextNavigationTraceId() {\n    const e = this.pendingNativeTraceId;\n    return e ? (this.getHub().stackSize === 1 && (this.pendingNativeTraceId = null), e) : generateTraceId();\n  }\n  // ─── ScreenLoadMarker facade (ADR-079, MCP-4055) ─────────────────────────\n  //\n  // SLT(화면 로딩 시간) 측정. `PerformanceTimer` 와 같은 구조 — marker 가 monotonic 앵커를\n  // 재고, `end()` 시점에 본 facade 가 주입한 hook 이 `log(\"info\", \"perf_timing\", …)` 를\n  // 부른다. 새 wire format 없음(ADR-079 §결정 1).\n  /**\n   * 핸들형 SLT 측정 시작 — 같은 화면 안에서 끝나는 경우.\n   *\n   * `screen` 은 **필수**다 (§결정 6). SDK 가 \"현재 화면\"을 추측하지 않는다 — Web 은\n   * `resolveScreenDomain()`(ADR-053)이 pathname 에서 자동 부여할 수 있지만 SLT 는\n   * **탭 시점이 아니라 목적지 화면**이 필요해서, 자동값을 쓰면 출발지가 찍힌다.\n   * 값은 사내 Flash PageID 다 (ADR-082 — `musinsa-pdp`). SDK 는 값을 검증하지 않는다(§결정 7).\n   *\n   * 화면 경계를 넘는 측정은 {@link startKeyedScreenLoad} 를 쓴다.\n   */\n  startScreenLoad(e) {\n    return this.createScreenLoadMarker(e);\n  }\n  /**\n   * keyed SLT 측정 시작 — 화면 경계를 넘는 경우 (§결정 2).\n   *\n   * 인자는 **목적지 화면**이다. 탭한 쪽이 목적지를 알고 있어야 하는데, 네비게이션을\n   * 실행하는 코드는 이미 그 정보를 갖고 있다(어디로 보낼지 모르면 이동 자체가 불가능).\n   *\n   * 진입점 이름이 핸들형과 분리된 이유는 네이티브 제약이다 — 핸들형이 `scope` 기본 인자를\n   * 갖는 Kotlin/Swift 에서 인자 1개 호출이 양쪽에 매칭돼 conflicting overloads / ambiguous\n   * call 이 된다. TS 만 다르게 두면 3언어 동형이 깨지므로 같이 분리한다.\n   *\n   * **같은 키 재호출 시 이전 marker 를 무발신 폐기**한다 (§결정 9, `reason=\"superseded\"`).\n   */\n  startKeyedScreenLoad(e) {\n    const n = this.screenLoadRegistry.get(e);\n    n != null && n.isRunning && (n.cancel(), this.reportSltDiscard(\"superseded\")), this.screenLoadRegistry.replace(\n      e,\n      this.createScreenLoadMarker(e, { keyed: true })\n    );\n  }\n  /** keyed marker 에 앵커 기록. **미존재 키는 no-op** 이다 (§결정 2 — 카운터도 없다). */\n  markScreenLoad(e, n) {\n    var i;\n    (i = this.screenLoadRegistry.get(e)) == null || i.mark(n);\n  }\n  /** keyed marker 종료 + 발신. **미존재 키는 no-op**. */\n  endScreenLoad(e) {\n    var n;\n    (n = this.screenLoadRegistry.get(e)) == null || n.end();\n  }\n  /**\n   * marker 생성 + 두 registry 등록.\n   *\n   * `timerRegistry` 에도 넣는 이유 — TTL(30초)·cap(100)·`pagehide` 안전장치는 SLT marker\n   * 에도 그대로 적용돼야 한다(ADR-079 §결정 5 가 TTL 을 §결정 5 의 폐기 트리거로 지목).\n   * `ScreenLoadRegistry` 는 *키 조회* 만 담당한다.\n   *\n   * ⚠️ `timerRegistry.register` 는 `PerformanceTimer` 를 받으므로 marker 를 직접 넣을 수\n   * 없다. 대신 marker 수명과 1:1로 묶인 **대리 timer** 를 등록해 TTL·cap·lifecycle 폐기가\n   * marker 로 전달되게 한다 — 대리 timer 의 `onStop` 은 아무것도 발신하지 않는다(SLT 발신은\n   * marker 의 `onEnd` 가 한다).\n   */\n  createScreenLoadMarker(e, n = {}) {\n    const i = {}, s = new W(\n      `slt:${e}`,\n      void 0,\n      () => {\n      },\n      z,\n      // 대리 timer 의 `onTerminate` 는 비워 둔다 — 폐기 중계는 아래 `register` 의\n      // **사유 인자를 받는** hook 이 한다. `onTerminate` 는 `stop()`/`cancel()` 공통\n      // 경로라 사유를 알 수 없고, 여기서 폐기를 처리하면 세 경로가 전부 한 값으로\n      // 뭉개진다 (PR #725 리뷰 지적).\n      () => {\n      }\n    ), o = new Ve(\n      e,\n      {\n        onEnd: (a, c) => this.emitSltSegments(a, c),\n        onAnchorInconsistent: () => this.pipelineCounter.incSltAnchorInconsistent(),\n        // 호스트 logger 로 흘린다 — `NoopLogger`/구조화 로거를 넘긴 호스트가 끄거나 돌릴 수\n        // 있어야 한다 (`logger.ts` 헤더의 raw console 금지).\n        onUnknownPhase: (a) => this.logger.warn(\n          `markScreenLoad: unknown phase \"${a}\" ignored. Use SltPhase.REQUEST_START or SltPhase.RESPONSE_END.`\n        ),\n        onTerminate: () => {\n          var a;\n          n.keyed && this.screenLoadRegistry.remove(e, i.marker), (a = i.release) == null || a.call(i);\n        }\n      },\n      z\n    );\n    return i.marker = o, i.release = this.timerRegistry.register(s, (a) => {\n      const c = i.marker;\n      c != null && c.isRunning && (c.cancel(), this.reportSltDiscard(a));\n    }), o;\n  }\n  /**\n   * 구간들을 `perf_timing` 로그로 발신 (§결정 1·4). 최대 4건이고 각각 **top-level `screen`**\n   * 을 싣는다 — ADR-050 §결정 1 의 1급 슬롯이라 서버가 `beacon.screen` 으로 승격한다.\n   *\n   * metadata 형식은 `startTimer` 와 동일하다 — `perf.duration_ms` 는 소수 3자리 고정으로\n   * iOS `String(format:\"%.3f\")` / Android `String.format(\"%.3f\")` 와 정합(BEACON-113 AC1).\n   */\n  emitSltSegments(e, n) {\n    for (const i of n)\n      this.log(\n        \"info\",\n        \"perf_timing\",\n        {\n          \"perf.name\": i.name,\n          \"perf.duration_ms\": i.durationMs.toFixed(3)\n        },\n        { screen: e }\n      );\n  }\n  /** SLT 무발신 폐기 관측 (§결정 5·9). never-throw — 폐기 경로를 막지 않는다. */\n  reportSltDiscard(e) {\n    try {\n      this.pipelineCounter.incSltExpired(e);\n    } catch (n) {\n    }\n  }\n  // ─── PerformanceTimer facade (ADR-047 §3 Web 행, BEACON-159) ─────────────\n  //\n  // 호스트 측 cold start / MTTI / API duration 측정 convenience. PerformanceTimer 가 monotonic\n  // clock 으로 구간 시간을 재고, stop() 시점에 본 facade 가 주입한 onStop callback 이\n  // `log(\"info\", \"perf_timing\", metadata)` 를 호출한다 (새 wire format 없음 — ADR-047 §1 v1.1).\n  //\n  // `perf.*` 예약 키는 사용자 labels *이후* 에 적용해 사용자 입력이 timer 식별자를 덮어쓰지 못하게\n  // 한다 (ADR-047 §결정 6, Android/iOS 정합).\n  /**\n   * 구간 측정 시작. 반환된 `PerformanceTimer` 의 `stop()` 호출 시 `log(\"info\", \"perf_timing\", {...labels, \"perf.name\", \"perf.duration_ms\"})` 1회 발신.\n   */\n  startTimer(e, n) {\n    const i = {}, s = new W(\n      e,\n      n,\n      (o, a, c) => {\n        this.log(\"info\", \"perf_timing\", S(f({}, c), {\n          \"perf.name\": o,\n          // 소수점 3자리 고정 — String(number) 의 지수표기(`1e-5`)/가변 소수 직렬화를\n          // 회피하고 iOS `String(format:\"%.3f\")` / Android `String.format(\"%.3f\")` 와\n          // cross-language 정합 (BEACON-113 AC1).\n          \"perf.duration_ms\": a.toFixed(3)\n        }));\n      },\n      void 0,\n      // MCP-4052 — registry 회수 hook. `register` 가 돌려준 함수를 그대로 `onTerminate` 로\n      // 넘긴다. timer 생성 자체는 여기 남는다 — onStop 클로저가 `this.log` 를 잡고 있어\n      // registry 로 옮기면 registry 가 client 를 알아야 하기 때문이다.\n      //\n      // ⚠️ **cap evict 는 이 timer 를 건드리지 않는다.** `register` 는 insert *前* 에\n      // evict 하므로 새로 만든 timer 가 자기 자신에게 밀려나는 일이 없다.\n      () => {\n        var o;\n        return (o = i.fn) == null ? void 0 : o.call(i);\n      }\n    );\n    return i.fn = this.timerRegistry.register(s), s;\n  }\n  /**\n   * 블록 실행 시간 자동 측정. throw 시에도 `finally` 에서 stop 발화 → log 1회 + Error rethrow.\n   *\n   * 동기 전용 (ADR-047 §결정 8). 비동기 작업은 `startTimer` / `stop` 쌍으로 측정.\n   */\n  timing(e, n, i) {\n    const s = this.startTimer(e, n);\n    try {\n      return i();\n    } finally {\n      s.stop();\n    }\n  }\n  /**\n   * 이미 `destroy()` 된 인스턴스인지 (MCP-4356).\n   *\n   * `BaseClient.destroyed` 는 `protected` 라 클래스 밖에서 읽을 수 없는데, 전역 인스턴스\n   * 등록소(`core/instanceRegistry.ts`)는 슬롯에 걸린 인스턴스가 **아직 살아 있는지** 를 판정해야\n   * 한다 — 죽은 인스턴스를 붙들면 `destroy()` 후 재init 이 영영 막힌다. 그 판정에 필요한 최소\n   * 표면만 읽기 전용으로 낸다(상태를 바꾸는 경로는 열지 않는다).\n   *\n   * 등록소는 **다른 번들 사본이 만든 인스턴스**에도 이 프로퍼티를 duck-typing 으로 읽는다.\n   * 즉 이 이름은 사본 간 계약이며, 바꾸면 구버전 사본의 생사 판정이 조용히 `undefined` 로\n   * 떨어진다(등록소는 그 경우 \"살아 있음\" 으로 보수적으로 처리한다).\n   */\n  get isDestroyed() {\n    return this.destroyed;\n  }\n  /**\n   * 자식 자산 정리: flushTimer / pagehide·visibilitychange listener / AutoCapturePlugin /\n   * SignalOutbox / ContextCollector (SessionManager).\n   *\n   * 순서: super.destroy() 가 destroyed=true → integrations.teardownAll → transport.flush →\n   * transport.close 를 수행 (buffer drain 은 transport.flush 가 자동). 자식은 *그 전에* 새\n   * 시그널 source 를 막고 *그 후에* 영속화 자원 (signalOutbox / context) 을 정리한다.\n   */\n  destroy() {\n    return g(this, null, function* () {\n      var e, n, i, s;\n      this.destroyed || (this.flushTimer && (clearInterval(this.flushTimer), this.flushTimer = null), typeof window != \"undefined\" && (this.pagehideHandler && (window.removeEventListener(\"pagehide\", this.pagehideHandler), this.pagehideHandler = null), this.visibilityHandler && (document.removeEventListener(\n        \"visibilitychange\",\n        this.visibilityHandler\n      ), this.visibilityHandler = null)), this.storedScreen = null, (e = this.autoCapturePlugin) == null || e.stop(), this.timerRegistry.destroy(), this.screenLoadRegistry.clear(), (n = this.killSwitchUnsubscribe) == null || n.call(this), this.killSwitchUnsubscribe = null, this.settlePreFlag(\"destroy\"), yield ee(X.prototype, this, \"destroy\").call(this), (i = this.signalOutbox) == null || i.destroy(), (s = this.contextCollector) == null || s.destroy());\n    });\n  }\n  // ─── 내부 helper ────────────────────────────────────────────────────\n  applyMask(e) {\n    return !e || this.config.maskFields.length === 0 ? e : maskObject(e, { fields: this.config.maskFields });\n  }\n  /**\n   * 시그널 최상위 `userHashId` 필드를 스프레드용 객체로 산출한다 (ADR-046 §결정 7).\n   *\n   * 시그널 생성 시점에 `resolveUserHashId` 를 1회 호출해 그 순간의 값을 스냅샷한다\n   * (§결정 7-4 — 생성 후 `setUserHashId` 로 값이 바뀌어도 이미 만든 시그널은 불변).\n   *\n   * 값이 `null`(미설정 / 비로그인)이면 **빈 객체** 를 반환 → 시그널에서 필드 자체\n   * omit (§결정 3 / 7-2 — 빈 문자열 아님, `null` 키도 넣지 않음).\n   */\n  userHashIdField() {\n    const e = this.resolveUserHashId();\n    return e === null ? {} : { userHashId: e };\n  }\n  /**\n   * 시그널 최상위 `employee` 필드를 스프레드용 객체로 산출한다 (ADR-068).\n   *\n   * 시그널 생성 시점에 `resolveEmployee` 를 1회 호출해 그 순간의 값을 스냅샷한다.\n   * `null`(미판별)이면 **빈 객체** 를 반환 → 시그널에서 필드 자체 omit. `false` 는\n   * 유효 판별값이라 그대로 실린다 (userHashId 와 동형의 omit-when-absent).\n   */\n  employeeField() {\n    const e = this.resolveEmployee();\n    return e === null ? {} : { employee: e };\n  }\n  /**\n   * ExceptionSignal `request` 필드 (페이지 컨텍스트) 를 스프레드용 객체로 산출한다 (ADR-032 §2, BEACON-251).\n   *\n   * - `url` = `window.location.href` — 에러 발생한 페이지 URL (Sentry browser 동형).\n   * - `referrer` = `document.referrer` (빈 문자열이면 omit — 1st-load).\n   * - `method` = 고정 `\"GET\"` — 페이지 로드는 항상 GET (Sentry 동형).\n   *\n   * `window` / `document` 부재 환경 (SSR / Node test / bridge pre-mount) 은 *omit-when-absent*\n   * (ADR-046 §결정 7-3 정합) — 빈 객체 반환하여 시그널에서 필드 자체 미포함.\n   *\n   * PII 정책: query string 에 사용자 입력 박힐 위험은 *server-side ADR-043 중앙 정책* 의 책임.\n   * SDK 측은 BeforeSend hook (ADR-038) 으로 호스트가 정제할 수 있게 pass-through 가 의도.\n   *\n   * `signal.screen` / `signal.breadcrumbs[http].data.url` / `signal.trace_id` 와 함께 4 위치\n   * 정보 형성 (ADR-054 PR #222 FAQ §3 — 답하는 질문 직교).\n   */\n  requestField() {\n    var n;\n    if (typeof window == \"undefined\" || !((n = window.location) != null && n.href))\n      return {};\n    const e = typeof document != \"undefined\" && document.referrer ? document.referrer : void 0;\n    return {\n      request: f({\n        url: window.location.href,\n        method: \"GET\"\n      }, e && { referrer: e })\n    };\n  }\n  /**\n   * pagehide / visibilitychange 동기 송신. HttpTransport.flushViaBeacon 가 내부 buffer 를\n   * 동기 drain + navigator.sendBeacon. 실패 시 SignalOutbox 적재까지 transport 내부에서 처리.\n   * ADR-011 sync 불변식 — await 사용 금지.\n   */\n  persistAndSend() {\n    var e, n;\n    this.isEnabled() && ((e = this.preFlagGate) == null || e.flushOpen(\"pagehide\"), (n = this.httpTransport) == null || n.flushViaBeacon());\n  }\n}\nconst Y = /* @__PURE__ */ Symbol.for(\"beacon.client\");\nfunction J() {\n  return globalThis;\n}\nfunction gr(r) {\n  if (typeof r != \"object\" || r === null)\n    return false;\n  const t = r;\n  if (typeof t.projectId != \"string\")\n    return false;\n  const e = t.client;\n  if (typeof e != \"object\" || e === null)\n    return false;\n  const n = e;\n  return typeof n.destroy == \"function\" && typeof n.captureException == \"function\";\n}\nfunction yr(r) {\n  return r.isDestroyed === true;\n}\nfunction Ye() {\n  if (!O())\n    return null;\n  const r = J()[Y];\n  return gr(r) ? yr(r.client) ? (br(), null) : r : null;\n}\nfunction vr(r, t) {\n  O() && (J()[Y] = {\n    client: r,\n    projectId: t\n  });\n}\nfunction br() {\n  delete J()[Y];\n}\nlet y = null, N = false, Le = false;\nfunction Ir(r) {\n  const t = Ye(), e = N && (t == null ? void 0 : t.client) === y;\n  return t && !e ? (Le || (Le = true, console.warn(\n    `[Beacon] init() ignored — this page already has a client (first init wins). kept=${t.projectId} / ignored=${r.projectId}. Two or more SDK bundle copies are loaded here (MCP-4356).`\n  )), y = t.client, N = false, t.client) : (y && y.destroy(), y = new X(r), N = true, vr(y, r.projectId), y);\n}\nconst Sr = \"[Beacon] Client not initialized. Call init() first.\";\nfunction Je() {\n  if (y && !y.isDestroyed)\n    return y;\n  const r = Ye();\n  return r && (y = r.client, N = false), y;\n}\nfunction m(r) {\n  const t = Je();\n  return t ? Qe(t, r) ? t : null : (console.warn(Sr), null);\n}\nfunction H(r) {\n  const t = Je();\n  return t && Qe(t, r) ? t : null;\n}\nfunction Qe(r, t) {\n  return typeof r[t] == \"function\" ? true : (console.warn(\n    `[Beacon] ${String(t)}() unavailable — an older SDK copy owns this page (MCP-4356).`\n  ), false);\n}\nfunction Cr(r, t, e, n, i) {\n  const s = m(\"metric\");\n  s && s.metric(r, t, e != null ? e : \"gauge\", n, i);\n}\nfunction Ar(r, t = {}, e) {\n  const n = m(\"captureException\");\n  return n ? n.captureException(r, t, e) : \"\";\n}\nfunction Fr() {\n  var r, t;\n  return (t = (r = H(\"isEnabled\")) == null ? void 0 : r.isEnabled()) != null ? t : false;\n}\nexport {\n  tn as AutoCapturePlugin,\n  P as BEACON_NAVIGATION_EVENT,\n  X as BeaconClient,\n  bn as ContextCollector,\n  Kn as HttpTransport,\n  Mt as LocalStorageSignalOutbox,\n  W as PerformanceTimer,\n  Scope,\n  Ve as ScreenLoadMarker,\n  ye as SltPhase,\n  Ar as captureException,\n  Ir as init,\n  Fr as isEnabled,\n  Cr as metric\n};\n","import { useRef, useCallback, useMemo } from \"react\";\nimport { isEnabled as Fr, metric as Cr, captureException as Ar } from \"../../node_modules/@beacon/sdk-browser/dist/index.js\";\nconst COMPONENT_TIMING_METRIC_TYPE = \"histogram\";\nconst COMPONENT_TIMING_SCREEN = \"29cm-content-campaign\";\nconst useComponentTiming = (component) => {\n  const mountedAt = useRef(performance.now());\n  const fired = useRef(/* @__PURE__ */ new Set());\n  const once = useCallback((name) => {\n    if (!Fr() || fired.current.has(name)) {\n      return;\n    }\n    fired.current.add(name);\n    Cr(name, performance.now() - mountedAt.current, COMPONENT_TIMING_METRIC_TYPE, {\n      component\n    }, {\n      screen: COMPONENT_TIMING_SCREEN\n    });\n  }, [component]);\n  const markFailed = useCallback((error) => {\n    if (!Fr()) {\n      return;\n    }\n    Cr(\"framer_component_error_total\", 1, \"counter\", {\n      component\n    });\n    Ar(error);\n  }, [component]);\n  return useMemo(() => ({\n    markVisible: () => once(\"framer_component_visible_ms\"),\n    markReady: () => once(\"framer_component_ready_ms\"),\n    markFailed\n  }), [once, markFailed]);\n};\nexport {\n  COMPONENT_TIMING_METRIC_TYPE,\n  COMPONENT_TIMING_SCREEN,\n  useComponentTiming\n};\n","function isObject(value) {\n  var type = typeof value;\n  return value != null && (type == \"object\" || type == \"function\");\n}\nexport {\n  isObject as default\n};\n","import global from \"../vite-plugin-node-polyfills/shims/global/dist/index.js\";\nvar freeGlobal = typeof global == \"object\" && global && global.Object === Object && global;\nexport {\n  freeGlobal as default\n};\n","import freeGlobal from \"./_freeGlobal.js\";\nvar freeSelf = typeof self == \"object\" && self && self.Object === Object && self;\nvar root = freeGlobal || freeSelf || Function(\"return this\")();\nexport {\n  root as default\n};\n","import root from \"./_root.js\";\nvar now = function() {\n  return root.Date.now();\n};\nexport {\n  now as default\n};\n","var reWhitespace = /\\s/;\nfunction trimmedEndIndex(string) {\n  var index = string.length;\n  while (index-- && reWhitespace.test(string.charAt(index))) {\n  }\n  return index;\n}\nexport {\n  trimmedEndIndex as default\n};\n","import trimmedEndIndex from \"./_trimmedEndIndex.js\";\nvar reTrimStart = /^\\s+/;\nfunction baseTrim(string) {\n  return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, \"\") : string;\n}\nexport {\n  baseTrim as default\n};\n","import root from \"./_root.js\";\nvar Symbol$1 = root.Symbol;\nexport {\n  Symbol$1 as default\n};\n","import Symbol$1 from \"./_Symbol.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nvar nativeObjectToString = objectProto.toString;\nvar symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;\nfunction getRawTag(value) {\n  var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];\n  try {\n    value[symToStringTag] = void 0;\n    var unmasked = true;\n  } catch (e) {\n  }\n  var result = nativeObjectToString.call(value);\n  if (unmasked) {\n    if (isOwn) {\n      value[symToStringTag] = tag;\n    } else {\n      delete value[symToStringTag];\n    }\n  }\n  return result;\n}\nexport {\n  getRawTag as default\n};\n","var objectProto = Object.prototype;\nvar nativeObjectToString = objectProto.toString;\nfunction objectToString(value) {\n  return nativeObjectToString.call(value);\n}\nexport {\n  objectToString as default\n};\n","import Symbol$1 from \"./_Symbol.js\";\nimport getRawTag from \"./_getRawTag.js\";\nimport objectToString from \"./_objectToString.js\";\nvar nullTag = \"[object Null]\", undefinedTag = \"[object Undefined]\";\nvar symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;\nfunction baseGetTag(value) {\n  if (value == null) {\n    return value === void 0 ? undefinedTag : nullTag;\n  }\n  return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);\n}\nexport {\n  baseGetTag as default\n};\n","function isObjectLike(value) {\n  return value != null && typeof value == \"object\";\n}\nexport {\n  isObjectLike as default\n};\n","import baseGetTag from \"./_baseGetTag.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar symbolTag = \"[object Symbol]\";\nfunction isSymbol(value) {\n  return typeof value == \"symbol\" || isObjectLike(value) && baseGetTag(value) == symbolTag;\n}\nexport {\n  isSymbol as default\n};\n","import baseTrim from \"./_baseTrim.js\";\nimport isObject from \"./isObject.js\";\nimport isSymbol from \"./isSymbol.js\";\nvar NAN = 0 / 0;\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\nvar reIsBinary = /^0b[01]+$/i;\nvar reIsOctal = /^0o[0-7]+$/i;\nvar freeParseInt = parseInt;\nfunction toNumber(value) {\n  if (typeof value == \"number\") {\n    return value;\n  }\n  if (isSymbol(value)) {\n    return NAN;\n  }\n  if (isObject(value)) {\n    var other = typeof value.valueOf == \"function\" ? value.valueOf() : value;\n    value = isObject(other) ? other + \"\" : other;\n  }\n  if (typeof value != \"string\") {\n    return value === 0 ? value : +value;\n  }\n  value = baseTrim(value);\n  var isBinary = reIsBinary.test(value);\n  return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;\n}\nexport {\n  toNumber as default\n};\n","import isObject from \"./isObject.js\";\nimport now from \"./now.js\";\nimport toNumber from \"./toNumber.js\";\nvar FUNC_ERROR_TEXT = \"Expected a function\";\nvar nativeMax = Math.max, nativeMin = Math.min;\nfunction debounce(func, wait, options) {\n  var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;\n  if (typeof func != \"function\") {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  wait = toNumber(wait) || 0;\n  if (isObject(options)) {\n    leading = !!options.leading;\n    maxing = \"maxWait\" in options;\n    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n    trailing = \"trailing\" in options ? !!options.trailing : trailing;\n  }\n  function invokeFunc(time) {\n    var args = lastArgs, thisArg = lastThis;\n    lastArgs = lastThis = void 0;\n    lastInvokeTime = time;\n    result = func.apply(thisArg, args);\n    return result;\n  }\n  function leadingEdge(time) {\n    lastInvokeTime = time;\n    timerId = setTimeout(timerExpired, wait);\n    return leading ? invokeFunc(time) : result;\n  }\n  function remainingWait(time) {\n    var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;\n    return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;\n  }\n  function shouldInvoke(time) {\n    var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;\n    return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;\n  }\n  function timerExpired() {\n    var time = now();\n    if (shouldInvoke(time)) {\n      return trailingEdge(time);\n    }\n    timerId = setTimeout(timerExpired, remainingWait(time));\n  }\n  function trailingEdge(time) {\n    timerId = void 0;\n    if (trailing && lastArgs) {\n      return invokeFunc(time);\n    }\n    lastArgs = lastThis = void 0;\n    return result;\n  }\n  function cancel() {\n    if (timerId !== void 0) {\n      clearTimeout(timerId);\n    }\n    lastInvokeTime = 0;\n    lastArgs = lastCallTime = lastThis = timerId = void 0;\n  }\n  function flush() {\n    return timerId === void 0 ? result : trailingEdge(now());\n  }\n  function debounced() {\n    var time = now(), isInvoking = shouldInvoke(time);\n    lastArgs = arguments;\n    lastThis = this;\n    lastCallTime = time;\n    if (isInvoking) {\n      if (timerId === void 0) {\n        return leadingEdge(lastCallTime);\n      }\n      if (maxing) {\n        clearTimeout(timerId);\n        timerId = setTimeout(timerExpired, wait);\n        return invokeFunc(lastCallTime);\n      }\n    }\n    if (timerId === void 0) {\n      timerId = setTimeout(timerExpired, wait);\n    }\n    return result;\n  }\n  debounced.cancel = cancel;\n  debounced.flush = flush;\n  return debounced;\n}\nexport {\n  debounce as default\n};\n","var Breakpoint = /* @__PURE__ */ ((Breakpoint2) => {\n  Breakpoint2[\"DESKTOP\"] = \"desktop\";\n  Breakpoint2[\"TABLET\"] = \"tablet\";\n  Breakpoint2[\"MOBILE\"] = \"mobile\";\n  return Breakpoint2;\n})(Breakpoint || {});\nexport {\n  Breakpoint\n};\n","import { ControlType } from \"framer\";\nimport { Breakpoint } from \"../../styles/breakpoint.js\";\nconst BREAKPOINT_CONTROLS = {\n  breakpoint: {\n    type: ControlType.Enum,\n    title: \"분기점\",\n    options: [Breakpoint.DESKTOP, Breakpoint.TABLET, Breakpoint.MOBILE],\n    optionTitles: [\"PC\", \"Tablet\", \"Mobile\"],\n    displaySegmentedControl: true\n  }\n};\nexport {\n  BREAKPOINT_CONTROLS\n};\n","import { ControlType } from \"framer\";\nconst COMPONENT_ID_PROPS = {\n  componentId: {\n    type: ControlType.String,\n    title: \"컴포넌트 ID\",\n    description: \"이벤트 수집 시에 모듈을 구분하기 위한 값\\nex. 29welcoming\",\n    defaultValue: \"\"\n  }\n};\nexport {\n  COMPONENT_ID_PROPS\n};\n","var HeadlineActionType = /* @__PURE__ */ ((HeadlineActionType2) => {\n  HeadlineActionType2[HeadlineActionType2[\"External\"] = 0] = \"External\";\n  HeadlineActionType2[HeadlineActionType2[\"Link\"] = 1] = \"Link\";\n  HeadlineActionType2[HeadlineActionType2[\"Countdown\"] = 2] = \"Countdown\";\n  return HeadlineActionType2;\n})(HeadlineActionType || {});\nvar HeadlinePresetType = /* @__PURE__ */ ((HeadlinePresetType2) => {\n  HeadlinePresetType2[HeadlinePresetType2[\"Default\"] = 0] = \"Default\";\n  HeadlinePresetType2[HeadlinePresetType2[\"Schedule\"] = 1] = \"Schedule\";\n  HeadlinePresetType2[HeadlinePresetType2[\"Link\"] = 2] = \"Link\";\n  return HeadlinePresetType2;\n})(HeadlinePresetType || {});\nvar HeadlineModuleInputType = /* @__PURE__ */ ((HeadlineModuleInputType2) => {\n  HeadlineModuleInputType2[HeadlineModuleInputType2[\"Linked\"] = 0] = \"Linked\";\n  HeadlineModuleInputType2[HeadlineModuleInputType2[\"Manual\"] = 1] = \"Manual\";\n  HeadlineModuleInputType2[HeadlineModuleInputType2[\"Auto\"] = 2] = \"Auto\";\n  return HeadlineModuleInputType2;\n})(HeadlineModuleInputType || {});\nexport {\n  HeadlineActionType,\n  HeadlineModuleInputType,\n  HeadlinePresetType\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useInView } from \"framer-motion\";\nimport { createContext, useRef } from \"react\";\nconst IntersectionContext = createContext({\n  isInView: false\n});\nconst IntersectionProvider = ({\n  children,\n  ...rest\n}) => {\n  const ref = useRef(null);\n  const isInView = useInView(ref, rest);\n  return /* @__PURE__ */ jsx(IntersectionContext.Provider, { value: {\n    isInView\n  }, children: /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    width: \"100%\"\n  }, children }) });\n};\nexport {\n  IntersectionContext,\n  IntersectionProvider\n};\n","import \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"react\";\nimport \"../../apis/framer/FramerApiService.js\";\nimport \"../../config/index.js\";\nimport \"../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport { useFetchUserInfo } from \"../fetchers/useFetchUserInfo.js\";\nconst useCurrentUser = () => {\n  const {\n    user\n  } = useFetchUserInfo();\n  return {\n    userNo: user == null ? void 0 : user.no,\n    logged: (user == null ? void 0 : user.logged) ?? false,\n    gender: user == null ? void 0 : user.gender,\n    /**\n     * @deprecated 쿠키에 이름이 없어 항상 빈 값이다.\n     * 이름이 필요하면 `useCurrentUserName`(/me 보강)을 사용한다.\n     */\n    name: user == null ? void 0 : user.name\n  };\n};\nexport {\n  useCurrentUser\n};\n","import { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { APIService } from \"../APIService.js\";\nimport { env } from \"../../config/index.js\";\nclass UserSegment extends APIService {\n  constructor() {\n    super();\n    this.setMiddleware(throwFailError);\n  }\n  async getUserFirstOrderSegment() {\n    return this.get(`${env.api.content}/api/v4/framers/proxy/display-api/api/v1/user-first-order`, void 0, {\n      credentials: \"include\"\n    });\n  }\n}\nconst userSegmentApi = new UserSegment();\nexport {\n  userSegmentApi\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { userSegmentApi } from \"../../apis/user-segment/UserSegment.js\";\nconst USER_FIRST_ORDER_SEGMENT_FETCHER_KEY = \"user-first-order-segment\";\nconst useUserFirstOrderSegment = (canFetch = true) => {\n  return useSWR(canFetch ? [USER_FIRST_ORDER_SEGMENT_FETCHER_KEY] : null, () => userSegmentApi.getUserFirstOrderSegment());\n};\nexport {\n  useUserFirstOrderSegment\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { categoryFirstOrderApi } from \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nconst CATEGORY_COUPON_FIRST_ORDER_SEGMENT_FETCHER_KEY = \"category-coupon-first-order-segment\";\nconst useCategoryNewBuyerCoupon = (couponId) => {\n  return useSWR(couponId ? [CATEGORY_COUPON_FIRST_ORDER_SEGMENT_FETCHER_KEY, couponId] : null, () => categoryFirstOrderApi.getCategoryCouponFirstOrderSegment(Number(couponId)));\n};\nexport {\n  useCategoryNewBuyerCoupon\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { categoryFirstOrderApi } from \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nconst CATEGORY_FIRST_ORDER_SEGMENT_FETCHER_KEY = \"category-first-order-segment\";\nconst useCategoryNewBuyerProduct = (groupId) => {\n  return useSWR(groupId ? [CATEGORY_FIRST_ORDER_SEGMENT_FETCHER_KEY, groupId] : null, () => categoryFirstOrderApi.getUserFirstOrderSegment(Number(groupId)));\n};\nexport {\n  useCategoryNewBuyerProduct\n};\n","import { useState, useEffect } from \"react\";\nconst useIsMounted = (enabled = true) => {\n  const [isMounted, setIsMounted] = useState(false);\n  useEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    setIsMounted(true);\n  }, [enabled]);\n  return isMounted;\n};\nexport {\n  useIsMounted\n};\n","import { RenderTarget } from \"framer\";\nimport { isServer } from \"../context.js\";\nimport { isContentOrigin } from \"../location.js\";\nconst isFramerPreview = () => !isServer() && RenderTarget.current !== void 0 && RenderTarget.current() === RenderTarget.preview && !isContentOrigin();\nexport {\n  isFramerPreview\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext, useState, useMemo, useContext } from \"react\";\nimport { useCurrentUser } from \"../../../../hooks/code-overrides/useCurrentUser.js\";\nimport { useUserFirstOrderSegment } from \"../../../../hooks/code-overrides/useUserTargetSegment.js\";\nimport { useCategoryNewBuyerCoupon } from \"../../../../hooks/fetchers/useCategoryNewBuyerCoupon.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport { useCategoryNewBuyerProduct } from \"../../../../hooks/fetchers/useCategoryNewBuyerProduct.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport { useIsMounted } from \"../../../../hooks/useIsMounted.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../../utils/framer/isCanvas.js\";\nimport { isFramerPreview } from \"../../../../utils/framer/isFramerPreview.js\";\nconst SegmentContext = createContext(void 0);\nconst SegmentProvider = ({\n  children,\n  segment = []\n}) => {\n  var _a, _b, _c, _d;\n  const groupId = (_b = (_a = segment.filter((seg) => seg.type === \"categoryNewBuyerProduct\")) == null ? void 0 : _a[0]) == null ? void 0 : _b.groupId;\n  const couponId = (_d = (_c = segment.filter((seg) => seg.type === \"categoryNewBuyerCoupon\")) == null ? void 0 : _c[0]) == null ? void 0 : _d.couponId;\n  const [currentSegments] = useState(segment);\n  const isSegmentConfigured = currentSegments.length > 0 && currentSegments.every((seg) => seg.type !== \"\");\n  const isMounted = useIsMounted(isSegmentConfigured);\n  const {\n    logged,\n    gender: userGender\n  } = useCurrentUser();\n  const {\n    data: userSegmentData,\n    isLoading: isUserSegmentLoading\n  } = useUserFirstOrderSegment(logged);\n  const {\n    data: categoryNewBuyerProductData,\n    isLoading: isCategoryNewBuyerProductLoading\n  } = useCategoryNewBuyerProduct(logged && groupId ? groupId : void 0);\n  const {\n    data: categoryNewBuyerCouponData,\n    isLoading: isCategoryNewBuyerCouponLoading\n  } = useCategoryNewBuyerCoupon(logged && couponId ? couponId : void 0);\n  const segmentValues = useMemo(() => {\n    var _a2, _b2, _c2;\n    const isLogin = logged;\n    const guest = !logged;\n    const isNewBuyer = ((_a2 = userSegmentData == null ? void 0 : userSegmentData.data) == null ? void 0 : _a2.isFirstOrder) ?? false;\n    const isCategoryNewBuyerProduct = ((_b2 = categoryNewBuyerProductData == null ? void 0 : categoryNewBuyerProductData.data) == null ? void 0 : _b2.isOrderable) ?? false;\n    const isCategoryNewBuyerCoupon = ((_c2 = categoryNewBuyerCouponData == null ? void 0 : categoryNewBuyerCouponData.data) == null ? void 0 : _c2.isOrderable) ?? false;\n    const isEditing = isCanvas() || isFramerPreview();\n    const isLoadingBySegment = {\n      newBuyer: isUserSegmentLoading,\n      categoryNewBuyerProduct: isCategoryNewBuyerProductLoading,\n      categoryNewBuyerCoupon: isCategoryNewBuyerCouponLoading\n    };\n    const isPending = () => {\n      if (!isSegmentConfigured) {\n        return false;\n      }\n      if (!isMounted) {\n        return true;\n      }\n      if (isEditing) {\n        return false;\n      }\n      return currentSegments.some((seg) => isLoadingBySegment[seg.type] ?? false);\n    };\n    const isVisible = () => {\n      if (!isSegmentConfigured) {\n        return true;\n      }\n      return currentSegments.every((seg) => {\n        switch (seg.type) {\n          case \"login\":\n            return isLogin;\n          case \"guest\":\n            return guest;\n          case \"newBuyer\":\n            return !logged ? true : isNewBuyer;\n          case \"categoryNewBuyerProduct\":\n            return !logged ? true : isCategoryNewBuyerProduct;\n          case \"categoryNewBuyerCoupon\":\n            return !logged ? true : isCategoryNewBuyerCoupon;\n          case \"gender\": {\n            if (!seg.gender) {\n              return false;\n            }\n            return !logged ? true : userGender !== null && userGender === seg.gender;\n          }\n          default:\n            return false;\n        }\n      });\n    };\n    return {\n      loading: isUserSegmentLoading || isCategoryNewBuyerProductLoading || isCategoryNewBuyerCouponLoading,\n      isPending: isPending(),\n      isLogin,\n      guest,\n      isNewBuyer,\n      isCategoryNewBuyerProduct,\n      isCategoryNewBuyerCoupon,\n      isVisible: isEditing || isVisible()\n    };\n  }, [isSegmentConfigured, isMounted, logged, userGender, userSegmentData, isUserSegmentLoading, currentSegments, categoryNewBuyerProductData, categoryNewBuyerCouponData, isCategoryNewBuyerProductLoading, isCategoryNewBuyerCouponLoading]);\n  return /* @__PURE__ */ jsx(SegmentContext.Provider, { value: {\n    ...segmentValues,\n    segments: currentSegments\n  }, children });\n};\nconst useSegment = () => {\n  const context = useContext(SegmentContext);\n  if (context === void 0) {\n    throw new Error(\"useSegment must be used within a SegmentProvider\");\n  }\n  return context;\n};\nexport {\n  SegmentProvider,\n  useSegment\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { BreakpointProvider } from \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport { useRef, useEffect, useMemo } from \"react\";\nimport { ThemeProvider } from \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport { IntersectionProvider } from \"../IntersectionProvider/IntersectionProvider.js\";\nimport { useEventTrackingContext } from \"../EventTrackingProvider/EventTrackingProvider.hooks.js\";\nimport { EventTrackingProvider } from \"../EventTrackingProvider/EventTrackingProvider.js\";\nimport { SWRConfig } from \"../../../../node_modules/swr/core/dist/index.js\";\nimport { SegmentProvider, useSegment } from \"../../../@shared/providers/SegmentProvider/SegmentProvider.js\";\nimport { useComponentTimingContext, ComponentTimingContext } from \"../../../../hooks/beacon/ComponentTimingContext.js\";\nconst SegmentGatedTimingProvider = ({\n  children\n}) => {\n  const outer = useComponentTimingContext();\n  const {\n    isVisible,\n    isPending\n  } = useSegment();\n  const deferred = useRef({\n    visible: false,\n    ready: false,\n    failed: []\n  });\n  const isOpen = !isPending && isVisible;\n  const latest = useRef({\n    outer,\n    isOpen,\n    isPending\n  });\n  latest.current = {\n    outer,\n    isOpen,\n    isPending\n  };\n  useEffect(() => {\n    if (isPending) {\n      return;\n    }\n    const pending = deferred.current;\n    deferred.current = {\n      visible: false,\n      ready: false,\n      failed: []\n    };\n    if (!isVisible) {\n      return;\n    }\n    if (pending.visible) {\n      outer.markVisible();\n    }\n    if (pending.ready) {\n      outer.markReady();\n    }\n    pending.failed.forEach((error) => outer.markFailed(error));\n  }, [isPending, isVisible, outer]);\n  const value = useMemo(() => ({\n    markVisible: () => {\n      const {\n        outer: current,\n        isOpen: open,\n        isPending: pending\n      } = latest.current;\n      if (open) {\n        current.markVisible();\n      } else if (pending) {\n        deferred.current.visible = true;\n      }\n    },\n    markReady: () => {\n      const {\n        outer: current,\n        isOpen: open,\n        isPending: pending\n      } = latest.current;\n      if (open) {\n        current.markReady();\n      } else if (pending) {\n        deferred.current.ready = true;\n      }\n    },\n    markFailed: (error) => {\n      const {\n        outer: current,\n        isOpen: open,\n        isPending: pending\n      } = latest.current;\n      if (open) {\n        current.markFailed(error);\n      } else if (pending) {\n        deferred.current.failed.push(error);\n      }\n    }\n  }), []);\n  return /* @__PURE__ */ jsx(ComponentTimingContext.Provider, { value, children });\n};\nconst SectionVisibleMark = ({\n  onVisible\n}) => {\n  const {\n    isSectionVisible\n  } = useEventTrackingContext();\n  const {\n    isVisible,\n    isPending\n  } = useSegment();\n  const fired = useRef(false);\n  useEffect(() => {\n    if (fired.current || !isSectionVisible || isPending || !isVisible) {\n      return;\n    }\n    fired.current = true;\n    onVisible();\n  }, [isSectionVisible, isPending, isVisible]);\n  return null;\n};\nconst SectionLayout = ({\n  children,\n  theme = \"light\",\n  breakpoint = \"mobile\",\n  componentId,\n  intersectionOptions,\n  segment,\n  onVisible\n}) => {\n  return /* @__PURE__ */ jsx(ThemeProvider, { theme, children: /* @__PURE__ */ jsx(BreakpointProvider, { breakpoint, children: /* @__PURE__ */ jsx(IntersectionProvider, { once: true, margin: \"200px 0px\", ...intersectionOptions, children: /* @__PURE__ */ jsx(EventTrackingProvider, { componentId, children: /* @__PURE__ */ jsx(SWRConfig, { value: {\n    revalidateIfStale: false,\n    revalidateOnFocus: false,\n    revalidateOnReconnect: false,\n    errorRetryCount: 1\n  }, children: /* @__PURE__ */ jsxs(SegmentProvider, { segment, children: [\n    onVisible && /* @__PURE__ */ jsx(SectionVisibleMark, { onVisible }),\n    /* @__PURE__ */ jsx(SegmentGatedTimingProvider, { children })\n  ] }) }) }) }) }) });\n};\nexport {\n  SectionLayout\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef } from \"react\";\nconst HeadlineContext = createContext(null);\nconst Root = forwardRef(({\n  children,\n  style,\n  priority = \"primary\",\n  loading = false,\n  ...rest\n}, ref) => {\n  return /* @__PURE__ */ jsx(HeadlineContext.Provider, { value: {\n    priority,\n    loading\n  }, children: /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...style\n  }, children }) });\n});\nconst containerStyle = {\n  position: \"relative\",\n  width: \"100%\"\n};\nexport {\n  HeadlineContext,\n  Root\n};\n","const HEADLINE_MEDIA_MAX_WIDTH = 1080;\nexport {\n  HEADLINE_MEDIA_MAX_WIDTH\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { mediaBuilder } from \"../../../../utils/mediaBuilder.js\";\nimport { HEADLINE_MEDIA_MAX_WIDTH } from \"./Root.constants.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nconst Image = forwardRef(({\n  source,\n  lazy = true\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  if (!source) {\n    return null;\n  }\n  const result = mediaBuilder(source);\n  return /* @__PURE__ */ jsx(\"img\", { ref, style: {\n    ...containerStyle,\n    ...containerStyleByBreakpoint[breakpoint]\n  }, loading: lazy ? \"lazy\" : \"eager\", sizes: \"100vw\", srcSet: result.getSrcSet(), src: result.getSrc(), alt: \"\", \"data-headline-media\": \"true\" });\n});\nconst containerStyle = {\n  width: \"100%\",\n  maxWidth: HEADLINE_MEDIA_MAX_WIDTH,\n  objectFit: \"cover\"\n};\nconst containerStyleByBreakpoint = {\n  desktop: {\n    aspectRatio: \"3 / 1\"\n  },\n  tablet: {\n    aspectRatio: \"16 / 9\"\n  },\n  mobile: {\n    aspectRatio: \"16 / 9\"\n  }\n};\nexport {\n  Image\n};\n","import { useState, useEffect } from \"react\";\nconst usePageVisibility = () => {\n  const [visibility, setVisibility] = useState(true);\n  useEffect(() => {\n    const handler = () => {\n      setVisibility(!document.hidden);\n    };\n    document.addEventListener(\"visibilitychange\", handler);\n    return () => document.removeEventListener(\"visibilitychange\", handler);\n  }, []);\n  return visibility;\n};\nexport {\n  usePageVisibility\n};\n","import { useLayoutEffect, useEffect } from \"react\";\nimport { isServer } from \"../../utils/context.js\";\nconst useIsomorphicLayoutEffect = isServer() ? useLayoutEffect : useEffect;\nexport {\n  useIsomorphicLayoutEffect\n};\n","import { useRef, useCallback } from \"react\";\nimport { useIsomorphicLayoutEffect } from \"./react/useIsomorphicLayoutEffect.js\";\nfunction useEventCallback(fn) {\n  const ref = useRef(() => {\n    throw new Error(\"Cannot call an event handler while rendering.\");\n  });\n  useIsomorphicLayoutEffect(() => {\n    ref.current = fn;\n  }, [fn]);\n  return useCallback((...args) => ref.current(...args), [ref]);\n}\nexport {\n  useEventCallback\n};\n","import { useEffect } from \"react\";\nimport { useEventCallback } from \"./useEventCallback.js\";\nconst useReceiveMessage = (type, _callback) => {\n  const callback = useEventCallback(_callback);\n  useEffect(() => {\n    const handleCallback = (e) => {\n      if (e.data.type !== type) {\n        return;\n      }\n      callback(e.data.payload);\n    };\n    window.addEventListener(\"message\", handleCallback, false);\n    return () => {\n      window.removeEventListener(\"message\", handleCallback, false);\n    };\n  }, [type, callback]);\n};\nexport {\n  useReceiveMessage\n};\n","import { useInView } from \"framer-motion\";\nimport { useRef, useState, useCallback, useEffect } from \"react\";\nimport { usePageVisibility } from \"./usePageVisibility.js\";\nimport { useReceiveMessage } from \"./useReceiveMessage.js\";\nconst useVideoVisibility = () => {\n  const videoRef = useRef(null);\n  const isInView = useInView(videoRef);\n  const isPageVisible = usePageVisibility();\n  const [isWindowFocused, setIsWindowFocused] = useState(true);\n  const [shouldLoadSources, setShouldLoadSources] = useState(false);\n  const handleWindowFocusMessage = useCallback((payload) => {\n    setIsWindowFocused(payload.value.toString() === \"true\");\n  }, []);\n  useReceiveMessage(\"isWindowFocused\", handleWindowFocusMessage);\n  useEffect(() => {\n    if (isInView && !shouldLoadSources) {\n      setShouldLoadSources(true);\n    }\n  }, [isInView, shouldLoadSources]);\n  useEffect(() => {\n    var _a;\n    if (!videoRef.current) {\n      return;\n    }\n    if (document.visibilityState === \"hidden\") {\n      videoRef.current.pause();\n      return;\n    }\n    if (!isWindowFocused) {\n      videoRef.current.pause();\n      return;\n    }\n    if (isInView) {\n      (_a = videoRef.current) == null ? void 0 : _a.play().catch(() => {\n      });\n    } else {\n      videoRef.current.pause();\n    }\n  }, [isInView, isPageVisible, isWindowFocused]);\n  return {\n    videoRef,\n    isInView,\n    shouldLoadSources\n  };\n};\nexport {\n  useVideoVisibility\n};\n","function mergeRefs(refs) {\n  return (value) => {\n    refs.forEach((ref) => {\n      if (typeof ref === \"function\") {\n        ref(value);\n      } else if (ref != null) {\n        ref.current = value;\n      }\n    });\n  };\n}\nexport {\n  mergeRefs\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useMemo, useRef } from \"react\";\nimport { useInView } from \"framer-motion\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport { useVideoVisibility } from \"../../../../hooks/useVideoVisibility.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { mergeRefs } from \"../../../../utils/react/mergeRefs.js\";\nimport { querify } from \"../../../../utils/querify.js\";\nimport { HEADLINE_MEDIA_MAX_WIDTH } from \"./Root.constants.js\";\nconst VideoInner = forwardRef(({\n  poster,\n  source,\n  sourceWebm\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const {\n    videoRef\n  } = useVideoVisibility();\n  const query = useMemo(() => querify({\n    width: posterWidthByBreakpoint[breakpoint],\n    q: 90\n  }), [breakpoint]);\n  const media = mediaByBreakpoint[breakpoint];\n  return /* @__PURE__ */ jsxs(\"video\", { ref: mergeRefs([ref, videoRef]), style: {\n    ...containerStyle,\n    ...containerStyleByBreakpoint[breakpoint]\n  }, poster: poster !== void 0 ? `${poster}?${query}` : void 0, playsInline: true, muted: true, loop: true, preload: \"metadata\", \"data-headline-media\": \"true\", children: [\n    sourceWebm ? /* @__PURE__ */ jsx(\"source\", { type: \"video/webm\", src: sourceWebm, media }) : null,\n    /* @__PURE__ */ jsx(\"source\", { type: \"video/mp4\", src: source, media })\n  ] });\n});\nconst Video = forwardRef(({\n  poster,\n  source,\n  sourceWebm,\n  lazy = true\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const fallbackRef = useRef(null);\n  const isInView = useInView(fallbackRef, {\n    margin: \"400px 0px\",\n    once: true\n  });\n  if (!source) {\n    return null;\n  }\n  if (lazy && !isInView) {\n    return /* @__PURE__ */ jsx(\"div\", { ref: fallbackRef, style: {\n      ...containerStyle,\n      ...containerStyleByBreakpoint[breakpoint]\n    }, \"data-headline-media\": \"true\" });\n  }\n  return /* @__PURE__ */ jsx(VideoInner, { ref, poster, source, sourceWebm });\n});\nconst containerStyle = {\n  width: \"100%\",\n  maxWidth: HEADLINE_MEDIA_MAX_WIDTH,\n  objectFit: \"cover\"\n};\nconst containerStyleByBreakpoint = {\n  desktop: {\n    aspectRatio: \"3 / 1\"\n  },\n  tablet: {\n    aspectRatio: \"16 / 9\"\n  },\n  mobile: {\n    aspectRatio: \"16 / 9\"\n  }\n};\nconst posterWidthByBreakpoint = {\n  desktop: void 0,\n  tablet: 1440,\n  mobile: 1024\n};\nconst mediaByBreakpoint = {\n  desktop: \"(min-width: 1025px)\",\n  tablet: \"(min-width: 541px)\",\n  mobile: void 0\n};\nexport {\n  Video\n};\n","import { useContext } from \"react\";\nimport { HeadlineContext } from \"./Root.js\";\nconst useHeadlineContext = () => {\n  const context = useContext(HeadlineContext);\n  if (!context) {\n    throw new Error(\"useHeadlineContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useHeadlineContext\n};\n","var ComponentName = /* @__PURE__ */ ((ComponentName2) => {\n  ComponentName2[\"TabBar\"] = \"tab-bar\";\n  ComponentName2[\"TabBarItem\"] = \"tab-bar__item\";\n  ComponentName2[\"TabBarV4\"] = \"tab-bar-v4\";\n  ComponentName2[\"TabBarV4Item\"] = \"tab-bar-v4__item\";\n  ComponentName2[\"KeywordCollectionCoupon\"] = \"keyword-collection__coupon\";\n  ComponentName2[\"FoldableListRoot\"] = \"foldable-list__root\";\n  ComponentName2[\"FoldableListTrigger\"] = \"foldable-list__trigger\";\n  ComponentName2[\"FoldableListContent\"] = \"foldable-list__content\";\n  ComponentName2[\"FoldableListItem\"] = \"foldable-list__item\";\n  ComponentName2[\"ProductsLayout\"] = \"products-layout\";\n  ComponentName2[\"CurationProducts\"] = \"curation-products\";\n  ComponentName2[\"EngagerView\"] = \"engager-view\";\n  ComponentName2[\"ShareSection\"] = \"share-section\";\n  ComponentName2[\"ShareSectionShareButton\"] = \"share-section__button\";\n  ComponentName2[\"InstagramStoryDialog\"] = \"instagram-story-dialog\";\n  ComponentName2[\"SurveySteps\"] = \"survey-steps\";\n  ComponentName2[\"SurveyCoverStep\"] = \"survey-steps__cover-step\";\n  ComponentName2[\"SurveyQuestionStep\"] = \"survey-steps__question-step\";\n  ComponentName2[\"SurveyProgressBar\"] = \"survey-steps__progress-bar\";\n  ComponentName2[\"SurveyHeader\"] = \"survey-header\";\n  ComponentName2[\"SurveyResult\"] = \"survey-result\";\n  ComponentName2[\"TopNavigation\"] = \"top-navigation\";\n  ComponentName2[\"HeadlineContent\"] = \"headline-content\";\n  ComponentName2[\"Notification\"] = \"notification\";\n  ComponentName2[\"ProductsVerticalList\"] = \"products__vertical-list\";\n  ComponentName2[\"Composition\"] = \"composition\";\n  ComponentName2[\"TimeSaleCollection\"] = \"time-sale-collection\";\n  ComponentName2[\"TimeSaleCollectionTimer\"] = \"time-sale-collection__timer\";\n  ComponentName2[\"TimeSaleCollectionTags\"] = \"time-sale-collection__tags\";\n  ComponentName2[\"TimeSaleCollectionProducts\"] = \"time-sale-collection__products\";\n  ComponentName2[\"ButtonTimeSaleView\"] = \"time-sale-collection__view-button\";\n  ComponentName2[\"RecommendedProductCuration\"] = \"recommended-product-curation\";\n  return ComponentName2;\n})(ComponentName || {});\nexport {\n  ComponentName\n};\n","var MS = \"-ms-\";\nvar MOZ = \"-moz-\";\nvar WEBKIT = \"-webkit-\";\nvar COMMENT = \"comm\";\nvar RULESET = \"rule\";\nvar DECLARATION = \"decl\";\nvar IMPORT = \"@import\";\nvar KEYFRAMES = \"@keyframes\";\nvar LAYER = \"@layer\";\nexport {\n  COMMENT,\n  DECLARATION,\n  IMPORT,\n  KEYFRAMES,\n  LAYER,\n  MOZ,\n  MS,\n  RULESET,\n  WEBKIT\n};\n","var abs = Math.abs;\nvar from = String.fromCharCode;\nvar assign = Object.assign;\nfunction hash(value, length) {\n  return charat(value, 0) ^ 45 ? (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;\n}\nfunction trim(value) {\n  return value.trim();\n}\nfunction match(value, pattern) {\n  return (value = pattern.exec(value)) ? value[0] : value;\n}\nfunction replace(value, pattern, replacement) {\n  return value.replace(pattern, replacement);\n}\nfunction indexof(value, search, position) {\n  return value.indexOf(search, position);\n}\nfunction charat(value, index) {\n  return value.charCodeAt(index) | 0;\n}\nfunction substr(value, begin, end) {\n  return value.slice(begin, end);\n}\nfunction strlen(value) {\n  return value.length;\n}\nfunction sizeof(value) {\n  return value.length;\n}\nfunction append(value, array) {\n  return array.push(value), value;\n}\nfunction combine(array, callback) {\n  return array.map(callback).join(\"\");\n}\nfunction filter(array, pattern) {\n  return array.filter(function(value) {\n    return !match(value, pattern);\n  });\n}\nexport {\n  abs,\n  append,\n  assign,\n  charat,\n  combine,\n  filter,\n  from,\n  hash,\n  indexof,\n  match,\n  replace,\n  sizeof,\n  strlen,\n  substr,\n  trim\n};\n","import { charat, strlen, trim, from, assign, substr, append } from \"./Utility.js\";\nvar line = 1;\nvar column = 1;\nvar length = 0;\nvar position = 0;\nvar character = 0;\nvar characters = \"\";\nfunction node(value, root, parent, type, props, children, length2, siblings) {\n  return { value, root, parent, type, props, children, line, column, length: length2, return: \"\", siblings };\n}\nfunction copy(root, props) {\n  return assign(node(\"\", null, null, \"\", null, null, 0, root.siblings), root, { length: -root.length }, props);\n}\nfunction lift(root) {\n  while (root.root)\n    root = copy(root.root, { children: [root] });\n  append(root, root.siblings);\n}\nfunction char() {\n  return character;\n}\nfunction prev() {\n  character = position > 0 ? charat(characters, --position) : 0;\n  if (column--, character === 10)\n    column = 1, line--;\n  return character;\n}\nfunction next() {\n  character = position < length ? charat(characters, position++) : 0;\n  if (column++, character === 10)\n    column = 1, line++;\n  return character;\n}\nfunction peek() {\n  return charat(characters, position);\n}\nfunction caret() {\n  return position;\n}\nfunction slice(begin, end) {\n  return substr(characters, begin, end);\n}\nfunction token(type) {\n  switch (type) {\n    case 0:\n    case 9:\n    case 10:\n    case 13:\n    case 32:\n      return 5;\n    case 33:\n    case 43:\n    case 44:\n    case 47:\n    case 62:\n    case 64:\n    case 126:\n    case 59:\n    case 123:\n    case 125:\n      return 4;\n    case 58:\n      return 3;\n    case 34:\n    case 39:\n    case 40:\n    case 91:\n      return 2;\n    case 41:\n    case 93:\n      return 1;\n  }\n  return 0;\n}\nfunction alloc(value) {\n  return line = column = 1, length = strlen(characters = value), position = 0, [];\n}\nfunction dealloc(value) {\n  return characters = \"\", value;\n}\nfunction delimit(type) {\n  return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));\n}\nfunction whitespace(type) {\n  while (character = peek())\n    if (character < 33)\n      next();\n    else\n      break;\n  return token(type) > 2 || token(character) > 3 ? \"\" : \" \";\n}\nfunction escaping(index, count) {\n  while (--count && next())\n    if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)\n      break;\n  return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));\n}\nfunction delimiter(type) {\n  while (next())\n    switch (character) {\n      case type:\n        return position;\n      case 34:\n      case 39:\n        if (type !== 34 && type !== 39)\n          delimiter(character);\n        break;\n      case 40:\n        if (type === 41)\n          delimiter(type);\n        break;\n      case 92:\n        next();\n        break;\n    }\n  return position;\n}\nfunction commenter(type, index) {\n  while (next())\n    if (type + character === 47 + 10)\n      break;\n    else if (type + character === 42 + 42 && peek() === 47)\n      break;\n  return \"/*\" + slice(index, position - 1) + \"*\" + from(type === 47 ? type : next());\n}\nfunction identifier(index) {\n  while (!token(peek()))\n    next();\n  return slice(index, position);\n}\nexport {\n  alloc,\n  caret,\n  char,\n  character,\n  characters,\n  column,\n  commenter,\n  copy,\n  dealloc,\n  delimit,\n  delimiter,\n  escaping,\n  identifier,\n  length,\n  lift,\n  line,\n  next,\n  node,\n  peek,\n  position,\n  prev,\n  slice,\n  token,\n  whitespace\n};\n","import { COMMENT, DECLARATION, RULESET } from \"./Enum.js\";\nimport { strlen, append, charat, replace, indexof, abs, sizeof, substr, trim, from } from \"./Utility.js\";\nimport { dealloc, alloc, next, peek, delimit, identifier, commenter, escaping, whitespace, node, char, prev, caret } from \"./Tokenizer.js\";\nfunction compile(value) {\n  return dealloc(parse(\"\", null, null, null, [\"\"], value = alloc(value), 0, [0], value));\n}\nfunction parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n  var index = 0;\n  var offset = 0;\n  var length = pseudo;\n  var atrule = 0;\n  var property = 0;\n  var previous = 0;\n  var variable = 1;\n  var scanning = 1;\n  var ampersand = 1;\n  var character = 0;\n  var type = \"\";\n  var props = rules;\n  var children = rulesets;\n  var reference = rule;\n  var characters = type;\n  while (scanning)\n    switch (previous = character, character = next()) {\n      case 40:\n        if (previous != 108 && charat(characters, length - 1) == 58) {\n          if (indexof(characters += replace(delimit(character), \"&\", \"&\\f\"), \"&\\f\", abs(index ? points[index - 1] : 0)) != -1)\n            ampersand = -1;\n          break;\n        }\n      case 34:\n      case 39:\n      case 91:\n        characters += delimit(character);\n        break;\n      case 9:\n      case 10:\n      case 13:\n      case 32:\n        characters += whitespace(previous);\n        break;\n      case 92:\n        characters += escaping(caret() - 1, 7);\n        continue;\n      case 47:\n        switch (peek()) {\n          case 42:\n          case 47:\n            append(comment(commenter(next(), caret()), root, parent, declarations), declarations);\n            break;\n          default:\n            characters += \"/\";\n        }\n        break;\n      case 123 * variable:\n        points[index++] = strlen(characters) * ampersand;\n      case 125 * variable:\n      case 59:\n      case 0:\n        switch (character) {\n          case 0:\n          case 125:\n            scanning = 0;\n          case 59 + offset:\n            if (ampersand == -1)\n              characters = replace(characters, /\\f/g, \"\");\n            if (property > 0 && strlen(characters) - length)\n              append(property > 32 ? declaration(characters + \";\", rule, parent, length - 1, declarations) : declaration(replace(characters, \" \", \"\") + \";\", rule, parent, length - 2, declarations), declarations);\n            break;\n          case 59:\n            characters += \";\";\n          default:\n            append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets);\n            if (character === 123)\n              if (offset === 0)\n                parse(characters, root, reference, reference, props, rulesets, length, points, children);\n              else\n                switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n                  case 100:\n                  case 108:\n                  case 109:\n                  case 115:\n                    parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children);\n                    break;\n                  default:\n                    parse(characters, reference, reference, reference, [\"\"], children, 0, points, children);\n                }\n        }\n        index = offset = property = 0, variable = ampersand = 1, type = characters = \"\", length = pseudo;\n        break;\n      case 58:\n        length = 1 + strlen(characters), property = previous;\n      default:\n        if (variable < 1) {\n          if (character == 123)\n            --variable;\n          else if (character == 125 && variable++ == 0 && prev() == 125)\n            continue;\n        }\n        switch (characters += from(character), character * variable) {\n          case 38:\n            ampersand = offset > 0 ? 1 : (characters += \"\\f\", -1);\n            break;\n          case 44:\n            points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;\n            break;\n          case 64:\n            if (peek() === 45)\n              characters += delimit(next());\n            atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;\n            break;\n          case 45:\n            if (previous === 45 && strlen(characters) == 2)\n              variable = 0;\n        }\n    }\n  return rulesets;\n}\nfunction ruleset(value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n  var post = offset - 1;\n  var rule = offset === 0 ? rules : [\"\"];\n  var size = sizeof(rule);\n  for (var i = 0, j = 0, k = 0; i < index; ++i)\n    for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n      if (z = trim(j > 0 ? rule[x] + \" \" + y : replace(y, /&\\f/g, rule[x])))\n        props[k++] = z;\n  return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings);\n}\nfunction comment(value, root, parent, siblings) {\n  return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings);\n}\nfunction declaration(value, root, parent, length, siblings) {\n  return node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings);\n}\nexport {\n  comment,\n  compile,\n  declaration,\n  parse,\n  ruleset\n};\n","import { RULESET, KEYFRAMES, COMMENT, DECLARATION, IMPORT, LAYER } from \"./Enum.js\";\nimport { strlen } from \"./Utility.js\";\nfunction serialize(children, callback) {\n  var output = \"\";\n  for (var i = 0; i < children.length; i++)\n    output += callback(children[i], i, children, callback) || \"\";\n  return output;\n}\nfunction stringify(element, index, children, callback) {\n  switch (element.type) {\n    case LAYER:\n      if (element.children.length)\n        break;\n    case IMPORT:\n    case DECLARATION:\n      return element.return = element.return || element.value;\n    case COMMENT:\n      return \"\";\n    case KEYFRAMES:\n      return element.return = element.value + \"{\" + serialize(element.children, callback) + \"}\";\n    case RULESET:\n      if (!strlen(element.value = element.props.join(\",\")))\n        return \"\";\n  }\n  return strlen(children = serialize(element.children, callback)) ? element.return = element.value + \"{\" + children + \"}\" : \"\";\n}\nexport {\n  serialize,\n  stringify\n};\n","import { MS, WEBKIT, MOZ } from \"./Enum.js\";\nimport { hash, replace, charat, strlen, indexof, match, substr } from \"./Utility.js\";\nfunction prefix(value, length, children) {\n  switch (hash(value, length)) {\n    case 5103:\n      return WEBKIT + \"print-\" + value + value;\n    case 5737:\n    case 4201:\n    case 3177:\n    case 3433:\n    case 1641:\n    case 4457:\n    case 2921:\n    case 5572:\n    case 6356:\n    case 5844:\n    case 3191:\n    case 6645:\n    case 3005:\n    case 6391:\n    case 5879:\n    case 5623:\n    case 6135:\n    case 4599:\n    case 4855:\n    case 4215:\n    case 6389:\n    case 5109:\n    case 5365:\n    case 5621:\n    case 3829:\n      return WEBKIT + value + value;\n    case 4789:\n      return MOZ + value + value;\n    case 5349:\n    case 4246:\n    case 4810:\n    case 6968:\n    case 2756:\n      return WEBKIT + value + MOZ + value + MS + value + value;\n    case 5936:\n      switch (charat(value, length + 11)) {\n        case 114:\n          return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, \"tb\") + value;\n        case 108:\n          return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, \"tb-rl\") + value;\n        case 45:\n          return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, \"lr\") + value;\n      }\n    case 6828:\n    case 4268:\n    case 2903:\n      return WEBKIT + value + MS + value + value;\n    case 6165:\n      return WEBKIT + value + MS + \"flex-\" + value + value;\n    case 5187:\n      return WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + \"box-$1$2\" + MS + \"flex-$1$2\") + value;\n    case 5443:\n      return WEBKIT + value + MS + \"flex-item-\" + replace(value, /flex-|-self/g, \"\") + (!match(value, /flex-|baseline/) ? MS + \"grid-row-\" + replace(value, /flex-|-self/g, \"\") : \"\") + value;\n    case 4675:\n      return WEBKIT + value + MS + \"flex-line-pack\" + replace(value, /align-content|flex-|-self/g, \"\") + value;\n    case 5548:\n      return WEBKIT + value + MS + replace(value, \"shrink\", \"negative\") + value;\n    case 5292:\n      return WEBKIT + value + MS + replace(value, \"basis\", \"preferred-size\") + value;\n    case 6060:\n      return WEBKIT + \"box-\" + replace(value, \"-grow\", \"\") + WEBKIT + value + MS + replace(value, \"grow\", \"positive\") + value;\n    case 4554:\n      return WEBKIT + replace(value, /([^-])(transform)/g, \"$1\" + WEBKIT + \"$2\") + value;\n    case 6187:\n      return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + \"$1\"), /(image-set)/, WEBKIT + \"$1\"), value, \"\") + value;\n    case 5495:\n    case 3959:\n      return replace(value, /(image-set\\([^]*)/, WEBKIT + \"$1$`$1\");\n    case 4968:\n      return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + \"box-pack:$3\" + MS + \"flex-pack:$3\"), /s.+-b[^;]+/, \"justify\") + WEBKIT + value + value;\n    case 4200:\n      if (!match(value, /flex-|baseline/))\n        return MS + \"grid-column-align\" + substr(value, length) + value;\n      break;\n    case 2592:\n    case 3360:\n      return MS + replace(value, \"template-\", \"\") + value;\n    case 4384:\n    case 3616:\n      if (children && children.some(function(element, index) {\n        return length = index, match(element.props, /grid-\\w+-end/);\n      })) {\n        return ~indexof(value + (children = children[length].value), \"span\", 0) ? value : MS + replace(value, \"-start\", \"\") + value + MS + \"grid-row-span:\" + (~indexof(children, \"span\", 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + \";\";\n      }\n      return MS + replace(value, \"-start\", \"\") + value;\n    case 4896:\n    case 4128:\n      return children && children.some(function(element) {\n        return match(element.props, /grid-\\w+-start/);\n      }) ? value : MS + replace(replace(value, \"-end\", \"-span\"), \"span \", \"\") + value;\n    case 4095:\n    case 3583:\n    case 4068:\n    case 2532:\n      return replace(value, /(.+)-inline(.+)/, WEBKIT + \"$1$2\") + value;\n    case 8116:\n    case 7059:\n    case 5753:\n    case 5535:\n    case 5445:\n    case 5701:\n    case 4933:\n    case 4677:\n    case 5533:\n    case 5789:\n    case 5021:\n    case 4765:\n      if (strlen(value) - 1 - length > 6)\n        switch (charat(value, length + 1)) {\n          case 109:\n            if (charat(value, length + 4) !== 45)\n              break;\n          case 102:\n            return replace(value, /(.+:)(.+)-([^]+)/, \"$1\" + WEBKIT + \"$2-$3$1\" + MOZ + (charat(value, length + 3) == 108 ? \"$3\" : \"$2-$3\")) + value;\n          case 115:\n            return ~indexof(value, \"stretch\", 0) ? prefix(replace(value, \"stretch\", \"fill-available\"), length, children) + value : value;\n        }\n      break;\n    case 5152:\n    case 5920:\n      return replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function(_, a, b, c, d, e, f) {\n        return MS + a + \":\" + b + f + (c ? MS + a + \"-span:\" + (d ? e : +e - +b) + f : \"\") + value;\n      });\n    case 4949:\n      if (charat(value, length + 6) === 121)\n        return replace(value, \":\", \":\" + WEBKIT) + value;\n      break;\n    case 6444:\n      switch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n        case 120:\n          return replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, \"$1\" + WEBKIT + (charat(value, 14) === 45 ? \"inline-\" : \"\") + \"box$3$1\" + WEBKIT + \"$2$3$1\" + MS + \"$2box$3\") + value;\n        case 100:\n          return replace(value, \":\", \":\" + MS) + value;\n      }\n      break;\n    case 5719:\n    case 2647:\n    case 2135:\n    case 3927:\n    case 2391:\n      return replace(value, \"scroll-\", \"scroll-snap-\") + value;\n  }\n  return value;\n}\nexport {\n  prefix\n};\n","import { RULESET, KEYFRAMES, WEBKIT, DECLARATION, MOZ, MS } from \"./Enum.js\";\nimport { sizeof, combine, replace, match, assign, filter } from \"./Utility.js\";\nimport { copy, lift } from \"./Tokenizer.js\";\nimport { serialize } from \"./Serializer.js\";\nimport { prefix } from \"./Prefixer.js\";\nfunction middleware(collection) {\n  var length = sizeof(collection);\n  return function(element, index, children, callback) {\n    var output = \"\";\n    for (var i = 0; i < length; i++)\n      output += collection[i](element, index, children, callback) || \"\";\n    return output;\n  };\n}\nfunction prefixer(element, index, children, callback) {\n  if (element.length > -1) {\n    if (!element.return)\n      switch (element.type) {\n        case DECLARATION:\n          element.return = prefix(element.value, element.length, children);\n          return;\n        case KEYFRAMES:\n          return serialize([copy(element, { value: replace(element.value, \"@\", \"@\" + WEBKIT) })], callback);\n        case RULESET:\n          if (element.length)\n            return combine(children = element.props, function(value) {\n              switch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n                case \":read-only\":\n                case \":read-write\":\n                  lift(copy(element, { props: [replace(value, /:(read-\\w+)/, \":\" + MOZ + \"$1\")] }));\n                  lift(copy(element, { props: [value] }));\n                  assign(element, { props: filter(children, callback) });\n                  break;\n                case \"::placeholder\":\n                  lift(copy(element, { props: [replace(value, /:(plac\\w+)/, \":\" + WEBKIT + \"input-$1\")] }));\n                  lift(copy(element, { props: [replace(value, /:(plac\\w+)/, \":\" + MOZ + \"$1\")] }));\n                  lift(copy(element, { props: [replace(value, /:(plac\\w+)/, MS + \"input-$1\")] }));\n                  lift(copy(element, { props: [value] }));\n                  assign(element, { props: filter(children, callback) });\n                  break;\n              }\n              return \"\";\n            });\n      }\n  }\n}\nexport {\n  middleware,\n  prefixer\n};\n","import { withCSS } from \"framer\";\nimport { compile } from \"../node_modules/stylis/src/Parser.js\";\nimport { serialize, stringify } from \"../node_modules/stylis/src/Serializer.js\";\nimport { middleware, prefixer } from \"../node_modules/stylis/src/Middleware.js\";\nconst getClassName = (componentName, styleName) => `${componentName}-${styleName}`;\nconst createWithStyle = (componentName, styles) => {\n  const css = Object.entries(styles).flatMap(([styleName, style]) => {\n    const elements = compile(`.${getClassName(componentName, styleName)}{${style}}`);\n    const serializedCssArray = elements.map((element) => serialize(\n      [element],\n      // vendor prefix를 추가합니다\n      middleware([prefixer, stringify])\n    ));\n    return serializedCssArray;\n  });\n  const nonEmptyCss = css.filter((c) => c !== \"\");\n  return {\n    classNames: Object.fromEntries(Object.entries(styles).map(([styleName]) => [styleName, getClassName(componentName, styleName)])),\n    withStyle: (component) => {\n      return withCSS(component, nonEmptyCss, componentName);\n    }\n  };\n};\nexport {\n  createWithStyle\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useHeadlineContext } from \"./Root.hooks.js\";\nimport { ComponentName } from \"../../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../../styles/createWithStyle.js\";\nimport { css } from \"../../../../styles/css.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.HeadlineContent, {\n  container: css`\n    position: relative;\n\n    /* NOTE(임규민): data-headline-media 속성을 가진 요소가 형제로 존재하는 경우에만 스타일 적용 */\n    &:where([data-headline-media='true'], [data-headline-media='true'] + *) {\n      position: absolute;\n      inset: auto 0 0;\n    }\n\n    &:where([data-headline-media='true'], [data-headline-media='true'] + *) > * {\n      padding-top: 40px !important;\n    }\n\n    &:where([data-headline-media='true'], [data-headline-media='true'] + *) > *[data-breakpoint='desktop'] {\n      padding-right: 32px !important;\n    }\n  `\n});\nconst Content = withStyle(forwardRef(({\n  children,\n  style,\n  contentStyle: _contentStyle,\n  emptyTitle,\n  ...rest\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const {\n    priority\n  } = useHeadlineContext();\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, className: classNames.container, children: /* @__PURE__ */ jsx(\"div\", { style: {\n    ...wrapperStyle,\n    ...wrapperStyleByBreakpoint[breakpoint],\n    ...style\n  }, \"data-breakpoint\": breakpoint, children: /* @__PURE__ */ jsx(\"div\", { style: {\n    ...contentStyle,\n    ...contentStyleByPriority[priority][breakpoint],\n    ...priority === \"primary\" && emptyTitle === true ? {\n      gap: 0\n    } : {},\n    ..._contentStyle\n  }, children }) }) });\n}));\nconst wrapperStyle = {\n  position: \"relative\"\n};\nconst wrapperStyleByBreakpoint = {\n  desktop: {\n    paddingRight: 0,\n    paddingLeft: 0,\n    paddingBottom: 16\n  },\n  tablet: {\n    paddingRight: 16,\n    paddingLeft: 16,\n    paddingBottom: 12\n  },\n  mobile: {\n    paddingRight: 16,\n    paddingLeft: 16,\n    paddingBottom: 12\n  }\n};\nconst contentStyle = {\n  display: \"flex\"\n};\nconst contentStyleByPriority = {\n  primary: {\n    desktop: {\n      flexDirection: \"column\",\n      gap: 4\n    },\n    tablet: {\n      flexDirection: \"column\",\n      gap: 3\n    },\n    mobile: {\n      flexDirection: \"column\",\n      gap: 3\n    }\n  },\n  secondary: {\n    desktop: {\n      minHeight: 40,\n      flexDirection: \"row\",\n      alignItems: \"center\",\n      gap: 16\n    },\n    tablet: {\n      minHeight: 40,\n      flexDirection: \"row\",\n      alignItems: \"center\",\n      gap: 16\n    },\n    mobile: {\n      minHeight: 40,\n      flexDirection: \"row\",\n      alignItems: \"center\",\n      gap: 16\n    }\n  },\n  tertiary: {\n    desktop: {\n      flexDirection: \"row\",\n      alignItems: \"center\",\n      gap: 16\n    },\n    tablet: {\n      flexDirection: \"row\",\n      alignItems: \"center\",\n      gap: 16\n    },\n    mobile: {\n      flexDirection: \"row\",\n      alignItems: \"center\",\n      gap: 16\n    }\n  }\n};\nexport {\n  Content\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"framer\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { useHeadlineContext } from \"./Root.hooks.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { Skeleton } from \"../../../@shared/Skeleton/Skeleton.js\";\nconst Title = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    priority,\n    loading\n  } = useHeadlineContext();\n  const breakpoint = useBreakpoint();\n  const theme = useTheme();\n  if (loading) {\n    return /* @__PURE__ */ jsx(Skeleton, { style: {\n      ...skeletonStyle,\n      ...skeletonStyleByPriority[priority][breakpoint],\n      ...skeletonStyleByTheme[theme]\n    } });\n  }\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...textStyle[priority][breakpoint],\n    ...textColor[theme],\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  zIndex: 1,\n  width: \"100%\",\n  whiteSpace: \"pre-wrap\",\n  color: \"#ffffff\"\n};\nconst skeletonStyle = {\n  width: \"40%\",\n  borderRadius: 6\n};\nconst skeletonStyleByPriority = {\n  primary: {\n    desktop: {\n      height: 40.8\n    },\n    tablet: {\n      height: 27.2\n    },\n    mobile: {\n      height: 27.2\n    }\n  },\n  secondary: {\n    desktop: {\n      height: 22.4\n    },\n    tablet: {\n      height: 19.6\n    },\n    mobile: {\n      height: 19.6\n    }\n  },\n  tertiary: {\n    desktop: {\n      height: 19.6\n    },\n    tablet: {\n      height: 19.6\n    },\n    mobile: {\n      height: 19.6\n    }\n  }\n};\nconst skeletonStyleByTheme = {\n  light: {\n    backgroundColor: \"#dee2e6\"\n  },\n  dark: {\n    backgroundColor: \"#27272a\"\n  }\n};\nconst textColor = {\n  light: {\n    color: \"#1f1f1f\"\n  },\n  dark: {\n    color: \"#f4f4f4\"\n  }\n};\nconst textStyle = {\n  primary: {\n    desktop: typography(30, 600, 1.36),\n    tablet: typography(20, 600, 1.36),\n    mobile: typography(20, 600, 1.36)\n  },\n  secondary: {\n    desktop: typography(16, 500),\n    tablet: typography(14, 500),\n    mobile: typography(14, 500)\n  },\n  tertiary: {\n    desktop: typography(14, 500),\n    tablet: typography(14, 500),\n    mobile: typography(14, 500)\n  }\n};\nexport {\n  Title\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { useHeadlineContext } from \"./Root.hooks.js\";\nimport { Skeleton } from \"../../../@shared/Skeleton/Skeleton.js\";\nconst Description = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    priority,\n    loading\n  } = useHeadlineContext();\n  const breakpoint = useBreakpoint();\n  const theme = useTheme();\n  if (!children) {\n    return null;\n  }\n  if (loading) {\n    return /* @__PURE__ */ jsx(Skeleton, { style: {\n      ...skeletonStyle,\n      ...skeletonStyleByPriority[priority][breakpoint],\n      ...skeletonStyleByTheme[theme]\n    } });\n  }\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...containerStyleByPriority[priority][breakpoint],\n    ...textColor[theme],\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  zIndex: 1,\n  width: \"100%\",\n  whiteSpace: \"pre-wrap\"\n};\nconst skeletonStyle = {\n  width: \"36%\",\n  borderRadius: 6\n};\nconst skeletonStyleByPriority = {\n  primary: {\n    desktop: {\n      height: 22.4\n    },\n    tablet: {\n      height: 19.6\n    },\n    mobile: {\n      height: 19.6\n    }\n  },\n  secondary: {\n    desktop: {\n      height: 16.8\n    },\n    tablet: {\n      height: 16.8\n    },\n    mobile: {\n      height: 16.8\n    }\n  },\n  tertiary: {\n    desktop: {\n      height: 16.8\n    },\n    tablet: {\n      height: 16.8\n    },\n    mobile: {\n      height: 16.8\n    }\n  }\n};\nconst skeletonStyleByTheme = {\n  light: {\n    backgroundColor: \"#dee2e6\"\n  },\n  dark: {\n    backgroundColor: \"#27272a\"\n  }\n};\nconst containerStyleByPriority = {\n  primary: {\n    desktop: typography(16, 400),\n    tablet: typography(14, 400),\n    mobile: typography(14, 400)\n  },\n  secondary: {\n    desktop: typography(12, 400),\n    tablet: typography(12, 400),\n    mobile: typography(12, 400)\n  },\n  // NOTE:(김홍동) tertiary에서 Description 사용케이스가 아직 없어 secondary와 동일하게 가져갑니다.\n  tertiary: {\n    desktop: typography(12, 400),\n    tablet: typography(12, 400),\n    mobile: typography(12, 400)\n  }\n};\nconst textColor = {\n  light: {\n    color: \"#6a6a6a\"\n  },\n  dark: {\n    color: \"#adadad\"\n  }\n};\nexport {\n  Description\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nconst Action = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  if (!children) {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  zIndex: 1,\n  minWidth: \"fit-content\",\n  display: \"flex\",\n  alignItems: \"center\"\n};\nexport {\n  Action\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nconst Gradient = forwardRef(({\n  style,\n  ...rest\n}, ref) => {\n  const theme = useTheme();\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...containerStyleByTheme[theme],\n    ...style\n  } });\n});\nconst containerStyle = {\n  position: \"absolute\",\n  inset: 0,\n  zIndex: 0,\n  width: \"100%\"\n};\nconst containerStyleByTheme = {\n  light: {\n    background: \"linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.60) 46%, #fff 90%)\"\n  },\n  dark: {\n    background: \"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 46%, #000 90%)\"\n  }\n};\nexport {\n  Gradient\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useHeadlineContext } from \"./Root.hooks.js\";\nconst Body = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    priority\n  } = useHeadlineContext();\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...containerStyleByPriority[priority],\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  width: \"100%\",\n  display: \"flex\"\n};\nconst containerStyleByPriority = {\n  primary: {\n    flexDirection: \"row\",\n    gap: 16\n  },\n  secondary: {\n    flexDirection: \"column\"\n  },\n  tertiary: {\n    flexDirection: \"column\"\n  }\n};\nexport {\n  Body\n};\n","import { Root } from \"./Root.js\";\nimport { Image } from \"./Image.js\";\nimport { Video } from \"./Video.js\";\nimport { Content } from \"./Content.js\";\nimport { Title } from \"./Title.js\";\nimport { Description } from \"./Description.js\";\nimport { Action } from \"./Action.js\";\nimport { Gradient } from \"./Gradient.js\";\nimport { Body } from \"./Body.js\";\nconst Headline = {\n  Root,\n  Image,\n  Video,\n  Content,\n  Body,\n  Title,\n  Description,\n  Action,\n  Gradient\n};\nexport {\n  Headline\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { Headline } from \"../../../systems/curations/Headline/index.js\";\nconst HeadlineMediaElement = ({\n  mediaType,\n  imageSrc,\n  videoSrc,\n  videoSrcWebm,\n  poster,\n  lazy\n}) => {\n  switch (mediaType) {\n    case \"image\":\n      return /* @__PURE__ */ jsx(Headline.Image, { source: imageSrc, lazy });\n    case \"video\":\n      return /* @__PURE__ */ jsx(Headline.Video, { source: videoSrc, sourceWebm: videoSrcWebm, poster, lazy });\n    default:\n      return null;\n  }\n};\nexport {\n  HeadlineMediaElement\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Icon } from \"../Icon/Icon.js\";\nimport { typography } from \"../../../styles/typography.js\";\nconst TextButton = ({\n  children,\n  style,\n  as,\n  theme = \"light\",\n  size = \"medium\",\n  prefixIcon,\n  postfixIcon,\n  variant,\n  backgroundColor,\n  color,\n  isUnderlined = false,\n  ...rest\n}, ref) => {\n  const Component = as ?? \"button\";\n  const variantStyle = textButtonStyleByVariant[rest.disabled ? \"disabled\" : variant];\n  const textButtonStyle = {\n    ...style,\n    ...baseTextButtonStyle,\n    ...textButtonStyleBySize[size],\n    ...variantStyle[theme],\n    ...isUnderlined && {\n      textDecoration: \"underline\"\n    }\n  };\n  const reshapedProps = {\n    ...rest,\n    href: rest.disabled ? void 0 : rest.href,\n    onClick: rest.disabled ? void 0 : rest.onClick\n  };\n  return /* @__PURE__ */ jsxs(Component, { ref, ...reshapedProps, style: textButtonStyle, children: [\n    prefixIcon ? /* @__PURE__ */ jsx(Icon, { type: getIconType(prefixIcon), fill: getIconFill(prefixIcon), size: iconSizeByButtonSize[size], color: textButtonStyle.color, weight: \"bold\" }) : null,\n    /* @__PURE__ */ jsx(\"div\", { style: contentStyle, children }),\n    postfixIcon ? /* @__PURE__ */ jsx(Icon, { type: getIconType(postfixIcon), fill: getIconFill(postfixIcon), size: iconSizeByButtonSize[size], color: textButtonStyle.color, weight: \"bold\" }) : null\n  ] });\n};\nconst getIconType = (icon) => typeof icon === \"string\" ? icon : icon.type;\nconst getIconFill = (icon) => typeof icon === \"string\" ? void 0 : icon.fill;\nconst baseTextButtonStyle = {\n  minWidth: \"fit-content\",\n  height: \"auto\",\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  cursor: \"pointer\",\n  // reset button element css\n  backgroundColor: \"transparent\",\n  textDecoration: \"none\",\n  padding: 0,\n  outline: \"none\",\n  border: \"none\",\n  boxSizing: \"border-box\"\n};\nconst textButtonStyleBySize = {\n  large: {\n    gap: \"4px\",\n    ...typography(18, 600, 1.2)\n  },\n  medium: {\n    gap: \"4px\",\n    ...typography(16, 600, 1.2)\n  },\n  small: {\n    gap: \"2px\",\n    ...typography(14, 600, 1.2)\n  },\n  xSmall: {\n    gap: \"2px\",\n    ...typography(12, 700, 1.36)\n  }\n};\nconst textButtonStyleByVariant = {\n  primary: {\n    light: {\n      color: \"#000\"\n    },\n    dark: {\n      color: \"#fff\"\n    }\n  },\n  secondary: {\n    light: {\n      color: \"#474747\"\n    },\n    dark: {\n      color: \"#a0a0a0\"\n    }\n  },\n  tertiary: {\n    light: {\n      color: \"#a0a0a0\"\n    },\n    dark: {\n      color: \"#474747\"\n    }\n  },\n  disabled: {\n    light: {\n      color: \"#c4c4c4\",\n      cursor: \"not-allowed\"\n    },\n    dark: {\n      color: \"#303033\",\n      cursor: \"not-allowed\"\n    }\n  }\n};\nconst iconSizeByButtonSize = {\n  large: 20,\n  medium: 18,\n  small: 14,\n  xSmall: 12\n};\nconst contentStyle = {\n  display: \"flex\",\n  alignItems: \"center\"\n};\nconst Default = forwardRef(TextButton);\nexport {\n  Default as TextButton\n};\n","var QueryType = /* @__PURE__ */ ((QueryType2) => {\n  QueryType2[\"Product\"] = \"product\";\n  QueryType2[\"KeywordCollection\"] = \"keyword-collection\";\n  QueryType2[\"KeywordCollections\"] = \"keyword-collections\";\n  QueryType2[\"BrandCuration\"] = \"brand-curation\";\n  QueryType2[\"Recommendation\"] = \"recommendation\";\n  QueryType2[\"Ranking\"] = \"ranking\";\n  QueryType2[\"CouponCollection\"] = \"coupon-collection\";\n  QueryType2[\"RaffleGroup\"] = \"raffle-group\";\n  QueryType2[\"Coupon\"] = \"coupon\";\n  QueryType2[\"Preuser\"] = \"preuser\";\n  QueryType2[\"CustomCategory\"] = \"custom-category\";\n  QueryType2[\"Moloco\"] = \"moloco\";\n  return QueryType2;\n})(QueryType || {});\nvar RankingType = /* @__PURE__ */ ((RankingType2) => {\n  RankingType2[\"Popularity\"] = \"POPULARITY\";\n  RankingType2[\"Trending\"] = \"TRENDING\";\n  return RankingType2;\n})(RankingType || {});\nvar PopularityPeriodType = /* @__PURE__ */ ((PopularityPeriodType2) => {\n  PopularityPeriodType2[\"Realtime\"] = \"REALTIME\";\n  PopularityPeriodType2[\"Hourly\"] = \"HOURLY\";\n  PopularityPeriodType2[\"Daily\"] = \"DAILY\";\n  return PopularityPeriodType2;\n})(PopularityPeriodType || {});\nvar TrendingPeriodType = /* @__PURE__ */ ((TrendingPeriodType2) => {\n  TrendingPeriodType2[\"Hourly\"] = \"HOURLY\";\n  return TrendingPeriodType2;\n})(TrendingPeriodType || {});\nvar CategoryType = /* @__PURE__ */ ((CategoryType2) => {\n  CategoryType2[CategoryType2[\"Large\"] = 0] = \"Large\";\n  CategoryType2[CategoryType2[\"Middle\"] = 1] = \"Middle\";\n  return CategoryType2;\n})(CategoryType || {});\nexport {\n  CategoryType,\n  PopularityPeriodType,\n  QueryType,\n  RankingType,\n  TrendingPeriodType\n};\n","import { QueryType } from \"../../types.js\";\nimport { env } from \"../../../../config/index.js\";\nimport { querify } from \"../../../../utils/querify.js\";\nconst getCouponCollectionHref = (query, componentId) => {\n  return `${env.workspace.shop}/coupon-collection/${query.couponCollectionId}/products?${querify({\n    source: componentId ?? \"CouponCollection\"\n  })}`;\n};\nconst getKeywordCollectionHref = (query, componentId) => {\n  var _a;\n  return `${env.workspace.content}/collection/${query.keywordCollectionId}?${querify({\n    source: componentId,\n    product_group: (_a = query.selectedProductGroup) == null ? void 0 : _a.id\n  })}`;\n};\nconst getHref = (query, componentId) => {\n  switch (query.type) {\n    case QueryType.CouponCollection:\n      return getCouponCollectionHref(query, componentId);\n    case QueryType.KeywordCollection:\n      return getKeywordCollectionHref(query, componentId);\n    default:\n      return \"\";\n  }\n};\nexport {\n  getCouponCollectionHref,\n  getHref,\n  getKeywordCollectionHref\n};\n","const LOG_CLICK_EVENT = {\n  CLICK_CONTENT: \"click_content\",\n  CLICK_BRAND: \"click_brand\",\n  CLICK_DOWNLOAD_COUPON: \"click_download_coupon\",\n  CLICK_ITEM: \"click_item\",\n  CLICK_ITEM_CONTENT: \"click_item_content\",\n  CLICK_TAG_CONTENT: \"click_tag_content\",\n  CLICK_BUTTON_CONTENT: \"click_button_content\",\n  CLICK_BUTTON: \"click_button\",\n  CLICK_BANNER: \"click_banner\",\n  CLICK_AD_INFO_AGREE: \"click_ad_info_agree\"\n};\nconst LOG_LIKE_EVENT = {\n  LIKE_ITEM: \"like_item\",\n  UNLIKE_ITEM: \"unlike_item\"\n};\nconst LOG_IMP_EVENT = {\n  IMPRESSION_ITEM: \"impression_item\",\n  IMPRESSION_CONTENT: \"impression_content\",\n  IMPRESSION_ITEMSET: \"impression_itemset\",\n  IMPRESSION_POPUP: \"impression_popup\"\n};\nconst LOG_VIEW_EVENT = {\n  VIEW_CONTENT: \"view_content\",\n  VIEW_BANNER: \"view_banner\",\n  VIEW_PAGE: \"view_page\",\n  VIEW_AD_INFO_AGREE: \"view_ad_info_agree\",\n  VIEW_ATTRIBUTION: \"view_attribution\"\n};\nexport {\n  LOG_CLICK_EVENT,\n  LOG_IMP_EVENT,\n  LOG_LIKE_EVENT,\n  LOG_VIEW_EVENT\n};\n","import { env } from \"../../config/index.js\";\nimport { LOG_VIEW_EVENT, LOG_CLICK_EVENT, LOG_IMP_EVENT, LOG_LIKE_EVENT } from \"../eventName.js\";\nconst SNOWPLOW_SCHEMA_BY_ENV = {\n  development: {\n    [LOG_VIEW_EVENT.VIEW_PAGE]: \"iglu:com.29cm/view_page/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BRAND]: \"iglu:com.29cm/click_brand/jsonschema/3-0-0\",\n    [LOG_CLICK_EVENT.CLICK_DOWNLOAD_COUPON]: \"iglu:com.29cm/click_download_coupon/jsonschema/1-0-1\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEM]: \"iglu:com.29cm/impression_item/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_CONTENT]: \"iglu:com.29cm/impression_content/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEMSET]: \"iglu:com.29cm/impression_itemset/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_ITEM]: \"iglu:com.29cm/click_item/jsonschema/2-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_POPUP]: \"iglu:com.29cm/impression_popup/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_TAG_CONTENT]: \"iglu:com.29cm/click_tag_content/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON_CONTENT]: \"iglu:com.29cm/click_button_content/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON]: \"iglu:com.29cm/click_button/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BANNER]: \"iglu:com.29cm/click_banner/jsonschema/1-0-3\",\n    [LOG_LIKE_EVENT.LIKE_ITEM]: \"iglu:com.29cm/like_item/jsonschema/1-0-2\",\n    [LOG_LIKE_EVENT.UNLIKE_ITEM]: \"iglu:com.29cm/unlike_item/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_CONTENT]: \"iglu:com.29cm/view_content/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_BANNER]: \"iglu:com.29cm/view_banner/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_CONTENT]: \"iglu:com.29cm/click_content/jsonschema/2-0-0\",\n    [LOG_VIEW_EVENT.VIEW_ATTRIBUTION]: \"iglu:com.29cm/view_attribution/jsonschema/1-0-0\"\n  },\n  qa: {\n    [LOG_VIEW_EVENT.VIEW_PAGE]: \"iglu:com.29cm/view_page/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BRAND]: \"iglu:com.29cm/click_brand/jsonschema/3-0-0\",\n    [LOG_CLICK_EVENT.CLICK_DOWNLOAD_COUPON]: \"iglu:com.29cm/click_download_coupon/jsonschema/1-0-1\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEM]: \"iglu:com.29cm/impression_item/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_CONTENT]: \"iglu:com.29cm/impression_content/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEMSET]: \"iglu:com.29cm/impression_itemset/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_POPUP]: \"iglu:com.29cm/impression_popup/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_ITEM]: \"iglu:com.29cm/click_item/jsonschema/2-0-0\",\n    [LOG_CLICK_EVENT.CLICK_TAG_CONTENT]: \"iglu:com.29cm/click_tag_content/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON_CONTENT]: \"iglu:com.29cm/click_button_content/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON]: \"iglu:com.29cm/click_button/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BANNER]: \"iglu:com.29cm/click_banner/jsonschema/1-0-3\",\n    [LOG_LIKE_EVENT.LIKE_ITEM]: \"iglu:com.29cm/like_item/jsonschema/1-0-2\",\n    [LOG_LIKE_EVENT.UNLIKE_ITEM]: \"iglu:com.29cm/unlike_item/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_CONTENT]: \"iglu:com.29cm/view_content/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_BANNER]: \"iglu:com.29cm/view_banner/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_CONTENT]: \"iglu:com.29cm/click_content/jsonschema/2-0-0\",\n    [LOG_VIEW_EVENT.VIEW_ATTRIBUTION]: \"iglu:com.29cm/view_attribution/jsonschema/1-0-0\"\n  },\n  production: {\n    [LOG_VIEW_EVENT.VIEW_PAGE]: \"iglu:com.29cm/view_page/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BRAND]: \"iglu:com.29cm/click_brand/jsonschema/3-0-0\",\n    [LOG_CLICK_EVENT.CLICK_DOWNLOAD_COUPON]: \"iglu:com.29cm/click_download_coupon/jsonschema/1-0-1\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEM]: \"iglu:com.29cm/impression_item/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_CONTENT]: \"iglu:com.29cm/impression_content/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEMSET]: \"iglu:com.29cm/impression_itemset/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_POPUP]: \"iglu:com.29cm/impression_popup/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_ITEM]: \"iglu:com.29cm/click_item/jsonschema/2-0-0\",\n    [LOG_CLICK_EVENT.CLICK_TAG_CONTENT]: \"iglu:com.29cm/click_tag_content/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON_CONTENT]: \"iglu:com.29cm/click_button_content/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON]: \"iglu:com.29cm/click_button/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BANNER]: \"iglu:com.29cm/click_banner/jsonschema/1-0-3\",\n    [LOG_LIKE_EVENT.LIKE_ITEM]: \"iglu:com.29cm/like_item/jsonschema/1-0-2\",\n    [LOG_LIKE_EVENT.UNLIKE_ITEM]: \"iglu:com.29cm/unlike_item/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_CONTENT]: \"iglu:com.29cm/view_content/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_BANNER]: \"iglu:com.29cm/view_banner/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_CONTENT]: \"iglu:com.29cm/click_content/jsonschema/2-0-0\",\n    [LOG_VIEW_EVENT.VIEW_ATTRIBUTION]: \"iglu:com.29cm/view_attribution/jsonschema/1-0-0\"\n  }\n};\nconst SNOWPLOW_SCHEMA = SNOWPLOW_SCHEMA_BY_ENV[env.name];\nconst SNOWPLOW_LIKE_SCHEMA_V2 = {\n  [LOG_LIKE_EVENT.LIKE_ITEM]: \"iglu:com.29cm/like_item/jsonschema/2-0-0\",\n  [LOG_LIKE_EVENT.UNLIKE_ITEM]: \"iglu:com.29cm/unlike_item/jsonschema/2-0-0\"\n};\nexport {\n  SNOWPLOW_LIKE_SCHEMA_V2,\n  SNOWPLOW_SCHEMA\n};\n","const getSeriesPath = () => {\n  return window.location.pathname.replace(/^\\/([^/]+)\\/.*$/, \"$1\").replace(/-/g, \"_\");\n};\nexport {\n  getSeriesPath\n};\n","import { getSeriesPath } from \"../../utils/getSeriesPath.js\";\nimport { isTabView } from \"../../utils/custom-tab/isTabView.js\";\nconst makeContentsProps = (summary) => {\n  if (summary.onSiteContentId === void 0) {\n    return;\n  }\n  return {\n    on_site_content_id: summary.onSiteContentId ?? -1,\n    content_no: Number(summary.contentId),\n    content_title: summary.title,\n    content_type: getSeriesPath(),\n    format_type: \"framer\"\n  };\n};\nconst makeScreenProps = () => ({\n  current_screen: isTabView() ? \"home_main\" : \"content\"\n});\nconst makeTabProps = () => isTabView() ? {\n  home_tab: \"web\"\n} : {};\nconst makePageProps = () => ({\n  page_name: isTabView() ? \"home_main\" : \"content\"\n});\nconst NULLISH_OMIT_CATEGORY_NAME_KEYS = [\"large_category_name\", \"middle_category_name\", \"small_category_name\"];\nconst omitNullishCategoryNameProperties = (properties) => {\n  const result = {\n    ...properties\n  };\n  for (const key of NULLISH_OMIT_CATEGORY_NAME_KEYS) {\n    if (key in result && (result[key] === null || result[key] === void 0)) {\n      delete result[key];\n    }\n  }\n  return result;\n};\nexport {\n  makeContentsProps,\n  makePageProps,\n  makeScreenProps,\n  makeTabProps,\n  omitNullishCategoryNameProperties\n};\n","import \"../hooks/stores/content/content.store.js\";\nimport { isClient } from \"./context.js\";\nimport \"./event-properties/source.js\";\nimport \"framer\";\nimport \"react\";\nconst getSearchParamsObject = () => {\n  return isClient() ? Object.fromEntries(new URLSearchParams(window.location.search)) : {};\n};\nexport {\n  getSearchParamsObject\n};\n","import { getSearchParamsObject } from \"../getSearchParamsObject.js\";\nconst AD_CODE_ENABLED_SCHEMAS = [\"view_page\"];\nconst addAdCodeToProperties = (schema, properties = {}) => {\n  const shouldAddAdCode = AD_CODE_ENABLED_SCHEMAS.some((enabledSchema) => schema.includes(enabledSchema));\n  if (!shouldAddAdCode) {\n    return properties;\n  }\n  const adCode = getSearchParamsObject().ad_code;\n  return adCode ? {\n    ...properties,\n    ad_code: adCode\n  } : properties;\n};\nexport {\n  addAdCodeToProperties\n};\n","import { getSearchParamsObject } from \"../getSearchParamsObject.js\";\nconst CATEGORY_FILTER_ENABLED_SCHEMAS = [\"view_page\"];\nconst CATEGORY_FILTER_KEYS = [\"page_name\", \"apply_category_no_list\", \"apply_category_name_list\", \"category_menu_type\", \"filter_gender\"];\nconst addCategoryFilterProperties = (schema, properties = {}) => {\n  const shouldAdd = CATEGORY_FILTER_ENABLED_SCHEMAS.some((enabledSchema) => schema.includes(enabledSchema));\n  if (!shouldAdd) {\n    return properties;\n  }\n  const params = getSearchParamsObject();\n  const presentKeys = CATEGORY_FILTER_KEYS.filter((key) => params[key]);\n  if (presentKeys.length === 0) {\n    return properties;\n  }\n  return {\n    ...properties,\n    ...Object.fromEntries(presentKeys.map((key) => [key, params[key]]))\n  };\n};\nexport {\n  addCategoryFilterProperties\n};\n","import { getSearchParamsObject } from \"../getSearchParamsObject.js\";\nconst EXPERIMENT_DATA_ENABLED_SCHEMAS = [\"view_page\", \"impression_content\", \"click_content\", \"impression_item\", \"click_item\", \"click_button\", \"impression_popup\"];\nconst addExperimentDataProperties = (schema, properties = {}) => {\n  const shouldAdd = EXPERIMENT_DATA_ENABLED_SCHEMAS.some((s) => schema.includes(s));\n  if (!shouldAdd) {\n    return properties;\n  }\n  const bucket = getSearchParamsObject().bucket;\n  if (!bucket) {\n    return properties;\n  }\n  return {\n    ...properties,\n    experiment_data: {\n      bucket\n    }\n  };\n};\nexport {\n  addExperimentDataProperties\n};\n","import { getSearchParamsObject } from \"../getSearchParamsObject.js\";\nconst DEFAULT_SUBTAB_POSITION = 1;\nconst SUBTAB_ENABLED_SCHEMAS = [\"view_page\", \"impression_content\", \"click_content\", \"impression_item\", \"click_item\", \"click_button\"];\nconst addSubTabProperties = (schema, properties = {}) => {\n  const shouldAdd = SUBTAB_ENABLED_SCHEMAS.some((s) => schema.includes(s));\n  if (!shouldAdd) {\n    return properties;\n  }\n  const params = getSearchParamsObject();\n  const subtabPosition = params.subtab_position !== void 0 ? Number(params.subtab_position) : DEFAULT_SUBTAB_POSITION;\n  return {\n    ...properties,\n    subtab_position: subtabPosition\n  };\n};\nexport {\n  addSubTabProperties\n};\n","import { useRef, useMemo, useEffect } from \"react\";\nimport { SNOWPLOW_SCHEMA, SNOWPLOW_LIKE_SCHEMA_V2 } from \"../../constants/snowplow/snowplowSchema.js\";\nimport { useAnalytics } from \"../analytics/useAnalytics.js\";\nimport { useContentStore } from \"../stores/content/content.store.js\";\nimport \"../stores/dialog/dialog.store.js\";\nimport \"../stores/global-layout/global-layout.store.js\";\nimport \"../stores/toast/toast.store.js\";\nimport { useEventCallback } from \"../useEventCallback.js\";\nimport { makeContentsProps, makeScreenProps, makeTabProps, makePageProps, omitNullishCategoryNameProperties } from \"./useTrackSnowplowEvent.utils.js\";\nimport \"../../utils/event-properties/source.js\";\nimport { addAdCodeToProperties } from \"../../utils/event-properties/addAdCodeToProperties.js\";\nimport { addCategoryFilterProperties } from \"../../utils/event-properties/addCategoryFilterProperties.js\";\nimport { addExperimentDataProperties } from \"../../utils/event-properties/addExperimentDataProperties.js\";\nimport { addSubTabProperties } from \"../../utils/event-properties/subTab.js\";\nimport { isCanvas } from \"../../utils/framer/isCanvas.js\";\nimport \"framer\";\nconst contextPropsSelectorMap = {\n  impression_content: ({\n    contentsProps,\n    pageProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...tabProps,\n    ...pageProps\n  }),\n  click_content: ({\n    pageProps\n  }) => ({\n    ...pageProps\n  }),\n  view_page: ({\n    contentsProps,\n    pageProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...pageProps,\n    ...tabProps\n  }),\n  click_brand: ({\n    contentsProps,\n    screenProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    content_type: contentsProps.content_type,\n    format_type: contentsProps.format_type,\n    ...screenProps\n  }),\n  click_download_coupon: ({\n    contentsProps,\n    screenProps\n  }) => ({\n    content_title: contentsProps.content_title,\n    on_site_content_id: contentsProps.on_site_content_id,\n    ...screenProps\n  }),\n  impression_item: ({\n    pageProps,\n    contentsProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...pageProps,\n    // NOTE: (김홍동) 웹의 경우 \"web\"으로 값을 받습니다.\n    home_tab: \"web\",\n    // NOTE: (김홍동) 현재 프레이머는 섹션 판단이 어려워 개선 전까지 임의 값 1로 적재 합니다.\n    position: -1\n  }),\n  click_item: ({\n    pageProps,\n    contentsProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...pageProps,\n    // NOTE: (김홍동) 웹의 경우 \"web\"으로 값을 받습니다.\n    home_tab: \"web\",\n    // NOTE: (김홍동) 현재 프레이머는 섹션 판단이 어려워 개선 전까지 임의 값 1로 적재 합니다.\n    position: -1\n  }),\n  click_tag_content: ({\n    contentsProps,\n    screenProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    content_type: contentsProps.content_type,\n    content_title: contentsProps.content_title,\n    format_type: contentsProps.format_type,\n    ...screenProps\n  }),\n  click_button_content: ({\n    contentsProps,\n    screenProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    content_type: contentsProps.content_type,\n    content_title: contentsProps.content_title,\n    format_type: contentsProps.format_type,\n    ...screenProps,\n    ...tabProps\n  }),\n  click_button: ({\n    pageProps,\n    tabProps,\n    contentsProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...pageProps,\n    ...tabProps\n  }),\n  like_item: ({\n    contentsProps,\n    screenProps,\n    pageProps,\n    tabProps,\n    schema\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    // NOTE: 2-0-0 스키마는 current_screen 대신 page_name 을 받는다\n    ...schema === SNOWPLOW_LIKE_SCHEMA_V2.like_item ? pageProps : screenProps,\n    ...tabProps\n  }),\n  unlike_item: ({\n    contentsProps,\n    screenProps,\n    pageProps,\n    tabProps,\n    schema\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    // NOTE: 2-0-0 스키마는 current_screen 대신 page_name 을 받는다\n    ...schema === SNOWPLOW_LIKE_SCHEMA_V2.unlike_item ? pageProps : screenProps,\n    ...tabProps\n  }),\n  view_content: ({\n    contentsProps,\n    screenProps,\n    tabProps\n  }) => ({\n    ...contentsProps,\n    ...screenProps,\n    ...tabProps,\n    // NOTE: (한지원) 현재 프레이머는 섹션 판단이 어려워 개선 전까지 임의 값 1로 적재 합니다.\n    position: 1\n  }),\n  view_banner: ({\n    contentsProps,\n    screenProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    content_type: contentsProps.content_type,\n    content_title: contentsProps.content_title,\n    ...screenProps,\n    ...tabProps\n  }),\n  click_banner: ({\n    contentsProps,\n    screenProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    content_type: contentsProps.content_type,\n    content_title: contentsProps.content_title,\n    ...screenProps,\n    ...tabProps\n  }),\n  impression_itemset: ({\n    pageProps,\n    tabProps,\n    contentsProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...tabProps,\n    ...pageProps\n  }),\n  impression_popup: ({\n    pageProps,\n    contentsProps,\n    tabProps\n  }) => ({\n    position: -1,\n    // NOTE: 순서 미존재 -1로 적재\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...pageProps,\n    ...tabProps\n  }),\n  view_attribution: ({\n    dynamicAttributes\n  }) => ({\n    ...dynamicAttributes\n  })\n};\nconst useTrackSnowplowEvent = () => {\n  const pendingList = useRef([]);\n  const {\n    trackSnowplow\n  } = useAnalytics();\n  const summary = useContentStore((state) => state.summary);\n  const {\n    contentsProps,\n    screenProps,\n    tabProps,\n    pageProps\n  } = useMemo(() => ({\n    contentsProps: makeContentsProps(summary),\n    screenProps: makeScreenProps(),\n    tabProps: makeTabProps(),\n    pageProps: makePageProps()\n  }), [summary]);\n  const trackSnowplowEvent = useEventCallback((eventName, additionalProps, options) => {\n    if (isCanvas()) {\n      return;\n    }\n    if (contentsProps === void 0) {\n      pendingList.current.push([eventName, additionalProps, options]);\n      return;\n    }\n    const schema = (options == null ? void 0 : options.schema) ?? SNOWPLOW_SCHEMA[eventName];\n    const contextPropsSelector = contextPropsSelectorMap[eventName];\n    const contextProps = contextPropsSelector({\n      contentsProps,\n      screenProps,\n      tabProps,\n      pageProps,\n      schema\n    });\n    const mergedProps = {\n      ...contextProps,\n      ...additionalProps\n    };\n    const eventsRequiringSectionName = [\"click_content\", \"impression_content\", \"impression_item\", \"click_item\", \"click_tag_content\", \"click_button\", \"impression_itemset\", \"impression_popup\"];\n    const isInvalidValue = (value) => !value || value === \"undefined\" || value === \"null\";\n    if (eventsRequiringSectionName.includes(eventName)) {\n      if (\"section_name\" in mergedProps && isInvalidValue(mergedProps.section_name)) {\n        mergedProps.section_name = \"unknown_section\";\n      }\n      if (\"section_title\" in mergedProps && isInvalidValue(mergedProps.section_title)) {\n        mergedProps.section_title = \"unknown_section\";\n      }\n    }\n    const adCodeEnhancedProperties = addAdCodeToProperties(schema, mergedProps);\n    const subTabEnhancedProperties = addSubTabProperties(schema, adCodeEnhancedProperties);\n    const experimentEnhancedProperties = addExperimentDataProperties(schema, subTabEnhancedProperties);\n    const categoryFilterEnhancedProperties = addCategoryFilterProperties(schema, experimentEnhancedProperties);\n    const enhancedProperties = omitNullishCategoryNameProperties(categoryFilterEnhancedProperties);\n    trackSnowplow(schema, enhancedProperties);\n  });\n  useEffect(() => {\n    if (contentsProps === void 0) {\n      return;\n    }\n    pendingList.current.forEach(([eventName, props, options]) => {\n      trackSnowplowEvent(eventName, props, options);\n    });\n    pendingList.current = [];\n  }, [contentsProps, trackSnowplowEvent]);\n  return trackSnowplowEvent;\n};\nexport {\n  useTrackSnowplowEvent\n};\n","import { create } from \"../../../node_modules/zustand/esm/index.js\";\nimport { subscribeWithSelector } from \"../../../node_modules/zustand/esm/middleware.js\";\nconst initialState = {\n  rootModules: {}\n};\nconst useModuleStore = create(subscribeWithSelector((set) => ({\n  ...initialState,\n  dispatchSetRootModule: (key, module) => set((prev) => ({\n    rootModules: {\n      ...prev.rootModules,\n      [key]: module\n    }\n  }))\n})));\nexport {\n  useModuleStore\n};\n","var define_import_meta_env_default = { BASE_URL: \"/\", MODE: \"production\", DEV: false, PROD: true, SSR: false };\nfunction shallow$1(objA, objB) {\n  if (Object.is(objA, objB)) {\n    return true;\n  }\n  if (typeof objA !== \"object\" || objA === null || typeof objB !== \"object\" || objB === null) {\n    return false;\n  }\n  if (objA instanceof Map && objB instanceof Map) {\n    if (objA.size !== objB.size)\n      return false;\n    for (const [key, value] of objA) {\n      if (!Object.is(value, objB.get(key))) {\n        return false;\n      }\n    }\n    return true;\n  }\n  if (objA instanceof Set && objB instanceof Set) {\n    if (objA.size !== objB.size)\n      return false;\n    for (const value of objA) {\n      if (!objB.has(value)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  const keysA = Object.keys(objA);\n  if (keysA.length !== Object.keys(objB).length) {\n    return false;\n  }\n  for (let i = 0; i < keysA.length; i++) {\n    if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !Object.is(objA[keysA[i]], objB[keysA[i]])) {\n      return false;\n    }\n  }\n  return true;\n}\nvar shallow = (objA, objB) => {\n  if ((define_import_meta_env_default ? \"production\" : void 0) !== \"production\") {\n    console.warn(\n      \"[DEPRECATED] Default export is deprecated. Instead use `import { shallow } from 'zustand/shallow'`.\"\n    );\n  }\n  return shallow$1(objA, objB);\n};\nexport {\n  shallow as default,\n  shallow$1 as shallow\n};\n","import { useEffect } from \"react\";\nimport { useComponentId } from \"../systems/curations/EventTrackingProvider/EventTrackingProvider.hooks.js\";\nimport \"../systems/curations/EventTrackingProvider/EventTrackingProvider.js\";\nimport { useTrackSnowplowEvent } from \"../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { useModuleStore } from \"./module-store/module.store.js\";\nimport { shallow as shallow$1 } from \"../../node_modules/zustand/esm/shallow.js\";\nimport { useSegment } from \"../@shared/providers/SegmentProvider/SegmentProvider.js\";\nconst useRootComponentId = (query) => {\n  const componentId = useComponentId();\n  const root = useModuleStore((state) => state.rootModules[(query == null ? void 0 : query.rootOutput) ?? \"\"], shallow$1);\n  return (root == null ? void 0 : root.componentId) || componentId;\n};\nconst useSetRootModule = (query, output) => {\n  const componentId = useComponentId();\n  const segment = useSegment();\n  const dispatchSetRootModule = useModuleStore((state) => state.dispatchSetRootModule);\n  const {\n    isRoot = false\n  } = query ?? {};\n  useEffect(() => {\n    if (!isRoot) {\n      return;\n    }\n    if (!output) {\n      return;\n    }\n    dispatchSetRootModule(output, {\n      componentId,\n      segment: segment.segments\n    });\n  }, [isRoot, output, componentId, segment]);\n};\nconst useTrackClickButtonEvent = (query) => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const componentId = useRootComponentId(query);\n  const trackClickButtonEvent = ({\n    type,\n    layoutPosition = -1,\n    name = \"\"\n  }) => {\n    trackSnowplowEvent(\"click_button\", {\n      // TODO(임규민): section_name, position 프로퍼티에 할당한 약속된 임의 값 수정\n      section_name: componentId,\n      section_title: componentId,\n      position: -1,\n      layout_position: layoutPosition,\n      button_id: type,\n      button_name: name\n    });\n  };\n  return trackClickButtonEvent;\n};\nconst useTrackImpressionContentEvent = () => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const componentId = useComponentId();\n  const trackImpressionContentEvent = () => {\n    trackSnowplowEvent(\"impression_content\", {\n      // TODO(임규민): section_name, position, layout_position 프로퍼티에 할당한 약속된 임의 값 수정\n      section_name: componentId,\n      section_title: componentId,\n      position: -1,\n      layout_position: -1\n    });\n  };\n  return trackImpressionContentEvent;\n};\nexport {\n  useRootComponentId,\n  useSetRootModule,\n  useTrackClickButtonEvent,\n  useTrackImpressionContentEvent\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { TextButton as Default } from \"../../../@shared/TextButton/TextButton.js\";\nimport \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useNavigatePage } from \"../../../../hooks/useNavigatePage.js\";\nimport { getHref } from \"./HeadlineLinkActionElement.utils.js\";\nimport { useRootComponentId, useTrackClickButtonEvent } from \"../../hooks.js\";\nconst HeadlineLinkActionElement = ({\n  action,\n  query\n}) => {\n  const theme = useTheme();\n  const componentId = useRootComponentId(query);\n  const trackClickButtonEvent = useTrackClickButtonEvent(query);\n  const navigate = useNavigatePage(getHref(action.query, componentId));\n  const handleClick = () => {\n    trackClickButtonEvent({\n      type: \"more\",\n      name: action.label\n    });\n    navigate();\n  };\n  return /* @__PURE__ */ jsx(Default, { onClick: handleClick, style: {\n    opacity: 0.6\n  }, theme, variant: \"primary\", size: \"small\", postfixIcon: \"chevronRight\", children: action.label });\n};\nexport {\n  HeadlineLinkActionElement\n};\n","import { useReducer, useRef, useState, useCallback, useEffect } from \"react\";\nconst timerReducer = (state, action) => {\n  switch (action.type) {\n    case \"TICK\":\n      return {\n        now: /* @__PURE__ */ new Date(),\n        tick: state.tick + 1\n      };\n    default:\n      return state;\n  }\n};\nconst useVisibilityAwareTimer = (interval = 1e3) => {\n  const [state, dispatch] = useReducer(timerReducer, {\n    now: /* @__PURE__ */ new Date(),\n    tick: 0\n  });\n  const intervalIdRef = useRef(null);\n  const [isVisible, setIsVisible] = useState(false);\n  const startTimer = useCallback(() => {\n    if (intervalIdRef.current !== null) {\n      return;\n    }\n    intervalIdRef.current = setInterval(() => {\n      dispatch({\n        type: \"TICK\"\n      });\n    }, interval);\n  }, [interval]);\n  const stopTimer = useCallback(() => {\n    if (intervalIdRef.current !== null) {\n      clearInterval(intervalIdRef.current);\n      intervalIdRef.current = null;\n    }\n  }, []);\n  useEffect(() => {\n    const handleVisibilityChange = () => {\n      setIsVisible(document.visibilityState === \"visible\");\n    };\n    document.addEventListener(\"visibilitychange\", handleVisibilityChange);\n    return () => {\n      document.removeEventListener(\"visibilitychange\", handleVisibilityChange);\n    };\n  }, []);\n  useEffect(() => {\n    setIsVisible(document.visibilityState === \"visible\");\n  }, []);\n  useEffect(() => {\n    if (isVisible) {\n      startTimer();\n    } else {\n      stopTimer();\n    }\n    return () => {\n      stopTimer();\n    };\n  }, [isVisible, startTimer, stopTimer]);\n  return state;\n};\nexport {\n  useVisibilityAwareTimer\n};\n","import { useEffect } from \"react\";\nconst useEffectOnce = (effect) => {\n  useEffect(\n    () => effect(),\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    []\n  );\n};\nexport {\n  useEffectOnce\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_1932m_1 {\\n  font-weight: 500;\\n  font-feature-settings: 'tnum';\\n  font-variant-numeric: tabular-nums;\\n  line-height: 1;\\n  height: 1em;\\n  overflow: hidden;\\n  white-space: pre;\\n\\n  display: inline-flex;\\n  align-items: center;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_1932m_1\";\nconst styles = {\n  container\n};\nexport {\n  container,\n  styles as default\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_1ck4i_1 {\\n  height: 100%;\\n\\n  display: inline-flex;\\n  justify-content: flex-end;\\n  flex-direction: column;\\n}\\n\\n._presentation_1ck4i_9 {\\n  user-select: none;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_1ck4i_1\";\nconst presentation = \"_presentation_1ck4i_9\";\nconst styles = {\n  container,\n  presentation\n};\nexport {\n  container,\n  styles as default,\n  presentation\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { motion } from \"framer-motion\";\nimport styles from \"./RollingValue.module.css.js\";\nconst numbers = [9, 8, 7, 6, 5, 4, 3, 2, 1, 0];\nconst transition = {\n  type: \"spring\",\n  stiffness: 800,\n  damping: 60,\n  mass: 1\n};\nconst RollingValue = ({\n  isInitial,\n  value\n}) => {\n  const y = `${value * 100}%`;\n  return /* @__PURE__ */ jsx(motion.div, { className: styles.container, variants: {\n    show: {\n      y,\n      width: \"auto\",\n      opacity: 1\n    },\n    exit: {\n      y,\n      width: 0,\n      opacity: 0\n    }\n  }, initial: isInitial ? \"show\" : \"exit\", animate: \"show\", exit: \"exit\", transition, children: numbers.map((n) => /* @__PURE__ */ jsx(\"span\", { role: value !== n ? \"presentation\" : void 0, className: value !== n ? styles.presentation : void 0, children: n }, n)) });\n};\nexport {\n  RollingValue\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { AnimatePresence } from \"framer-motion\";\nimport { memo, useState } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport { useEffectOnce } from \"../../../hooks/react/useEffectOnce.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport { usePageVisibility } from \"../../../hooks/usePageVisibility.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport styles from \"./RollingNumber.module.css.js\";\nimport { RollingValue } from \"./RollingValue.js\";\nfunction padNumber(value, padSize) {\n  return `${value}`.padStart(padSize, \"0\");\n}\nconst RollingNumber = memo(({\n  value,\n  padSize = 0,\n  style\n}) => {\n  const [isInitial, setIsInitial] = useState(true);\n  const pageVisibility = usePageVisibility();\n  useEffectOnce(() => {\n    if (!isCanvas()) {\n      setIsInitial(false);\n    }\n  });\n  const digits = padNumber(value, padSize).split(\"\").map((token) => Number(token));\n  return /* @__PURE__ */ jsx(\"div\", { className: styles.container, style, children: /* @__PURE__ */ jsx(AnimatePresence, { children: digits.map((digit, index) => /* @__PURE__ */ jsx(\n    RollingValue,\n    {\n      isInitial,\n      value: digit\n    },\n    digits.length - index\n  )) }, `${pageVisibility}`) });\n});\nexport {\n  RollingNumber\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_ag7l9_1 {\\n  font-weight: 500;\\n  line-height: 1;\\n  white-space: pre;\\n\\n  display: flex;\\n  align-items: center;\\n}\\n\\n._delimiter_ag7l9_10 {\\n  transform: translateY(-0.1em);\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_ag7l9_1\";\nconst delimiter = \"_delimiter_ag7l9_10\";\nconst styles = {\n  container,\n  delimiter\n};\nexport {\n  container,\n  styles as default,\n  delimiter\n};\n","function getRoundingMethod(method) {\n  return (number) => {\n    const round = method ? Math[method] : Math.trunc;\n    const result = round(number);\n    return result === 0 ? 0 : result;\n  };\n}\nexport {\n  getRoundingMethod\n};\n","import { toDate } from \"./toDate.js\";\nfunction differenceInMilliseconds(dateLeft, dateRight) {\n  return +toDate(dateLeft) - +toDate(dateRight);\n}\nexport {\n  differenceInMilliseconds as default,\n  differenceInMilliseconds\n};\n","import { getRoundingMethod } from \"./_lib/getRoundingMethod.js\";\nimport { differenceInMilliseconds } from \"./differenceInMilliseconds.js\";\nfunction differenceInSeconds(dateLeft, dateRight, options) {\n  const diff = differenceInMilliseconds(dateLeft, dateRight) / 1e3;\n  return getRoundingMethod(options == null ? void 0 : options.roundingMethod)(diff);\n}\nexport {\n  differenceInSeconds as default,\n  differenceInSeconds\n};\n","import { jsx, jsxs, Fragment } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useMemo } from \"react\";\nimport { useVisibilityAwareTimer } from \"../../../hooks/useVisibilityAwareTimer.js\";\nimport { RollingNumber } from \"../RollingNumber/RollingNumber.js\";\nimport styles from \"./Countdown.module.css.js\";\nimport { differenceInSeconds } from \"../../../node_modules/date-fns/differenceInSeconds.js\";\nimport { parseISO } from \"../../../node_modules/date-fns/parseISO.js\";\nfunction renderDateNumbers({\n  diff,\n  dateDisplayFormat,\n  postfixSpacing\n}) {\n  const days = Math.floor(diff / (24 * 60 * 60));\n  if (days === 0) {\n    return null;\n  }\n  switch (dateDisplayFormat) {\n    case \"'D'-D\":\n      return /* @__PURE__ */ jsxs(Fragment, { children: [\n        \"D-\",\n        /* @__PURE__ */ jsx(RollingNumber, { value: days }),\n        postfixSpacing && /* @__PURE__ */ jsx(\"span\", { children: \" \" })\n      ] });\n    case \"D일\":\n      return /* @__PURE__ */ jsxs(Fragment, { children: [\n        /* @__PURE__ */ jsx(RollingNumber, { value: days }),\n        postfixSpacing ? \"일 \" : \"일\"\n      ] });\n    default:\n      return null;\n  }\n}\nfunction renderTimeNumbers({\n  diff,\n  timeDisplayFormat\n}) {\n  const hours = Math.floor(diff / (60 * 60)) % 24;\n  const minutes = Math.floor(diff / 60) % 60;\n  const seconds = diff % 60;\n  switch (timeDisplayFormat) {\n    case \"H:mm:ss\":\n      return /* @__PURE__ */ jsxs(Fragment, { children: [\n        /* @__PURE__ */ jsx(RollingNumber, { value: hours }),\n        /* @__PURE__ */ jsx(\"span\", { className: styles.delimiter, children: \":\" }),\n        /* @__PURE__ */ jsx(RollingNumber, { value: minutes, padSize: 2 }),\n        /* @__PURE__ */ jsx(\"span\", { className: styles.delimiter, children: \":\" }),\n        /* @__PURE__ */ jsx(RollingNumber, { value: seconds, padSize: 2 })\n      ] });\n    case \"H시간 m분 s초\":\n      return /* @__PURE__ */ jsxs(Fragment, { children: [\n        /* @__PURE__ */ jsx(RollingNumber, { value: hours }),\n        \"시간 \",\n        /* @__PURE__ */ jsx(RollingNumber, { value: minutes }),\n        \"분 \",\n        /* @__PURE__ */ jsx(RollingNumber, { value: seconds }),\n        \"초\"\n      ] });\n    default:\n      return null;\n  }\n}\nfunction renderNumbers({\n  diff,\n  dateDisplayFormat,\n  timeDisplayFormat\n}) {\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    renderDateNumbers({\n      diff,\n      dateDisplayFormat,\n      postfixSpacing: timeDisplayFormat !== \"none\"\n    }),\n    renderTimeNumbers({\n      diff,\n      timeDisplayFormat\n    })\n  ] });\n}\nconst Countdown = ({\n  style,\n  dateDisplayFormat,\n  timeDisplayFormat,\n  targetDateString,\n  targetTimeString,\n  fontSize,\n  color\n}) => {\n  const {\n    now\n  } = useVisibilityAwareTimer();\n  const targetDate = useMemo(() => parseISO(`${targetDateString.slice(0, 10)}T${targetTimeString}+09:00`), [targetDateString, targetTimeString]);\n  const diff = Math.max(0, differenceInSeconds(targetDate, now));\n  return /* @__PURE__ */ jsx(\"div\", { className: styles.container, style: {\n    ...style,\n    fontSize,\n    color,\n    height: fontSize\n  }, children: renderNumbers({\n    diff,\n    dateDisplayFormat,\n    timeDisplayFormat\n  }) });\n};\naddPropertyControls(Countdown, {\n  targetDateString: {\n    title: \"날짜\",\n    type: ControlType.Date,\n    defaultValue: \"2024-02-25\"\n  },\n  targetTimeString: {\n    title: \"시간\",\n    description: \"예: 13:00:00 (시:분:초)\",\n    type: ControlType.String,\n    placeholder: \"13:00:00\",\n    defaultValue: \"00:00:00\"\n  },\n  dateDisplayFormat: {\n    title: \"날짜 표기\",\n    description: \"D-0 인 경우 표시되지 않습니다\",\n    type: ControlType.Enum,\n    displaySegmentedControl: true,\n    options: [\"'D'-D\", \"D일\", \"none\"],\n    optionTitles: [\"D-3\", \"3일\", \"없음\"],\n    defaultValue: \"h시간 m분 s초\"\n  },\n  timeDisplayFormat: {\n    title: \"시간 표기\",\n    type: ControlType.Enum,\n    options: [\"H:mm:ss\", \"H시간 m분 s초\", \"none\"],\n    optionTitles: [\"7:21:58\", \"7시간 21분 58초\", \"없음\"],\n    defaultValue: \"h시간 m분 s초\"\n  },\n  fontSize: {\n    title: \"크기 (px)\",\n    type: ControlType.Number,\n    defaultValue: 54\n  },\n  color: {\n    title: \"색상\",\n    type: ControlType.Color,\n    defaultValue: \"rgba(0,0,0,1)\"\n  }\n});\nexport {\n  Countdown\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { Countdown } from \"../../../systems/Countdown/Countdown.js\";\nimport { formatDate as format } from \"../../../../node_modules/date-fns/format.js\";\nimport \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { typography } from \"../../../../styles/typography.js\";\nconst HeadlineCountdownActionElement = ({\n  action\n}) => {\n  const {\n    endAt\n  } = action;\n  const theme = useTheme();\n  return /* @__PURE__ */ jsx(Countdown, { targetDateString: format(endAt, \"yyyy-MM-dd\"), targetTimeString: format(endAt, \"HH:mm:ss\"), dateDisplayFormat: \"D일\", timeDisplayFormat: \"H시간 m분 s초\", fontSize: 14, color: countdownColorByTheme[theme], style: {\n    ...typography(14, 500)\n  } });\n};\nconst countdownColorByTheme = {\n  light: \"#FF4800\",\n  dark: \"#D53E00\"\n};\nexport {\n  HeadlineCountdownActionElement\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { HeadlineActionType } from \"../HeadlineModule.types.js\";\nimport { HeadlineLinkActionElement } from \"./HeadlineLinkActionElement.js\";\nimport { HeadlineCountdownActionElement } from \"./HeadlineCountdownActionElement.js\";\nconst HeadlineActionElement = ({\n  actionElement,\n  action,\n  query\n}) => {\n  switch (action.type) {\n    case HeadlineActionType.External:\n      return actionElement;\n    case HeadlineActionType.Link:\n      return /* @__PURE__ */ jsx(HeadlineLinkActionElement, { action, query });\n    case HeadlineActionType.Countdown:\n      return /* @__PURE__ */ jsx(HeadlineCountdownActionElement, { action });\n  }\n};\nexport {\n  HeadlineActionElement\n};\n","import { create } from \"../../../node_modules/zustand/esm/index.js\";\nconst initialState = {\n  queries: {},\n  failures: {}\n};\nconst useQueryStore = create((set) => ({\n  ...initialState,\n  dispatchSetQuery: (key, query) => set((prev) => ({\n    queries: {\n      ...prev.queries,\n      [key]: query\n    }\n  })),\n  dispatchSetFailure: (key, retry) => set((prev) => ({\n    failures: {\n      ...prev.failures,\n      [key]: retry\n    }\n  }))\n}));\nexport {\n  useQueryStore\n};\n","const getPaddingStyle = (value) => {\n  return value.isMixed ? `${value.paddingTop}px ${value.paddingRight}px ${value.paddingBottom}px ${value.paddingLeft}px` : `${value.padding}px`;\n};\nconst getPadding = (value) => {\n  return {\n    top: value.isMixed ? value.paddingTop : value.padding,\n    right: value.isMixed ? value.paddingRight : value.padding,\n    bottom: value.isMixed ? value.paddingBottom : value.padding,\n    left: value.isMixed ? value.paddingLeft : value.padding\n  };\n};\nexport {\n  getPadding,\n  getPaddingStyle\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useMemo, useEffect } from \"react\";\nimport { HeadlineMediaElement } from \"../HeadlineMediaElement/HeadlineMediaElement.js\";\nimport { Headline } from \"../../../systems/curations/Headline/index.js\";\nimport { HeadlineActionElement } from \"../HeadlineActionElement/HeadlineActionElement.js\";\nimport { useQueryStore } from \"../../query-store/query.store.js\";\nimport { getPadding } from \"../../../../utils/spacing.js\";\nimport { useSetRootModule } from \"../../hooks.js\";\nimport { useSegment } from \"../../../@shared/providers/SegmentProvider/SegmentProvider.js\";\nconst HeadlineElement = ({\n  loading,\n  input: _input,\n  output,\n  layout,\n  actionElement\n}) => {\n  const dispatchSetQuery = useQueryStore((state) => state.dispatchSetQuery);\n  const input = useMemo(() => attachAdditionalQuery(_input, output), [_input, output]);\n  const {\n    isVisible\n  } = useSegment();\n  const {\n    title,\n    description,\n    action\n  } = input;\n  const {\n    priority,\n    mediaType,\n    ...rest\n  } = layout;\n  const hasMediaType = mediaType !== \"none\";\n  const isPrimary = priority === \"primary\";\n  const canRenderMedia = isPrimary && hasMediaType;\n  useEffect(() => {\n    window == null ? void 0 : window.dispatchEvent(new CustomEvent(\"layout-done\"));\n    if (!input.query) {\n      return;\n    }\n    if (!output) {\n      return;\n    }\n    dispatchSetQuery(output, input.query);\n  }, [output, input]);\n  useSetRootModule(input.query, output);\n  const padding = getPadding(layout);\n  if (!isVisible) {\n    window == null ? void 0 : window.dispatchEvent(new CustomEvent(\"layout-done\"));\n    return null;\n  }\n  return /* @__PURE__ */ jsxs(Headline.Root, { style: {\n    paddingTop: padding.top\n  }, loading, priority, children: [\n    canRenderMedia ? /* @__PURE__ */ jsx(HeadlineMediaElement, { mediaType, ...rest }) : null,\n    /* @__PURE__ */ jsxs(\n      Headline.Content,\n      {\n        style: {\n          paddingRight: padding.right,\n          paddingBottom: padding.bottom,\n          paddingLeft: padding.left\n        },\n        contentStyle: priority === \"secondary\" ? {\n          minHeight: \"unset\"\n        } : {},\n        emptyTitle: title === \"\",\n        children: [\n          /* @__PURE__ */ jsxs(Headline.Body, { children: [\n            /* @__PURE__ */ jsx(Headline.Title, { children: title }),\n            isPrimary ? /* @__PURE__ */ jsx(Headline.Action, { children: action ? /* @__PURE__ */ jsx(HeadlineActionElement, { actionElement, action, query: input.query }) : null }) : /* @__PURE__ */ jsx(Headline.Description, { children: description })\n          ] }),\n          isPrimary ? /* @__PURE__ */ jsx(Headline.Description, { children: description }) : /* @__PURE__ */ jsx(Headline.Action, { children: action ? /* @__PURE__ */ jsx(HeadlineActionElement, { actionElement, action, query: input.query }) : null }),\n          canRenderMedia ? /* @__PURE__ */ jsx(Headline.Gradient, {}) : null\n        ]\n      }\n    )\n  ] });\n};\nconst attachAdditionalQuery = (value, output) => {\n  return {\n    ...value,\n    query: value.query ? {\n      ...value.query,\n      isRoot: value.query.rootOutput === void 0,\n      rootOutput: value.query.rootOutput || output\n    } : void 0\n  };\n};\nexport {\n  HeadlineElement\n};\n","class UTCDateMini extends Date {\n  constructor() {\n    super();\n    this.setTime(\n      arguments.length === 0 ? (\n        // Enables Sinon's fake timers that override the constructor\n        Date.now()\n      ) : arguments.length === 1 ? typeof arguments[0] === \"string\" ? +new Date(arguments[0]) : arguments[0] : Date.UTC(...arguments)\n    );\n  }\n  getTimezoneOffset() {\n    return 0;\n  }\n}\nconst re = /^(get|set)(?!UTC)/;\nObject.getOwnPropertyNames(Date.prototype).forEach((method) => {\n  if (re.test(method)) {\n    const utcMethod = Date.prototype[method.replace(re, \"$1UTC\")];\n    if (utcMethod)\n      UTCDateMini.prototype[method] = utcMethod;\n  }\n});\nexport {\n  UTCDateMini\n};\n","import { UTCDateMini } from \"./mini.js\";\nclass UTCDate extends UTCDateMini {\n  toString() {\n    const date = this.toDateString();\n    const time = this.toTimeString();\n    return `${date} ${time}`;\n  }\n  toDateString() {\n    const weekday = weekdayFormat.format(this);\n    const date = dateFormat.format(this);\n    const year = this.getFullYear();\n    return `${weekday} ${date} ${year}`;\n  }\n  toTimeString() {\n    const time = timeFormat.format(this);\n    return `${time} GMT+0000 (Coordinated Universal Time)`;\n  }\n  toLocaleString(locales, options) {\n    return Date.prototype.toLocaleString.call(this, locales, {\n      timeZone: \"UTC\",\n      ...options\n    });\n  }\n  toLocaleDateString(locales, options) {\n    return Date.prototype.toLocaleDateString.call(this, locales, {\n      timeZone: \"UTC\",\n      ...options\n    });\n  }\n  toLocaleTimeString(locales, options) {\n    return Date.prototype.toLocaleTimeString.call(this, locales, {\n      timeZone: \"UTC\",\n      ...options\n    });\n  }\n}\nvar weekdayFormat = new Intl.DateTimeFormat(\"en-US\", {\n  weekday: \"short\",\n  timeZone: \"UTC\"\n});\nvar dateFormat = new Intl.DateTimeFormat(\"en-US\", {\n  month: \"short\",\n  day: \"numeric\",\n  timeZone: \"UTC\"\n});\nvar timeFormat = new Intl.DateTimeFormat(\"en-GB\", {\n  hour12: false,\n  hour: \"numeric\",\n  minute: \"numeric\",\n  second: \"numeric\",\n  timeZone: \"UTC\"\n});\nexport {\n  UTCDate\n};\n","function tzTokenizeDate(date, timeZone) {\n  const dtf = getDateTimeFormat(timeZone);\n  return \"formatToParts\" in dtf ? partsOffset(dtf, date) : hackyOffset(dtf, date);\n}\nconst typeToPos = {\n  year: 0,\n  month: 1,\n  day: 2,\n  hour: 3,\n  minute: 4,\n  second: 5\n};\nfunction partsOffset(dtf, date) {\n  try {\n    const formatted = dtf.formatToParts(date);\n    const filled = [];\n    for (let i = 0; i < formatted.length; i++) {\n      const pos = typeToPos[formatted[i].type];\n      if (pos !== void 0) {\n        filled[pos] = parseInt(formatted[i].value, 10);\n      }\n    }\n    return filled;\n  } catch (error) {\n    if (error instanceof RangeError) {\n      return [NaN];\n    }\n    throw error;\n  }\n}\nfunction hackyOffset(dtf, date) {\n  const formatted = dtf.format(date);\n  const parsed = /(\\d+)\\/(\\d+)\\/(\\d+),? (\\d+):(\\d+):(\\d+)/.exec(formatted);\n  return [\n    parseInt(parsed[3], 10),\n    parseInt(parsed[1], 10),\n    parseInt(parsed[2], 10),\n    parseInt(parsed[4], 10),\n    parseInt(parsed[5], 10),\n    parseInt(parsed[6], 10)\n  ];\n}\nconst dtfCache = {};\nfunction getDateTimeFormat(timeZone) {\n  if (!dtfCache[timeZone]) {\n    const testDateFormatted = new Intl.DateTimeFormat(\"en-US\", {\n      hourCycle: \"h23\",\n      timeZone: \"America/New_York\",\n      year: \"numeric\",\n      month: \"2-digit\",\n      day: \"2-digit\",\n      hour: \"2-digit\",\n      minute: \"2-digit\",\n      second: \"2-digit\"\n    }).format(/* @__PURE__ */ new Date(\"2014-06-25T04:00:00.123Z\"));\n    const hourCycleSupported = testDateFormatted === \"06/25/2014, 00:00:00\" || testDateFormatted === \"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00\";\n    dtfCache[timeZone] = hourCycleSupported ? new Intl.DateTimeFormat(\"en-US\", {\n      hourCycle: \"h23\",\n      timeZone,\n      year: \"numeric\",\n      month: \"numeric\",\n      day: \"2-digit\",\n      hour: \"2-digit\",\n      minute: \"2-digit\",\n      second: \"2-digit\"\n    }) : new Intl.DateTimeFormat(\"en-US\", {\n      hour12: false,\n      timeZone,\n      year: \"numeric\",\n      month: \"numeric\",\n      day: \"2-digit\",\n      hour: \"2-digit\",\n      minute: \"2-digit\",\n      second: \"2-digit\"\n    });\n  }\n  return dtfCache[timeZone];\n}\nexport {\n  tzTokenizeDate\n};\n","function newDateUTC(fullYear, month, day, hour, minute, second, millisecond) {\n  const utcDate = /* @__PURE__ */ new Date(0);\n  utcDate.setUTCFullYear(fullYear, month, day);\n  utcDate.setUTCHours(hour, minute, second, millisecond);\n  return utcDate;\n}\nexport {\n  newDateUTC\n};\n","import { tzTokenizeDate } from \"../tzTokenizeDate/index.js\";\nimport { newDateUTC } from \"../newDateUTC/index.js\";\nconst MILLISECONDS_IN_HOUR = 36e5;\nconst MILLISECONDS_IN_MINUTE = 6e4;\nconst patterns = {\n  timezone: /([Z+-].*)$/,\n  timezoneZ: /^(Z)$/,\n  timezoneHH: /^([+-]\\d{2})$/,\n  timezoneHHMM: /^([+-])(\\d{2}):?(\\d{2})$/\n};\nfunction tzParseTimezone(timezoneString, date, isUtcDate) {\n  if (!timezoneString) {\n    return 0;\n  }\n  let token = patterns.timezoneZ.exec(timezoneString);\n  if (token) {\n    return 0;\n  }\n  let hours;\n  let absoluteOffset;\n  token = patterns.timezoneHH.exec(timezoneString);\n  if (token) {\n    hours = parseInt(token[1], 10);\n    if (!validateTimezone(hours)) {\n      return NaN;\n    }\n    return -(hours * MILLISECONDS_IN_HOUR);\n  }\n  token = patterns.timezoneHHMM.exec(timezoneString);\n  if (token) {\n    hours = parseInt(token[2], 10);\n    const minutes = parseInt(token[3], 10);\n    if (!validateTimezone(hours, minutes)) {\n      return NaN;\n    }\n    absoluteOffset = Math.abs(hours) * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n    return token[1] === \"+\" ? -absoluteOffset : absoluteOffset;\n  }\n  if (isValidTimezoneIANAString(timezoneString)) {\n    date = new Date(date || Date.now());\n    const utcDate = isUtcDate ? date : toUtcDate(date);\n    const offset = calcOffset(utcDate, timezoneString);\n    const fixedOffset = isUtcDate ? offset : fixOffset(date, offset, timezoneString);\n    return -fixedOffset;\n  }\n  return NaN;\n}\nfunction toUtcDate(date) {\n  return newDateUTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());\n}\nfunction calcOffset(date, timezoneString) {\n  const tokens = tzTokenizeDate(date, timezoneString);\n  const asUTC = newDateUTC(tokens[0], tokens[1] - 1, tokens[2], tokens[3] % 24, tokens[4], tokens[5], 0).getTime();\n  let asTS = date.getTime();\n  const over = asTS % 1e3;\n  asTS -= over >= 0 ? over : 1e3 + over;\n  return asUTC - asTS;\n}\nfunction fixOffset(date, offset, timezoneString) {\n  const localTS = date.getTime();\n  let utcGuess = localTS - offset;\n  const o2 = calcOffset(new Date(utcGuess), timezoneString);\n  if (offset === o2) {\n    return offset;\n  }\n  utcGuess -= o2 - offset;\n  const o3 = calcOffset(new Date(utcGuess), timezoneString);\n  if (o2 === o3) {\n    return o2;\n  }\n  return Math.max(o2, o3);\n}\nfunction validateTimezone(hours, minutes) {\n  return -23 <= hours && hours <= 23 && (minutes == null || 0 <= minutes && minutes <= 59);\n}\nconst validIANATimezoneCache = {};\nfunction isValidTimezoneIANAString(timeZoneString) {\n  if (validIANATimezoneCache[timeZoneString])\n    return true;\n  try {\n    new Intl.DateTimeFormat(void 0, { timeZone: timeZoneString });\n    validIANATimezoneCache[timeZoneString] = true;\n    return true;\n  } catch (error) {\n    return false;\n  }\n}\nexport {\n  tzParseTimezone\n};\n","function getTimezoneOffsetInMilliseconds(date) {\n  const utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n  utcDate.setUTCFullYear(date.getFullYear());\n  return +date - +utcDate;\n}\nexport {\n  getTimezoneOffsetInMilliseconds\n};\n","const tzPattern = /(Z|[+-]\\d{2}(?::?\\d{2})?| UTC| [a-zA-Z]+\\/[a-zA-Z_]+(?:\\/[a-zA-Z_]+)?)$/;\nexport {\n  tzPattern\n};\n","import { getTimezoneOffsetInMilliseconds } from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport { tzParseTimezone } from \"../_lib/tzParseTimezone/index.js\";\nimport { tzPattern } from \"../_lib/tzPattern/index.js\";\nconst MILLISECONDS_IN_HOUR = 36e5;\nconst MILLISECONDS_IN_MINUTE = 6e4;\nconst DEFAULT_ADDITIONAL_DIGITS = 2;\nconst patterns = {\n  dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,\n  datePattern: /^([0-9W+-]+)(.*)/,\n  plainTime: /:/,\n  // year tokens\n  YY: /^(\\d{2})$/,\n  YYY: [\n    /^([+-]\\d{2})$/,\n    // 0 additional digits\n    /^([+-]\\d{3})$/,\n    // 1 additional digit\n    /^([+-]\\d{4})$/\n    // 2 additional digits\n  ],\n  YYYY: /^(\\d{4})/,\n  YYYYY: [\n    /^([+-]\\d{4})/,\n    // 0 additional digits\n    /^([+-]\\d{5})/,\n    // 1 additional digit\n    /^([+-]\\d{6})/\n    // 2 additional digits\n  ],\n  // date tokens\n  MM: /^-(\\d{2})$/,\n  DDD: /^-?(\\d{3})$/,\n  MMDD: /^-?(\\d{2})-?(\\d{2})$/,\n  Www: /^-?W(\\d{2})$/,\n  WwwD: /^-?W(\\d{2})-?(\\d{1})$/,\n  HH: /^(\\d{2}([.,]\\d*)?)$/,\n  HHMM: /^(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n  HHMMSS: /^(\\d{2}):?(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n  // time zone tokens (to identify the presence of a tz)\n  timeZone: tzPattern\n};\nfunction toDate(argument, options = {}) {\n  if (arguments.length < 1) {\n    throw new TypeError(\"1 argument required, but only \" + arguments.length + \" present\");\n  }\n  if (argument === null) {\n    return /* @__PURE__ */ new Date(NaN);\n  }\n  const additionalDigits = options.additionalDigits == null ? DEFAULT_ADDITIONAL_DIGITS : Number(options.additionalDigits);\n  if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) {\n    throw new RangeError(\"additionalDigits must be 0, 1 or 2\");\n  }\n  if (argument instanceof Date || typeof argument === \"object\" && Object.prototype.toString.call(argument) === \"[object Date]\") {\n    return new Date(argument.getTime());\n  } else if (typeof argument === \"number\" || Object.prototype.toString.call(argument) === \"[object Number]\") {\n    return new Date(argument);\n  } else if (!(Object.prototype.toString.call(argument) === \"[object String]\")) {\n    return /* @__PURE__ */ new Date(NaN);\n  }\n  const dateStrings = splitDateString(argument);\n  const { year, restDateString } = parseYear(dateStrings.date, additionalDigits);\n  const date = parseDate(restDateString, year);\n  if (date === null || isNaN(date.getTime())) {\n    return /* @__PURE__ */ new Date(NaN);\n  }\n  if (date) {\n    const timestamp = date.getTime();\n    let time = 0;\n    let offset;\n    if (dateStrings.time) {\n      time = parseTime(dateStrings.time);\n      if (time === null || isNaN(time)) {\n        return /* @__PURE__ */ new Date(NaN);\n      }\n    }\n    if (dateStrings.timeZone || options.timeZone) {\n      offset = tzParseTimezone(dateStrings.timeZone || options.timeZone, new Date(timestamp + time));\n      if (isNaN(offset)) {\n        return /* @__PURE__ */ new Date(NaN);\n      }\n    } else {\n      offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time));\n      offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time + offset));\n    }\n    return new Date(timestamp + time + offset);\n  } else {\n    return /* @__PURE__ */ new Date(NaN);\n  }\n}\nfunction splitDateString(dateString) {\n  const dateStrings = {};\n  let parts = patterns.dateTimePattern.exec(dateString);\n  let timeString;\n  if (!parts) {\n    parts = patterns.datePattern.exec(dateString);\n    if (parts) {\n      dateStrings.date = parts[1];\n      timeString = parts[2];\n    } else {\n      dateStrings.date = null;\n      timeString = dateString;\n    }\n  } else {\n    dateStrings.date = parts[1];\n    timeString = parts[3];\n  }\n  if (timeString) {\n    const token = patterns.timeZone.exec(timeString);\n    if (token) {\n      dateStrings.time = timeString.replace(token[1], \"\");\n      dateStrings.timeZone = token[1].trim();\n    } else {\n      dateStrings.time = timeString;\n    }\n  }\n  return dateStrings;\n}\nfunction parseYear(dateString, additionalDigits) {\n  if (dateString) {\n    const patternYYY = patterns.YYY[additionalDigits];\n    const patternYYYYY = patterns.YYYYY[additionalDigits];\n    let token = patterns.YYYY.exec(dateString) || patternYYYYY.exec(dateString);\n    if (token) {\n      const yearString = token[1];\n      return {\n        year: parseInt(yearString, 10),\n        restDateString: dateString.slice(yearString.length)\n      };\n    }\n    token = patterns.YY.exec(dateString) || patternYYY.exec(dateString);\n    if (token) {\n      const centuryString = token[1];\n      return {\n        year: parseInt(centuryString, 10) * 100,\n        restDateString: dateString.slice(centuryString.length)\n      };\n    }\n  }\n  return {\n    year: null\n  };\n}\nfunction parseDate(dateString, year) {\n  if (year === null) {\n    return null;\n  }\n  let date;\n  let month;\n  let week;\n  if (!dateString || !dateString.length) {\n    date = /* @__PURE__ */ new Date(0);\n    date.setUTCFullYear(year);\n    return date;\n  }\n  let token = patterns.MM.exec(dateString);\n  if (token) {\n    date = /* @__PURE__ */ new Date(0);\n    month = parseInt(token[1], 10) - 1;\n    if (!validateDate(year, month)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    date.setUTCFullYear(year, month);\n    return date;\n  }\n  token = patterns.DDD.exec(dateString);\n  if (token) {\n    date = /* @__PURE__ */ new Date(0);\n    const dayOfYear = parseInt(token[1], 10);\n    if (!validateDayOfYearDate(year, dayOfYear)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    date.setUTCFullYear(year, 0, dayOfYear);\n    return date;\n  }\n  token = patterns.MMDD.exec(dateString);\n  if (token) {\n    date = /* @__PURE__ */ new Date(0);\n    month = parseInt(token[1], 10) - 1;\n    const day = parseInt(token[2], 10);\n    if (!validateDate(year, month, day)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    date.setUTCFullYear(year, month, day);\n    return date;\n  }\n  token = patterns.Www.exec(dateString);\n  if (token) {\n    week = parseInt(token[1], 10) - 1;\n    if (!validateWeekDate(week)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    return dayOfISOWeekYear(year, week);\n  }\n  token = patterns.WwwD.exec(dateString);\n  if (token) {\n    week = parseInt(token[1], 10) - 1;\n    const dayOfWeek = parseInt(token[2], 10) - 1;\n    if (!validateWeekDate(week, dayOfWeek)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    return dayOfISOWeekYear(year, week, dayOfWeek);\n  }\n  return null;\n}\nfunction parseTime(timeString) {\n  let hours;\n  let minutes;\n  let token = patterns.HH.exec(timeString);\n  if (token) {\n    hours = parseFloat(token[1].replace(\",\", \".\"));\n    if (!validateTime(hours)) {\n      return NaN;\n    }\n    return hours % 24 * MILLISECONDS_IN_HOUR;\n  }\n  token = patterns.HHMM.exec(timeString);\n  if (token) {\n    hours = parseInt(token[1], 10);\n    minutes = parseFloat(token[2].replace(\",\", \".\"));\n    if (!validateTime(hours, minutes)) {\n      return NaN;\n    }\n    return hours % 24 * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n  }\n  token = patterns.HHMMSS.exec(timeString);\n  if (token) {\n    hours = parseInt(token[1], 10);\n    minutes = parseInt(token[2], 10);\n    const seconds = parseFloat(token[3].replace(\",\", \".\"));\n    if (!validateTime(hours, minutes, seconds)) {\n      return NaN;\n    }\n    return hours % 24 * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * 1e3;\n  }\n  return null;\n}\nfunction dayOfISOWeekYear(isoWeekYear, week, day) {\n  week = week || 0;\n  day = day || 0;\n  const date = /* @__PURE__ */ new Date(0);\n  date.setUTCFullYear(isoWeekYear, 0, 4);\n  const fourthOfJanuaryDay = date.getUTCDay() || 7;\n  const diff = week * 7 + day + 1 - fourthOfJanuaryDay;\n  date.setUTCDate(date.getUTCDate() + diff);\n  return date;\n}\nconst DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nconst DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nfunction isLeapYearIndex(year) {\n  return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\nfunction validateDate(year, month, date) {\n  if (month < 0 || month > 11) {\n    return false;\n  }\n  if (date != null) {\n    if (date < 1) {\n      return false;\n    }\n    const isLeapYear = isLeapYearIndex(year);\n    if (isLeapYear && date > DAYS_IN_MONTH_LEAP_YEAR[month]) {\n      return false;\n    }\n    if (!isLeapYear && date > DAYS_IN_MONTH[month]) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction validateDayOfYearDate(year, dayOfYear) {\n  if (dayOfYear < 1) {\n    return false;\n  }\n  const isLeapYear = isLeapYearIndex(year);\n  if (isLeapYear && dayOfYear > 366) {\n    return false;\n  }\n  if (!isLeapYear && dayOfYear > 365) {\n    return false;\n  }\n  return true;\n}\nfunction validateWeekDate(week, day) {\n  if (week < 0 || week > 52) {\n    return false;\n  }\n  if (day != null && (day < 0 || day > 6)) {\n    return false;\n  }\n  return true;\n}\nfunction validateTime(hours, minutes, seconds) {\n  if (hours < 0 || hours >= 25) {\n    return false;\n  }\n  if (minutes != null && (minutes < 0 || minutes >= 60)) {\n    return false;\n  }\n  if (seconds != null && (seconds < 0 || seconds >= 60)) {\n    return false;\n  }\n  return true;\n}\nexport {\n  toDate\n};\n","import { tzParseTimezone } from \"../_lib/tzParseTimezone/index.js\";\nimport { toDate } from \"../toDate/index.js\";\nfunction toZonedTime(date, timeZone, options) {\n  date = toDate(date, options);\n  const offsetMilliseconds = tzParseTimezone(timeZone, date, true);\n  const d = new Date(date.getTime() - offsetMilliseconds);\n  const resultDate = /* @__PURE__ */ new Date(0);\n  resultDate.setFullYear(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate());\n  resultDate.setHours(d.getUTCHours(), d.getUTCMinutes(), d.getUTCSeconds(), d.getUTCMilliseconds());\n  return resultDate;\n}\nexport {\n  toZonedTime\n};\n","import { UTCDate } from \"../node_modules/@date-fns/utc/date/index.js\";\nimport { toZonedTime } from \"../node_modules/date-fns-tz/dist/esm/toZonedTime/index.js\";\nconst createKRTimeZoneDate = (date) => {\n  const utcDate = date ? new UTCDate(date) : new UTCDate();\n  return toZonedTime(utcDate, \"Asia/Seoul\");\n};\nexport {\n  createKRTimeZoneDate\n};\n","import { toDate } from \"./toDate.js\";\nfunction compareAsc(dateLeft, dateRight) {\n  const _dateLeft = toDate(dateLeft);\n  const _dateRight = toDate(dateRight);\n  const diff = _dateLeft.getTime() - _dateRight.getTime();\n  if (diff < 0) {\n    return -1;\n  } else if (diff > 0) {\n    return 1;\n  } else {\n    return diff;\n  }\n}\nexport {\n  compareAsc,\n  compareAsc as default\n};\n","import { toDate } from \"./toDate.js\";\nfunction isWithinInterval(date, interval) {\n  const time = +toDate(date);\n  const [startTime, endTime] = [\n    +toDate(interval.start),\n    +toDate(interval.end)\n  ].sort((a, b) => a - b);\n  return time >= startTime && time <= endTime;\n}\nexport {\n  isWithinInterval as default,\n  isWithinInterval\n};\n","import { createKRTimeZoneDate } from \"./createUTCDate.js\";\nimport { isAfter } from \"../node_modules/date-fns/isAfter.js\";\nimport { compareAsc } from \"../node_modules/date-fns/compareAsc.js\";\nimport { isWithinInterval } from \"../node_modules/date-fns/isWithinInterval.js\";\nimport { isEqual } from \"../node_modules/date-fns/isEqual.js\";\nimport { parseISO } from \"../node_modules/date-fns/parseISO.js\";\nimport { isBefore } from \"../node_modules/date-fns/isBefore.js\";\nconst composeFramerDateTime = (dateTime) => {\n  const {\n    date,\n    hours,\n    minutes,\n    seconds\n  } = dateTime;\n  if (!date) {\n    return;\n  }\n  const copied = createKRTimeZoneDate(date);\n  copied.setHours(hours, minutes, seconds);\n  return copied;\n};\nconst appendFramerTime = (date, time) => {\n  const {\n    hours,\n    minutes,\n    seconds\n  } = time;\n  const copied = new Date(date);\n  copied.setHours(hours, minutes, seconds);\n  return copied;\n};\nconst isAbove = (date, dateToCompare) => isEqual(date, dateToCompare) || isAfter(date, dateToCompare);\nconst orderByDateAsc = (items, selector) => {\n  return [...items].sort((x, y) => compareAsc(selector(x), selector(y)));\n};\nconst getCurrentScheduleIndex = (list, startDateSelector, endDateSelector) => {\n  const now = createKRTimeZoneDate();\n  const currentIndex = list.findIndex((item, index) => {\n    const nextItem = list[index + 1];\n    const startDate = startDateSelector(item);\n    const endDate = endDateSelector(item, nextItem);\n    const start = parseISO(startDate.toString());\n    const end = endDate ? parseISO(endDate.toString()) : void 0;\n    const isWithin = end ? isWithinInterval(now, {\n      start,\n      end\n    }) : false;\n    const isUpcoming = isBefore(now, start);\n    const isLast = nextItem === void 0;\n    return isWithin || isUpcoming || isLast;\n  });\n  return currentIndex === -1 ? void 0 : currentIndex;\n};\nconst getScheduleStatus = (startAt, endAt) => {\n  const now = createKRTimeZoneDate();\n  const isOngoing = isWithinInterval(now, {\n    start: startAt,\n    end: endAt\n  });\n  if (isOngoing) {\n    return \"ongoing\";\n  }\n  const isUpcoming = isBefore(now, startAt);\n  if (isUpcoming) {\n    return \"upcoming\";\n  }\n  return \"end\";\n};\nexport {\n  appendFramerTime,\n  composeFramerDateTime,\n  getCurrentScheduleIndex,\n  getScheduleStatus,\n  isAbove,\n  orderByDateAsc\n};\n","import { HeadlineActionType, HeadlinePresetType } from \"./HeadlineModule.types.js\";\nimport { getScheduleStatus } from \"../../../utils/date.js\";\nimport { parseISO } from \"../../../node_modules/date-fns/parseISO.js\";\nimport { formatDate as format } from \"../../../node_modules/date-fns/format.js\";\nimport { ko } from \"../../../node_modules/date-fns/locale/ko.js\";\nconst getScheduleHeadline = (query, startAt, endAt) => {\n  const start = parseISO(startAt.toString());\n  const end = parseISO(endAt.toString());\n  const status = getScheduleStatus(start, end);\n  return {\n    title: getScheduleHeadlineTitle(status, start),\n    action: getScheduleHeadlineAction(status, start, end),\n    query\n  };\n};\nconst getScheduleHeadlineAction = (status, startAt, endAt) => {\n  switch (status) {\n    case \"ongoing\":\n      return {\n        type: HeadlineActionType.Countdown,\n        startAt,\n        endAt\n      };\n    case \"upcoming\":\n      return {\n        type: HeadlineActionType.External\n      };\n    default:\n      return;\n  }\n};\nconst getScheduleHeadlineTitle = (status, startAt) => {\n  switch (status) {\n    case \"ongoing\":\n      return \"종료까지 남은 시간\";\n    case \"upcoming\":\n      return format(startAt, startAt.getMinutes() > 0 ? \"a h시 m분 오픈\" : \"a h시 오픈\", {\n        locale: ko\n      });\n    case \"end\":\n      return \"종료된 이벤트\";\n    default:\n      return \"\";\n  }\n};\nconst getHeadlinePreset = (layout) => {\n  switch (layout.priority) {\n    case \"primary\":\n      return HeadlinePresetType.Default;\n    default:\n      return layout.preset;\n  }\n};\nexport {\n  getHeadlinePreset,\n  getScheduleHeadline\n};\n","import { QueryType } from \"../../types.js\";\nimport { HeadlinePresetType, HeadlineActionType } from \"../HeadlineModule.types.js\";\nimport { getScheduleHeadline } from \"../HeadlineModule.utils.js\";\nconst getCouponCollectionHeadline = (query, preset) => {\n  const {\n    displayStartAt,\n    displayEndAt,\n    frontBrand,\n    title,\n    description\n  } = query;\n  const hasFrontBrand = frontBrand !== void 0;\n  if (preset === HeadlinePresetType.Link && hasFrontBrand) {\n    return {\n      // TODO(임규민): title format 을 외부에서 입력받을 수 있도록 처리\n      title: `${frontBrand.nameKor} 인기 아이템`,\n      action: {\n        type: HeadlineActionType.Link,\n        // TODO(임규민): label 을 외부에서 입력받을 수 있도록 처리\n        label: \"전체보기\",\n        query\n      },\n      query\n    };\n  }\n  const hasSchedule = displayStartAt && displayEndAt;\n  if (preset === HeadlinePresetType.Schedule && hasSchedule) {\n    return getScheduleHeadline(query, displayStartAt, displayEndAt);\n  }\n  return {\n    title: title ?? \"\",\n    description,\n    action: {\n      type: HeadlineActionType.External\n    },\n    query\n  };\n};\nconst getKeywordCollectionHeadline = (query, preset) => {\n  const {\n    selectedProductGroup,\n    title,\n    description\n  } = query;\n  const {\n    startAt,\n    endAt\n  } = selectedProductGroup ?? {};\n  if (preset === HeadlinePresetType.Link) {\n    return {\n      title: title ?? \"\",\n      action: {\n        type: HeadlineActionType.Link,\n        // TODO(임규민): label 을 외부에서 입력받을 수 있도록 처리\n        label: \"전체보기\",\n        query\n      },\n      query\n    };\n  }\n  const hasSchedule = startAt && endAt;\n  if (preset === HeadlinePresetType.Schedule && hasSchedule) {\n    return getScheduleHeadline(query, startAt, endAt);\n  }\n  return {\n    title: title ?? \"\",\n    description,\n    action: {\n      type: HeadlineActionType.External\n    },\n    query\n  };\n};\nconst getHeadline = (query, preset) => {\n  if (!query) {\n    return {\n      title: \"\",\n      description: \"\"\n    };\n  }\n  switch (query.type) {\n    case QueryType.CouponCollection:\n      return getCouponCollectionHeadline(query, preset);\n    case QueryType.KeywordCollection:\n      return getKeywordCollectionHeadline(query, preset);\n    default:\n      return {\n        title: \"\",\n        description: \"\"\n      };\n  }\n};\nexport {\n  getHeadline\n};\n","import { QueryType } from \"../types.js\";\nconst createKey = (query) => {\n  var _a;\n  return ((_a = query == null ? void 0 : query.keys) == null ? void 0 : _a.join(\"-\")) ?? void 0;\n};\nconst MOLOCO_SHARED_KEY = \"moloco-shared\";\nconst getMolocoCacheQuery = (query) => {\n  if (query.type !== QueryType.Moloco) {\n    return query;\n  }\n  const molocoQuery = query;\n  return {\n    type: molocoQuery.type,\n    tagId: molocoQuery.tagId,\n    inventoryId: molocoQuery.inventoryId,\n    pageId: molocoQuery.pageId\n    // facetName은 의도적으로 제외\n    // 이유: 모든 탭 데이터가 이미 API에서 반환되므로\n    //       탭마다 다른 cache를 만들 필요가 없음\n  };\n};\nconst createMolocoKey = (query) => {\n  return [MOLOCO_SHARED_KEY, getMolocoCacheQuery(query)];\n};\nexport {\n  createKey,\n  createMolocoKey,\n  getMolocoCacheQuery\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useMemo } from \"react\";\nimport { useQueryStore } from \"../../query-store/query.store.js\";\nimport { HeadlineElement } from \"../HeadlineElement/HeadlineElement.js\";\nimport { getHeadline } from \"./LinkedHeadlineModule.utils.js\";\nimport { getHeadlinePreset } from \"../HeadlineModule.utils.js\";\nimport { createKey } from \"../../utils/key.js\";\nconst LinkedHeadlineModule = ({\n  value,\n  input,\n  output,\n  layout,\n  actionElement\n}) => {\n  const query = useQueryStore((state) => state.queries[value]);\n  const headline = useMemo(() => getHeadline(query, getHeadlinePreset(layout)), [query, layout]);\n  return /* @__PURE__ */ jsx(HeadlineElement, { input: {\n    ...headline,\n    title: input.title || headline.title,\n    description: input.description || headline.description\n  }, output, layout, actionElement }, createKey(query));\n};\nexport {\n  LinkedHeadlineModule\n};\n","var ProfilesModuleInputType = /* @__PURE__ */ ((ProfilesModuleInputType2) => {\n  ProfilesModuleInputType2[ProfilesModuleInputType2[\"Linked\"] = 0] = \"Linked\";\n  ProfilesModuleInputType2[ProfilesModuleInputType2[\"Manual\"] = 1] = \"Manual\";\n  ProfilesModuleInputType2[ProfilesModuleInputType2[\"Auto\"] = 2] = \"Auto\";\n  return ProfilesModuleInputType2;\n})(ProfilesModuleInputType || {});\nexport {\n  ProfilesModuleInputType\n};\n","import { ControlType } from \"framer\";\nimport { entries } from \"../../utils/entries.js\";\nconst combineObjectPropertyControls = (...controls) => {\n  return controls.flatMap(entries).reduce((prev, curr) => {\n    const [key, incoming] = curr;\n    const copied = {\n      ...prev\n    };\n    const existing = copied[key] ?? {};\n    if (existing.type === ControlType.Enum && incoming.type === ControlType.Enum) {\n      copied[key] = mergeEnumControlDescription(existing, incoming);\n      return prev = copied;\n    }\n    return prev = {\n      ...prev,\n      [key]: incoming\n    };\n  }, {});\n};\nconst mergeEnumControlDescription = (existing, incoming) => {\n  return {\n    ...existing,\n    options: [...existing.options, ...incoming.options],\n    optionTitles: [...existing.optionTitles ?? [], ...incoming.optionTitles ?? []]\n  };\n};\nexport {\n  combineObjectPropertyControls\n};\n","var CouponType = /* @__PURE__ */ ((CouponType2) => {\n  CouponType2[CouponType2[\"NORMAL\"] = 0] = \"NORMAL\";\n  CouponType2[CouponType2[\"LIMITED\"] = 1] = \"LIMITED\";\n  CouponType2[CouponType2[\"RANDOM\"] = 2] = \"RANDOM\";\n  return CouponType2;\n})(CouponType || {});\nvar CouponDiscountType = /* @__PURE__ */ ((CouponDiscountType2) => {\n  CouponDiscountType2[CouponDiscountType2[\"RATE\"] = 0] = \"RATE\";\n  CouponDiscountType2[CouponDiscountType2[\"AMOUNT\"] = 1] = \"AMOUNT\";\n  return CouponDiscountType2;\n})(CouponDiscountType || {});\nvar DiscountType = /* @__PURE__ */ ((DiscountType2) => {\n  DiscountType2[\"FIXED_RATE\"] = \"FIXED_RATE\";\n  DiscountType2[\"FIXED_PRICE\"] = \"FIXED_PRICE\";\n  return DiscountType2;\n})(DiscountType || {});\nvar AvailableDayType = /* @__PURE__ */ ((AvailableDayType2) => {\n  AvailableDayType2[\"RANGE\"] = \"RANGE\";\n  AvailableDayType2[\"DAY\"] = \"DAY\";\n  AvailableDayType2[\"NONE\"] = \"NONE\";\n  return AvailableDayType2;\n})(AvailableDayType || {});\nvar KindType = /* @__PURE__ */ ((KindType2) => {\n  KindType2[\"PRODUCT\"] = \"PRODUCT\";\n  KindType2[\"CART\"] = \"CART\";\n  return KindType2;\n})(KindType || {});\nexport {\n  AvailableDayType,\n  CouponDiscountType,\n  CouponType,\n  DiscountType,\n  KindType\n};\n","var CouponModuleInputType = /* @__PURE__ */ ((CouponModuleInputType2) => {\n  CouponModuleInputType2[CouponModuleInputType2[\"Linked\"] = 0] = \"Linked\";\n  CouponModuleInputType2[CouponModuleInputType2[\"Manual\"] = 1] = \"Manual\";\n  CouponModuleInputType2[CouponModuleInputType2[\"Auto\"] = 2] = \"Auto\";\n  return CouponModuleInputType2;\n})(CouponModuleInputType || {});\nvar CouponUpdateType = /* @__PURE__ */ ((CouponUpdateType2) => {\n  CouponUpdateType2[CouponUpdateType2[\"NORMAL\"] = 0] = \"NORMAL\";\n  CouponUpdateType2[CouponUpdateType2[\"DAILY\"] = 1] = \"DAILY\";\n  return CouponUpdateType2;\n})(CouponUpdateType || {});\nexport {\n  CouponModuleInputType,\n  CouponUpdateType\n};\n","import { ControlType } from \"framer\";\nimport { CouponType } from \"../../types/models/coupon.js\";\nimport { CouponUpdateType } from \"./CouponModule/CouponModule.types.js\";\nimport { QueryType, RankingType, PopularityPeriodType, TrendingPeriodType, CategoryType } from \"./types.js\";\nconst PRODUCT_CONTROLS = {\n  type: {\n    type: ControlType.Enum,\n    title: \"유형\",\n    options: [QueryType.Product],\n    optionTitles: [\"상품\"]\n  },\n  productIds: {\n    hidden: ({\n      type\n    }) => type !== QueryType.Product,\n    type: ControlType.String,\n    title: \"상품 ID\",\n    description: \"복수 입력 시 콤마(,)로 구분\",\n    defaultValue: \"\"\n  }\n};\nconst KEYWORD_COLLECTION_CONTROLS = {\n  type: {\n    type: ControlType.Enum,\n    title: \"유형\",\n    options: [QueryType.KeywordCollection],\n    optionTitles: [\"키워드 컬렉션\"]\n  },\n  keywordCollectionId: {\n    hidden: ({\n      type\n    }) => type !== QueryType.KeywordCollection,\n    type: ControlType.String,\n    title: \"키워드 컬렉션 ID\",\n    description: \"단수만 입력\",\n    defaultValue: \"\"\n  }\n};\nconst KEYWORD_COLLECTIONS_CONTROLS = {\n  type: {\n    type: ControlType.Enum,\n    title: \"유형\",\n    options: [QueryType.KeywordCollections],\n    optionTitles: [\"다중 키워드 컬렉션\"]\n  },\n  keywordCollectionIds: {\n    hidden: ({\n      type\n    }) => type !== QueryType.KeywordCollections,\n    type: ControlType.String,\n    title: \"키워드 컬렉션 ID\",\n    description: \"복수 입력 시 콤마(,)로 구분\",\n    defaultValue: \"\",\n    placeholder: \"11628,11629,11630\"\n  }\n};\nconst BRAND_CURATION_CONTROLS = {\n  type: {\n    type: ControlType.Enum,\n    title: \"유형\",\n    options: [QueryType.BrandCuration],\n    optionTitles: [\"브랜드 큐레이션\"]\n  },\n  brandGroupIds: {\n    hidden: ({\n      type\n    }) => type !== QueryType.BrandCuration,\n    type: ControlType.String,\n    title: \"브랜드 그룹 ID\",\n    description: \"복수 입력 시 콤마(,)로 구분\",\n    defaultValue: \"\"\n  },\n  brandSize: {\n    hidden: ({\n      type\n    }) => type !== QueryType.BrandCuration,\n    type: ControlType.Number,\n    title: \"개수\",\n    description: \"최대 500개, 미입력 시 최대 개수로 노출\",\n    unit: \"개\",\n    defaultValue: 20,\n    min: 0,\n    displayStepper: true\n  },\n  brandCurationTagIds: {\n    hidden: ({\n      type\n    }) => type !== QueryType.BrandCuration,\n    type: ControlType.String,\n    title: \"태그 ID\",\n    description: \"태그 아이디 입력 시 매핑된 상품만 노출\\n복수 입력 시 콤마(,)로 구분\",\n    defaultValue: \"\"\n  }\n};\nconst RECOMMENDATION_CONTROLS = {\n  type: {\n    type: ControlType.Enum,\n    title: \"유형\",\n    options: [QueryType.Recommendation],\n    optionTitles: [\"개인화 추천\"]\n  },\n  recommendationTagIds: {\n    hidden: ({\n      type\n    }) => type !== QueryType.Recommendation,\n    type: ControlType.String,\n    title: \"태그 ID\",\n    description: \"태그 아이디 입력 시 매핑된 상품만 노출\\n복수 입력 시 콤마(,)로 구분\",\n    defaultValue: \"\"\n  }\n};\nconst RANKING_CONTROLS = {\n  type: {\n    type: ControlType.Enum,\n    title: \"유형\",\n    options: [QueryType.Ranking],\n    optionTitles: [\"랭킹\"]\n  },\n  rankingType: {\n    hidden: ({\n      type\n    }) => type !== QueryType.Ranking,\n    type: ControlType.Enum,\n    title: \"랭킹 유형\",\n    options: [RankingType.Popularity, RankingType.Trending],\n    optionTitles: [\"인기\", \"급상승\"]\n  },\n  popularityPeriodType: {\n    hidden: ({\n      type,\n      rankingType\n    }) => type !== QueryType.Ranking || rankingType !== RankingType.Popularity,\n    type: ControlType.Enum,\n    title: \"기간\",\n    options: [PopularityPeriodType.Realtime, PopularityPeriodType.Hourly, PopularityPeriodType.Daily],\n    optionTitles: [\"실시간\", \"시간별\", \"일별\"]\n  },\n  trendingPeriodType: {\n    hidden: ({\n      type,\n      rankingType\n    }) => type !== QueryType.Ranking || rankingType !== RankingType.Trending,\n    type: ControlType.Enum,\n    title: \"기간\",\n    options: [TrendingPeriodType.Hourly],\n    optionTitles: [\"시간별\"]\n  },\n  rankingTagIds: {\n    hidden: ({\n      type\n    }) => type !== QueryType.Ranking,\n    type: ControlType.String,\n    title: \"태그 ID\",\n    description: \"태그 아이디 입력 시 매핑된 상품만 노출\\n복수 입력 시 콤마(,)로 구분\",\n    defaultValue: \"\"\n  },\n  categoryType: {\n    hidden: ({\n      type\n    }) => type !== QueryType.Ranking,\n    type: ControlType.Enum,\n    title: \"카테고리 유형\",\n    options: [CategoryType.Large, CategoryType.Middle],\n    optionTitles: [\"대카테고리\", \"중카테고리\"],\n    defaultValue: CategoryType.Large\n  },\n  excludeLargeCategoryIds: {\n    hidden: ({\n      type\n    }) => type !== QueryType.Ranking,\n    title: \"제외 대카테고리 ID\",\n    type: ControlType.String,\n    description: \"패싯에서 제외 시킬 대카테고리 ID 입력\\n복수 입력 시 콤마(,)로 구분\",\n    defaultValue: \"\",\n    placeholder: \"268100100,269100100,272100100,273100100\"\n  },\n  excludeMiddleCategoryIds: {\n    hidden: ({\n      type\n    }) => type !== QueryType.Ranking,\n    type: ControlType.String,\n    title: \"제외 중카테고리 ID\",\n    description: \"패싯에서 제외 시킬 중카테고리 ID 입력\\n복수 입력 시 콤마(,)로 구분\",\n    defaultValue: \"\",\n    placeholder: \"268103100,268106100,268104100,268117100\"\n  }\n};\nconst COUPON_COLLECTION_CONTROLS = {\n  type: {\n    type: ControlType.Enum,\n    title: \"유형\",\n    options: [QueryType.CouponCollection],\n    optionTitles: [\"타임 세일 브랜드\"]\n  },\n  brandSaleGroupId: {\n    hidden: ({\n      type\n    }) => type !== QueryType.CouponCollection,\n    type: ControlType.String,\n    title: \"타임 세일 브랜드 ID\",\n    description: \"단수만 입력\",\n    defaultValue: \"\"\n  }\n};\nconst RAFFLE_GROUP_CONTROLS = {\n  type: {\n    type: ControlType.Enum,\n    title: \"유형\",\n    options: [QueryType.RaffleGroup],\n    optionTitles: [\"래플 그룹\"]\n  },\n  raffleGroupId: {\n    hidden: ({\n      type\n    }) => type !== QueryType.RaffleGroup,\n    type: ControlType.String,\n    title: \"래플 그룹 ID\"\n  }\n};\nconst COUPON_CONTROLS = {\n  type: {\n    type: ControlType.Enum,\n    title: \"유형\",\n    options: [QueryType.Coupon],\n    optionTitles: [\"쿠폰\"]\n  },\n  couponType: {\n    type: ControlType.Enum,\n    title: \"쿠폰 유형\",\n    description: \"랜덤 쿠폰은 쿠폰 번호 없이 당일에 발급 가능한 쿠폰이 발급됩니다.\",\n    options: [CouponType.NORMAL, CouponType.LIMITED, CouponType.RANDOM],\n    optionTitles: [\"일반\", \"선착순\", \"랜덤\"]\n  },\n  couponUpdateType: {\n    hidden: (props) => props.couponType === CouponType.RANDOM,\n    type: ControlType.Enum,\n    title: \"쿠폰 갱신 유형\",\n    options: [CouponUpdateType.NORMAL, CouponUpdateType.DAILY],\n    optionTitles: [\"고정\", \"일자별\"]\n  },\n  couponIds: {\n    hidden: (props) => props.couponType !== CouponType.RANDOM && props.couponUpdateType !== CouponUpdateType.NORMAL,\n    type: ControlType.String,\n    title: \"쿠폰 ID\",\n    description: \"복수 입력 시 콤마(,)로 구분\\n랜덤 쿠폰은 유의사항 문구 자동생성을 위해 첫 회차에 해당하는 쿠폰번호 목록을 입력해 주세요.\"\n  },\n  dailyCouponOptions: {\n    hidden: (props) => props.couponType === CouponType.RANDOM || props.couponUpdateType !== CouponUpdateType.DAILY,\n    type: ControlType.Array,\n    title: \"갱신 일자\",\n    control: {\n      type: ControlType.Object,\n      controls: {\n        dailyCouponIds: {\n          type: ControlType.Array,\n          title: \"쿠폰 번호 목록\",\n          description: \"일자별 쿠폰 번호 목록을 입력합니다.\\n하나의 쿠폰 번호 목록당 하나의 날짜에 연결됩니다.\",\n          control: {\n            type: ControlType.String,\n            title: \"쿠폰 번호 목록\"\n          }\n        },\n        updateSchedule: {\n          type: ControlType.Object,\n          title: \"갱신 기간\",\n          controls: {\n            startAt: {\n              type: ControlType.Date,\n              title: \"시작일\"\n            },\n            endAt: {\n              type: ControlType.Date,\n              title: \"종료일\"\n            }\n          }\n        },\n        updateAt: {\n          type: ControlType.Object,\n          title: \"갱신 주기\",\n          description: \"ex) 10시 0분 0초 입력 -> 매일 오전 10시에 쿠폰번호 갱신\",\n          controls: {\n            hours: {\n              type: ControlType.Number,\n              title: \"시\",\n              defaultValue: 0,\n              min: 0,\n              max: 23,\n              unit: \"시\",\n              step: 1,\n              displayStepper: true\n            },\n            minutes: {\n              type: ControlType.Number,\n              title: \"분\",\n              defaultValue: 0,\n              min: 0,\n              max: 59,\n              unit: \"분\",\n              step: 1,\n              displayStepper: true\n            },\n            seconds: {\n              type: ControlType.Number,\n              title: \"초\",\n              defaultValue: 0,\n              min: 0,\n              max: 59,\n              unit: \"초\",\n              step: 1,\n              displayStepper: true\n            }\n          }\n        }\n      }\n    }\n  }\n};\nconst PREUSER_CONTROLS = {\n  type: {\n    type: ControlType.Enum,\n    title: \"유형\",\n    options: [QueryType.Preuser],\n    optionTitles: [\"체험단\"]\n  },\n  preuserIds: {\n    type: ControlType.String,\n    hidden: ({\n      type\n    }) => type !== QueryType.Preuser,\n    title: \"체험단 ID\",\n    description: \"복수 입력 시 콤마(,)로 구분\",\n    defaultValue: \"\"\n  }\n};\nconst QUERY_CONTROL = {\n  type: ControlType.Object,\n  title: \"질의\",\n  controls: {}\n};\nconst CUSTOM_CATEGORY_CONTROLS = {\n  type: {\n    type: ControlType.Enum,\n    title: \"질의 유형\",\n    options: [QueryType.CustomCategory],\n    optionTitles: [\"카테고리\"]\n  },\n  categoryIds: {\n    hidden: ({\n      type\n    }) => type !== QueryType.CustomCategory,\n    type: ControlType.String,\n    title: \"카테고리 ID\",\n    description: \"복수개의 카테고리를 mix 하여 커스텀 카테고리 입력 시 콤마(,)로 구분\",\n    defaultValue: \"\"\n  }\n};\nconst MOLOCO_CONTROL = {\n  type: {\n    type: ControlType.Enum,\n    title: \"유형\",\n    options: [QueryType.Moloco],\n    optionTitles: [\"몰로코\"]\n  },\n  tagId: {\n    hidden: ({\n      type\n    }) => type !== QueryType.Moloco,\n    type: ControlType.String,\n    title: \"태그 ID\"\n  },\n  inventoryId: {\n    hidden: ({\n      type\n    }) => type !== QueryType.Moloco,\n    type: ControlType.String,\n    title: \"인벤토리 ID\",\n    description: \"몰로코와 협의된 값 ex) campaign_29week\"\n  },\n  pageId: {\n    hidden: ({\n      type\n    }) => type !== QueryType.Moloco,\n    type: ControlType.String,\n    title: \"페이지 ID\",\n    description: \"해당 모듈이 노출될 이구위크 페이지 이름, 임의값으로 정해서 전달주시면 됩니다. *페이지당 1개의 고유 pageId 필요\"\n  },\n  categories: {\n    hidden: ({\n      type\n    }) => type !== QueryType.Moloco,\n    type: ControlType.Array,\n    title: \"카테고리\",\n    description: \"카테고리를 입력하면 기존 몰로코 데이터에서 해당 카테고리 데이터만 노출됩니다\",\n    control: {\n      type: ControlType.Object,\n      controls: {\n        categoryId: {\n          type: ControlType.String,\n          title: \"카테고리 ID\"\n        },\n        categoryName: {\n          type: ControlType.String,\n          title: \"카테고리 이름\"\n        }\n      }\n    }\n  }\n};\nexport {\n  BRAND_CURATION_CONTROLS,\n  COUPON_COLLECTION_CONTROLS,\n  COUPON_CONTROLS,\n  CUSTOM_CATEGORY_CONTROLS,\n  KEYWORD_COLLECTIONS_CONTROLS,\n  KEYWORD_COLLECTION_CONTROLS,\n  MOLOCO_CONTROL,\n  PREUSER_CONTROLS,\n  PRODUCT_CONTROLS,\n  QUERY_CONTROL,\n  RAFFLE_GROUP_CONTROLS,\n  RANKING_CONTROLS,\n  RECOMMENDATION_CONTROLS\n};\n","import { combineObjectPropertyControls } from \"../../../libs/property-controls/helpers.js\";\nimport { QUERY_CONTROL, COUPON_COLLECTION_CONTROLS, KEYWORD_COLLECTIONS_CONTROLS, KEYWORD_COLLECTION_CONTROLS } from \"../controls.js\";\nconst AUTO_HEADLINE_MODULE_QUERY = {\n  ...QUERY_CONTROL,\n  controls: combineObjectPropertyControls(KEYWORD_COLLECTION_CONTROLS, KEYWORD_COLLECTIONS_CONTROLS, COUPON_COLLECTION_CONTROLS)\n};\nexport {\n  AUTO_HEADLINE_MODULE_QUERY\n};\n","import { useContext } from \"react\";\nimport { IntersectionContext } from \"./IntersectionProvider.js\";\nconst useIntersectionContext = () => {\n  return useContext(IntersectionContext);\n};\nexport {\n  useIntersectionContext\n};\n","import { APIService } from \"../APIService.js\";\nimport { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { env } from \"../../config/index.js\";\nclass KeywordCollectionApiService extends APIService {\n  constructor() {\n    super();\n    this.setMiddleware(throwFailError);\n  }\n  async getKeywordCollection(collectionId) {\n    return this.get(`${env.api.content}/api/v4/framers/proxy/content-api/api/v5/keyword-collections/${collectionId}`);\n  }\n  async getCollectionProducts({\n    collectionId,\n    productGroupId,\n    sort,\n    page,\n    size\n  }) {\n    return this.get(`${env.api.content}/api/v4/framers/proxy/content-api/api/v5/keyword-collections/${collectionId}/product-groups/${productGroupId}/products`, {\n      sort,\n      page,\n      size\n    }).then((data) => ({\n      ...data.data,\n      resultList: data.data.resultList.map((product) => {\n        var _a;\n        return {\n          frontBrand: {\n            frontBrandId: product.frontBrand.id,\n            nameKor: product.frontBrand.nameKor,\n            nameEng: product.frontBrand.nameEng\n          },\n          productId: product.productId,\n          productName: product.productName,\n          subjectDescriptions: product.subjectDescriptions,\n          imageUrl: product.imageUrl,\n          consumerPrice: product.consumerPrice,\n          lastSalePrice: product.lastSalePrice,\n          lastSalePercent: product.lastSalePercent,\n          heartCount: product.heartCount,\n          heartOn: product.heartOn,\n          reviewCount: product.reviewCount,\n          reviewAveragePoint: product.reviewAveragePoint,\n          isCoupon: product.saleInfo.coupon,\n          isFreeShipping: product.freeShipping,\n          isNew: product.newProperty,\n          isSoldOut: product.soldOut,\n          frontCategories: (_a = product.frontCategories) == null ? void 0 : _a.map((category) => ({\n            largeCategoryCode: category.largeCode ?? 0,\n            largeCategoryName: category.largeName ?? \"\",\n            mediumCategoryCode: category.mediumCode ?? 0,\n            mediumCategoryName: category.mediumName ?? \"\",\n            smallCategoryCode: category.smallCode ?? 0,\n            smallCategoryName: category.smallName ?? \"\"\n          }))\n        };\n      })\n    }));\n  }\n}\nconst keywordCollectionApi = new KeywordCollectionApiService();\nexport {\n  keywordCollectionApi\n};\n","import { createKRTimeZoneDate } from \"../../../../utils/createUTCDate.js\";\nimport { isAbove } from \"../../../../utils/date.js\";\nimport { isBefore } from \"../../../../node_modules/date-fns/isBefore.js\";\nimport { isWithinInterval } from \"../../../../node_modules/date-fns/isWithinInterval.js\";\nimport { formatDate as format } from \"../../../../node_modules/date-fns/format.js\";\nimport { ko } from \"../../../../node_modules/date-fns/locale/ko.js\";\nconst SEPARATOR = \"@\";\nconst reservedWords = [\"DATE\", \"GENDER\"];\nconst getProductGroupType = (productGroupList) => {\n  const includedReservedWordProductGroup = productGroupList.find((group) => group.title.includes(SEPARATOR));\n  if (includedReservedWordProductGroup === void 0) {\n    return \"KEYWORD\";\n  }\n  const firstReservedWord = includedReservedWordProductGroup.title.split(SEPARATOR)[0];\n  if (!reservedWords.includes(firstReservedWord)) {\n    return \"KEYWORD\";\n  }\n  return firstReservedWord;\n};\nconst reshapeProductGroupList = (productGroupList, productGroupType, gender) => {\n  if (productGroupType === \"DATE\") {\n    return reshapeDateProductGroupList(productGroupList);\n  }\n  if (productGroupType === \"GENDER\") {\n    return reshapeGenderProductGroupList(productGroupList, gender);\n  }\n  return productGroupList;\n};\nconst findInitialProductGroupId = (collectionProductGroup, reshapedProductGroupList, productGroupType) => {\n  if (collectionProductGroup.length === 0) {\n    return void 0;\n  }\n  if (productGroupType === \"DATE\") {\n    const currentProductGroupList = findCurrentProductGroupListByDate(collectionProductGroup);\n    return currentProductGroupList.productGroupId;\n  }\n  return reshapedProductGroupList[0].productGroupId;\n};\nconst reshapeDateProductGroupList = (productGroupList) => productGroupList.map((group) => ({\n  ...group,\n  title: formatTitle(group.title, \"DATE\")\n}));\nconst reshapeGenderProductGroupList = (productGroupList, gender) => {\n  const genderProductGroup = productGroupList.reduce((acc, cur) => {\n    const isCommonGroup = !cur.title.includes(SEPARATOR);\n    if (isCommonGroup) {\n      return {\n        ...acc,\n        common: [...acc.common, cur]\n      };\n    }\n    const isNotAllowedReservedWord = cur.title.split(SEPARATOR)[0] !== \"GENDER\";\n    if (isNotAllowedReservedWord) {\n      return {\n        ...acc,\n        notAllowed: [...acc.notAllowed, cur]\n      };\n    }\n    const groupGender = cur.title.split(SEPARATOR)[1].split(\":\")[0];\n    const formattedTitleGroup = {\n      ...cur,\n      title: formatTitle(cur.title, \"GENDER\")\n    };\n    switch (groupGender) {\n      case \"F\":\n        return {\n          ...acc,\n          female: [...acc.female, formattedTitleGroup]\n        };\n      case \"M\":\n        return {\n          ...acc,\n          male: [...acc.male, formattedTitleGroup]\n        };\n      default:\n        return {\n          ...acc,\n          notAllowed: [...acc.notAllowed, cur]\n        };\n    }\n  }, {\n    male: [],\n    female: [],\n    common: [],\n    notAllowed: []\n  });\n  if (!gender || gender === \"F\") {\n    return [...genderProductGroup.female, ...genderProductGroup.common, ...genderProductGroup.male, ...genderProductGroup.notAllowed];\n  }\n  return [...genderProductGroup.male, ...genderProductGroup.common, ...genderProductGroup.female, ...genderProductGroup.notAllowed];\n};\nconst findCurrentProductGroupIndex = (productGroupList) => {\n  const now = createKRTimeZoneDate();\n  return productGroupList.findIndex((group, index) => {\n    const standardDate = new Date(group.title.split(\"@\")[1]);\n    const nextGroupList = productGroupList[index + 1];\n    const nextDate = nextGroupList ? new Date(nextGroupList.title.split(\"@\")[1]) : null;\n    const isFirstProductGroupList = index === 0;\n    const isLastProductGroupList = nextDate === null;\n    const isBeforeStart = isFirstProductGroupList && isBefore(now, standardDate);\n    const isLast = isLastProductGroupList && isAbove(now, standardDate);\n    const isWithin = !isLastProductGroupList && isWithinInterval(now, {\n      start: standardDate,\n      end: nextDate\n    });\n    return isBeforeStart || isLast || isWithin;\n  });\n};\nconst findCurrentProductGroupListByDate = (productGroupList) => {\n  const currentIndex = findCurrentProductGroupIndex(productGroupList);\n  return productGroupList[currentIndex ?? 0];\n};\nconst formatTitle = (title, reservedWord) => {\n  if (!reservedWord) {\n    return title;\n  }\n  const [, needToFormatTitle] = title.split(SEPARATOR);\n  switch (reservedWord) {\n    case \"DATE\":\n      return format(new Date(needToFormatTitle), \"M. d EEEEE\", {\n        locale: ko\n      });\n    case \"GENDER\":\n      return needToFormatTitle.split(\":\")[1];\n    default:\n      return title;\n  }\n};\nexport {\n  findCurrentProductGroupIndex,\n  findInitialProductGroupId,\n  getProductGroupType,\n  reshapeProductGroupList\n};\n","import { toDate } from \"./toDate.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nfunction addDays(date, amount) {\n  const _date = toDate(date);\n  if (isNaN(amount))\n    return constructFrom(date, NaN);\n  if (!amount) {\n    return _date;\n  }\n  _date.setDate(_date.getDate() + amount);\n  return _date;\n}\nexport {\n  addDays,\n  addDays as default\n};\n","import { addDays } from \"./addDays.js\";\nfunction subDays(date, amount) {\n  return addDays(date, -amount);\n}\nexport {\n  subDays as default,\n  subDays\n};\n","import { toDate } from \"./toDate.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nfunction addMonths(date, amount) {\n  const _date = toDate(date);\n  if (isNaN(amount))\n    return constructFrom(date, NaN);\n  if (!amount) {\n    return _date;\n  }\n  const dayOfMonth = _date.getDate();\n  const endOfDesiredMonth = constructFrom(date, _date.getTime());\n  endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);\n  const daysInMonth = endOfDesiredMonth.getDate();\n  if (dayOfMonth >= daysInMonth) {\n    return endOfDesiredMonth;\n  } else {\n    _date.setFullYear(\n      endOfDesiredMonth.getFullYear(),\n      endOfDesiredMonth.getMonth(),\n      dayOfMonth\n    );\n    return _date;\n  }\n}\nexport {\n  addMonths,\n  addMonths as default\n};\n","import { addMonths } from \"./addMonths.js\";\nfunction subMonths(date, amount) {\n  return addMonths(date, -amount);\n}\nexport {\n  subMonths as default,\n  subMonths\n};\n","import { subDays } from \"./subDays.js\";\nimport { subMonths } from \"./subMonths.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nfunction sub(date, duration) {\n  const {\n    years = 0,\n    months = 0,\n    weeks = 0,\n    days = 0,\n    hours = 0,\n    minutes = 0,\n    seconds = 0\n  } = duration;\n  const dateWithoutMonths = subMonths(date, months + years * 12);\n  const dateWithoutDays = subDays(dateWithoutMonths, days + weeks * 7);\n  const minutestoSub = minutes + hours * 60;\n  const secondstoSub = seconds + minutestoSub * 60;\n  const mstoSub = secondstoSub * 1e3;\n  const finalDate = constructFrom(date, dateWithoutDays.getTime() - mstoSub);\n  return finalDate;\n}\nexport {\n  sub as default,\n  sub\n};\n","import { toDate } from \"./toDate.js\";\nimport { addLeadingZeros } from \"./_lib/addLeadingZeros.js\";\nfunction formatISO(date, options) {\n  const _date = toDate(date);\n  if (isNaN(_date.getTime())) {\n    throw new RangeError(\"Invalid time value\");\n  }\n  const format = (options == null ? void 0 : options.format) ?? \"extended\";\n  const representation = (options == null ? void 0 : options.representation) ?? \"complete\";\n  let result = \"\";\n  let tzOffset = \"\";\n  const dateDelimiter = format === \"extended\" ? \"-\" : \"\";\n  const timeDelimiter = format === \"extended\" ? \":\" : \"\";\n  if (representation !== \"time\") {\n    const day = addLeadingZeros(_date.getDate(), 2);\n    const month = addLeadingZeros(_date.getMonth() + 1, 2);\n    const year = addLeadingZeros(_date.getFullYear(), 4);\n    result = `${year}${dateDelimiter}${month}${dateDelimiter}${day}`;\n  }\n  if (representation !== \"date\") {\n    const offset = _date.getTimezoneOffset();\n    if (offset !== 0) {\n      const absoluteOffset = Math.abs(offset);\n      const hourOffset = addLeadingZeros(Math.trunc(absoluteOffset / 60), 2);\n      const minuteOffset = addLeadingZeros(absoluteOffset % 60, 2);\n      const sign = offset < 0 ? \"+\" : \"-\";\n      tzOffset = `${sign}${hourOffset}:${minuteOffset}`;\n    } else {\n      tzOffset = \"Z\";\n    }\n    const hour = addLeadingZeros(_date.getHours(), 2);\n    const minute = addLeadingZeros(_date.getMinutes(), 2);\n    const second = addLeadingZeros(_date.getSeconds(), 2);\n    const separator = result === \"\" ? \"\" : \"T\";\n    const time = [hour, minute, second].join(timeDelimiter);\n    result = `${result}${separator}${time}${tzOffset}`;\n  }\n  return result;\n}\nexport {\n  formatISO as default,\n  formatISO\n};\n","import { createKRTimeZoneDate } from \"../../../../../utils/createUTCDate.js\";\nimport { compareAsc } from \"../../../../../node_modules/date-fns/compareAsc.js\";\nimport { parseISO } from \"../../../../../node_modules/date-fns/parseISO.js\";\nimport { formatDate as format } from \"../../../../../node_modules/date-fns/format.js\";\nimport { ko } from \"../../../../../node_modules/date-fns/locale/ko.js\";\nimport { isWithinInterval } from \"../../../../../node_modules/date-fns/isWithinInterval.js\";\nimport { isBefore } from \"../../../../../node_modules/date-fns/isBefore.js\";\nconst orderByDateAsc = (list) => list.sort((groupA, groupB) => compareAsc(groupA.startAt, groupB.startAt));\nconst formatSchedule = (str) => {\n  const schedule = parseISO(str);\n  return format(schedule, \"M. d EEEEE\", {\n    locale: ko\n  });\n};\nconst formatTimeSaleDateTag = (str) => {\n  const schedule = parseISO(str);\n  return format(schedule, \"M. d EEEEE\", {\n    locale: ko\n  });\n};\nconst getCurrentScheduleIndex = (list) => {\n  const now = createKRTimeZoneDate();\n  const currentIndex = list.findIndex((group, index) => {\n    const nextGroup = list[index + 1];\n    const start = parseISO(group.startAt);\n    const end = parseISO(group.endAt);\n    const isWithin = end ? isWithinInterval(now, {\n      start,\n      end\n    }) : false;\n    const isUpcoming = isBefore(now, start);\n    const isLast = nextGroup === void 0;\n    return isWithin || isUpcoming || isLast;\n  });\n  return currentIndex === -1 ? void 0 : currentIndex;\n};\nexport {\n  formatSchedule,\n  formatTimeSaleDateTag,\n  getCurrentScheduleIndex,\n  orderByDateAsc\n};\n","import { createKRTimeZoneDate } from \"../../../../utils/createUTCDate.js\";\nimport { sub } from \"../../../../node_modules/date-fns/sub.js\";\nimport { formatISO } from \"../../../../node_modules/date-fns/formatISO.js\";\nimport { formatSchedule } from \"./TimeSaleCollectionTags/TimeSaleCollectionTags.utils.js\";\nconst DATE_PREFIX = \"DATE@\";\nconst removeDatePrefix = (str) => str.replace(DATE_PREFIX, \"\").trim();\nconst reshapeProductGroups = (list, displayEndAt) => list.map((item, index) => {\n  const nextGroup = list[index + 1];\n  const startAt = formatISO(createKRTimeZoneDate(removeDatePrefix(item.title)));\n  const endAt = nextGroup ? (\n    // NOTE: (한지원) 상품 그룹 응답에서 종료일을 명확히 알 수 없으므로, 다음 스케줄의 1초 전 시간을 종료일로 설정합니다.\n    formatISO(sub(createKRTimeZoneDate(removeDatePrefix(nextGroup.title)), {\n      seconds: 1\n    }))\n  ) : displayEndAt;\n  return {\n    ...item,\n    title: formatSchedule(startAt),\n    startAt,\n    endAt\n  };\n});\nexport {\n  removeDatePrefix,\n  reshapeProductGroups\n};\n","const filterMap = (array, predicate, map) => {\n  return array.reduce((prev, curr) => {\n    if (predicate(curr)) {\n      prev.push(map(curr));\n    }\n    return prev;\n  }, []);\n};\nexport {\n  filterMap\n};\n","import { filterMap } from \"./filterMap.js\";\nconst splitToNumberArray = (value) => {\n  return filterMap(value.split(\",\"), canParseToNumber, parseToNumber);\n};\nconst canParseToNumber = (value) => {\n  return Boolean(value.trim()) && !Number.isNaN(Number(value));\n};\nconst parseToNumber = (value) => {\n  return Number(value.trim());\n};\nexport {\n  splitToNumberArray\n};\n","import { APIService } from \"../APIService.js\";\nimport { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { environments, env } from \"../../config/index.js\";\nconst DEFAULT_COLLECTION_PRODUCTS_SIZE = 20;\nclass CollectionApiService extends APIService {\n  constructor() {\n    super();\n    this.setMiddleware(throwFailError);\n  }\n  async getCollection(collectionId, needShuffle, isDevMode) {\n    const baseUrl = isDevMode ? environments.development.api.content : env.api.content;\n    return this.get(`${baseUrl}/api/v4/framers/collections/${collectionId}/product-group-preview?productShuffleEnabled=${String(needShuffle)}`);\n  }\n  async getCollections(collectionIds) {\n    return this.get(`${env.api.content}/api/v4/framers/proxy/content-api/api/v4/collections`, {\n      collectionIds: collectionIds.join(\",\")\n    });\n  }\n  async getCollectionProducts({\n    collectionId,\n    productGroupId,\n    sort,\n    isDevMode\n  }) {\n    const baseUrl = isDevMode ? environments.development.api.content : env.api.content;\n    return this.get(`${baseUrl}/api/v4/framers/proxy/content-api/api/v5/keyword-collections/${collectionId}/product-groups/${productGroupId}/products`, {\n      sort,\n      page: 0,\n      size: DEFAULT_COLLECTION_PRODUCTS_SIZE\n    }).then((data) => formatProducts(data.data.resultList));\n  }\n}\nconst formatProducts = (products) => products.map((product) => {\n  var _a;\n  return {\n    frontBrand: {\n      frontBrandId: product.frontBrand.id,\n      nameKor: product.frontBrand.nameKor,\n      nameEng: product.frontBrand.nameEng\n    },\n    productId: product.productId,\n    productName: product.productName,\n    subjectDescriptions: product.subjectDescriptions,\n    imageUrl: product.imageUrl,\n    consumerPrice: product.consumerPrice,\n    lastSalePrice: product.lastSalePrice,\n    lastSalePercent: product.lastSalePercent,\n    heartCount: product.heartCount,\n    heartOn: product.heartOn,\n    reviewCount: product.reviewCount,\n    reviewAveragePoint: product.reviewAveragePoint,\n    isCoupon: product.saleInfo.coupon,\n    isFreeShipping: product.freeShipping,\n    isNew: product.newProperty,\n    isSoldOut: product.soldOut,\n    frontCategories: (_a = product.frontCategories) == null ? void 0 : _a.map((category) => ({\n      largeCategoryCode: category.largeCode ?? 0,\n      largeCategoryName: category.largeName ?? \"\",\n      mediumCategoryCode: category.mediumCode ?? 0,\n      mediumCategoryName: category.mediumName ?? \"\",\n      smallCategoryCode: category.smallCode ?? 0,\n      smallCategoryName: category.smallName ?? \"\"\n    }))\n  };\n});\nconst collectionApi = new CollectionApiService();\nexport {\n  collectionApi\n};\n","import useSWR from \"../../../node_modules/swr/core/dist/index.js\";\nimport { QueryType } from \"../types.js\";\nimport { HeadlinePresetType, HeadlineActionType } from \"./HeadlineModule.types.js\";\nimport { brandSaleApi } from \"../../../apis/brand-sale/BrandSaleApiService.js\";\nimport { keywordCollectionApi } from \"../../../apis/keyword-collections/KeywordCollectionApiService.js\";\nimport { getProductGroupType } from \"../../systems/KeywordCollection/KeywordCollectionTags/KeywordCollectionTags.utils.js\";\nimport { reshapeProductGroups } from \"../../systems/curations/KeywordCollectionV2/TimeSaleCollection.utils.js\";\nimport { orderByDateAsc, getCurrentScheduleIndex } from \"../../../utils/date.js\";\nimport { getScheduleHeadline } from \"./HeadlineModule.utils.js\";\nimport { splitToNumberArray } from \"../../../utils/splitToNumberArray.js\";\nimport { collectionApi } from \"../../../apis/collection/CollectionApiService.js\";\nconst HEADLINE_FETCHER_KEY = \"headline-module/headline\";\nconst INITIAL_PRODUCT_GROUP_INDEX = 0;\nconst useHeadlineQuery = (options) => {\n  const {\n    enabled: _enabled = true,\n    query,\n    preset\n  } = options;\n  const enabled = _enabled && query !== void 0;\n  const {\n    data,\n    isLoading,\n    ...rest\n  } = useSWR(enabled ? [HEADLINE_FETCHER_KEY, query, preset] : null, () => queryHeadline(query, preset));\n  const hasHeadline = data !== void 0 && data.title !== \"\";\n  return {\n    isLoading: isLoading || !enabled || !hasHeadline,\n    headline: data ?? {\n      title: \"\"\n    },\n    ...rest\n  };\n};\nconst fetchKeywordCollectionHeadline = async (query, preset) => {\n  if (!query.keywordCollectionId) {\n    return {\n      title: \"\"\n    };\n  }\n  const {\n    data\n  } = await keywordCollectionApi.getKeywordCollection(Number(query.keywordCollectionId));\n  const {\n    title,\n    description,\n    displayEndAt,\n    productGroups\n  } = data;\n  const [firstProductGroup] = productGroups;\n  if (preset === HeadlinePresetType.Link && firstProductGroup) {\n    return {\n      // TODO(임규민): title format 을 외부에서 입력받을 수 있도록 처리\n      title,\n      action: {\n        type: HeadlineActionType.Link,\n        // TODO(임규민): label 을 외부에서 입력받을 수 있도록 처리\n        label: \"전체보기\",\n        query\n      },\n      query: {\n        ...query,\n        displayEndAt: displayEndAt ?? void 0,\n        couponId: data.couponId ?? void 0,\n        productGroups,\n        selectedProductGroup: {\n          id: firstProductGroup.productGroupId,\n          sort: firstProductGroup.sort,\n          index: INITIAL_PRODUCT_GROUP_INDEX\n        }\n      }\n    };\n  }\n  if (preset === HeadlinePresetType.Schedule) {\n    const type = getProductGroupType(productGroups);\n    if (type === \"DATE\") {\n      const groups = orderByDateAsc(reshapeProductGroups(productGroups, displayEndAt ?? \"\"), (x) => x.startAt);\n      const currentIndex = getCurrentScheduleIndex(groups, (x) => x.startAt, (x) => x.endAt) ?? 0;\n      const {\n        productGroupId,\n        sort,\n        startAt,\n        endAt\n      } = groups[currentIndex];\n      return getScheduleHeadline({\n        ...query,\n        displayEndAt: displayEndAt ?? void 0,\n        couponId: data.couponId ?? void 0,\n        productGroups,\n        selectedProductGroup: {\n          id: productGroupId,\n          sort,\n          index: currentIndex,\n          startAt,\n          endAt\n        }\n      }, startAt, endAt);\n    }\n  }\n  return {\n    title,\n    description: description ?? void 0,\n    action: {\n      type: HeadlineActionType.External\n    },\n    query: {\n      ...query,\n      displayEndAt: displayEndAt ?? void 0,\n      couponId: data.couponId ?? void 0,\n      productGroups,\n      selectedProductGroup: {\n        id: firstProductGroup.productGroupId,\n        sort: firstProductGroup.sort,\n        index: INITIAL_PRODUCT_GROUP_INDEX\n      }\n    }\n  };\n};\nconst fetchCouponCollectionHeadline = async (query) => {\n  if (!query.brandSaleGroupId) {\n    return {\n      title: \"\"\n    };\n  }\n  const {\n    data\n  } = await brandSaleApi.getBrandSaleGroup(Number(query.brandSaleGroupId));\n  const {\n    title,\n    description,\n    brandSaleList\n  } = data;\n  return {\n    title,\n    description,\n    action: {\n      type: HeadlineActionType.External\n    },\n    query: {\n      ...query,\n      brandSales: brandSaleList\n    }\n  };\n};\nconst fetchKeywordCollectionsHeadline = async (query, preset) => {\n  if (!query.keywordCollectionIds) {\n    return {\n      title: \"\"\n    };\n  }\n  const {\n    data\n  } = await collectionApi.getCollections(splitToNumberArray(query.keywordCollectionIds));\n  const collections = orderByDateAsc(data, (x) => x.displayStartAt);\n  const currentIndex = getCurrentScheduleIndex(collections, (current) => current.displayStartAt, (_, next) => next == null ? void 0 : next.displayStartAt);\n  const collection = collections[currentIndex ?? 0];\n  if (!collection) {\n    return {\n      title: \"\"\n    };\n  }\n  const {\n    title,\n    description,\n    displayEndAt,\n    productGroupList\n  } = collection;\n  const [firstProductGroup] = productGroupList ?? [];\n  if (preset === HeadlinePresetType.Link && firstProductGroup) {\n    return {\n      title,\n      action: {\n        type: HeadlineActionType.Link,\n        label: \"전체보기\",\n        query: {\n          type: QueryType.KeywordCollection,\n          keywordCollectionId: String(collection.collectionId),\n          selectedProductGroup: firstProductGroup ? {\n            id: firstProductGroup.collectionProductGroupId,\n            sort: firstProductGroup.sort,\n            index: INITIAL_PRODUCT_GROUP_INDEX\n          } : void 0\n        }\n      },\n      query: {\n        type: QueryType.KeywordCollection,\n        keywordCollectionId: String(collection.collectionId),\n        displayEndAt: displayEndAt ?? void 0,\n        couponId: collection.couponId ?? void 0,\n        productGroups: productGroupList.map((productGroup) => ({\n          ...productGroup,\n          productGroupId: productGroup.collectionProductGroupId\n        })),\n        selectedProductGroup: firstProductGroup ? {\n          id: firstProductGroup.collectionProductGroupId,\n          sort: firstProductGroup.sort,\n          index: INITIAL_PRODUCT_GROUP_INDEX\n        } : void 0\n      }\n    };\n  }\n  return {\n    title,\n    description: description ?? void 0,\n    action: {\n      type: HeadlineActionType.External\n    },\n    query: {\n      type: QueryType.KeywordCollection,\n      keywordCollectionId: String(collection.collectionId),\n      displayEndAt: displayEndAt ?? void 0,\n      couponId: collection.couponId ?? void 0,\n      productGroups: productGroupList.map((productGroup) => ({\n        ...productGroup,\n        productGroupId: productGroup.collectionProductGroupId\n      })),\n      selectedProductGroup: firstProductGroup ? {\n        id: firstProductGroup.collectionProductGroupId,\n        sort: firstProductGroup.sort,\n        index: INITIAL_PRODUCT_GROUP_INDEX\n      } : void 0\n    }\n  };\n};\nconst queryHeadline = (query, preset) => {\n  if (!query) {\n    return {\n      title: \"\"\n    };\n  }\n  switch (query.type) {\n    case QueryType.KeywordCollection:\n      return fetchKeywordCollectionHeadline(query, preset);\n    case QueryType.KeywordCollections:\n      return fetchKeywordCollectionsHeadline(query, preset);\n    case QueryType.CouponCollection:\n      return fetchCouponCollectionHeadline(query);\n    default:\n      return {\n        title: \"\"\n      };\n  }\n};\nexport {\n  useHeadlineQuery\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { HeadlineElement } from \"../HeadlineElement/HeadlineElement.js\";\nimport \"../../../systems/curations/IntersectionProvider/IntersectionProvider.js\";\nimport { useIntersectionContext } from \"../../../systems/curations/IntersectionProvider/IntersectionProvider.hooks.js\";\nimport { useEffect } from \"react\";\nimport { useComponentTimingContext } from \"../../../../hooks/beacon/ComponentTimingContext.js\";\nimport { useHeadlineQuery } from \"../HeadlineModule.hooks.js\";\nimport { getHeadlinePreset } from \"../HeadlineModule.utils.js\";\nconst AutoHeadlineModule = ({\n  query,\n  input,\n  output,\n  layout,\n  actionElement\n}) => {\n  const {\n    isInView\n  } = useIntersectionContext();\n  const {\n    isLoading,\n    headline\n  } = useHeadlineQuery({\n    query,\n    preset: getHeadlinePreset(layout),\n    enabled: isInView\n  });\n  const {\n    markReady\n  } = useComponentTimingContext();\n  useEffect(() => {\n    if (!isLoading && headline.title !== \"\") {\n      markReady();\n    }\n  }, [isLoading, headline.title, markReady]);\n  return /* @__PURE__ */ jsx(HeadlineElement, { loading: isLoading, input: {\n    ...headline,\n    title: input.title || headline.title,\n    description: input.description || headline.description\n  }, output, layout, actionElement });\n};\nexport {\n  AutoHeadlineModule\n};\n","import { ControlType } from \"framer\";\nconst SEGMENT_CONTROLS = {\n  segment: {\n    title: \"세그먼트\",\n    type: ControlType.Array,\n    description: \"설정한 세그먼트 조건에 따라 노출/미노출이 됩니다.\",\n    control: {\n      type: ControlType.Object,\n      controls: {\n        type: {\n          type: ControlType.Enum,\n          title: \"타입\",\n          options: [\"login\", \"guest\", \"newBuyer\", \"categoryNewBuyerProduct\", \"categoryNewBuyerCoupon\", \"gender\"],\n          optionTitles: [\"로그인\", \"미로그인\", \"생애 첫구매\", \"카테고리 첫구매 상품\", \"카테고리 첫구매 쿠폰\", \"성별\"],\n          defaultValue: \"\"\n        },\n        groupId: {\n          hidden: ({\n            type\n          }) => type !== \"categoryNewBuyerProduct\",\n          type: ControlType.String,\n          title: \"그룹 ID\",\n          defaultValue: \"\"\n        },\n        couponId: {\n          hidden: ({\n            type\n          }) => type !== \"categoryNewBuyerCoupon\",\n          type: ControlType.String,\n          title: \"쿠폰 ID\",\n          defaultValue: \"\"\n        },\n        gender: {\n          hidden: ({\n            type\n          }) => type !== \"gender\",\n          type: ControlType.Enum,\n          title: \"성별\",\n          description: \"선택한 성별의 유저에게만 노출됩니다. 미로그인 유저에게는 항상 노출됩니다.\",\n          options: [\"M\", \"F\"],\n          optionTitles: [\"남성\", \"여성\"],\n          defaultValue: \"F\"\n        }\n      }\n    }\n  }\n};\nexport {\n  SEGMENT_CONTROLS\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { BREAKPOINT_CONTROLS } from \"../../../libs/property-controls/breakpoint.js\";\nimport { THEME_CONTROLS } from \"../../../libs/property-controls/theme.js\";\nimport { COMPONENT_ID_PROPS } from \"../../../libs/property-controls/component-id.js\";\nimport { HeadlineModuleInputType, HeadlineActionType, HeadlinePresetType } from \"./HeadlineModule.types.js\";\nimport { SectionLayout } from \"../../systems/curations/SectionLayout/SectionLayout.js\";\nimport { ComponentTimingProvider } from \"../../../hooks/beacon/ComponentTimingContext.js\";\nimport { useComponentTiming } from \"../../../hooks/beacon/useComponentTiming.js\";\nimport { HeadlineElement } from \"./HeadlineElement/HeadlineElement.js\";\nimport { LinkedHeadlineModule } from \"./LinkedHeadlineModule/LinkedHeadlineModule.js\";\nimport { ProfilesModuleInputType } from \"../ProfilesModule/ProfilesModule.types.js\";\nimport { AUTO_HEADLINE_MODULE_QUERY } from \"./HeadlineModule.controls.js\";\nimport { AutoHeadlineModule } from \"./AutoHeadlineModule/AutoHeadlineModule.js\";\nimport { SEGMENT_CONTROLS } from \"../../../libs/property-controls/segment.js\";\nconst HeadlineModuleInner = ({\n  input,\n  output,\n  layout,\n  actionElement\n}) => {\n  switch (input.type) {\n    case HeadlineModuleInputType.Linked:\n      return /* @__PURE__ */ jsx(LinkedHeadlineModule, { ...input, output, layout, actionElement });\n    case HeadlineModuleInputType.Auto:\n      return /* @__PURE__ */ jsx(AutoHeadlineModule, { ...input, output, layout, actionElement });\n    case HeadlineModuleInputType.Manual:\n      return /* @__PURE__ */ jsx(HeadlineElement, { ...input, output, layout, actionElement });\n  }\n};\nconst HeadlineModule = ({\n  componentId,\n  breakpoint,\n  theme,\n  segment,\n  ...rest\n}) => {\n  const timing = useComponentTiming(\"HeadlineModule\");\n  return /* @__PURE__ */ jsx(ComponentTimingProvider, { timing, children: /* @__PURE__ */ jsx(SectionLayout, { theme, breakpoint, componentId, segment, onVisible: timing.markVisible, children: /* @__PURE__ */ jsx(HeadlineModuleInner, { ...rest }) }) });\n};\naddPropertyControls(HeadlineModule, {\n  ...BREAKPOINT_CONTROLS,\n  ...THEME_CONTROLS,\n  ...SEGMENT_CONTROLS,\n  componentId: {\n    hidden: ({\n      input\n    }) => (input == null ? void 0 : input.type) === HeadlineModuleInputType.Linked,\n    ...COMPONENT_ID_PROPS.componentId\n  },\n  input: {\n    type: ControlType.Object,\n    title: \"입력 값\",\n    controls: {\n      type: {\n        type: ControlType.Enum,\n        title: \"유형\",\n        options: [HeadlineModuleInputType.Linked, HeadlineModuleInputType.Manual, HeadlineModuleInputType.Auto],\n        optionTitles: [\"연결\", \"수동\", \"자동\"]\n      },\n      value: {\n        hidden: ({\n          type\n        }) => type !== HeadlineModuleInputType.Linked,\n        type: ControlType.String,\n        title: \"출력 값\",\n        defaultValue: \"\"\n      },\n      input: {\n        type: ControlType.Object,\n        title: \"헤드라인 옵션\",\n        description: \"자동 또는 연결 유형일 때에는 데이터를 통해 가져온 옵션을 대체할 수 있습니다.\",\n        controls: {\n          title: {\n            type: ControlType.String,\n            title: \"제목\",\n            placeholder: \"제목 텍스트 입력\",\n            defaultValue: \"\"\n          },\n          description: {\n            type: ControlType.String,\n            title: \"설명\",\n            placeholder: \"설명 텍스트 입력\",\n            defaultValue: \"\",\n            displayTextArea: true\n          },\n          action: {\n            hidden: ({\n              type\n            }) => type !== HeadlineModuleInputType.Manual,\n            type: ControlType.Object,\n            title: \"액션\",\n            controls: {\n              type: {\n                type: ControlType.Enum,\n                title: \"유형\",\n                options: [HeadlineActionType.External],\n                optionTitles: [\"외부 연결\"]\n              }\n            }\n          }\n        }\n      },\n      query: {\n        hidden: ({\n          type\n        }) => type !== ProfilesModuleInputType.Auto,\n        ...AUTO_HEADLINE_MODULE_QUERY\n      }\n    }\n  },\n  output: {\n    type: ControlType.String,\n    title: \"출력 값\",\n    defaultValue: \"\"\n  },\n  // NOTE:(김홍동) 참고) ControlType.ComponentInstance은 객체 내에서 정의할 수 없고 배열 내에서 정의한 경우 옵션에 미노출 되므로 최상단에 위치시킵니다.\n  actionElement: {\n    type: ControlType.ComponentInstance,\n    title: \"액션 컴포넌트\",\n    description: \"헤드라인 우측에 별도의 컴포넌트가 삽입되어야 하는 경우 연결\"\n  },\n  layout: {\n    title: \"레이아웃\",\n    type: ControlType.Object,\n    controls: {\n      priority: {\n        type: ControlType.Enum,\n        title: \"우선 순위\",\n        description: \"미디어 관련 옵션은 primary 일 때에만 사용 가능합니다.\",\n        options: [\"primary\", \"secondary\", \"tertiary\"]\n      },\n      preset: {\n        hidden: ({\n          priority\n        }, {\n          input\n        }) => priority === \"primary\" || input.type === HeadlineModuleInputType.Manual,\n        type: ControlType.Enum,\n        title: \"프리셋\",\n        options: [HeadlinePresetType.Default, HeadlinePresetType.Schedule, HeadlinePresetType.Link],\n        optionTitles: [\"기본\", \"일자별\", \"링크\"]\n      },\n      mediaType: {\n        hidden: ({\n          priority\n        }) => priority !== \"primary\",\n        type: ControlType.Enum,\n        title: \"미디어 유형\",\n        description: \"삽입할 키비주얼의 미디어 유형 선택\",\n        options: [\"none\", \"image\", \"video\"],\n        optionTitles: [\"선택 안 함\", \"이미지\", \"영상\"]\n      },\n      imageSrc: {\n        hidden: ({\n          priority,\n          mediaType\n        }) => priority !== \"primary\" || mediaType !== \"image\",\n        type: ControlType.String,\n        title: \"이미지 URL\",\n        placeholder: \"이미지 URL 입력\"\n      },\n      videoSrc: {\n        hidden: ({\n          priority,\n          mediaType\n        }) => priority !== \"primary\" || mediaType !== \"video\",\n        type: ControlType.String,\n        title: \"영상 URL\",\n        placeholder: \"영상 URL 입력\"\n      },\n      videoSrcWebm: {\n        hidden: ({\n          priority,\n          mediaType\n        }) => priority !== \"primary\" || mediaType !== \"video\",\n        type: ControlType.String,\n        title: \"WEBM 영상 URL\",\n        placeholder: \"WEBM 포맷의 영상 URL 입력\"\n      },\n      poster: {\n        hidden: ({\n          priority,\n          mediaType\n        }) => priority !== \"primary\" || mediaType !== \"video\",\n        type: ControlType.String,\n        title: \"포스터 이미지 URL\",\n        description: \"영상이 자동재생되지 않는 환경(ex. 저전력 모드)에서 임시로 노출할 이미지 URL을 입력합니다.\",\n        placeholder: \"포스터 이미지 URL 입력\"\n      },\n      lazy: {\n        hidden: ({\n          priority,\n          mediaType\n        }) => priority !== \"primary\" || mediaType === \"none\",\n        type: ControlType.Boolean,\n        title: \"미디어 지연 요청\",\n        description: \"컴포넌트가 화면에 보일 때에만 미디어를 로드합니다.\\n(성능 최적화를 위해 활성화하는 것을 권장합니다.)\",\n        defaultValue: true\n      },\n      padding: {\n        type: ControlType.FusedNumber,\n        title: \"패딩\",\n        defaultValue: 0,\n        toggleKey: \"isMixed\",\n        toggleTitles: [\"All\", \"Individual\"],\n        valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n        valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n        min: 0\n      }\n    }\n  }\n});\nexport {\n  HeadlineModule\n};\n","import{HeadlineModule}from\"https://asset.29cm.co.kr/contents/framer/components/modules/HeadlineModule/HeadlineModule.js\";HeadlineModule.displayName=\"[조립형]Headline\";export default HeadlineModule;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeadlineModule\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeadlineModule.map","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_1uy8b_1 {\\n  position: relative;\\n  width: 100%;\\n  height: auto;\\n}\\n\\n._wrapper_1uy8b_7 {\\n  width: 100%;\\n}\\n\\n._wrapper_1uy8b_7 > div {\\n  width: 100% !important;\\n}\\n\\n._bottom_1uy8b_15 {\\n  position: absolute;\\n  top: auto;\\n  right: 0;\\n  bottom: 0;\\n  left: 0;\\n\\n  width: 100%;\\n\\n  display: flex;\\n  justify-content: center;\\n  align-items: center;\\n}\\n\\n._buttonContainer_1uy8b_29 {\\n  position: absolute;\\n  left: 50%;\\n  z-index: 2;\\n\\n  width: 92%;\\n\\n  transform: translateX(-50%);\\n}\\n\\n._gradient_1uy8b_39 {\\n  position: relative;\\n  z-index: 1;\\n\\n  width: 100%;\\n  height: 320px;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_1uy8b_1\";\nconst wrapper = \"_wrapper_1uy8b_7\";\nconst bottom = \"_bottom_1uy8b_15\";\nconst buttonContainer = \"_buttonContainer_1uy8b_29\";\nconst gradient = \"_gradient_1uy8b_39\";\nconst styles = {\n  container,\n  wrapper,\n  bottom,\n  buttonContainer,\n  gradient\n};\nexport {\n  bottom,\n  buttonContainer,\n  container,\n  styles as default,\n  gradient,\n  wrapper\n};\n","import { useAnalytics } from \"../../../hooks/analytics/useAnalytics.js\";\nimport { createContentEventProperties } from \"../../../utils/event-properties/content.js\";\nconst useTrackClickComponent = () => {\n  const {\n    trackAmplitude,\n    trackFirebase\n  } = useAnalytics();\n  const trackClickComponent = (component, extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      component,\n      ...extra\n    };\n    trackAmplitude(\"click_component_content\", properties);\n    trackFirebase(\"click_component_content\", properties);\n  };\n  return {\n    trackClickComponent\n  };\n};\nconst useTrackViewComponent = () => {\n  const {\n    trackAmplitude,\n    trackFirebase\n  } = useAnalytics();\n  const trackViewComponent = (component, extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      component,\n      ...extra\n    };\n    trackAmplitude(\"view_component_content\", properties);\n    trackFirebase(\"view_component_content\", properties);\n  };\n  return {\n    trackViewComponent\n  };\n};\nexport {\n  useTrackClickComponent,\n  useTrackViewComponent\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_181oi_1 {\\n  width: 100%;\\n  height: 140px;\\n  min-width: min-content;\\n\\n  display: flex;\\n  align-items: center;\\n  justify-content: center;\\n\\n  padding: 16px 26px;\\n\\n  background-color: #375fff33;\\n}\\n\\n._text_181oi_15 {\\n  font-size: 18px;\\n  font-family: 500;\\n  line-height: 1.6em;\\n  text-align: center;\\n  color: #375fff;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_181oi_1\";\nconst text = \"_text_181oi_15\";\nconst styles = {\n  container,\n  text\n};\nexport {\n  container,\n  styles as default,\n  text\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport styles from \"./Placeholder.module.css.js\";\nimport { Children } from \"react\";\nconst Placeholder = ({\n  children\n}) => {\n  if (!isCanvas()) {\n    return null;\n  }\n  const hasChildren = Children.count(children) > 0;\n  return /* @__PURE__ */ jsx(\"div\", { className: styles.container, children: /* @__PURE__ */ jsx(\"p\", { className: styles.text, children: hasChildren ? children : \"요소를 연결해 주세요\" }) });\n};\nexport {\n  Placeholder\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useState, Children } from \"react\";\nimport styles from \"./Expandable.module.css.js\";\nimport { useTrackClickComponent } from \"../../canvas/ComponentEventTracker/ComponentEventTracker.hooks.event.js\";\nimport { Placeholder } from \"../../@shared/Placeholder/Placeholder.js\";\nimport { ButtonTheme } from \"../../@shared/Button/Button.types.js\";\nimport { Button as Default } from \"../../@shared/Button/Button.js\";\nconst TRIGGER_BUTTON_COMPONENT_NAME = \"ReadMoreButton\";\nconst Expandable = ({\n  children,\n  maxHeight,\n  gradientColor,\n  buttonTheme,\n  buttonText,\n  buttonBottomGap\n}) => {\n  const [isExpanded, setIsExpanded] = useState(false);\n  const {\n    trackClickComponent\n  } = useTrackClickComponent();\n  const hasButtonText = buttonText.length > 0;\n  const handleClick = () => {\n    setIsExpanded(true);\n    trackClickComponent(TRIGGER_BUTTON_COMPONENT_NAME);\n  };\n  if (!children || Children.count(children) === 0) {\n    return /* @__PURE__ */ jsx(Placeholder, {});\n  }\n  return /* @__PURE__ */ jsxs(\"div\", { className: styles.container, children: [\n    /* @__PURE__ */ jsx(\"div\", { className: styles.wrapper, style: {\n      maxHeight: isExpanded ? \"none\" : maxHeight,\n      overflow: isExpanded ? \"visible\" : \"hidden\"\n    }, children }),\n    isExpanded ? null : /* @__PURE__ */ jsxs(\"div\", { className: styles.bottom, children: [\n      hasButtonText ? /* @__PURE__ */ jsx(\"div\", { className: styles.buttonContainer, style: {\n        bottom: buttonBottomGap\n      }, children: /* @__PURE__ */ jsx(Default, { variant: \"primary\", theme: buttonTheme === ButtonTheme.DARK ? \"light\" : \"dark\", fill: true, postfixIcon: \"chevronDown\", onClick: handleClick, children: buttonText }) }) : null,\n      /* @__PURE__ */ jsx(\"div\", { className: styles.gradient, style: {\n        background: `linear-gradient(rgba(255, 255, 255, 0) 0%, ${gradientColor} 60%)`\n      } })\n    ] })\n  ] });\n};\naddPropertyControls(Expandable, {\n  maxHeight: {\n    title: \"확장 전 영역 최대 높이\",\n    type: ControlType.Number,\n    defaultValue: 0,\n    min: 0,\n    unit: \"px\",\n    displayStepper: true\n  },\n  gradientColor: {\n    title: \"그라디언트 색상\",\n    type: ControlType.Color,\n    defaultValue: \"rgb(255, 255, 255)\"\n  },\n  buttonText: {\n    title: \"더보기 버튼 텍스트\",\n    type: ControlType.String\n  },\n  buttonTheme: {\n    title: \"버튼 색상\",\n    type: ControlType.Enum,\n    displaySegmentedControl: true,\n    options: [ButtonTheme.DARK, ButtonTheme.LIGHT],\n    optionTitles: [\"dark\", \"light\"],\n    defaultValue: \"dark\"\n  },\n  buttonBottomGap: {\n    title: \"버튼 하단 간격\",\n    type: ControlType.Number,\n    defaultValue: 50,\n    min: 0,\n    unit: \"px\",\n    displayStepper: true\n  },\n  children: {\n    title: \"본문 컴포넌트\",\n    type: ControlType.ComponentInstance\n  }\n});\nexport {\n  Expandable\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_xza14_1 {\\n  width: 100%;\\n  background-color: transparent;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_xza14_1\";\nconst styles = {\n  container\n};\nexport {\n  container,\n  styles as default\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useScroll, useSpring, useTransform, motion } from \"framer-motion\";\nimport styles from \"./ScrollProgressBar.module.css.js\";\nimport { clsx } from \"../../../utils/clsx.js\";\nconst ScrollProgressBar = ({\n  className,\n  weight,\n  style\n}) => {\n  const {\n    scrollYProgress\n  } = useScroll();\n  const springScrollYProgress = useSpring(scrollYProgress, {\n    bounce: 0\n  });\n  const progressBarX = useTransform(springScrollYProgress, [0, 1], [\"-100%\", \"0%\"]);\n  return /* @__PURE__ */ jsx(\"div\", { className: clsx(styles.container, className), style: {\n    height: weight,\n    ...style\n  }, children: /* @__PURE__ */ jsx(motion.div, { style: {\n    width: \"100%\",\n    height: \"100%\",\n    backgroundColor: \"#ff4800\",\n    x: progressBarX\n  } }) });\n};\nexport {\n  ScrollProgressBar\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_txw59_1 {\\n  position: fixed;\\n  top: 0;\\n  left: 0;\\n  z-index: 20;\\n  background-color: #000;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_txw59_1\";\nconst styles = {\n  container\n};\nexport {\n  container,\n  styles as default\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { ScrollProgressBar } from \"../ScrollProgressBar/ScrollProgressBar.js\";\nimport styles from \"./FixedScrollProgressBar.module.css.js\";\nconst FixedScrollProgressBar = ({\n  weight\n}) => {\n  return /* @__PURE__ */ jsx(ScrollProgressBar, { className: styles.container, weight });\n};\naddPropertyControls(FixedScrollProgressBar, {\n  weight: {\n    title: \"프로그래스바 굵기\",\n    type: ControlType.Number,\n    unit: \"px\",\n    defaultValue: 4,\n    min: 0,\n    displayStepper: true\n  }\n});\nexport {\n  FixedScrollProgressBar\n};\n","import { useToastStore } from \"./stores/toast/toast.store.js\";\nconst useToast = () => {\n  const {\n    toast\n  } = useToastStore();\n  const show = ({\n    disableAutoClose = false,\n    ...otherProps\n  }) => {\n    setTimeout(() => {\n      toast.show(otherProps);\n    });\n    if (!disableAutoClose) {\n      setTimeout(toast.hide, 2500);\n    }\n  };\n  const hide = () => {\n    toast.hide();\n  };\n  return {\n    show,\n    hide\n  };\n};\nexport {\n  useToast\n};\n","import { useAnalytics } from \"../../../hooks/analytics/useAnalytics.js\";\nimport { createContentEventProperties } from \"../../../utils/event-properties/content.js\";\nconst useTrackShareContent = () => {\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const trackShareContent = () => {\n    const properties = createContentEventProperties();\n    trackFirebase(\"share_content\", properties);\n    trackAmplitude(\"share_content\", properties);\n  };\n  return {\n    trackShareContent\n  };\n};\nexport {\n  useTrackShareContent\n};\n","import { postMessage } from \"../postMessage.js\";\nconst appShare = (data) => {\n  const nativeShareParams = {\n    link: data.url,\n    message: data.title ?? data.text\n  };\n  postMessage(\"shareInternalLink\", nativeShareParams);\n};\nexport {\n  appShare\n};\n","var toggleSelection = function() {\n  var selection = document.getSelection();\n  if (!selection.rangeCount) {\n    return function() {\n    };\n  }\n  var active = document.activeElement;\n  var ranges = [];\n  for (var i = 0; i < selection.rangeCount; i++) {\n    ranges.push(selection.getRangeAt(i));\n  }\n  switch (active.tagName.toUpperCase()) {\n    case \"INPUT\":\n    case \"TEXTAREA\":\n      active.blur();\n      break;\n    default:\n      active = null;\n      break;\n  }\n  selection.removeAllRanges();\n  return function() {\n    selection.type === \"Caret\" && selection.removeAllRanges();\n    if (!selection.rangeCount) {\n      ranges.forEach(function(range) {\n        selection.addRange(range);\n      });\n    }\n    active && active.focus();\n  };\n};\nexport {\n  toggleSelection as t\n};\n","import { getDefaultExportFromCjs } from \"../../_virtual/_commonjsHelpers.js\";\nimport { t as toggleSelection } from \"../toggle-selection/index.js\";\nvar deselectCurrent = toggleSelection;\nvar clipboardToIE11Formatting = {\n  \"text/plain\": \"Text\",\n  \"text/html\": \"Url\",\n  \"default\": \"Text\"\n};\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\nfunction format(message) {\n  var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n  return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\nfunction copy(text, options) {\n  var debug, message, reselectPrevious, range, selection, mark, success = false;\n  if (!options) {\n    options = {};\n  }\n  debug = options.debug || false;\n  try {\n    reselectPrevious = deselectCurrent();\n    range = document.createRange();\n    selection = document.getSelection();\n    mark = document.createElement(\"span\");\n    mark.textContent = text;\n    mark.ariaHidden = \"true\";\n    mark.style.all = \"unset\";\n    mark.style.position = \"fixed\";\n    mark.style.top = 0;\n    mark.style.clip = \"rect(0, 0, 0, 0)\";\n    mark.style.whiteSpace = \"pre\";\n    mark.style.webkitUserSelect = \"text\";\n    mark.style.MozUserSelect = \"text\";\n    mark.style.msUserSelect = \"text\";\n    mark.style.userSelect = \"text\";\n    mark.addEventListener(\"copy\", function(e) {\n      e.stopPropagation();\n      if (options.format) {\n        e.preventDefault();\n        if (typeof e.clipboardData === \"undefined\") {\n          debug && console.warn(\"unable to use e.clipboardData\");\n          debug && console.warn(\"trying IE specific stuff\");\n          window.clipboardData.clearData();\n          var format2 = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"];\n          window.clipboardData.setData(format2, text);\n        } else {\n          e.clipboardData.clearData();\n          e.clipboardData.setData(options.format, text);\n        }\n      }\n      if (options.onCopy) {\n        e.preventDefault();\n        options.onCopy(e.clipboardData);\n      }\n    });\n    document.body.appendChild(mark);\n    range.selectNodeContents(mark);\n    selection.addRange(range);\n    var successful = document.execCommand(\"copy\");\n    if (!successful) {\n      throw new Error(\"copy command was unsuccessful\");\n    }\n    success = true;\n  } catch (err) {\n    debug && console.error(\"unable to copy using execCommand: \", err);\n    debug && console.warn(\"trying IE specific stuff\");\n    try {\n      window.clipboardData.setData(options.format || \"text\", text);\n      options.onCopy && options.onCopy(window.clipboardData);\n      success = true;\n    } catch (err2) {\n      debug && console.error(\"unable to copy using clipboardData: \", err2);\n      debug && console.error(\"falling back to prompt\");\n      message = format(\"message\" in options ? options.message : defaultMessage);\n      window.prompt(message, text);\n    }\n  } finally {\n    if (selection) {\n      if (typeof selection.removeRange == \"function\") {\n        selection.removeRange(range);\n      } else {\n        selection.removeAllRanges();\n      }\n    }\n    if (mark) {\n      document.body.removeChild(mark);\n    }\n    reselectPrevious();\n  }\n  return success;\n}\nvar copyToClipboard = copy;\nconst copy$1 = /* @__PURE__ */ getDefaultExportFromCjs(copyToClipboard);\nexport {\n  copy$1 as default\n};\n","import copy from \"../../node_modules/copy-to-clipboard/index.js\";\nimport { isMobile } from \"../device.js\";\nconst webShare = (data, onSuccess) => {\n  if (isMobile() && window.navigator.share) {\n    window.navigator.share(data);\n    return;\n  }\n  copy(data.url);\n  onSuccess == null ? void 0 : onSuccess();\n};\nexport {\n  webShare\n};\n","import { isAvailableBuildNumber } from \"../device.js\";\nconst IOS_INTERNAL_LINK_AVAILABLE_BUILD_NUMBER = 758;\nconst AOS_INTERNAL_LINK_AVAILABLE_BUILD_NUMBER = 536;\nconst isShareInternalLinkAvailable = () => {\n  return isAvailableBuildNumber(AOS_INTERNAL_LINK_AVAILABLE_BUILD_NUMBER, IOS_INTERNAL_LINK_AVAILABLE_BUILD_NUMBER);\n};\nexport {\n  isShareInternalLinkAvailable\n};\n","import { useContentStore } from \"../../../hooks/stores/content/content.store.js\";\nimport { useToast } from \"../../../hooks/useToast.js\";\nimport { removeQueryString } from \"../../../utils/location.js\";\nimport { useTrackShareContent } from \"./ShareButton.hooks.event.js\";\nimport { appShare } from \"../../../utils/share/appshare.js\";\nimport { webShare } from \"../../../utils/share/webshare.js\";\nimport { isShareInternalLinkAvailable } from \"../../../utils/share/isShareInternalLinkAvailable.js\";\nconst useShareButton = () => {\n  const toast = useToast();\n  const {\n    trackShareContent\n  } = useTrackShareContent();\n  const handleClick = () => {\n    const data = createWebShareData();\n    trackShareContent();\n    if (isShareInternalLinkAvailable()) {\n      appShare(data);\n      return;\n    }\n    webShare(data, () => toast.show({\n      content: \"클립보드에 복사되었습니다.\"\n    }));\n  };\n  return {\n    handleClick\n  };\n};\nconst createWebShareData = () => {\n  const {\n    summary\n  } = useContentStore.getState();\n  return {\n    title: summary.title,\n    url: removeQueryString(window.location.href)\n  };\n};\nexport {\n  useShareButton\n};\n","import \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport { useFeatureFlag } from \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nconst BOTTOM_NAV_FAB_RENEWAL_FLAG = \"bottom-nav-fab-renewal\";\nconst useIsShareButtonRenewed = () => useFeatureFlag(BOTTOM_NAV_FAB_RENEWAL_FLAG) === true;\nconst getShareButtonSize = (isRenewed) => isRenewed ? 44 : 42;\nexport {\n  BOTTOM_NAV_FAB_RENEWAL_FLAG,\n  getShareButtonSize,\n  useIsShareButtonRenewed\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst ShareIcon = ({\n  className,\n  stroke = \"#000\",\n  strokeWidth = 1.9,\n  size = 20\n}) => {\n  return /* @__PURE__ */ jsx(\"svg\", { className, style: {\n    marginRight: \"2px\"\n  }, xmlns: \"http://www.w3.org/2000/svg\", width: size, height: size, viewBox: \"0 0 20 22\", children: /* @__PURE__ */ jsx(\"g\", { fill: \"none\", fillRule: \"evenodd\", stroke, strokeWidth, children: /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 15.402a3 3 0 1 1-3 5.196 3 3 0 0 1 3-5.196zM13.578 16.725l-7.179-4.5M6.598 9.5a3 3 0 1 0-5.196 3 3 3 0 0 0 5.196-3zM17.5 6.597A3 3 0 1 0 14.5 1.402 3 3 0 0 0 17.5 6.597zM13 5.5L6.678 9.616\" }) }) });\n};\nexport {\n  ShareIcon\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst ShareIcon = ({\n  className,\n  stroke = \"#000\",\n  strokeWidth = 1.9,\n  size = 20\n}) => {\n  return /* @__PURE__ */ jsx(\"svg\", { className, style: {\n    marginRight: \"2px\"\n  }, xmlns: \"http://www.w3.org/2000/svg\", width: size, height: size, viewBox: \"0 0 20 22\", children: /* @__PURE__ */ jsx(\"g\", { fill: \"none\", fillRule: \"evenodd\", stroke, strokeWidth, children: /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 15.402a3 3 0 1 1-3 5.196 3 3 0 0 1 3-5.196zM13.578 16.725l-7.179-4.5M6.598 9.5a3 3 0 1 0-5.196 3 3 3 0 0 0 5.196-3zM17.5 6.597A3 3 0 1 0 14.5 1.402 3 3 0 0 0 17.5 6.597zM13 5.5L6.678 9.616\" }) }) });\n};\nexport {\n  ShareIcon\n};\n","import { useBottomSheetStore } from \"./stores/bottom-sheet/bottom-sheet.store.js\";\nconst useBottomSheet = () => {\n  const {\n    bottomSheet\n  } = useBottomSheetStore();\n  const show = (params) => {\n    bottomSheet.show(params);\n  };\n  const hide = () => {\n    bottomSheet.hide();\n  };\n  return {\n    show,\n    hide\n  };\n};\nexport {\n  useBottomSheet\n};\n","const min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = (v) => ({\n  x: v,\n  y: v\n});\nconst oppositeSideMap = {\n  left: \"right\",\n  right: \"left\",\n  bottom: \"top\",\n  top: \"bottom\"\n};\nconst oppositeAlignmentMap = {\n  start: \"end\",\n  end: \"start\"\n};\nfunction clamp(start, value, end) {\n  return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n  return typeof value === \"function\" ? value(param) : value;\n}\nfunction getSide(placement) {\n  return placement.split(\"-\")[0];\n}\nfunction getAlignment(placement) {\n  return placement.split(\"-\")[1];\n}\nfunction getOppositeAxis(axis) {\n  return axis === \"x\" ? \"y\" : \"x\";\n}\nfunction getAxisLength(axis) {\n  return axis === \"y\" ? \"height\" : \"width\";\n}\nfunction getSideAxis(placement) {\n  return [\"top\", \"bottom\"].includes(getSide(placement)) ? \"y\" : \"x\";\n}\nfunction getAlignmentAxis(placement) {\n  return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n  if (rtl === void 0) {\n    rtl = false;\n  }\n  const alignment = getAlignment(placement);\n  const alignmentAxis = getAlignmentAxis(placement);\n  const length = getAxisLength(alignmentAxis);\n  let mainAlignmentSide = alignmentAxis === \"x\" ? alignment === (rtl ? \"end\" : \"start\") ? \"right\" : \"left\" : alignment === \"start\" ? \"bottom\" : \"top\";\n  if (rects.reference[length] > rects.floating[length]) {\n    mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n  }\n  return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n  const oppositePlacement = getOppositePlacement(placement);\n  return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n  return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n  const lr = [\"left\", \"right\"];\n  const rl = [\"right\", \"left\"];\n  const tb = [\"top\", \"bottom\"];\n  const bt = [\"bottom\", \"top\"];\n  switch (side) {\n    case \"top\":\n    case \"bottom\":\n      if (rtl)\n        return isStart ? rl : lr;\n      return isStart ? lr : rl;\n    case \"left\":\n    case \"right\":\n      return isStart ? tb : bt;\n    default:\n      return [];\n  }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n  const alignment = getAlignment(placement);\n  let list = getSideList(getSide(placement), direction === \"start\", rtl);\n  if (alignment) {\n    list = list.map((side) => side + \"-\" + alignment);\n    if (flipAlignment) {\n      list = list.concat(list.map(getOppositeAlignmentPlacement));\n    }\n  }\n  return list;\n}\nfunction getOppositePlacement(placement) {\n  return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n  return {\n    top: 0,\n    right: 0,\n    bottom: 0,\n    left: 0,\n    ...padding\n  };\n}\nfunction getPaddingObject(padding) {\n  return typeof padding !== \"number\" ? expandPaddingObject(padding) : {\n    top: padding,\n    right: padding,\n    bottom: padding,\n    left: padding\n  };\n}\nfunction rectToClientRect(rect) {\n  const {\n    x,\n    y,\n    width,\n    height\n  } = rect;\n  return {\n    width,\n    height,\n    top: y,\n    left: x,\n    right: x + width,\n    bottom: y + height,\n    x,\n    y\n  };\n}\nexport {\n  clamp,\n  createCoords,\n  evaluate,\n  expandPaddingObject,\n  floor,\n  getAlignment,\n  getAlignmentAxis,\n  getAlignmentSides,\n  getAxisLength,\n  getExpandedPlacements,\n  getOppositeAlignmentPlacement,\n  getOppositeAxis,\n  getOppositeAxisPlacements,\n  getOppositePlacement,\n  getPaddingObject,\n  getSide,\n  getSideAxis,\n  max,\n  min,\n  rectToClientRect,\n  round\n};\n","import { evaluate, getSide, getSideAxis, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, getAlignmentSides, getAlignmentAxis, getAlignment, getPaddingObject, rectToClientRect, getAxisLength, min, clamp } from \"../../utils/dist/floating-ui.utils.js\";\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n  let {\n    reference,\n    floating\n  } = _ref;\n  const sideAxis = getSideAxis(placement);\n  const alignmentAxis = getAlignmentAxis(placement);\n  const alignLength = getAxisLength(alignmentAxis);\n  const side = getSide(placement);\n  const isVertical = sideAxis === \"y\";\n  const commonX = reference.x + reference.width / 2 - floating.width / 2;\n  const commonY = reference.y + reference.height / 2 - floating.height / 2;\n  const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;\n  let coords;\n  switch (side) {\n    case \"top\":\n      coords = {\n        x: commonX,\n        y: reference.y - floating.height\n      };\n      break;\n    case \"bottom\":\n      coords = {\n        x: commonX,\n        y: reference.y + reference.height\n      };\n      break;\n    case \"right\":\n      coords = {\n        x: reference.x + reference.width,\n        y: commonY\n      };\n      break;\n    case \"left\":\n      coords = {\n        x: reference.x - floating.width,\n        y: commonY\n      };\n      break;\n    default:\n      coords = {\n        x: reference.x,\n        y: reference.y\n      };\n  }\n  switch (getAlignment(placement)) {\n    case \"start\":\n      coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n      break;\n    case \"end\":\n      coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n      break;\n  }\n  return coords;\n}\nconst computePosition = async (reference, floating, config) => {\n  const {\n    placement = \"bottom\",\n    strategy = \"absolute\",\n    middleware = [],\n    platform\n  } = config;\n  const validMiddleware = middleware.filter(Boolean);\n  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n  let rects = await platform.getElementRects({\n    reference,\n    floating,\n    strategy\n  });\n  let {\n    x,\n    y\n  } = computeCoordsFromPlacement(rects, placement, rtl);\n  let statefulPlacement = placement;\n  let middlewareData = {};\n  let resetCount = 0;\n  for (let i = 0; i < validMiddleware.length; i++) {\n    const {\n      name,\n      fn\n    } = validMiddleware[i];\n    const {\n      x: nextX,\n      y: nextY,\n      data,\n      reset\n    } = await fn({\n      x,\n      y,\n      initialPlacement: placement,\n      placement: statefulPlacement,\n      strategy,\n      middlewareData,\n      rects,\n      platform,\n      elements: {\n        reference,\n        floating\n      }\n    });\n    x = nextX != null ? nextX : x;\n    y = nextY != null ? nextY : y;\n    middlewareData = {\n      ...middlewareData,\n      [name]: {\n        ...middlewareData[name],\n        ...data\n      }\n    };\n    if (reset && resetCount <= 50) {\n      resetCount++;\n      if (typeof reset === \"object\") {\n        if (reset.placement) {\n          statefulPlacement = reset.placement;\n        }\n        if (reset.rects) {\n          rects = reset.rects === true ? await platform.getElementRects({\n            reference,\n            floating,\n            strategy\n          }) : reset.rects;\n        }\n        ({\n          x,\n          y\n        } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n      }\n      i = -1;\n    }\n  }\n  return {\n    x,\n    y,\n    placement: statefulPlacement,\n    strategy,\n    middlewareData\n  };\n};\nasync function detectOverflow(state, options) {\n  var _await$platform$isEle;\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    x,\n    y,\n    platform,\n    rects,\n    elements,\n    strategy\n  } = state;\n  const {\n    boundary = \"clippingAncestors\",\n    rootBoundary = \"viewport\",\n    elementContext = \"floating\",\n    altBoundary = false,\n    padding = 0\n  } = evaluate(options, state);\n  const paddingObject = getPaddingObject(padding);\n  const altContext = elementContext === \"floating\" ? \"reference\" : \"floating\";\n  const element = elements[altBoundary ? altContext : elementContext];\n  const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n    element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating)),\n    boundary,\n    rootBoundary,\n    strategy\n  }));\n  const rect = elementContext === \"floating\" ? {\n    x,\n    y,\n    width: rects.floating.width,\n    height: rects.floating.height\n  } : rects.reference;\n  const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n  const offsetScale = await (platform.isElement == null ? void 0 : platform.isElement(offsetParent)) ? await (platform.getScale == null ? void 0 : platform.getScale(offsetParent)) || {\n    x: 1,\n    y: 1\n  } : {\n    x: 1,\n    y: 1\n  };\n  const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n    elements,\n    rect,\n    offsetParent,\n    strategy\n  }) : rect);\n  return {\n    top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n    bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n    left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n    right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n  };\n}\nconst arrow = (options) => ({\n  name: \"arrow\",\n  options,\n  async fn(state) {\n    const {\n      x,\n      y,\n      placement,\n      rects,\n      platform,\n      elements,\n      middlewareData\n    } = state;\n    const {\n      element,\n      padding = 0\n    } = evaluate(options, state) || {};\n    if (element == null) {\n      return {};\n    }\n    const paddingObject = getPaddingObject(padding);\n    const coords = {\n      x,\n      y\n    };\n    const axis = getAlignmentAxis(placement);\n    const length = getAxisLength(axis);\n    const arrowDimensions = await platform.getDimensions(element);\n    const isYAxis = axis === \"y\";\n    const minProp = isYAxis ? \"top\" : \"left\";\n    const maxProp = isYAxis ? \"bottom\" : \"right\";\n    const clientProp = isYAxis ? \"clientHeight\" : \"clientWidth\";\n    const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n    const startDiff = coords[axis] - rects.reference[axis];\n    const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n    let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;\n    if (!clientSize || !await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent))) {\n      clientSize = elements.floating[clientProp] || rects.floating[length];\n    }\n    const centerToReference = endDiff / 2 - startDiff / 2;\n    const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n    const minPadding = min(paddingObject[minProp], largestPossiblePadding);\n    const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);\n    const min$1 = minPadding;\n    const max = clientSize - arrowDimensions[length] - maxPadding;\n    const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n    const offset2 = clamp(min$1, center, max);\n    const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset2 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n    const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;\n    return {\n      [axis]: coords[axis] + alignmentOffset,\n      data: {\n        [axis]: offset2,\n        centerOffset: center - offset2 - alignmentOffset,\n        ...shouldAddOffset && {\n          alignmentOffset\n        }\n      },\n      reset: shouldAddOffset\n    };\n  }\n});\nconst flip = function(options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: \"flip\",\n    options,\n    async fn(state) {\n      var _middlewareData$arrow, _middlewareData$flip;\n      const {\n        placement,\n        middlewareData,\n        rects,\n        initialPlacement,\n        platform,\n        elements\n      } = state;\n      const {\n        mainAxis: checkMainAxis = true,\n        crossAxis: checkCrossAxis = true,\n        fallbackPlacements: specifiedFallbackPlacements,\n        fallbackStrategy = \"bestFit\",\n        fallbackAxisSideDirection = \"none\",\n        flipAlignment = true,\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n      if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n        return {};\n      }\n      const side = getSide(placement);\n      const initialSideAxis = getSideAxis(initialPlacement);\n      const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n      const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n      const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n      const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== \"none\";\n      if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {\n        fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n      }\n      const placements = [initialPlacement, ...fallbackPlacements];\n      const overflow = await detectOverflow(state, detectOverflowOptions);\n      const overflows = [];\n      let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n      if (checkMainAxis) {\n        overflows.push(overflow[side]);\n      }\n      if (checkCrossAxis) {\n        const sides = getAlignmentSides(placement, rects, rtl);\n        overflows.push(overflow[sides[0]], overflow[sides[1]]);\n      }\n      overflowsData = [...overflowsData, {\n        placement,\n        overflows\n      }];\n      if (!overflows.every((side2) => side2 <= 0)) {\n        var _middlewareData$flip2, _overflowsData$filter;\n        const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n        const nextPlacement = placements[nextIndex];\n        if (nextPlacement) {\n          const ignoreCrossAxisOverflow = checkCrossAxis === \"alignment\" ? initialSideAxis !== getSideAxis(nextPlacement) : false;\n          if (!ignoreCrossAxisOverflow || // We leave the current main axis only if every placement on that axis\n          // overflows the main axis.\n          overflowsData.every((d) => d.overflows[0] > 0 && getSideAxis(d.placement) === initialSideAxis)) {\n            return {\n              data: {\n                index: nextIndex,\n                overflows: overflowsData\n              },\n              reset: {\n                placement: nextPlacement\n              }\n            };\n          }\n        }\n        let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;\n        if (!resetPlacement) {\n          switch (fallbackStrategy) {\n            case \"bestFit\": {\n              var _overflowsData$filter2;\n              const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {\n                if (hasFallbackAxisSideDirection) {\n                  const currentSideAxis = getSideAxis(d.placement);\n                  return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal\n                  // reading directions favoring greater width.\n                  currentSideAxis === \"y\";\n                }\n                return true;\n              }).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];\n              if (placement2) {\n                resetPlacement = placement2;\n              }\n              break;\n            }\n            case \"initialPlacement\":\n              resetPlacement = initialPlacement;\n              break;\n          }\n        }\n        if (placement !== resetPlacement) {\n          return {\n            reset: {\n              placement: resetPlacement\n            }\n          };\n        }\n      }\n      return {};\n    }\n  };\n};\nasync function convertValueToCoords(state, options) {\n  const {\n    placement,\n    platform,\n    elements\n  } = state;\n  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n  const side = getSide(placement);\n  const alignment = getAlignment(placement);\n  const isVertical = getSideAxis(placement) === \"y\";\n  const mainAxisMulti = [\"left\", \"top\"].includes(side) ? -1 : 1;\n  const crossAxisMulti = rtl && isVertical ? -1 : 1;\n  const rawValue = evaluate(options, state);\n  let {\n    mainAxis,\n    crossAxis,\n    alignmentAxis\n  } = typeof rawValue === \"number\" ? {\n    mainAxis: rawValue,\n    crossAxis: 0,\n    alignmentAxis: null\n  } : {\n    mainAxis: rawValue.mainAxis || 0,\n    crossAxis: rawValue.crossAxis || 0,\n    alignmentAxis: rawValue.alignmentAxis\n  };\n  if (alignment && typeof alignmentAxis === \"number\") {\n    crossAxis = alignment === \"end\" ? alignmentAxis * -1 : alignmentAxis;\n  }\n  return isVertical ? {\n    x: crossAxis * crossAxisMulti,\n    y: mainAxis * mainAxisMulti\n  } : {\n    x: mainAxis * mainAxisMulti,\n    y: crossAxis * crossAxisMulti\n  };\n}\nconst offset = function(options) {\n  if (options === void 0) {\n    options = 0;\n  }\n  return {\n    name: \"offset\",\n    options,\n    async fn(state) {\n      var _middlewareData$offse, _middlewareData$arrow;\n      const {\n        x,\n        y,\n        placement,\n        middlewareData\n      } = state;\n      const diffCoords = await convertValueToCoords(state, options);\n      if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n        return {};\n      }\n      return {\n        x: x + diffCoords.x,\n        y: y + diffCoords.y,\n        data: {\n          ...diffCoords,\n          placement\n        }\n      };\n    }\n  };\n};\nexport {\n  arrow,\n  computePosition,\n  detectOverflow,\n  flip,\n  offset,\n  rectToClientRect\n};\n","function hasWindow() {\n  return typeof window !== \"undefined\";\n}\nfunction getNodeName(node) {\n  if (isNode(node)) {\n    return (node.nodeName || \"\").toLowerCase();\n  }\n  return \"#document\";\n}\nfunction getWindow(node) {\n  var _node$ownerDocument;\n  return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n  var _ref;\n  return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n  if (!hasWindow() || typeof ShadowRoot === \"undefined\") {\n    return false;\n  }\n  return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n  const {\n    overflow,\n    overflowX,\n    overflowY,\n    display\n  } = getComputedStyle(element);\n  return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && ![\"inline\", \"contents\"].includes(display);\n}\nfunction isTableElement(element) {\n  return [\"table\", \"td\", \"th\"].includes(getNodeName(element));\n}\nfunction isTopLayer(element) {\n  return [\":popover-open\", \":modal\"].some((selector) => {\n    try {\n      return element.matches(selector);\n    } catch (e) {\n      return false;\n    }\n  });\n}\nfunction isContainingBlock(elementOrCss) {\n  const webkit = isWebKit();\n  const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n  return [\"transform\", \"translate\", \"scale\", \"rotate\", \"perspective\"].some((value) => css[value] ? css[value] !== \"none\" : false) || (css.containerType ? css.containerType !== \"normal\" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== \"none\" : false) || !webkit && (css.filter ? css.filter !== \"none\" : false) || [\"transform\", \"translate\", \"scale\", \"rotate\", \"perspective\", \"filter\"].some((value) => (css.willChange || \"\").includes(value)) || [\"paint\", \"layout\", \"strict\", \"content\"].some((value) => (css.contain || \"\").includes(value));\n}\nfunction getContainingBlock(element) {\n  let currentNode = getParentNode(element);\n  while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n    if (isContainingBlock(currentNode)) {\n      return currentNode;\n    } else if (isTopLayer(currentNode)) {\n      return null;\n    }\n    currentNode = getParentNode(currentNode);\n  }\n  return null;\n}\nfunction isWebKit() {\n  if (typeof CSS === \"undefined\" || !CSS.supports)\n    return false;\n  return CSS.supports(\"-webkit-backdrop-filter\", \"none\");\n}\nfunction isLastTraversableNode(node) {\n  return [\"html\", \"body\", \"#document\"].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n  return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n  if (isElement(element)) {\n    return {\n      scrollLeft: element.scrollLeft,\n      scrollTop: element.scrollTop\n    };\n  }\n  return {\n    scrollLeft: element.scrollX,\n    scrollTop: element.scrollY\n  };\n}\nfunction getParentNode(node) {\n  if (getNodeName(node) === \"html\") {\n    return node;\n  }\n  const result = (\n    // Step into the shadow DOM of the parent of a slotted node.\n    node.assignedSlot || // DOM Element detected.\n    node.parentNode || // ShadowRoot detected.\n    isShadowRoot(node) && node.host || // Fallback.\n    getDocumentElement(node)\n  );\n  return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n  const parentNode = getParentNode(node);\n  if (isLastTraversableNode(parentNode)) {\n    return node.ownerDocument ? node.ownerDocument.body : node.body;\n  }\n  if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n    return parentNode;\n  }\n  return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n  var _node$ownerDocument2;\n  if (list === void 0) {\n    list = [];\n  }\n  if (traverseIframes === void 0) {\n    traverseIframes = true;\n  }\n  const scrollableAncestor = getNearestOverflowAncestor(node);\n  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n  const win = getWindow(scrollableAncestor);\n  if (isBody) {\n    const frameElement = getFrameElement(win);\n    return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n  }\n  return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n  return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\nexport {\n  getComputedStyle,\n  getContainingBlock,\n  getDocumentElement,\n  getFrameElement,\n  getNearestOverflowAncestor,\n  getNodeName,\n  getNodeScroll,\n  getOverflowAncestors,\n  getParentNode,\n  getWindow,\n  isContainingBlock,\n  isElement,\n  isHTMLElement,\n  isLastTraversableNode,\n  isNode,\n  isOverflowElement,\n  isShadowRoot,\n  isTableElement,\n  isTopLayer,\n  isWebKit\n};\n","import { offset as offset$1, flip as flip$1, computePosition as computePosition$1, arrow as arrow$1 } from \"../../core/dist/floating-ui.core.js\";\nimport { createCoords, round, rectToClientRect, max, min, floor } from \"../../utils/dist/floating-ui.utils.js\";\nimport { getDocumentElement, isElement, getOverflowAncestors, isHTMLElement, getWindow, getFrameElement, getComputedStyle, isTopLayer, getNodeName, isOverflowElement, getNodeScroll, getParentNode, isLastTraversableNode, isTableElement, isContainingBlock, getContainingBlock, isWebKit } from \"../../utils/dist/floating-ui.utils.dom.js\";\nfunction getCssDimensions(element) {\n  const css = getComputedStyle(element);\n  let width = parseFloat(css.width) || 0;\n  let height = parseFloat(css.height) || 0;\n  const hasOffset = isHTMLElement(element);\n  const offsetWidth = hasOffset ? element.offsetWidth : width;\n  const offsetHeight = hasOffset ? element.offsetHeight : height;\n  const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n  if (shouldFallback) {\n    width = offsetWidth;\n    height = offsetHeight;\n  }\n  return {\n    width,\n    height,\n    $: shouldFallback\n  };\n}\nfunction unwrapElement(element) {\n  return !isElement(element) ? element.contextElement : element;\n}\nfunction getScale(element) {\n  const domElement = unwrapElement(element);\n  if (!isHTMLElement(domElement)) {\n    return createCoords(1);\n  }\n  const rect = domElement.getBoundingClientRect();\n  const {\n    width,\n    height,\n    $\n  } = getCssDimensions(domElement);\n  let x = ($ ? round(rect.width) : rect.width) / width;\n  let y = ($ ? round(rect.height) : rect.height) / height;\n  if (!x || !Number.isFinite(x)) {\n    x = 1;\n  }\n  if (!y || !Number.isFinite(y)) {\n    y = 1;\n  }\n  return {\n    x,\n    y\n  };\n}\nconst noOffsets = /* @__PURE__ */ createCoords(0);\nfunction getVisualOffsets(element) {\n  const win = getWindow(element);\n  if (!isWebKit() || !win.visualViewport) {\n    return noOffsets;\n  }\n  return {\n    x: win.visualViewport.offsetLeft,\n    y: win.visualViewport.offsetTop\n  };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n  if (isFixed === void 0) {\n    isFixed = false;\n  }\n  if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n    return false;\n  }\n  return isFixed;\n}\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n  if (includeScale === void 0) {\n    includeScale = false;\n  }\n  if (isFixedStrategy === void 0) {\n    isFixedStrategy = false;\n  }\n  const clientRect = element.getBoundingClientRect();\n  const domElement = unwrapElement(element);\n  let scale = createCoords(1);\n  if (includeScale) {\n    if (offsetParent) {\n      if (isElement(offsetParent)) {\n        scale = getScale(offsetParent);\n      }\n    } else {\n      scale = getScale(element);\n    }\n  }\n  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n  let x = (clientRect.left + visualOffsets.x) / scale.x;\n  let y = (clientRect.top + visualOffsets.y) / scale.y;\n  let width = clientRect.width / scale.x;\n  let height = clientRect.height / scale.y;\n  if (domElement) {\n    const win = getWindow(domElement);\n    const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n    let currentWin = win;\n    let currentIFrame = getFrameElement(currentWin);\n    while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n      const iframeScale = getScale(currentIFrame);\n      const iframeRect = currentIFrame.getBoundingClientRect();\n      const css = getComputedStyle(currentIFrame);\n      const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n      const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n      x *= iframeScale.x;\n      y *= iframeScale.y;\n      width *= iframeScale.x;\n      height *= iframeScale.y;\n      x += left;\n      y += top;\n      currentWin = getWindow(currentIFrame);\n      currentIFrame = getFrameElement(currentWin);\n    }\n  }\n  return rectToClientRect({\n    width,\n    height,\n    x,\n    y\n  });\n}\nfunction getWindowScrollBarX(element, rect) {\n  const leftScroll = getNodeScroll(element).scrollLeft;\n  if (!rect) {\n    return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n  }\n  return rect.left + leftScroll;\n}\nfunction getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {\n  if (ignoreScrollbarX === void 0) {\n    ignoreScrollbarX = false;\n  }\n  const htmlRect = documentElement.getBoundingClientRect();\n  const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 : (\n    // RTL <body> scrollbar.\n    getWindowScrollBarX(documentElement, htmlRect)\n  ));\n  const y = htmlRect.top + scroll.scrollTop;\n  return {\n    x,\n    y\n  };\n}\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n  let {\n    elements,\n    rect,\n    offsetParent,\n    strategy\n  } = _ref;\n  const isFixed = strategy === \"fixed\";\n  const documentElement = getDocumentElement(offsetParent);\n  const topLayer = elements ? isTopLayer(elements.floating) : false;\n  if (offsetParent === documentElement || topLayer && isFixed) {\n    return rect;\n  }\n  let scroll = {\n    scrollLeft: 0,\n    scrollTop: 0\n  };\n  let scale = createCoords(1);\n  const offsets = createCoords(0);\n  const isOffsetParentAnElement = isHTMLElement(offsetParent);\n  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n    if (getNodeName(offsetParent) !== \"body\" || isOverflowElement(documentElement)) {\n      scroll = getNodeScroll(offsetParent);\n    }\n    if (isHTMLElement(offsetParent)) {\n      const offsetRect = getBoundingClientRect(offsetParent);\n      scale = getScale(offsetParent);\n      offsets.x = offsetRect.x + offsetParent.clientLeft;\n      offsets.y = offsetRect.y + offsetParent.clientTop;\n    }\n  }\n  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);\n  return {\n    width: rect.width * scale.x,\n    height: rect.height * scale.y,\n    x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n    y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n  };\n}\nfunction getClientRects(element) {\n  return Array.from(element.getClientRects());\n}\nfunction getDocumentRect(element) {\n  const html = getDocumentElement(element);\n  const scroll = getNodeScroll(element);\n  const body = element.ownerDocument.body;\n  const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n  const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n  let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n  const y = -scroll.scrollTop;\n  if (getComputedStyle(body).direction === \"rtl\") {\n    x += max(html.clientWidth, body.clientWidth) - width;\n  }\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\nfunction getViewportRect(element, strategy) {\n  const win = getWindow(element);\n  const html = getDocumentElement(element);\n  const visualViewport = win.visualViewport;\n  let width = html.clientWidth;\n  let height = html.clientHeight;\n  let x = 0;\n  let y = 0;\n  if (visualViewport) {\n    width = visualViewport.width;\n    height = visualViewport.height;\n    const visualViewportBased = isWebKit();\n    if (!visualViewportBased || visualViewportBased && strategy === \"fixed\") {\n      x = visualViewport.offsetLeft;\n      y = visualViewport.offsetTop;\n    }\n  }\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\nfunction getInnerBoundingClientRect(element, strategy) {\n  const clientRect = getBoundingClientRect(element, true, strategy === \"fixed\");\n  const top = clientRect.top + element.clientTop;\n  const left = clientRect.left + element.clientLeft;\n  const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n  const width = element.clientWidth * scale.x;\n  const height = element.clientHeight * scale.y;\n  const x = left * scale.x;\n  const y = top * scale.y;\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n  let rect;\n  if (clippingAncestor === \"viewport\") {\n    rect = getViewportRect(element, strategy);\n  } else if (clippingAncestor === \"document\") {\n    rect = getDocumentRect(getDocumentElement(element));\n  } else if (isElement(clippingAncestor)) {\n    rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n  } else {\n    const visualOffsets = getVisualOffsets(element);\n    rect = {\n      x: clippingAncestor.x - visualOffsets.x,\n      y: clippingAncestor.y - visualOffsets.y,\n      width: clippingAncestor.width,\n      height: clippingAncestor.height\n    };\n  }\n  return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n  const parentNode = getParentNode(element);\n  if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n    return false;\n  }\n  return getComputedStyle(parentNode).position === \"fixed\" || hasFixedPositionAncestor(parentNode, stopNode);\n}\nfunction getClippingElementAncestors(element, cache) {\n  const cachedResult = cache.get(element);\n  if (cachedResult) {\n    return cachedResult;\n  }\n  let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== \"body\");\n  let currentContainingBlockComputedStyle = null;\n  const elementIsFixed = getComputedStyle(element).position === \"fixed\";\n  let currentNode = elementIsFixed ? getParentNode(element) : element;\n  while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n    const computedStyle = getComputedStyle(currentNode);\n    const currentNodeIsContaining = isContainingBlock(currentNode);\n    if (!currentNodeIsContaining && computedStyle.position === \"fixed\") {\n      currentContainingBlockComputedStyle = null;\n    }\n    const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === \"static\" && !!currentContainingBlockComputedStyle && [\"absolute\", \"fixed\"].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n    if (shouldDropCurrentNode) {\n      result = result.filter((ancestor) => ancestor !== currentNode);\n    } else {\n      currentContainingBlockComputedStyle = computedStyle;\n    }\n    currentNode = getParentNode(currentNode);\n  }\n  cache.set(element, result);\n  return result;\n}\nfunction getClippingRect(_ref) {\n  let {\n    element,\n    boundary,\n    rootBoundary,\n    strategy\n  } = _ref;\n  const elementClippingAncestors = boundary === \"clippingAncestors\" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n  const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n  const firstClippingAncestor = clippingAncestors[0];\n  const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n    const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n    accRect.top = max(rect.top, accRect.top);\n    accRect.right = min(rect.right, accRect.right);\n    accRect.bottom = min(rect.bottom, accRect.bottom);\n    accRect.left = max(rect.left, accRect.left);\n    return accRect;\n  }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n  return {\n    width: clippingRect.right - clippingRect.left,\n    height: clippingRect.bottom - clippingRect.top,\n    x: clippingRect.left,\n    y: clippingRect.top\n  };\n}\nfunction getDimensions(element) {\n  const {\n    width,\n    height\n  } = getCssDimensions(element);\n  return {\n    width,\n    height\n  };\n}\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n  const isOffsetParentAnElement = isHTMLElement(offsetParent);\n  const documentElement = getDocumentElement(offsetParent);\n  const isFixed = strategy === \"fixed\";\n  const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n  let scroll = {\n    scrollLeft: 0,\n    scrollTop: 0\n  };\n  const offsets = createCoords(0);\n  function setLeftRTLScrollbarOffset() {\n    offsets.x = getWindowScrollBarX(documentElement);\n  }\n  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n    if (getNodeName(offsetParent) !== \"body\" || isOverflowElement(documentElement)) {\n      scroll = getNodeScroll(offsetParent);\n    }\n    if (isOffsetParentAnElement) {\n      const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n      offsets.x = offsetRect.x + offsetParent.clientLeft;\n      offsets.y = offsetRect.y + offsetParent.clientTop;\n    } else if (documentElement) {\n      setLeftRTLScrollbarOffset();\n    }\n  }\n  if (isFixed && !isOffsetParentAnElement && documentElement) {\n    setLeftRTLScrollbarOffset();\n  }\n  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n  const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n  const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n  return {\n    x,\n    y,\n    width: rect.width,\n    height: rect.height\n  };\n}\nfunction isStaticPositioned(element) {\n  return getComputedStyle(element).position === \"static\";\n}\nfunction getTrueOffsetParent(element, polyfill) {\n  if (!isHTMLElement(element) || getComputedStyle(element).position === \"fixed\") {\n    return null;\n  }\n  if (polyfill) {\n    return polyfill(element);\n  }\n  let rawOffsetParent = element.offsetParent;\n  if (getDocumentElement(element) === rawOffsetParent) {\n    rawOffsetParent = rawOffsetParent.ownerDocument.body;\n  }\n  return rawOffsetParent;\n}\nfunction getOffsetParent(element, polyfill) {\n  const win = getWindow(element);\n  if (isTopLayer(element)) {\n    return win;\n  }\n  if (!isHTMLElement(element)) {\n    let svgOffsetParent = getParentNode(element);\n    while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n      if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n        return svgOffsetParent;\n      }\n      svgOffsetParent = getParentNode(svgOffsetParent);\n    }\n    return win;\n  }\n  let offsetParent = getTrueOffsetParent(element, polyfill);\n  while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n    offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n  }\n  if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n    return win;\n  }\n  return offsetParent || getContainingBlock(element) || win;\n}\nconst getElementRects = async function(data) {\n  const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n  const getDimensionsFn = this.getDimensions;\n  const floatingDimensions = await getDimensionsFn(data.floating);\n  return {\n    reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n    floating: {\n      x: 0,\n      y: 0,\n      width: floatingDimensions.width,\n      height: floatingDimensions.height\n    }\n  };\n};\nfunction isRTL(element) {\n  return getComputedStyle(element).direction === \"rtl\";\n}\nconst platform = {\n  convertOffsetParentRelativeRectToViewportRelativeRect,\n  getDocumentElement,\n  getClippingRect,\n  getOffsetParent,\n  getElementRects,\n  getClientRects,\n  getDimensions,\n  getScale,\n  isElement,\n  isRTL\n};\nfunction rectsAreEqual(a, b) {\n  return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\nfunction observeMove(element, onMove) {\n  let io = null;\n  let timeoutId;\n  const root = getDocumentElement(element);\n  function cleanup() {\n    var _io;\n    clearTimeout(timeoutId);\n    (_io = io) == null || _io.disconnect();\n    io = null;\n  }\n  function refresh(skip, threshold) {\n    if (skip === void 0) {\n      skip = false;\n    }\n    if (threshold === void 0) {\n      threshold = 1;\n    }\n    cleanup();\n    const elementRectForRootMargin = element.getBoundingClientRect();\n    const {\n      left,\n      top,\n      width,\n      height\n    } = elementRectForRootMargin;\n    if (!skip) {\n      onMove();\n    }\n    if (!width || !height) {\n      return;\n    }\n    const insetTop = floor(top);\n    const insetRight = floor(root.clientWidth - (left + width));\n    const insetBottom = floor(root.clientHeight - (top + height));\n    const insetLeft = floor(left);\n    const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n    const options = {\n      rootMargin,\n      threshold: max(0, min(1, threshold)) || 1\n    };\n    let isFirstUpdate = true;\n    function handleObserve(entries) {\n      const ratio = entries[0].intersectionRatio;\n      if (ratio !== threshold) {\n        if (!isFirstUpdate) {\n          return refresh();\n        }\n        if (!ratio) {\n          timeoutId = setTimeout(() => {\n            refresh(false, 1e-7);\n          }, 1e3);\n        } else {\n          refresh(false, ratio);\n        }\n      }\n      if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n        refresh();\n      }\n      isFirstUpdate = false;\n    }\n    try {\n      io = new IntersectionObserver(handleObserve, {\n        ...options,\n        // Handle <iframe>s\n        root: root.ownerDocument\n      });\n    } catch (_e) {\n      io = new IntersectionObserver(handleObserve, options);\n    }\n    io.observe(element);\n  }\n  refresh(true);\n  return cleanup;\n}\nfunction autoUpdate(reference, floating, update, options) {\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    ancestorScroll = true,\n    ancestorResize = true,\n    elementResize = typeof ResizeObserver === \"function\",\n    layoutShift = typeof IntersectionObserver === \"function\",\n    animationFrame = false\n  } = options;\n  const referenceEl = unwrapElement(reference);\n  const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];\n  ancestors.forEach((ancestor) => {\n    ancestorScroll && ancestor.addEventListener(\"scroll\", update, {\n      passive: true\n    });\n    ancestorResize && ancestor.addEventListener(\"resize\", update);\n  });\n  const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n  let reobserveFrame = -1;\n  let resizeObserver = null;\n  if (elementResize) {\n    resizeObserver = new ResizeObserver((_ref) => {\n      let [firstEntry] = _ref;\n      if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n        resizeObserver.unobserve(floating);\n        cancelAnimationFrame(reobserveFrame);\n        reobserveFrame = requestAnimationFrame(() => {\n          var _resizeObserver;\n          (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n        });\n      }\n      update();\n    });\n    if (referenceEl && !animationFrame) {\n      resizeObserver.observe(referenceEl);\n    }\n    resizeObserver.observe(floating);\n  }\n  let frameId;\n  let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n  if (animationFrame) {\n    frameLoop();\n  }\n  function frameLoop() {\n    const nextRefRect = getBoundingClientRect(reference);\n    if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n      update();\n    }\n    prevRefRect = nextRefRect;\n    frameId = requestAnimationFrame(frameLoop);\n  }\n  update();\n  return () => {\n    var _resizeObserver2;\n    ancestors.forEach((ancestor) => {\n      ancestorScroll && ancestor.removeEventListener(\"scroll\", update);\n      ancestorResize && ancestor.removeEventListener(\"resize\", update);\n    });\n    cleanupIo == null || cleanupIo();\n    (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n    resizeObserver = null;\n    if (animationFrame) {\n      cancelAnimationFrame(frameId);\n    }\n  };\n}\nconst offset = offset$1;\nconst flip = flip$1;\nconst arrow = arrow$1;\nconst computePosition = (reference, floating, options) => {\n  const cache = /* @__PURE__ */ new Map();\n  const mergedOptions = {\n    platform,\n    ...options\n  };\n  const platformWithCache = {\n    ...mergedOptions.platform,\n    _c: cache\n  };\n  return computePosition$1(reference, floating, {\n    ...mergedOptions,\n    platform: platformWithCache\n  });\n};\nexport {\n  arrow,\n  autoUpdate,\n  computePosition,\n  flip,\n  getOverflowAncestors,\n  offset,\n  platform\n};\n","import { computePosition, offset as offset$1, flip as flip$1, arrow as arrow$2 } from \"../../dom/dist/floating-ui.dom.js\";\nimport { autoUpdate, platform } from \"../../dom/dist/floating-ui.dom.js\";\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"react\";\nimport * as ReactDOM from \"react-dom\";\nvar isClient = typeof document !== \"undefined\";\nvar noop = function noop2() {\n};\nvar index = isClient ? useLayoutEffect : noop;\nfunction deepEqual(a, b) {\n  if (a === b) {\n    return true;\n  }\n  if (typeof a !== typeof b) {\n    return false;\n  }\n  if (typeof a === \"function\" && a.toString() === b.toString()) {\n    return true;\n  }\n  let length;\n  let i;\n  let keys;\n  if (a && b && typeof a === \"object\") {\n    if (Array.isArray(a)) {\n      length = a.length;\n      if (length !== b.length)\n        return false;\n      for (i = length; i-- !== 0; ) {\n        if (!deepEqual(a[i], b[i])) {\n          return false;\n        }\n      }\n      return true;\n    }\n    keys = Object.keys(a);\n    length = keys.length;\n    if (length !== Object.keys(b).length) {\n      return false;\n    }\n    for (i = length; i-- !== 0; ) {\n      if (!{}.hasOwnProperty.call(b, keys[i])) {\n        return false;\n      }\n    }\n    for (i = length; i-- !== 0; ) {\n      const key = keys[i];\n      if (key === \"_owner\" && a.$$typeof) {\n        continue;\n      }\n      if (!deepEqual(a[key], b[key])) {\n        return false;\n      }\n    }\n    return true;\n  }\n  return a !== a && b !== b;\n}\nfunction getDPR(element) {\n  if (typeof window === \"undefined\") {\n    return 1;\n  }\n  const win = element.ownerDocument.defaultView || window;\n  return win.devicePixelRatio || 1;\n}\nfunction roundByDPR(element, value) {\n  const dpr = getDPR(element);\n  return Math.round(value * dpr) / dpr;\n}\nfunction useLatestRef(value) {\n  const ref = React.useRef(value);\n  index(() => {\n    ref.current = value;\n  });\n  return ref;\n}\nfunction useFloating(options) {\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    placement = \"bottom\",\n    strategy = \"absolute\",\n    middleware = [],\n    platform: platform2,\n    elements: {\n      reference: externalReference,\n      floating: externalFloating\n    } = {},\n    transform = true,\n    whileElementsMounted,\n    open\n  } = options;\n  const [data, setData] = React.useState({\n    x: 0,\n    y: 0,\n    strategy,\n    placement,\n    middlewareData: {},\n    isPositioned: false\n  });\n  const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n  if (!deepEqual(latestMiddleware, middleware)) {\n    setLatestMiddleware(middleware);\n  }\n  const [_reference, _setReference] = React.useState(null);\n  const [_floating, _setFloating] = React.useState(null);\n  const setReference = React.useCallback((node) => {\n    if (node !== referenceRef.current) {\n      referenceRef.current = node;\n      _setReference(node);\n    }\n  }, []);\n  const setFloating = React.useCallback((node) => {\n    if (node !== floatingRef.current) {\n      floatingRef.current = node;\n      _setFloating(node);\n    }\n  }, []);\n  const referenceEl = externalReference || _reference;\n  const floatingEl = externalFloating || _floating;\n  const referenceRef = React.useRef(null);\n  const floatingRef = React.useRef(null);\n  const dataRef = React.useRef(data);\n  const hasWhileElementsMounted = whileElementsMounted != null;\n  const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n  const platformRef = useLatestRef(platform2);\n  const openRef = useLatestRef(open);\n  const update = React.useCallback(() => {\n    if (!referenceRef.current || !floatingRef.current) {\n      return;\n    }\n    const config = {\n      placement,\n      strategy,\n      middleware: latestMiddleware\n    };\n    if (platformRef.current) {\n      config.platform = platformRef.current;\n    }\n    computePosition(referenceRef.current, floatingRef.current, config).then((data2) => {\n      const fullData = {\n        ...data2,\n        // The floating element's position may be recomputed while it's closed\n        // but still mounted (such as when transitioning out). To ensure\n        // `isPositioned` will be `false` initially on the next open, avoid\n        // setting it to `true` when `open === false` (must be specified).\n        isPositioned: openRef.current !== false\n      };\n      if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n        dataRef.current = fullData;\n        ReactDOM.flushSync(() => {\n          setData(fullData);\n        });\n      }\n    });\n  }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n  index(() => {\n    if (open === false && dataRef.current.isPositioned) {\n      dataRef.current.isPositioned = false;\n      setData((data2) => ({\n        ...data2,\n        isPositioned: false\n      }));\n    }\n  }, [open]);\n  const isMountedRef = React.useRef(false);\n  index(() => {\n    isMountedRef.current = true;\n    return () => {\n      isMountedRef.current = false;\n    };\n  }, []);\n  index(() => {\n    if (referenceEl)\n      referenceRef.current = referenceEl;\n    if (floatingEl)\n      floatingRef.current = floatingEl;\n    if (referenceEl && floatingEl) {\n      if (whileElementsMountedRef.current) {\n        return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n      }\n      update();\n    }\n  }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n  const refs = React.useMemo(() => ({\n    reference: referenceRef,\n    floating: floatingRef,\n    setReference,\n    setFloating\n  }), [setReference, setFloating]);\n  const elements = React.useMemo(() => ({\n    reference: referenceEl,\n    floating: floatingEl\n  }), [referenceEl, floatingEl]);\n  const floatingStyles = React.useMemo(() => {\n    const initialStyles = {\n      position: strategy,\n      left: 0,\n      top: 0\n    };\n    if (!elements.floating) {\n      return initialStyles;\n    }\n    const x = roundByDPR(elements.floating, data.x);\n    const y = roundByDPR(elements.floating, data.y);\n    if (transform) {\n      return {\n        ...initialStyles,\n        transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n        ...getDPR(elements.floating) >= 1.5 && {\n          willChange: \"transform\"\n        }\n      };\n    }\n    return {\n      position: strategy,\n      left: x,\n      top: y\n    };\n  }, [strategy, transform, elements.floating, data.x, data.y]);\n  return React.useMemo(() => ({\n    ...data,\n    update,\n    refs,\n    elements,\n    floatingStyles\n  }), [data, update, refs, elements, floatingStyles]);\n}\nconst arrow$1 = (options) => {\n  function isRef(value) {\n    return {}.hasOwnProperty.call(value, \"current\");\n  }\n  return {\n    name: \"arrow\",\n    options,\n    fn(state) {\n      const {\n        element,\n        padding\n      } = typeof options === \"function\" ? options(state) : options;\n      if (element && isRef(element)) {\n        if (element.current != null) {\n          return arrow$2({\n            element: element.current,\n            padding\n          }).fn(state);\n        }\n        return {};\n      }\n      if (element) {\n        return arrow$2({\n          element,\n          padding\n        }).fn(state);\n      }\n      return {};\n    }\n  };\n};\nconst offset = (options, deps) => ({\n  ...offset$1(options),\n  options: [options, deps]\n});\nconst flip = (options, deps) => ({\n  ...flip$1(options),\n  options: [options, deps]\n});\nconst arrow = (options, deps) => ({\n  ...arrow$1(options),\n  options: [options, deps]\n});\nexport {\n  arrow,\n  autoUpdate,\n  computePosition,\n  flip,\n  offset,\n  platform,\n  useFloating\n};\n","var getDefaultParent = function(originalTarget) {\n  if (typeof document === \"undefined\") {\n    return null;\n  }\n  var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n  return sampleTarget.ownerDocument.body;\n};\nvar counterMap = /* @__PURE__ */ new WeakMap();\nvar uncontrolledNodes = /* @__PURE__ */ new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function(node) {\n  return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function(parent, targets) {\n  return targets.map(function(target) {\n    if (parent.contains(target)) {\n      return target;\n    }\n    var correctedTarget = unwrapHost(target);\n    if (correctedTarget && parent.contains(correctedTarget)) {\n      return correctedTarget;\n    }\n    console.error(\"aria-hidden\", target, \"in not contained inside\", parent, \". Doing nothing\");\n    return null;\n  }).filter(function(x) {\n    return Boolean(x);\n  });\n};\nvar applyAttributeToOthers = function(originalTarget, parentNode, markerName, controlAttribute) {\n  var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n  if (!markerMap[markerName]) {\n    markerMap[markerName] = /* @__PURE__ */ new WeakMap();\n  }\n  var markerCounter = markerMap[markerName];\n  var hiddenNodes = [];\n  var elementsToKeep = /* @__PURE__ */ new Set();\n  var elementsToStop = new Set(targets);\n  var keep = function(el) {\n    if (!el || elementsToKeep.has(el)) {\n      return;\n    }\n    elementsToKeep.add(el);\n    keep(el.parentNode);\n  };\n  targets.forEach(keep);\n  var deep = function(parent) {\n    if (!parent || elementsToStop.has(parent)) {\n      return;\n    }\n    Array.prototype.forEach.call(parent.children, function(node) {\n      if (elementsToKeep.has(node)) {\n        deep(node);\n      } else {\n        try {\n          var attr = node.getAttribute(controlAttribute);\n          var alreadyHidden = attr !== null && attr !== \"false\";\n          var counterValue = (counterMap.get(node) || 0) + 1;\n          var markerValue = (markerCounter.get(node) || 0) + 1;\n          counterMap.set(node, counterValue);\n          markerCounter.set(node, markerValue);\n          hiddenNodes.push(node);\n          if (counterValue === 1 && alreadyHidden) {\n            uncontrolledNodes.set(node, true);\n          }\n          if (markerValue === 1) {\n            node.setAttribute(markerName, \"true\");\n          }\n          if (!alreadyHidden) {\n            node.setAttribute(controlAttribute, \"true\");\n          }\n        } catch (e) {\n          console.error(\"aria-hidden: cannot operate on \", node, e);\n        }\n      }\n    });\n  };\n  deep(parentNode);\n  elementsToKeep.clear();\n  lockCount++;\n  return function() {\n    hiddenNodes.forEach(function(node) {\n      var counterValue = counterMap.get(node) - 1;\n      var markerValue = markerCounter.get(node) - 1;\n      counterMap.set(node, counterValue);\n      markerCounter.set(node, markerValue);\n      if (!counterValue) {\n        if (!uncontrolledNodes.has(node)) {\n          node.removeAttribute(controlAttribute);\n        }\n        uncontrolledNodes.delete(node);\n      }\n      if (!markerValue) {\n        node.removeAttribute(markerName);\n      }\n    });\n    lockCount--;\n    if (!lockCount) {\n      counterMap = /* @__PURE__ */ new WeakMap();\n      counterMap = /* @__PURE__ */ new WeakMap();\n      uncontrolledNodes = /* @__PURE__ */ new WeakMap();\n      markerMap = {};\n    }\n  };\n};\nvar hideOthers = function(originalTarget, parentNode, markerName) {\n  if (markerName === void 0) {\n    markerName = \"data-aria-hidden\";\n  }\n  var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n  var activeParentNode = parentNode || getDefaultParent(originalTarget);\n  if (!activeParentNode) {\n    return function() {\n      return null;\n    };\n  }\n  targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll(\"[aria-live], script\")));\n  return applyAttributeToOthers(targets, activeParentNode, markerName, \"aria-hidden\");\n};\nexport {\n  hideOthers\n};\n","/*!\n* tabbable 6.2.0\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\nvar candidateSelectors = [\"input:not([inert])\", \"select:not([inert])\", \"textarea:not([inert])\", \"a[href]:not([inert])\", \"button:not([inert])\", \"[tabindex]:not(slot):not([inert])\", \"audio[controls]:not([inert])\", \"video[controls]:not([inert])\", '[contenteditable]:not([contenteditable=\"false\"]):not([inert])', \"details>summary:first-of-type:not([inert])\", \"details:not([inert])\"];\nvar candidateSelector = /* @__PURE__ */ candidateSelectors.join(\",\");\nvar NoElement = typeof Element === \"undefined\";\nvar matches = NoElement ? function() {\n} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function(element) {\n  var _element$getRootNode;\n  return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);\n} : function(element) {\n  return element === null || element === void 0 ? void 0 : element.ownerDocument;\n};\nvar isInert = function isInert2(node, lookUp) {\n  var _node$getAttribute;\n  if (lookUp === void 0) {\n    lookUp = true;\n  }\n  var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, \"inert\");\n  var inert = inertAtt === \"\" || inertAtt === \"true\";\n  var result = inert || lookUp && node && isInert2(node.parentNode);\n  return result;\n};\nvar isContentEditable = function isContentEditable2(node) {\n  var _node$getAttribute2;\n  var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, \"contenteditable\");\n  return attValue === \"\" || attValue === \"true\";\n};\nvar getCandidates = function getCandidates2(el, includeContainer, filter) {\n  if (isInert(el)) {\n    return [];\n  }\n  var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n  if (includeContainer && matches.call(el, candidateSelector)) {\n    candidates.unshift(el);\n  }\n  candidates = candidates.filter(filter);\n  return candidates;\n};\nvar getCandidatesIteratively = function getCandidatesIteratively2(elements, includeContainer, options) {\n  var candidates = [];\n  var elementsToCheck = Array.from(elements);\n  while (elementsToCheck.length) {\n    var element = elementsToCheck.shift();\n    if (isInert(element, false)) {\n      continue;\n    }\n    if (element.tagName === \"SLOT\") {\n      var assigned = element.assignedElements();\n      var content = assigned.length ? assigned : element.children;\n      var nestedCandidates = getCandidatesIteratively2(content, true, options);\n      if (options.flatten) {\n        candidates.push.apply(candidates, nestedCandidates);\n      } else {\n        candidates.push({\n          scopeParent: element,\n          candidates: nestedCandidates\n        });\n      }\n    } else {\n      var validCandidate = matches.call(element, candidateSelector);\n      if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n        candidates.push(element);\n      }\n      var shadowRoot = element.shadowRoot || // check for an undisclosed shadow\n      typeof options.getShadowRoot === \"function\" && options.getShadowRoot(element);\n      var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));\n      if (shadowRoot && validShadowRoot) {\n        var _nestedCandidates = getCandidatesIteratively2(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n        if (options.flatten) {\n          candidates.push.apply(candidates, _nestedCandidates);\n        } else {\n          candidates.push({\n            scopeParent: element,\n            candidates: _nestedCandidates\n          });\n        }\n      } else {\n        elementsToCheck.unshift.apply(elementsToCheck, element.children);\n      }\n    }\n  }\n  return candidates;\n};\nvar hasTabIndex = function hasTabIndex2(node) {\n  return !isNaN(parseInt(node.getAttribute(\"tabindex\"), 10));\n};\nvar getTabIndex = function getTabIndex2(node) {\n  if (!node) {\n    throw new Error(\"No node provided\");\n  }\n  if (node.tabIndex < 0) {\n    if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {\n      return 0;\n    }\n  }\n  return node.tabIndex;\n};\nvar getSortOrderTabIndex = function getSortOrderTabIndex2(node, isScope) {\n  var tabIndex = getTabIndex(node);\n  if (tabIndex < 0 && isScope && !hasTabIndex(node)) {\n    return 0;\n  }\n  return tabIndex;\n};\nvar sortOrderedTabbables = function sortOrderedTabbables2(a, b) {\n  return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\nvar isInput = function isInput2(node) {\n  return node.tagName === \"INPUT\";\n};\nvar isHiddenInput = function isHiddenInput2(node) {\n  return isInput(node) && node.type === \"hidden\";\n};\nvar isDetailsWithSummary = function isDetailsWithSummary2(node) {\n  var r = node.tagName === \"DETAILS\" && Array.prototype.slice.apply(node.children).some(function(child) {\n    return child.tagName === \"SUMMARY\";\n  });\n  return r;\n};\nvar getCheckedRadio = function getCheckedRadio2(nodes, form) {\n  for (var i = 0; i < nodes.length; i++) {\n    if (nodes[i].checked && nodes[i].form === form) {\n      return nodes[i];\n    }\n  }\n};\nvar isTabbableRadio = function isTabbableRadio2(node) {\n  if (!node.name) {\n    return true;\n  }\n  var radioScope = node.form || getRootNode(node);\n  var queryRadios = function queryRadios2(name) {\n    return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n  };\n  var radioSet;\n  if (typeof window !== \"undefined\" && typeof window.CSS !== \"undefined\" && typeof window.CSS.escape === \"function\") {\n    radioSet = queryRadios(window.CSS.escape(node.name));\n  } else {\n    try {\n      radioSet = queryRadios(node.name);\n    } catch (err) {\n      console.error(\"Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s\", err.message);\n      return false;\n    }\n  }\n  var checked = getCheckedRadio(radioSet, node.form);\n  return !checked || checked === node;\n};\nvar isRadio = function isRadio2(node) {\n  return isInput(node) && node.type === \"radio\";\n};\nvar isNonTabbableRadio = function isNonTabbableRadio2(node) {\n  return isRadio(node) && !isTabbableRadio(node);\n};\nvar isNodeAttached = function isNodeAttached2(node) {\n  var _nodeRoot;\n  var nodeRoot = node && getRootNode(node);\n  var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;\n  var attached = false;\n  if (nodeRoot && nodeRoot !== node) {\n    var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;\n    attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));\n    while (!attached && nodeRootHost) {\n      var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;\n      nodeRoot = getRootNode(nodeRootHost);\n      nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;\n      attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));\n    }\n  }\n  return attached;\n};\nvar isZeroArea = function isZeroArea2(node) {\n  var _node$getBoundingClie = node.getBoundingClientRect(), width = _node$getBoundingClie.width, height = _node$getBoundingClie.height;\n  return width === 0 && height === 0;\n};\nvar isHidden = function isHidden2(node, _ref) {\n  var displayCheck = _ref.displayCheck, getShadowRoot = _ref.getShadowRoot;\n  if (getComputedStyle(node).visibility === \"hidden\") {\n    return true;\n  }\n  var isDirectSummary = matches.call(node, \"details>summary:first-of-type\");\n  var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n  if (matches.call(nodeUnderDetails, \"details:not([open]) *\")) {\n    return true;\n  }\n  if (!displayCheck || displayCheck === \"full\" || displayCheck === \"legacy-full\") {\n    if (typeof getShadowRoot === \"function\") {\n      var originalNode = node;\n      while (node) {\n        var parentElement = node.parentElement;\n        var rootNode = getRootNode(node);\n        if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true) {\n          return isZeroArea(node);\n        } else if (node.assignedSlot) {\n          node = node.assignedSlot;\n        } else if (!parentElement && rootNode !== node.ownerDocument) {\n          node = rootNode.host;\n        } else {\n          node = parentElement;\n        }\n      }\n      node = originalNode;\n    }\n    if (isNodeAttached(node)) {\n      return !node.getClientRects().length;\n    }\n    if (displayCheck !== \"legacy-full\") {\n      return true;\n    }\n  } else if (displayCheck === \"non-zero-area\") {\n    return isZeroArea(node);\n  }\n  return false;\n};\nvar isDisabledFromFieldset = function isDisabledFromFieldset2(node) {\n  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n    var parentNode = node.parentElement;\n    while (parentNode) {\n      if (parentNode.tagName === \"FIELDSET\" && parentNode.disabled) {\n        for (var i = 0; i < parentNode.children.length; i++) {\n          var child = parentNode.children.item(i);\n          if (child.tagName === \"LEGEND\") {\n            return matches.call(parentNode, \"fieldset[disabled] *\") ? true : !child.contains(node);\n          }\n        }\n        return true;\n      }\n      parentNode = parentNode.parentElement;\n    }\n  }\n  return false;\n};\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable2(options, node) {\n  if (node.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor\n  //  because we're limited in the type of selectors we can use in JSDom (see related\n  //  note related to `candidateSelectors`)\n  isInert(node) || isHiddenInput(node) || isHidden(node, options) || // For a details element with a summary, the summary element gets the focus\n  isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n    return false;\n  }\n  return true;\n};\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable2(options, node) {\n  if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n    return false;\n  }\n  return true;\n};\nvar isValidShadowRootTabbable = function isValidShadowRootTabbable2(shadowHostNode) {\n  var tabIndex = parseInt(shadowHostNode.getAttribute(\"tabindex\"), 10);\n  if (isNaN(tabIndex) || tabIndex >= 0) {\n    return true;\n  }\n  return false;\n};\nvar sortByOrder = function sortByOrder2(candidates) {\n  var regularTabbables = [];\n  var orderedTabbables = [];\n  candidates.forEach(function(item, i) {\n    var isScope = !!item.scopeParent;\n    var element = isScope ? item.scopeParent : item;\n    var candidateTabindex = getSortOrderTabIndex(element, isScope);\n    var elements = isScope ? sortByOrder2(item.candidates) : element;\n    if (candidateTabindex === 0) {\n      isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n    } else {\n      orderedTabbables.push({\n        documentOrder: i,\n        tabIndex: candidateTabindex,\n        item,\n        isScope,\n        content: elements\n      });\n    }\n  });\n  return orderedTabbables.sort(sortOrderedTabbables).reduce(function(acc, sortable) {\n    sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n    return acc;\n  }, []).concat(regularTabbables);\n};\nvar tabbable = function tabbable2(container, options) {\n  options = options || {};\n  var candidates;\n  if (options.getShadowRoot) {\n    candidates = getCandidatesIteratively([container], options.includeContainer, {\n      filter: isNodeMatchingSelectorTabbable.bind(null, options),\n      flatten: false,\n      getShadowRoot: options.getShadowRoot,\n      shadowRootFilter: isValidShadowRootTabbable\n    });\n  } else {\n    candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n  }\n  return sortByOrder(candidates);\n};\nexport {\n  getTabIndex,\n  tabbable\n};\n","import process$1 from \"../../../vite-plugin-node-polyfills/shims/process/dist/index.js\";\nimport { useFloating as useFloating$1 } from \"../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js\";\nimport { arrow, flip, offset } from \"../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js\";\nimport * as React from \"react\";\nimport { useLayoutEffect, useEffect, useRef } from \"react\";\nimport { hideOthers } from \"../../../aria-hidden/dist/es2015/index.js\";\nimport { tabbable } from \"../../../tabbable/dist/index.esm.js\";\nimport { createPortal } from \"react-dom\";\nimport { platform } from \"../node_modules/@floating-ui/dom/dist/floating-ui.dom.js\";\nimport { autoUpdate, computePosition } from \"../node_modules/@floating-ui/dom/dist/floating-ui.dom.js\";\nimport { getOverflowAncestors } from \"../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js\";\nfunction _extends() {\n  _extends = Object.assign || function(target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i];\n      for (var key in source) {\n        if (Object.prototype.hasOwnProperty.call(source, key)) {\n          target[key] = source[key];\n        }\n      }\n    }\n    return target;\n  };\n  return _extends.apply(this, arguments);\n}\nvar index = typeof document !== \"undefined\" ? useLayoutEffect : useEffect;\nlet serverHandoffComplete = false;\nlet count = 0;\nconst genId = () => \"floating-ui-\" + count++;\nfunction useFloatingId() {\n  const [id, setId] = React.useState(() => serverHandoffComplete ? genId() : void 0);\n  index(() => {\n    if (id == null) {\n      setId(genId());\n    }\n  }, []);\n  React.useEffect(() => {\n    if (!serverHandoffComplete) {\n      serverHandoffComplete = true;\n    }\n  }, []);\n  return id;\n}\nconst useReactId = React[/* @__PURE__ */ \"useId\".toString()];\nconst useId = useReactId || useFloatingId;\nconst FloatingArrow = /* @__PURE__ */ React.forwardRef(function FloatingArrow2(_ref, ref) {\n  let {\n    context: {\n      placement,\n      elements: {\n        floating\n      },\n      middlewareData: {\n        arrow: arrow2\n      }\n    },\n    width = 14,\n    height = 7,\n    tipRadius = 0,\n    strokeWidth = 0,\n    staticOffset,\n    stroke,\n    d,\n    style: {\n      transform,\n      ...restStyle\n    } = {},\n    ...rest\n  } = _ref;\n  if (process$1.env.NODE_ENV !== \"production\") {\n    if (!ref) {\n      console.warn(\"Floating UI: The `ref` prop is required for the `FloatingArrow`\", \"component.\");\n    }\n  }\n  strokeWidth *= 2;\n  const halfStrokeWidth = strokeWidth / 2;\n  const svgX = width / 2 * (tipRadius / -8 + 1);\n  const svgY = height / 2 * tipRadius / 4;\n  const [side, alignment] = placement.split(\"-\");\n  const isRTL = floating ? platform.isRTL(floating) : false;\n  const isCustomShape = !!d;\n  const isVerticalSide = side === \"top\" || side === \"bottom\";\n  const yOffsetProp = staticOffset && alignment === \"end\" ? \"bottom\" : \"top\";\n  let xOffsetProp = staticOffset && alignment === \"end\" ? \"right\" : \"left\";\n  if (staticOffset && isRTL) {\n    xOffsetProp = alignment === \"end\" ? \"left\" : \"right\";\n  }\n  const arrowOffsetY = isCustomShape ? 0 : halfStrokeWidth;\n  const arrowX = (arrow2 == null ? void 0 : arrow2.x) != null ? staticOffset || arrow2.x : \"\";\n  const arrowY = (arrow2 == null ? void 0 : arrow2.y) != null ? staticOffset || arrow2.y + arrowOffsetY : \"\";\n  const dValue = d || \"M0,0\" + (\" H\" + width) + (\" L\" + (width - svgX) + \",\" + (height - svgY)) + (\" Q\" + width / 2 + \",\" + height + \" \" + svgX + \",\" + (height - svgY)) + \" Z\";\n  const rotation = {\n    top: isCustomShape ? \"rotate(180deg)\" : \"\",\n    left: isCustomShape ? \"rotate(90deg)\" : \"rotate(-90deg)\",\n    bottom: isCustomShape ? \"\" : \"rotate(180deg)\",\n    right: isCustomShape ? \"rotate(-90deg)\" : \"rotate(90deg)\"\n  }[side];\n  const clipPathId = useId();\n  return /* @__PURE__ */ React.createElement(\"svg\", _extends({}, rest, {\n    // @ts-ignore\n    suppressHydrationWarning: true,\n    \"aria-hidden\": true,\n    ref,\n    width: isCustomShape ? width : width + strokeWidth,\n    height: width,\n    viewBox: \"0 0 \" + width + \" \" + (height > width ? height : width),\n    style: {\n      position: \"absolute\",\n      pointerEvents: \"none\",\n      [xOffsetProp]: arrowX,\n      [yOffsetProp]: arrowY,\n      [side]: isVerticalSide || isCustomShape ? \"100%\" : \"calc(100% - \" + strokeWidth / 2 + \"px)\",\n      transform: \"\" + rotation + (transform != null ? transform : \"\"),\n      ...restStyle\n    }\n  }), strokeWidth > 0 && /* @__PURE__ */ React.createElement(\"path\", {\n    clipPath: \"url(#\" + clipPathId + \")\",\n    fill: \"none\",\n    stroke,\n    strokeWidth: strokeWidth + (d ? 0 : 1),\n    d: dValue\n  }), /* @__PURE__ */ React.createElement(\"path\", {\n    stroke: strokeWidth && !d ? rest.fill : \"none\",\n    d: dValue\n  }), /* @__PURE__ */ React.createElement(\"clipPath\", {\n    id: clipPathId\n  }, /* @__PURE__ */ React.createElement(\"rect\", {\n    x: -halfStrokeWidth,\n    y: halfStrokeWidth * (isCustomShape ? -1 : 1),\n    width: width + strokeWidth,\n    height: width\n  })));\n});\nfunction createPubSub() {\n  const map = /* @__PURE__ */ new Map();\n  return {\n    emit(event, data) {\n      var _map$get;\n      (_map$get = map.get(event)) == null ? void 0 : _map$get.forEach((handler) => handler(data));\n    },\n    on(event, listener) {\n      map.set(event, [...map.get(event) || [], listener]);\n    },\n    off(event, listener) {\n      var _map$get2;\n      map.set(event, ((_map$get2 = map.get(event)) == null ? void 0 : _map$get2.filter((l) => l !== listener)) || []);\n    }\n  };\n}\nconst FloatingNodeContext = /* @__PURE__ */ React.createContext(null);\nconst FloatingTreeContext = /* @__PURE__ */ React.createContext(null);\nconst useFloatingParentNodeId = () => {\n  var _React$useContext;\n  return ((_React$useContext = React.useContext(FloatingNodeContext)) == null ? void 0 : _React$useContext.id) || null;\n};\nconst useFloatingTree = () => React.useContext(FloatingTreeContext);\nfunction getDocument(node) {\n  return (node == null ? void 0 : node.ownerDocument) || document;\n}\nfunction getPlatform() {\n  const uaData = navigator.userAgentData;\n  if (uaData != null && uaData.platform) {\n    return uaData.platform;\n  }\n  return navigator.platform;\n}\nfunction getUserAgent() {\n  const uaData = navigator.userAgentData;\n  if (uaData && Array.isArray(uaData.brands)) {\n    return uaData.brands.map((_ref) => {\n      let {\n        brand,\n        version\n      } = _ref;\n      return brand + \"/\" + version;\n    }).join(\" \");\n  }\n  return navigator.userAgent;\n}\nfunction getWindow(value) {\n  return getDocument(value).defaultView || window;\n}\nfunction isElement(value) {\n  return value ? value instanceof getWindow(value).Element : false;\n}\nfunction isHTMLElement(value) {\n  return value ? value instanceof getWindow(value).HTMLElement : false;\n}\nfunction isShadowRoot(node) {\n  if (typeof ShadowRoot === \"undefined\") {\n    return false;\n  }\n  const OwnElement = getWindow(node).ShadowRoot;\n  return node instanceof OwnElement || node instanceof ShadowRoot;\n}\nfunction isVirtualClick(event) {\n  if (event.mozInputSource === 0 && event.isTrusted) {\n    return true;\n  }\n  const androidRe = /Android/i;\n  if ((androidRe.test(getPlatform()) || androidRe.test(getUserAgent())) && event.pointerType) {\n    return event.type === \"click\" && event.buttons === 1;\n  }\n  return event.detail === 0 && !event.pointerType;\n}\nfunction isVirtualPointerEvent(event) {\n  return event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType !== \"mouse\" || // iOS VoiceOver returns 0.333• for width/height.\n  event.width < 1 && event.height < 1 && event.pressure === 0 && event.detail === 0;\n}\nfunction isSafari() {\n  return /apple/i.test(navigator.vendor);\n}\nfunction isMouseLikePointerType(pointerType, strict) {\n  const values = [\"mouse\", \"pen\"];\n  if (!strict) {\n    values.push(\"\", void 0);\n  }\n  return values.includes(pointerType);\n}\nfunction contains(parent, child) {\n  if (!parent || !child) {\n    return false;\n  }\n  const rootNode = child.getRootNode && child.getRootNode();\n  if (parent.contains(child)) {\n    return true;\n  }\n  if (rootNode && isShadowRoot(rootNode)) {\n    let next = child;\n    while (next) {\n      if (parent === next) {\n        return true;\n      }\n      next = next.parentNode || next.host;\n    }\n  }\n  return false;\n}\nfunction useLatestRef(value) {\n  const ref = useRef(value);\n  index(() => {\n    ref.current = value;\n  });\n  return ref;\n}\nconst safePolygonIdentifier = \"data-floating-ui-safe-polygon\";\nfunction getDelay(value, prop, pointerType) {\n  if (pointerType && !isMouseLikePointerType(pointerType)) {\n    return 0;\n  }\n  if (typeof value === \"number\") {\n    return value;\n  }\n  return value == null ? void 0 : value[prop];\n}\nfunction useHover(context, props) {\n  if (props === void 0) {\n    props = {};\n  }\n  const {\n    open,\n    onOpenChange,\n    dataRef,\n    events,\n    elements: {\n      domReference,\n      floating\n    },\n    refs\n  } = context;\n  const {\n    enabled = true,\n    delay = 0,\n    handleClose = null,\n    mouseOnly = false,\n    restMs = 0,\n    move = true\n  } = props;\n  const tree = useFloatingTree();\n  const parentId = useFloatingParentNodeId();\n  const handleCloseRef = useLatestRef(handleClose);\n  const delayRef = useLatestRef(delay);\n  const pointerTypeRef = React.useRef();\n  const timeoutRef = React.useRef();\n  const handlerRef = React.useRef();\n  const restTimeoutRef = React.useRef();\n  const blockMouseMoveRef = React.useRef(true);\n  const performedPointerEventsMutationRef = React.useRef(false);\n  const unbindMouseMoveRef = React.useRef(() => {\n  });\n  const isHoverOpen = React.useCallback(() => {\n    var _dataRef$current$open;\n    const type = (_dataRef$current$open = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open.type;\n    return (type == null ? void 0 : type.includes(\"mouse\")) && type !== \"mousedown\";\n  }, [dataRef]);\n  React.useEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    function onDismiss() {\n      clearTimeout(timeoutRef.current);\n      clearTimeout(restTimeoutRef.current);\n      blockMouseMoveRef.current = true;\n    }\n    events.on(\"dismiss\", onDismiss);\n    return () => {\n      events.off(\"dismiss\", onDismiss);\n    };\n  }, [enabled, events]);\n  React.useEffect(() => {\n    if (!enabled || !handleCloseRef.current || !open) {\n      return;\n    }\n    function onLeave() {\n      if (isHoverOpen()) {\n        onOpenChange(false);\n      }\n    }\n    const html = getDocument(floating).documentElement;\n    html.addEventListener(\"mouseleave\", onLeave);\n    return () => {\n      html.removeEventListener(\"mouseleave\", onLeave);\n    };\n  }, [floating, open, onOpenChange, enabled, handleCloseRef, dataRef, isHoverOpen]);\n  const closeWithDelay = React.useCallback(function(runElseBranch) {\n    if (runElseBranch === void 0) {\n      runElseBranch = true;\n    }\n    const closeDelay = getDelay(delayRef.current, \"close\", pointerTypeRef.current);\n    if (closeDelay && !handlerRef.current) {\n      clearTimeout(timeoutRef.current);\n      timeoutRef.current = setTimeout(() => onOpenChange(false), closeDelay);\n    } else if (runElseBranch) {\n      clearTimeout(timeoutRef.current);\n      onOpenChange(false);\n    }\n  }, [delayRef, onOpenChange]);\n  const cleanupMouseMoveHandler = React.useCallback(() => {\n    unbindMouseMoveRef.current();\n    handlerRef.current = void 0;\n  }, []);\n  const clearPointerEvents = React.useCallback(() => {\n    if (performedPointerEventsMutationRef.current) {\n      const body = getDocument(refs.floating.current).body;\n      body.style.pointerEvents = \"\";\n      body.removeAttribute(safePolygonIdentifier);\n      performedPointerEventsMutationRef.current = false;\n    }\n  }, [refs]);\n  React.useEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    function isClickLikeOpenEvent() {\n      return dataRef.current.openEvent ? [\"click\", \"mousedown\"].includes(dataRef.current.openEvent.type) : false;\n    }\n    function onMouseEnter(event) {\n      clearTimeout(timeoutRef.current);\n      blockMouseMoveRef.current = false;\n      if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current) || restMs > 0 && getDelay(delayRef.current, \"open\") === 0) {\n        return;\n      }\n      dataRef.current.openEvent = event;\n      const openDelay = getDelay(delayRef.current, \"open\", pointerTypeRef.current);\n      if (openDelay) {\n        timeoutRef.current = setTimeout(() => {\n          onOpenChange(true);\n        }, openDelay);\n      } else {\n        onOpenChange(true);\n      }\n    }\n    function onMouseLeave(event) {\n      if (isClickLikeOpenEvent()) {\n        return;\n      }\n      unbindMouseMoveRef.current();\n      const doc = getDocument(floating);\n      clearTimeout(restTimeoutRef.current);\n      if (handleCloseRef.current) {\n        if (!open) {\n          clearTimeout(timeoutRef.current);\n        }\n        handlerRef.current = handleCloseRef.current({\n          ...context,\n          tree,\n          x: event.clientX,\n          y: event.clientY,\n          onClose() {\n            clearPointerEvents();\n            cleanupMouseMoveHandler();\n            closeWithDelay();\n          }\n        });\n        const handler = handlerRef.current;\n        doc.addEventListener(\"mousemove\", handler);\n        unbindMouseMoveRef.current = () => {\n          doc.removeEventListener(\"mousemove\", handler);\n        };\n        return;\n      }\n      const shouldClose = pointerTypeRef.current === \"touch\" ? !contains(floating, event.relatedTarget) : true;\n      if (shouldClose) {\n        closeWithDelay();\n      }\n    }\n    function onScrollMouseLeave(event) {\n      if (isClickLikeOpenEvent()) {\n        return;\n      }\n      handleCloseRef.current == null ? void 0 : handleCloseRef.current({\n        ...context,\n        tree,\n        x: event.clientX,\n        y: event.clientY,\n        onClose() {\n          clearPointerEvents();\n          cleanupMouseMoveHandler();\n          closeWithDelay();\n        }\n      })(event);\n    }\n    if (isElement(domReference)) {\n      const ref = domReference;\n      open && ref.addEventListener(\"mouseleave\", onScrollMouseLeave);\n      floating == null ? void 0 : floating.addEventListener(\"mouseleave\", onScrollMouseLeave);\n      move && ref.addEventListener(\"mousemove\", onMouseEnter, {\n        once: true\n      });\n      ref.addEventListener(\"mouseenter\", onMouseEnter);\n      ref.addEventListener(\"mouseleave\", onMouseLeave);\n      return () => {\n        open && ref.removeEventListener(\"mouseleave\", onScrollMouseLeave);\n        floating == null ? void 0 : floating.removeEventListener(\"mouseleave\", onScrollMouseLeave);\n        move && ref.removeEventListener(\"mousemove\", onMouseEnter);\n        ref.removeEventListener(\"mouseenter\", onMouseEnter);\n        ref.removeEventListener(\"mouseleave\", onMouseLeave);\n      };\n    }\n  }, [domReference, floating, enabled, context, mouseOnly, restMs, move, closeWithDelay, cleanupMouseMoveHandler, clearPointerEvents, onOpenChange, open, tree, delayRef, handleCloseRef, dataRef]);\n  index(() => {\n    var _handleCloseRef$curre;\n    if (!enabled) {\n      return;\n    }\n    if (open && (_handleCloseRef$curre = handleCloseRef.current) != null && _handleCloseRef$curre.__options.blockPointerEvents && isHoverOpen()) {\n      const body = getDocument(floating).body;\n      body.setAttribute(safePolygonIdentifier, \"\");\n      body.style.pointerEvents = \"none\";\n      performedPointerEventsMutationRef.current = true;\n      if (isElement(domReference) && floating) {\n        var _tree$nodesRef$curren, _tree$nodesRef$curren2;\n        const ref = domReference;\n        const parentFloating = tree == null ? void 0 : (_tree$nodesRef$curren = tree.nodesRef.current.find((node) => node.id === parentId)) == null ? void 0 : (_tree$nodesRef$curren2 = _tree$nodesRef$curren.context) == null ? void 0 : _tree$nodesRef$curren2.elements.floating;\n        if (parentFloating) {\n          parentFloating.style.pointerEvents = \"\";\n        }\n        ref.style.pointerEvents = \"auto\";\n        floating.style.pointerEvents = \"auto\";\n        return () => {\n          ref.style.pointerEvents = \"\";\n          floating.style.pointerEvents = \"\";\n        };\n      }\n    }\n  }, [enabled, open, parentId, floating, domReference, tree, handleCloseRef, dataRef, isHoverOpen]);\n  index(() => {\n    if (!open) {\n      pointerTypeRef.current = void 0;\n      cleanupMouseMoveHandler();\n      clearPointerEvents();\n    }\n  }, [open, cleanupMouseMoveHandler, clearPointerEvents]);\n  React.useEffect(() => {\n    return () => {\n      cleanupMouseMoveHandler();\n      clearTimeout(timeoutRef.current);\n      clearTimeout(restTimeoutRef.current);\n      clearPointerEvents();\n    };\n  }, [enabled, cleanupMouseMoveHandler, clearPointerEvents]);\n  return React.useMemo(() => {\n    if (!enabled) {\n      return {};\n    }\n    function setPointerRef(event) {\n      pointerTypeRef.current = event.pointerType;\n    }\n    return {\n      reference: {\n        onPointerDown: setPointerRef,\n        onPointerEnter: setPointerRef,\n        onMouseMove() {\n          if (open || restMs === 0) {\n            return;\n          }\n          clearTimeout(restTimeoutRef.current);\n          restTimeoutRef.current = setTimeout(() => {\n            if (!blockMouseMoveRef.current) {\n              onOpenChange(true);\n            }\n          }, restMs);\n        }\n      },\n      floating: {\n        onMouseEnter() {\n          clearTimeout(timeoutRef.current);\n        },\n        onMouseLeave() {\n          events.emit(\"dismiss\", {\n            type: \"mouseLeave\",\n            data: {\n              returnFocus: false\n            }\n          });\n          closeWithDelay(false);\n        }\n      }\n    };\n  }, [events, enabled, restMs, open, onOpenChange, closeWithDelay]);\n}\nfunction activeElement(doc) {\n  let activeElement2 = doc.activeElement;\n  while (((_activeElement = activeElement2) == null ? void 0 : (_activeElement$shadow = _activeElement.shadowRoot) == null ? void 0 : _activeElement$shadow.activeElement) != null) {\n    var _activeElement, _activeElement$shadow;\n    activeElement2 = activeElement2.shadowRoot.activeElement;\n  }\n  return activeElement2;\n}\nlet rafId = 0;\nfunction enqueueFocus(el, options) {\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    preventScroll = false,\n    cancelPrevious = true,\n    sync = false\n  } = options;\n  cancelPrevious && cancelAnimationFrame(rafId);\n  const exec = () => el == null ? void 0 : el.focus({\n    preventScroll\n  });\n  if (sync) {\n    exec();\n  } else {\n    rafId = requestAnimationFrame(exec);\n  }\n}\nfunction getAncestors(nodes, id) {\n  var _nodes$find;\n  let allAncestors = [];\n  let currentParentId = (_nodes$find = nodes.find((node) => node.id === id)) == null ? void 0 : _nodes$find.parentId;\n  while (currentParentId) {\n    const currentNode = nodes.find((node) => node.id === currentParentId);\n    currentParentId = currentNode == null ? void 0 : currentNode.parentId;\n    if (currentNode) {\n      allAncestors = allAncestors.concat(currentNode);\n    }\n  }\n  return allAncestors;\n}\nfunction getChildren(nodes, id) {\n  let allChildren = nodes.filter((node) => {\n    var _node$context;\n    return node.parentId === id && ((_node$context = node.context) == null ? void 0 : _node$context.open);\n  });\n  let currentChildren = allChildren;\n  while (currentChildren.length) {\n    currentChildren = nodes.filter((node) => {\n      var _currentChildren;\n      return (_currentChildren = currentChildren) == null ? void 0 : _currentChildren.some((n) => {\n        var _node$context2;\n        return node.parentId === n.id && ((_node$context2 = node.context) == null ? void 0 : _node$context2.open);\n      });\n    });\n    allChildren = allChildren.concat(currentChildren);\n  }\n  return allChildren;\n}\nfunction getTarget(event) {\n  if (\"composedPath\" in event) {\n    return event.composedPath()[0];\n  }\n  return event.target;\n}\nconst TYPEABLE_SELECTOR = \"input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])\";\nfunction isTypeableElement(element) {\n  return isHTMLElement(element) && element.matches(TYPEABLE_SELECTOR);\n}\nfunction stopEvent(event) {\n  event.preventDefault();\n  event.stopPropagation();\n}\nconst getTabbableOptions = () => ({\n  getShadowRoot: true,\n  displayCheck: (\n    // JSDOM does not support the `tabbable` library. To solve this we can\n    // check if `ResizeObserver` is a real function (not polyfilled), which\n    // determines if the current environment is JSDOM-like.\n    typeof ResizeObserver === \"function\" && ResizeObserver.toString().includes(\"[native code]\") ? \"full\" : \"none\"\n  )\n});\nfunction getTabbableIn(container, direction) {\n  const allTabbable = tabbable(container, getTabbableOptions());\n  if (direction === \"prev\") {\n    allTabbable.reverse();\n  }\n  const activeIndex = allTabbable.indexOf(activeElement(getDocument(container)));\n  const nextTabbableElements = allTabbable.slice(activeIndex + 1);\n  return nextTabbableElements[0];\n}\nfunction getNextTabbable() {\n  return getTabbableIn(document.body, \"next\");\n}\nfunction getPreviousTabbable() {\n  return getTabbableIn(document.body, \"prev\");\n}\nfunction isOutsideEvent(event, container) {\n  const containerElement = container || event.currentTarget;\n  const relatedTarget = event.relatedTarget;\n  return !relatedTarget || !contains(containerElement, relatedTarget);\n}\nfunction disableFocusInside(container) {\n  const tabbableElements = tabbable(container, getTabbableOptions());\n  tabbableElements.forEach((element) => {\n    element.dataset.tabindex = element.getAttribute(\"tabindex\") || \"\";\n    element.setAttribute(\"tabindex\", \"-1\");\n  });\n}\nfunction enableFocusInside(container) {\n  const elements = container.querySelectorAll(\"[data-tabindex]\");\n  elements.forEach((element) => {\n    const tabindex = element.dataset.tabindex;\n    delete element.dataset.tabindex;\n    if (tabindex) {\n      element.setAttribute(\"tabindex\", tabindex);\n    } else {\n      element.removeAttribute(\"tabindex\");\n    }\n  });\n}\nconst HIDDEN_STYLES = {\n  border: 0,\n  clip: \"rect(0 0 0 0)\",\n  height: \"1px\",\n  margin: \"-1px\",\n  overflow: \"hidden\",\n  padding: 0,\n  position: \"fixed\",\n  whiteSpace: \"nowrap\",\n  width: \"1px\",\n  top: 0,\n  left: 0\n};\nlet timeoutId;\nfunction setActiveElementOnTab(event) {\n  if (event.key === \"Tab\") {\n    event.target;\n    clearTimeout(timeoutId);\n  }\n}\nconst FocusGuard = /* @__PURE__ */ React.forwardRef(function FocusGuard2(props, ref) {\n  const [role, setRole] = React.useState();\n  index(() => {\n    if (isSafari()) {\n      setRole(\"button\");\n    }\n    document.addEventListener(\"keydown\", setActiveElementOnTab);\n    return () => {\n      document.removeEventListener(\"keydown\", setActiveElementOnTab);\n    };\n  }, []);\n  return /* @__PURE__ */ React.createElement(\"span\", _extends({}, props, {\n    ref,\n    tabIndex: 0,\n    role,\n    \"aria-hidden\": role ? void 0 : true,\n    \"data-floating-ui-focus-guard\": \"\",\n    style: HIDDEN_STYLES\n  }));\n});\nconst PortalContext = /* @__PURE__ */ React.createContext(null);\nfunction useFloatingPortalNode(_temp) {\n  let {\n    id,\n    root\n  } = _temp === void 0 ? {} : _temp;\n  const [portalNode, setPortalNode] = React.useState(null);\n  const uniqueId = useId();\n  const portalContext = usePortalContext();\n  const data = React.useMemo(() => ({\n    id,\n    root,\n    portalContext,\n    uniqueId\n  }), [id, root, portalContext, uniqueId]);\n  const dataRef = React.useRef();\n  index(() => {\n    return () => {\n      portalNode == null ? void 0 : portalNode.remove();\n    };\n  }, [portalNode, data]);\n  index(() => {\n    if (dataRef.current === data)\n      return;\n    dataRef.current = data;\n    const {\n      id: id2,\n      root: root2,\n      portalContext: portalContext2,\n      uniqueId: uniqueId2\n    } = data;\n    const existingIdRoot = id2 ? document.getElementById(id2) : null;\n    const attr = \"data-floating-ui-portal\";\n    if (existingIdRoot) {\n      const subRoot = document.createElement(\"div\");\n      subRoot.id = uniqueId2;\n      subRoot.setAttribute(attr, \"\");\n      existingIdRoot.appendChild(subRoot);\n      setPortalNode(subRoot);\n    } else {\n      let container = (portalContext2 == null ? void 0 : portalContext2.portalNode) || root2 || document.body;\n      let idWrapper = null;\n      if (id2) {\n        idWrapper = document.createElement(\"div\");\n        idWrapper.id = id2;\n        container.appendChild(idWrapper);\n      }\n      const subRoot = document.createElement(\"div\");\n      subRoot.id = uniqueId2;\n      subRoot.setAttribute(attr, \"\");\n      container = idWrapper || container;\n      container.appendChild(subRoot);\n      setPortalNode(subRoot);\n    }\n  }, [data]);\n  return portalNode;\n}\nfunction FloatingPortal(_ref) {\n  let {\n    children,\n    id,\n    root = null,\n    preserveTabOrder = true\n  } = _ref;\n  const portalNode = useFloatingPortalNode({\n    id,\n    root\n  });\n  const [focusManagerState, setFocusManagerState] = React.useState(null);\n  const beforeOutsideRef = React.useRef(null);\n  const afterOutsideRef = React.useRef(null);\n  const beforeInsideRef = React.useRef(null);\n  const afterInsideRef = React.useRef(null);\n  const shouldRenderGuards = (\n    // The FocusManager and therefore floating element are currently open/\n    // rendered.\n    !!focusManagerState && // Guards are only for non-modal focus management.\n    !focusManagerState.modal && // Don't render if unmount is transitioning.\n    focusManagerState.open && preserveTabOrder && !!(root || portalNode)\n  );\n  React.useEffect(() => {\n    if (!portalNode || !preserveTabOrder || focusManagerState != null && focusManagerState.modal) {\n      return;\n    }\n    function onFocus(event) {\n      if (portalNode && isOutsideEvent(event)) {\n        const focusing = event.type === \"focusin\";\n        const manageFocus = focusing ? enableFocusInside : disableFocusInside;\n        manageFocus(portalNode);\n      }\n    }\n    portalNode.addEventListener(\"focusin\", onFocus, true);\n    portalNode.addEventListener(\"focusout\", onFocus, true);\n    return () => {\n      portalNode.removeEventListener(\"focusin\", onFocus, true);\n      portalNode.removeEventListener(\"focusout\", onFocus, true);\n    };\n  }, [portalNode, preserveTabOrder, focusManagerState == null ? void 0 : focusManagerState.modal]);\n  return /* @__PURE__ */ React.createElement(PortalContext.Provider, {\n    value: React.useMemo(() => ({\n      preserveTabOrder,\n      beforeOutsideRef,\n      afterOutsideRef,\n      beforeInsideRef,\n      afterInsideRef,\n      portalNode,\n      setFocusManagerState\n    }), [preserveTabOrder, portalNode])\n  }, shouldRenderGuards && portalNode && /* @__PURE__ */ React.createElement(FocusGuard, {\n    \"data-type\": \"outside\",\n    ref: beforeOutsideRef,\n    onFocus: (event) => {\n      if (isOutsideEvent(event, portalNode)) {\n        var _beforeInsideRef$curr;\n        (_beforeInsideRef$curr = beforeInsideRef.current) == null ? void 0 : _beforeInsideRef$curr.focus();\n      } else {\n        const prevTabbable = getPreviousTabbable() || (focusManagerState == null ? void 0 : focusManagerState.refs.domReference.current);\n        prevTabbable == null ? void 0 : prevTabbable.focus();\n      }\n    }\n  }), shouldRenderGuards && portalNode && /* @__PURE__ */ React.createElement(\"span\", {\n    \"aria-owns\": portalNode.id,\n    style: HIDDEN_STYLES\n  }), portalNode && /* @__PURE__ */ createPortal(children, portalNode), shouldRenderGuards && portalNode && /* @__PURE__ */ React.createElement(FocusGuard, {\n    \"data-type\": \"outside\",\n    ref: afterOutsideRef,\n    onFocus: (event) => {\n      if (isOutsideEvent(event, portalNode)) {\n        var _afterInsideRef$curre;\n        (_afterInsideRef$curre = afterInsideRef.current) == null ? void 0 : _afterInsideRef$curre.focus();\n      } else {\n        const nextTabbable = getNextTabbable() || (focusManagerState == null ? void 0 : focusManagerState.refs.domReference.current);\n        nextTabbable == null ? void 0 : nextTabbable.focus();\n        (focusManagerState == null ? void 0 : focusManagerState.closeOnFocusOut) && (focusManagerState == null ? void 0 : focusManagerState.onOpenChange(false));\n      }\n    }\n  }));\n}\nconst usePortalContext = () => React.useContext(PortalContext);\nconst VisuallyHiddenDismiss = /* @__PURE__ */ React.forwardRef(function VisuallyHiddenDismiss2(props, ref) {\n  return /* @__PURE__ */ React.createElement(\"button\", _extends({}, props, {\n    type: \"button\",\n    ref,\n    tabIndex: -1,\n    style: HIDDEN_STYLES\n  }));\n});\nfunction FloatingFocusManager(props) {\n  const {\n    context,\n    children,\n    order = [\"content\"],\n    guards = true,\n    initialFocus = 0,\n    returnFocus = true,\n    modal = true,\n    visuallyHiddenDismiss = false,\n    closeOnFocusOut = true\n  } = props;\n  const {\n    open,\n    refs,\n    nodeId,\n    onOpenChange,\n    events,\n    dataRef,\n    elements: {\n      domReference,\n      floating\n    }\n  } = context;\n  const orderRef = useLatestRef(order);\n  const initialFocusRef = useLatestRef(initialFocus);\n  const returnFocusRef = useLatestRef(returnFocus);\n  const tree = useFloatingTree();\n  const portalContext = usePortalContext();\n  const ignoreInitialFocus = typeof initialFocus === \"number\" && initialFocus < 0;\n  const startDismissButtonRef = React.useRef(null);\n  const endDismissButtonRef = React.useRef(null);\n  const preventReturnFocusRef = React.useRef(false);\n  const previouslyFocusedElementRef = React.useRef(null);\n  const isPointerDownRef = React.useRef(false);\n  const isInsidePortal = portalContext != null;\n  const isTypeableCombobox = domReference && domReference.getAttribute(\"role\") === \"combobox\" && isTypeableElement(domReference);\n  const getTabbableContent = React.useCallback(function(container) {\n    if (container === void 0) {\n      container = floating;\n    }\n    return container ? tabbable(container, getTabbableOptions()) : [];\n  }, [floating]);\n  const getTabbableElements = React.useCallback((container) => {\n    const content = getTabbableContent(container);\n    return orderRef.current.map((type) => {\n      if (domReference && type === \"reference\") {\n        return domReference;\n      }\n      if (floating && type === \"floating\") {\n        return floating;\n      }\n      return content;\n    }).filter(Boolean).flat();\n  }, [domReference, floating, orderRef, getTabbableContent]);\n  React.useEffect(() => {\n    if (!modal) {\n      return;\n    }\n    function onKeyDown(event) {\n      if (event.key === \"Tab\") {\n        if (contains(floating, activeElement(getDocument(floating))) && getTabbableContent().length === 0 && !isTypeableCombobox) {\n          stopEvent(event);\n        }\n        const els = getTabbableElements();\n        const target = getTarget(event);\n        if (orderRef.current[0] === \"reference\" && target === domReference) {\n          stopEvent(event);\n          if (event.shiftKey) {\n            enqueueFocus(els[els.length - 1]);\n          } else {\n            enqueueFocus(els[1]);\n          }\n        }\n        if (orderRef.current[1] === \"floating\" && target === floating && event.shiftKey) {\n          stopEvent(event);\n          enqueueFocus(els[0]);\n        }\n      }\n    }\n    const doc = getDocument(floating);\n    doc.addEventListener(\"keydown\", onKeyDown);\n    return () => {\n      doc.removeEventListener(\"keydown\", onKeyDown);\n    };\n  }, [domReference, floating, modal, orderRef, refs, isTypeableCombobox, getTabbableContent, getTabbableElements]);\n  React.useEffect(() => {\n    if (!closeOnFocusOut) {\n      return;\n    }\n    function handlePointerDown() {\n      isPointerDownRef.current = true;\n      setTimeout(() => {\n        isPointerDownRef.current = false;\n      });\n    }\n    function handleFocusOutside(event) {\n      const relatedTarget = event.relatedTarget;\n      queueMicrotask(() => {\n        const movedToUnrelatedNode = !(contains(domReference, relatedTarget) || contains(floating, relatedTarget) || contains(relatedTarget, floating) || contains(portalContext == null ? void 0 : portalContext.portalNode, relatedTarget) || relatedTarget != null && relatedTarget.hasAttribute(\"data-floating-ui-focus-guard\") || tree && (getChildren(tree.nodesRef.current, nodeId).find((node) => {\n          var _node$context, _node$context2;\n          return contains((_node$context = node.context) == null ? void 0 : _node$context.elements.floating, relatedTarget) || contains((_node$context2 = node.context) == null ? void 0 : _node$context2.elements.domReference, relatedTarget);\n        }) || getAncestors(tree.nodesRef.current, nodeId).find((node) => {\n          var _node$context3, _node$context4;\n          return ((_node$context3 = node.context) == null ? void 0 : _node$context3.elements.floating) === relatedTarget || ((_node$context4 = node.context) == null ? void 0 : _node$context4.elements.domReference) === relatedTarget;\n        })));\n        if (relatedTarget && movedToUnrelatedNode && !isPointerDownRef.current && // Fix React 18 Strict Mode returnFocus due to double rendering.\n        relatedTarget !== previouslyFocusedElementRef.current) {\n          preventReturnFocusRef.current = true;\n          onOpenChange(false);\n        }\n      });\n    }\n    if (floating && isHTMLElement(domReference)) {\n      domReference.addEventListener(\"focusout\", handleFocusOutside);\n      domReference.addEventListener(\"pointerdown\", handlePointerDown);\n      !modal && floating.addEventListener(\"focusout\", handleFocusOutside);\n      return () => {\n        domReference.removeEventListener(\"focusout\", handleFocusOutside);\n        domReference.removeEventListener(\"pointerdown\", handlePointerDown);\n        !modal && floating.removeEventListener(\"focusout\", handleFocusOutside);\n      };\n    }\n  }, [domReference, floating, modal, nodeId, tree, portalContext, onOpenChange, closeOnFocusOut]);\n  React.useEffect(() => {\n    var _portalContext$portal;\n    const portalNodes = Array.from((portalContext == null ? void 0 : (_portalContext$portal = portalContext.portalNode) == null ? void 0 : _portalContext$portal.querySelectorAll(\"[data-floating-ui-portal]\")) || []);\n    function getDismissButtons() {\n      return [startDismissButtonRef.current, endDismissButtonRef.current].filter(Boolean);\n    }\n    if (floating && modal) {\n      const insideNodes = [floating, ...portalNodes, ...getDismissButtons()];\n      const cleanup = hideOthers(orderRef.current.includes(\"reference\") || isTypeableCombobox ? insideNodes.concat(domReference || []) : insideNodes);\n      return () => {\n        cleanup();\n      };\n    }\n  }, [domReference, floating, modal, orderRef, portalContext, isTypeableCombobox]);\n  React.useEffect(() => {\n    if (modal && !guards && floating) {\n      const tabIndexValues = [];\n      const options = getTabbableOptions();\n      const allTabbable = tabbable(getDocument(floating).body, options);\n      const floatingTabbable = getTabbableElements();\n      const elements = allTabbable.filter((el) => !floatingTabbable.includes(el));\n      elements.forEach((el, i) => {\n        tabIndexValues[i] = el.getAttribute(\"tabindex\");\n        el.setAttribute(\"tabindex\", \"-1\");\n      });\n      return () => {\n        elements.forEach((el, i) => {\n          const value = tabIndexValues[i];\n          if (value == null) {\n            el.removeAttribute(\"tabindex\");\n          } else {\n            el.setAttribute(\"tabindex\", value);\n          }\n        });\n      };\n    }\n  }, [floating, modal, guards, getTabbableElements]);\n  index(() => {\n    if (!floating)\n      return;\n    const doc = getDocument(floating);\n    const previouslyFocusedElement = activeElement(doc);\n    queueMicrotask(() => {\n      const focusableElements = getTabbableElements(floating);\n      const initialFocusValue = initialFocusRef.current;\n      const elToFocus = (typeof initialFocusValue === \"number\" ? focusableElements[initialFocusValue] : initialFocusValue.current) || floating;\n      const focusAlreadyInsideFloatingEl = contains(floating, previouslyFocusedElement);\n      if (!ignoreInitialFocus && !focusAlreadyInsideFloatingEl && open) {\n        enqueueFocus(elToFocus, {\n          preventScroll: elToFocus === floating\n        });\n      }\n    });\n  }, [open, floating, ignoreInitialFocus, getTabbableElements, initialFocusRef]);\n  index(() => {\n    if (!floating)\n      return;\n    let preventReturnFocusScroll = false;\n    const doc = getDocument(floating);\n    const previouslyFocusedElement = activeElement(doc);\n    const contextData = dataRef.current;\n    previouslyFocusedElementRef.current = previouslyFocusedElement;\n    function onDismiss(payload) {\n      if (payload.type === \"escapeKey\" && refs.domReference.current) {\n        previouslyFocusedElementRef.current = refs.domReference.current;\n      }\n      if ([\"referencePress\", \"escapeKey\"].includes(payload.type)) {\n        return;\n      }\n      const returnFocus2 = payload.data.returnFocus;\n      if (typeof returnFocus2 === \"object\") {\n        preventReturnFocusRef.current = false;\n        preventReturnFocusScroll = returnFocus2.preventScroll;\n      } else {\n        preventReturnFocusRef.current = !returnFocus2;\n      }\n    }\n    events.on(\"dismiss\", onDismiss);\n    return () => {\n      events.off(\"dismiss\", onDismiss);\n      const activeEl = activeElement(doc);\n      const shouldFocusReference = contains(floating, activeEl) || tree && getChildren(tree.nodesRef.current, nodeId).some((node) => {\n        var _node$context5;\n        return contains((_node$context5 = node.context) == null ? void 0 : _node$context5.elements.floating, activeEl);\n      }) || contextData.openEvent && [\"click\", \"mousedown\"].includes(contextData.openEvent.type);\n      if (shouldFocusReference && refs.domReference.current) {\n        previouslyFocusedElementRef.current = refs.domReference.current;\n      }\n      if (\n        // eslint-disable-next-line react-hooks/exhaustive-deps\n        returnFocusRef.current && isHTMLElement(previouslyFocusedElementRef.current) && !preventReturnFocusRef.current\n      ) {\n        enqueueFocus(previouslyFocusedElementRef.current, {\n          // When dismissing nested floating elements, by the time the rAF has\n          // executed, the menus will all have been unmounted. When they try\n          // to get focused, the calls get ignored — leaving the root\n          // reference focused as desired.\n          cancelPrevious: false,\n          preventScroll: preventReturnFocusScroll\n        });\n      }\n    };\n  }, [floating, returnFocusRef, dataRef, refs, events, tree, nodeId]);\n  index(() => {\n    if (!portalContext)\n      return;\n    portalContext.setFocusManagerState({\n      ...context,\n      modal,\n      closeOnFocusOut,\n      open\n    });\n    return () => {\n      portalContext.setFocusManagerState(null);\n    };\n  }, [portalContext, modal, open, closeOnFocusOut, context]);\n  index(() => {\n    if (floating && typeof MutationObserver === \"function\") {\n      const handleMutation = () => {\n        const tabIndex = floating.getAttribute(\"tabindex\");\n        if (orderRef.current.includes(\"floating\") || activeElement(getDocument(floating)) !== refs.domReference.current && getTabbableContent().length === 0) {\n          if (tabIndex !== \"0\") {\n            floating.setAttribute(\"tabindex\", \"0\");\n          }\n        } else if (tabIndex !== \"-1\") {\n          floating.setAttribute(\"tabindex\", \"-1\");\n        }\n      };\n      handleMutation();\n      const observer = new MutationObserver(handleMutation);\n      observer.observe(floating, {\n        childList: true,\n        subtree: true,\n        attributes: true\n      });\n      return () => {\n        observer.disconnect();\n      };\n    }\n  }, [floating, refs, orderRef, getTabbableContent]);\n  function renderDismissButton(location) {\n    return visuallyHiddenDismiss && modal ? /* @__PURE__ */ React.createElement(VisuallyHiddenDismiss, {\n      ref: location === \"start\" ? startDismissButtonRef : endDismissButtonRef,\n      onClick: () => onOpenChange(false)\n    }, typeof visuallyHiddenDismiss === \"string\" ? visuallyHiddenDismiss : \"Dismiss\") : null;\n  }\n  const shouldRenderGuards = guards && !isTypeableCombobox && (isInsidePortal || modal);\n  return /* @__PURE__ */ React.createElement(React.Fragment, null, shouldRenderGuards && /* @__PURE__ */ React.createElement(FocusGuard, {\n    \"data-type\": \"inside\",\n    ref: portalContext == null ? void 0 : portalContext.beforeInsideRef,\n    onFocus: (event) => {\n      if (modal) {\n        const els = getTabbableElements();\n        enqueueFocus(order[0] === \"reference\" ? els[0] : els[els.length - 1]);\n      } else if (portalContext != null && portalContext.preserveTabOrder && portalContext.portalNode) {\n        preventReturnFocusRef.current = false;\n        if (isOutsideEvent(event, portalContext.portalNode)) {\n          const nextTabbable = getNextTabbable() || domReference;\n          nextTabbable == null ? void 0 : nextTabbable.focus();\n        } else {\n          var _portalContext$before;\n          (_portalContext$before = portalContext.beforeOutsideRef.current) == null ? void 0 : _portalContext$before.focus();\n        }\n      }\n    }\n  }), !isTypeableCombobox && renderDismissButton(\"start\"), children, renderDismissButton(\"end\"), shouldRenderGuards && /* @__PURE__ */ React.createElement(FocusGuard, {\n    \"data-type\": \"inside\",\n    ref: portalContext == null ? void 0 : portalContext.afterInsideRef,\n    onFocus: (event) => {\n      if (modal) {\n        enqueueFocus(getTabbableElements()[0]);\n      } else if (portalContext != null && portalContext.preserveTabOrder && portalContext.portalNode) {\n        if (closeOnFocusOut) {\n          preventReturnFocusRef.current = true;\n        }\n        if (isOutsideEvent(event, portalContext.portalNode)) {\n          const prevTabbable = getPreviousTabbable() || domReference;\n          prevTabbable == null ? void 0 : prevTabbable.focus();\n        } else {\n          var _portalContext$afterO;\n          (_portalContext$afterO = portalContext.afterOutsideRef.current) == null ? void 0 : _portalContext$afterO.focus();\n        }\n      }\n    }\n  }));\n}\nfunction isButtonTarget(event) {\n  return isHTMLElement(event.target) && event.target.tagName === \"BUTTON\";\n}\nfunction isSpaceIgnored(element) {\n  return isTypeableElement(element);\n}\nfunction useClick(context, props) {\n  if (props === void 0) {\n    props = {};\n  }\n  const {\n    open,\n    onOpenChange,\n    dataRef,\n    elements: {\n      domReference\n    }\n  } = context;\n  const {\n    enabled = true,\n    event: eventOption = \"click\",\n    toggle = true,\n    ignoreMouse = false,\n    keyboardHandlers = true\n  } = props;\n  const pointerTypeRef = React.useRef();\n  const didKeyDownRef = React.useRef(false);\n  return React.useMemo(() => {\n    if (!enabled)\n      return {};\n    return {\n      reference: {\n        onPointerDown(event) {\n          pointerTypeRef.current = event.pointerType;\n        },\n        onMouseDown(event) {\n          if (event.button !== 0) {\n            return;\n          }\n          if (isMouseLikePointerType(pointerTypeRef.current, true) && ignoreMouse) {\n            return;\n          }\n          if (eventOption === \"click\") {\n            return;\n          }\n          if (open) {\n            if (toggle && (dataRef.current.openEvent ? dataRef.current.openEvent.type === \"mousedown\" : true)) {\n              onOpenChange(false);\n            }\n          } else {\n            event.preventDefault();\n            onOpenChange(true);\n          }\n          dataRef.current.openEvent = event.nativeEvent;\n        },\n        onClick(event) {\n          if (eventOption === \"mousedown\" && pointerTypeRef.current) {\n            pointerTypeRef.current = void 0;\n            return;\n          }\n          if (isMouseLikePointerType(pointerTypeRef.current, true) && ignoreMouse) {\n            return;\n          }\n          if (open) {\n            if (toggle && (dataRef.current.openEvent ? dataRef.current.openEvent.type === \"click\" : true)) {\n              onOpenChange(false);\n            }\n          } else {\n            onOpenChange(true);\n          }\n          dataRef.current.openEvent = event.nativeEvent;\n        },\n        onKeyDown(event) {\n          pointerTypeRef.current = void 0;\n          if (event.defaultPrevented || !keyboardHandlers || isButtonTarget(event)) {\n            return;\n          }\n          if (event.key === \" \" && !isSpaceIgnored(domReference)) {\n            event.preventDefault();\n            didKeyDownRef.current = true;\n          }\n          if (event.key === \"Enter\") {\n            if (open) {\n              if (toggle) {\n                onOpenChange(false);\n              }\n            } else {\n              onOpenChange(true);\n            }\n          }\n        },\n        onKeyUp(event) {\n          if (event.defaultPrevented || !keyboardHandlers || isButtonTarget(event) || isSpaceIgnored(domReference)) {\n            return;\n          }\n          if (event.key === \" \" && didKeyDownRef.current) {\n            didKeyDownRef.current = false;\n            if (open) {\n              if (toggle) {\n                onOpenChange(false);\n              }\n            } else {\n              onOpenChange(true);\n            }\n          }\n        }\n      }\n    };\n  }, [enabled, dataRef, eventOption, ignoreMouse, keyboardHandlers, domReference, toggle, open, onOpenChange]);\n}\nconst useInsertionEffect = React[/* @__PURE__ */ \"useInsertionEffect\".toString()];\nconst useSafeInsertionEffect = useInsertionEffect || ((fn) => fn());\nfunction useEvent(callback) {\n  const ref = React.useRef(() => {\n    if (process$1.env.NODE_ENV !== \"production\") {\n      throw new Error(\"Cannot call an event handler while rendering.\");\n    }\n  });\n  useSafeInsertionEffect(() => {\n    ref.current = callback;\n  });\n  return React.useCallback(function() {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    return ref.current == null ? void 0 : ref.current(...args);\n  }, []);\n}\nfunction isEventTargetWithin(event, node) {\n  if (node == null) {\n    return false;\n  }\n  if (\"composedPath\" in event) {\n    return event.composedPath().includes(node);\n  }\n  const e = event;\n  return e.target != null && node.contains(e.target);\n}\nconst bubbleHandlerKeys = {\n  pointerdown: \"onPointerDown\",\n  mousedown: \"onMouseDown\",\n  click: \"onClick\"\n};\nconst captureHandlerKeys = {\n  pointerdown: \"onPointerDownCapture\",\n  mousedown: \"onMouseDownCapture\",\n  click: \"onClickCapture\"\n};\nconst normalizeBubblesProp = (bubbles) => {\n  var _bubbles$escapeKey, _bubbles$outsidePress;\n  return {\n    escapeKeyBubbles: typeof bubbles === \"boolean\" ? bubbles : (_bubbles$escapeKey = bubbles == null ? void 0 : bubbles.escapeKey) != null ? _bubbles$escapeKey : false,\n    outsidePressBubbles: typeof bubbles === \"boolean\" ? bubbles : (_bubbles$outsidePress = bubbles == null ? void 0 : bubbles.outsidePress) != null ? _bubbles$outsidePress : true\n  };\n};\nfunction useDismiss(context, props) {\n  if (props === void 0) {\n    props = {};\n  }\n  const {\n    open,\n    onOpenChange,\n    events,\n    nodeId,\n    elements: {\n      reference,\n      domReference,\n      floating\n    },\n    dataRef\n  } = context;\n  const {\n    enabled = true,\n    escapeKey = true,\n    outsidePress: unstable_outsidePress = true,\n    outsidePressEvent = \"pointerdown\",\n    referencePress = false,\n    referencePressEvent = \"pointerdown\",\n    ancestorScroll = false,\n    bubbles\n  } = props;\n  const tree = useFloatingTree();\n  const nested = useFloatingParentNodeId() != null;\n  const outsidePressFn = useEvent(typeof unstable_outsidePress === \"function\" ? unstable_outsidePress : () => false);\n  const outsidePress = typeof unstable_outsidePress === \"function\" ? outsidePressFn : unstable_outsidePress;\n  const insideReactTreeRef = React.useRef(false);\n  const {\n    escapeKeyBubbles,\n    outsidePressBubbles\n  } = normalizeBubblesProp(bubbles);\n  const closeOnEscapeKeyDown = useEvent((event) => {\n    if (!open || !enabled || !escapeKey || event.key !== \"Escape\") {\n      return;\n    }\n    const children = tree ? getChildren(tree.nodesRef.current, nodeId) : [];\n    if (!escapeKeyBubbles) {\n      event.stopPropagation();\n      if (children.length > 0) {\n        let shouldDismiss = true;\n        children.forEach((child) => {\n          var _child$context;\n          if ((_child$context = child.context) != null && _child$context.open && !child.context.dataRef.current.__escapeKeyBubbles) {\n            shouldDismiss = false;\n            return;\n          }\n        });\n        if (!shouldDismiss) {\n          return;\n        }\n      }\n    }\n    events.emit(\"dismiss\", {\n      type: \"escapeKey\",\n      data: {\n        returnFocus: {\n          preventScroll: false\n        }\n      }\n    });\n    onOpenChange(false);\n  });\n  const closeOnPressOutside = useEvent((event) => {\n    const insideReactTree = insideReactTreeRef.current;\n    insideReactTreeRef.current = false;\n    if (insideReactTree) {\n      return;\n    }\n    if (typeof outsidePress === \"function\" && !outsidePress(event)) {\n      return;\n    }\n    const target = getTarget(event);\n    if (isHTMLElement(target) && floating) {\n      const canScrollX = target.clientWidth > 0 && target.scrollWidth > target.clientWidth;\n      const canScrollY = target.clientHeight > 0 && target.scrollHeight > target.clientHeight;\n      let xCond = canScrollY && event.offsetX > target.clientWidth;\n      if (canScrollY) {\n        const isRTL = getWindow(floating).getComputedStyle(target).direction === \"rtl\";\n        if (isRTL) {\n          xCond = event.offsetX <= target.offsetWidth - target.clientWidth;\n        }\n      }\n      if (xCond || canScrollX && event.offsetY > target.clientHeight) {\n        return;\n      }\n    }\n    const targetIsInsideChildren = tree && getChildren(tree.nodesRef.current, nodeId).some((node) => {\n      var _node$context;\n      return isEventTargetWithin(event, (_node$context = node.context) == null ? void 0 : _node$context.elements.floating);\n    });\n    if (isEventTargetWithin(event, floating) || isEventTargetWithin(event, domReference) || targetIsInsideChildren) {\n      return;\n    }\n    const children = tree ? getChildren(tree.nodesRef.current, nodeId) : [];\n    if (children.length > 0) {\n      let shouldDismiss = true;\n      children.forEach((child) => {\n        var _child$context2;\n        if ((_child$context2 = child.context) != null && _child$context2.open && !child.context.dataRef.current.__outsidePressBubbles) {\n          shouldDismiss = false;\n          return;\n        }\n      });\n      if (!shouldDismiss) {\n        return;\n      }\n    }\n    events.emit(\"dismiss\", {\n      type: \"outsidePress\",\n      data: {\n        returnFocus: nested ? {\n          preventScroll: true\n        } : isVirtualClick(event) || isVirtualPointerEvent(event)\n      }\n    });\n    onOpenChange(false);\n  });\n  React.useEffect(() => {\n    if (!open || !enabled) {\n      return;\n    }\n    dataRef.current.__escapeKeyBubbles = escapeKeyBubbles;\n    dataRef.current.__outsidePressBubbles = outsidePressBubbles;\n    function onScroll() {\n      onOpenChange(false);\n    }\n    const doc = getDocument(floating);\n    escapeKey && doc.addEventListener(\"keydown\", closeOnEscapeKeyDown);\n    outsidePress && doc.addEventListener(outsidePressEvent, closeOnPressOutside);\n    let ancestors = [];\n    if (ancestorScroll) {\n      if (isElement(domReference)) {\n        ancestors = getOverflowAncestors(domReference);\n      }\n      if (isElement(floating)) {\n        ancestors = ancestors.concat(getOverflowAncestors(floating));\n      }\n      if (!isElement(reference) && reference && reference.contextElement) {\n        ancestors = ancestors.concat(getOverflowAncestors(reference.contextElement));\n      }\n    }\n    ancestors = ancestors.filter((ancestor) => {\n      var _doc$defaultView;\n      return ancestor !== ((_doc$defaultView = doc.defaultView) == null ? void 0 : _doc$defaultView.visualViewport);\n    });\n    ancestors.forEach((ancestor) => {\n      ancestor.addEventListener(\"scroll\", onScroll, {\n        passive: true\n      });\n    });\n    return () => {\n      escapeKey && doc.removeEventListener(\"keydown\", closeOnEscapeKeyDown);\n      outsidePress && doc.removeEventListener(outsidePressEvent, closeOnPressOutside);\n      ancestors.forEach((ancestor) => {\n        ancestor.removeEventListener(\"scroll\", onScroll);\n      });\n    };\n  }, [dataRef, floating, domReference, reference, escapeKey, outsidePress, outsidePressEvent, open, onOpenChange, ancestorScroll, enabled, escapeKeyBubbles, outsidePressBubbles, closeOnEscapeKeyDown, closeOnPressOutside]);\n  React.useEffect(() => {\n    insideReactTreeRef.current = false;\n  }, [outsidePress, outsidePressEvent]);\n  return React.useMemo(() => {\n    if (!enabled) {\n      return {};\n    }\n    return {\n      reference: {\n        onKeyDown: closeOnEscapeKeyDown,\n        [bubbleHandlerKeys[referencePressEvent]]: () => {\n          if (referencePress) {\n            events.emit(\"dismiss\", {\n              type: \"referencePress\",\n              data: {\n                returnFocus: false\n              }\n            });\n            onOpenChange(false);\n          }\n        }\n      },\n      floating: {\n        onKeyDown: closeOnEscapeKeyDown,\n        [captureHandlerKeys[outsidePressEvent]]: () => {\n          insideReactTreeRef.current = true;\n        }\n      }\n    };\n  }, [enabled, events, referencePress, outsidePressEvent, referencePressEvent, onOpenChange, closeOnEscapeKeyDown]);\n}\nfunction useFocus(context, props) {\n  if (props === void 0) {\n    props = {};\n  }\n  const {\n    open,\n    onOpenChange,\n    dataRef,\n    events,\n    refs,\n    elements: {\n      floating,\n      domReference\n    }\n  } = context;\n  const {\n    enabled = true,\n    keyboardOnly = true\n  } = props;\n  const pointerTypeRef = React.useRef(\"\");\n  const blockFocusRef = React.useRef(false);\n  const timeoutRef = React.useRef();\n  React.useEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    const doc = getDocument(floating);\n    const win = doc.defaultView || window;\n    function onBlur() {\n      if (!open && isHTMLElement(domReference) && domReference === activeElement(getDocument(domReference))) {\n        blockFocusRef.current = true;\n      }\n    }\n    win.addEventListener(\"blur\", onBlur);\n    return () => {\n      win.removeEventListener(\"blur\", onBlur);\n    };\n  }, [floating, domReference, open, enabled]);\n  React.useEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    function onDismiss(payload) {\n      if (payload.type === \"referencePress\" || payload.type === \"escapeKey\") {\n        blockFocusRef.current = true;\n      }\n    }\n    events.on(\"dismiss\", onDismiss);\n    return () => {\n      events.off(\"dismiss\", onDismiss);\n    };\n  }, [events, enabled]);\n  React.useEffect(() => {\n    return () => {\n      clearTimeout(timeoutRef.current);\n    };\n  }, []);\n  return React.useMemo(() => {\n    if (!enabled) {\n      return {};\n    }\n    return {\n      reference: {\n        onPointerDown(_ref) {\n          let {\n            pointerType\n          } = _ref;\n          pointerTypeRef.current = pointerType;\n          blockFocusRef.current = !!(pointerType && keyboardOnly);\n        },\n        onMouseLeave() {\n          blockFocusRef.current = false;\n        },\n        onFocus(event) {\n          var _dataRef$current$open;\n          if (blockFocusRef.current) {\n            return;\n          }\n          if (event.type === \"focus\" && ((_dataRef$current$open = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open.type) === \"mousedown\" && dataRef.current.openEvent && isEventTargetWithin(dataRef.current.openEvent, domReference)) {\n            return;\n          }\n          dataRef.current.openEvent = event.nativeEvent;\n          onOpenChange(true);\n        },\n        onBlur(event) {\n          blockFocusRef.current = false;\n          const relatedTarget = event.relatedTarget;\n          const movedToFocusGuard = isElement(relatedTarget) && relatedTarget.hasAttribute(\"data-floating-ui-focus-guard\") && relatedTarget.getAttribute(\"data-type\") === \"outside\";\n          timeoutRef.current = setTimeout(() => {\n            if (contains(refs.floating.current, relatedTarget) || contains(domReference, relatedTarget) || movedToFocusGuard) {\n              return;\n            }\n            onOpenChange(false);\n          });\n        }\n      }\n    };\n  }, [enabled, keyboardOnly, domReference, refs, dataRef, onOpenChange]);\n}\nfunction useMergeRefs(refs) {\n  return React.useMemo(() => {\n    if (refs.every((ref) => ref == null)) {\n      return null;\n    }\n    return (value) => {\n      refs.forEach((ref) => {\n        if (typeof ref === \"function\") {\n          ref(value);\n        } else if (ref != null) {\n          ref.current = value;\n        }\n      });\n    };\n  }, refs);\n}\nfunction useRole(context, props) {\n  if (props === void 0) {\n    props = {};\n  }\n  const {\n    open,\n    floatingId\n  } = context;\n  const {\n    enabled = true,\n    role = \"dialog\"\n  } = props;\n  const referenceId = useId();\n  return React.useMemo(() => {\n    const floatingProps = {\n      id: floatingId,\n      role\n    };\n    if (!enabled) {\n      return {};\n    }\n    if (role === \"tooltip\") {\n      return {\n        reference: {\n          \"aria-describedby\": open ? floatingId : void 0\n        },\n        floating: floatingProps\n      };\n    }\n    return {\n      reference: {\n        \"aria-expanded\": open ? \"true\" : \"false\",\n        \"aria-haspopup\": role === \"alertdialog\" ? \"dialog\" : role,\n        \"aria-controls\": open ? floatingId : void 0,\n        ...role === \"listbox\" && {\n          role: \"combobox\"\n        },\n        ...role === \"menu\" && {\n          id: referenceId\n        }\n      },\n      floating: {\n        ...floatingProps,\n        ...role === \"menu\" && {\n          \"aria-labelledby\": referenceId\n        }\n      }\n    };\n  }, [enabled, role, open, floatingId, referenceId]);\n}\nfunction useFloating(options) {\n  var _options$elements;\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    open = false,\n    onOpenChange: unstable_onOpenChange,\n    nodeId\n  } = options;\n  const [_domReference, setDomReference] = React.useState(null);\n  const domReference = ((_options$elements = options.elements) == null ? void 0 : _options$elements.reference) || _domReference;\n  const position = useFloating$1(options);\n  const tree = useFloatingTree();\n  const onOpenChange = useEvent(unstable_onOpenChange);\n  const domReferenceRef = React.useRef(null);\n  const dataRef = React.useRef({});\n  const events = React.useState(() => createPubSub())[0];\n  const floatingId = useId();\n  const setPositionReference = React.useCallback((node) => {\n    const positionReference = isElement(node) ? {\n      getBoundingClientRect: () => node.getBoundingClientRect(),\n      contextElement: node\n    } : node;\n    position.refs.setReference(positionReference);\n  }, [position.refs]);\n  const setReference = React.useCallback((node) => {\n    if (isElement(node) || node === null) {\n      domReferenceRef.current = node;\n      setDomReference(node);\n    }\n    if (isElement(position.refs.reference.current) || position.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to\n    // `null` to support `positionReference` + an unstable `reference`\n    // callback ref.\n    node !== null && !isElement(node)) {\n      position.refs.setReference(node);\n    }\n  }, [position.refs]);\n  const refs = React.useMemo(() => ({\n    ...position.refs,\n    setReference,\n    setPositionReference,\n    domReference: domReferenceRef\n  }), [position.refs, setReference, setPositionReference]);\n  const elements = React.useMemo(() => ({\n    ...position.elements,\n    domReference\n  }), [position.elements, domReference]);\n  const context = React.useMemo(() => ({\n    ...position,\n    refs,\n    elements,\n    dataRef,\n    nodeId,\n    floatingId,\n    events,\n    open,\n    onOpenChange\n  }), [position, nodeId, floatingId, events, open, onOpenChange, refs, elements]);\n  index(() => {\n    const node = tree == null ? void 0 : tree.nodesRef.current.find((node2) => node2.id === nodeId);\n    if (node) {\n      node.context = context;\n    }\n  });\n  return React.useMemo(() => ({\n    ...position,\n    context,\n    refs,\n    elements\n  }), [position, refs, elements, context]);\n}\nfunction mergeProps(userProps, propsList, elementKey) {\n  const map = /* @__PURE__ */ new Map();\n  return {\n    ...elementKey === \"floating\" && {\n      tabIndex: -1\n    },\n    ...userProps,\n    ...propsList.map((value) => value ? value[elementKey] : null).concat(userProps).reduce((acc, props) => {\n      if (!props) {\n        return acc;\n      }\n      Object.entries(props).forEach((_ref) => {\n        let [key, value] = _ref;\n        if (key.indexOf(\"on\") === 0) {\n          if (!map.has(key)) {\n            map.set(key, []);\n          }\n          if (typeof value === \"function\") {\n            var _map$get;\n            (_map$get = map.get(key)) == null ? void 0 : _map$get.push(value);\n            acc[key] = function() {\n              var _map$get2;\n              for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n                args[_key] = arguments[_key];\n              }\n              return (_map$get2 = map.get(key)) == null ? void 0 : _map$get2.map((fn) => fn(...args)).find((val) => val !== void 0);\n            };\n          }\n        } else {\n          acc[key] = value;\n        }\n      });\n      return acc;\n    }, {})\n  };\n}\nfunction useInteractions(propsList) {\n  if (propsList === void 0) {\n    propsList = [];\n  }\n  const deps = propsList;\n  const getReferenceProps = React.useCallback(\n    (userProps) => mergeProps(userProps, propsList, \"reference\"),\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    deps\n  );\n  const getFloatingProps = React.useCallback(\n    (userProps) => mergeProps(userProps, propsList, \"floating\"),\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    deps\n  );\n  const getItemProps = React.useCallback(\n    (userProps) => mergeProps(userProps, propsList, \"item\"),\n    // Granularly check for `item` changes, because the `getItemProps` getter\n    // should be as referentially stable as possible since it may be passed as\n    // a prop to many components. All `item` key values must therefore be\n    // memoized.\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    propsList.map((key) => key == null ? void 0 : key.item)\n  );\n  return React.useMemo(() => ({\n    getReferenceProps,\n    getFloatingProps,\n    getItemProps\n  }), [getReferenceProps, getFloatingProps, getItemProps]);\n}\nexport {\n  FloatingArrow,\n  FloatingFocusManager,\n  FloatingPortal,\n  arrow,\n  autoUpdate,\n  computePosition,\n  flip,\n  getOverflowAncestors,\n  offset,\n  platform,\n  useClick,\n  useDismiss,\n  useFloating,\n  useFloatingParentNodeId,\n  useFloatingPortalNode,\n  useFloatingTree,\n  useFocus,\n  useHover,\n  useId,\n  useInteractions,\n  useMergeRefs,\n  useRole\n};\n","const r = () => `10000000-1000-4000-8000-${1e11}`.replace(\n  /[018]/g,\n  (e) => (Number(e) ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> Number(e) / 4).toString(16)\n);\nexport {\n  r as generateUUID\n};\n","import { useMemo, useEffect } from \"react\";\nimport { generateUUID as r } from \"../utils/generateUUID.js\";\nconst n = \"disable-scroll\", e = \"disableScrollInstances\", o = (s) => {\n  const t = s.dataset[e];\n  return t ? t.split(\",\") : [];\n}, i = (s, t) => {\n  t.length > 0 ? s.dataset[e] = t.join(\",\") : delete s.dataset[e];\n}, A = (s, t) => {\n  const c = o(s);\n  c.push(t), i(s, c), s.classList.contains(n) || s.classList.add(n);\n}, a = (s, t) => {\n  const r2 = o(s).filter((l) => l !== t);\n  i(s, r2), o(s).length === 0 && s.classList.remove(n);\n}, S = (s) => {\n  const t = useMemo(() => r(), []);\n  useEffect(() => {\n    const c = document.body;\n    if (c) {\n      if (s)\n        A(c, t);\n      else {\n        a(c, t);\n        return;\n      }\n      return () => {\n        a(c, t);\n      };\n    }\n  }, [s, t]);\n};\nexport {\n  S as useEffectDisableScroll\n};\n","var l = (e) => typeof e == \"boolean\" ? `${e}` : e === 0 ? \"0\" : e, u = (e) => !e || typeof e != \"object\" || Object.keys(e).length === 0, x = (e, o) => JSON.stringify(e) === JSON.stringify(o);\nfunction i(e, o) {\n  e.forEach(function(r) {\n    Array.isArray(r) ? i(r, o) : o.push(r);\n  });\n}\nfunction y(e) {\n  let o = [];\n  return i(e, o), o;\n}\nvar a = (...e) => y(e).filter(Boolean), p = (e, o) => {\n  let r = {}, c = Object.keys(e), f = Object.keys(o);\n  for (let t of c)\n    if (f.includes(t)) {\n      let s = e[t], n = o[t];\n      typeof s == \"object\" && typeof n == \"object\" ? r[t] = p(s, n) : Array.isArray(s) || Array.isArray(n) ? r[t] = a(n, s) : r[t] = n + \" \" + s;\n    } else\n      r[t] = e[t];\n  for (let t of f)\n    c.includes(t) || (r[t] = o[t]);\n  return r;\n}, g = (e) => !e || typeof e != \"string\" ? e : e.replace(/\\s+/g, \" \").trim();\nexport {\n  l as a,\n  u as b,\n  x as c,\n  y as e,\n  a as f,\n  p as g,\n  g as h\n};\n","const CLASS_PART_SEPARATOR = \"-\";\nconst createClassGroupUtils = (config) => {\n  const classMap = createClassMap(config);\n  const {\n    conflictingClassGroups,\n    conflictingClassGroupModifiers\n  } = config;\n  const getClassGroupId = (className) => {\n    const classParts = className.split(CLASS_PART_SEPARATOR);\n    if (classParts[0] === \"\" && classParts.length !== 1) {\n      classParts.shift();\n    }\n    return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);\n  };\n  const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {\n    const conflicts = conflictingClassGroups[classGroupId] || [];\n    if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {\n      return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];\n    }\n    return conflicts;\n  };\n  return {\n    getClassGroupId,\n    getConflictingClassGroupIds\n  };\n};\nconst getGroupRecursive = (classParts, classPartObject) => {\n  var _a;\n  if (classParts.length === 0) {\n    return classPartObject.classGroupId;\n  }\n  const currentClassPart = classParts[0];\n  const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);\n  const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;\n  if (classGroupFromNextClassPart) {\n    return classGroupFromNextClassPart;\n  }\n  if (classPartObject.validators.length === 0) {\n    return void 0;\n  }\n  const classRest = classParts.join(CLASS_PART_SEPARATOR);\n  return (_a = classPartObject.validators.find(({\n    validator\n  }) => validator(classRest))) == null ? void 0 : _a.classGroupId;\n};\nconst arbitraryPropertyRegex = /^\\[(.+)\\]$/;\nconst getGroupIdForArbitraryProperty = (className) => {\n  if (arbitraryPropertyRegex.test(className)) {\n    const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];\n    const property = arbitraryPropertyClassName == null ? void 0 : arbitraryPropertyClassName.substring(0, arbitraryPropertyClassName.indexOf(\":\"));\n    if (property) {\n      return \"arbitrary..\" + property;\n    }\n  }\n};\nconst createClassMap = (config) => {\n  const {\n    theme,\n    prefix\n  } = config;\n  const classMap = {\n    nextPart: /* @__PURE__ */ new Map(),\n    validators: []\n  };\n  const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);\n  prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {\n    processClassesRecursively(classGroup, classMap, classGroupId, theme);\n  });\n  return classMap;\n};\nconst processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {\n  classGroup.forEach((classDefinition) => {\n    if (typeof classDefinition === \"string\") {\n      const classPartObjectToEdit = classDefinition === \"\" ? classPartObject : getPart(classPartObject, classDefinition);\n      classPartObjectToEdit.classGroupId = classGroupId;\n      return;\n    }\n    if (typeof classDefinition === \"function\") {\n      if (isThemeGetter(classDefinition)) {\n        processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);\n        return;\n      }\n      classPartObject.validators.push({\n        validator: classDefinition,\n        classGroupId\n      });\n      return;\n    }\n    Object.entries(classDefinition).forEach(([key, classGroup2]) => {\n      processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);\n    });\n  });\n};\nconst getPart = (classPartObject, path) => {\n  let currentClassPartObject = classPartObject;\n  path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {\n    if (!currentClassPartObject.nextPart.has(pathPart)) {\n      currentClassPartObject.nextPart.set(pathPart, {\n        nextPart: /* @__PURE__ */ new Map(),\n        validators: []\n      });\n    }\n    currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);\n  });\n  return currentClassPartObject;\n};\nconst isThemeGetter = (func) => func.isThemeGetter;\nconst getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {\n  if (!prefix) {\n    return classGroupEntries;\n  }\n  return classGroupEntries.map(([classGroupId, classGroup]) => {\n    const prefixedClassGroup = classGroup.map((classDefinition) => {\n      if (typeof classDefinition === \"string\") {\n        return prefix + classDefinition;\n      }\n      if (typeof classDefinition === \"object\") {\n        return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));\n      }\n      return classDefinition;\n    });\n    return [classGroupId, prefixedClassGroup];\n  });\n};\nconst createLruCache = (maxCacheSize) => {\n  if (maxCacheSize < 1) {\n    return {\n      get: () => void 0,\n      set: () => {\n      }\n    };\n  }\n  let cacheSize = 0;\n  let cache = /* @__PURE__ */ new Map();\n  let previousCache = /* @__PURE__ */ new Map();\n  const update = (key, value) => {\n    cache.set(key, value);\n    cacheSize++;\n    if (cacheSize > maxCacheSize) {\n      cacheSize = 0;\n      previousCache = cache;\n      cache = /* @__PURE__ */ new Map();\n    }\n  };\n  return {\n    get(key) {\n      let value = cache.get(key);\n      if (value !== void 0) {\n        return value;\n      }\n      if ((value = previousCache.get(key)) !== void 0) {\n        update(key, value);\n        return value;\n      }\n    },\n    set(key, value) {\n      if (cache.has(key)) {\n        cache.set(key, value);\n      } else {\n        update(key, value);\n      }\n    }\n  };\n};\nconst IMPORTANT_MODIFIER = \"!\";\nconst createParseClassName = (config) => {\n  const {\n    separator,\n    experimentalParseClassName\n  } = config;\n  const isSeparatorSingleCharacter = separator.length === 1;\n  const firstSeparatorCharacter = separator[0];\n  const separatorLength = separator.length;\n  const parseClassName = (className) => {\n    const modifiers = [];\n    let bracketDepth = 0;\n    let modifierStart = 0;\n    let postfixModifierPosition;\n    for (let index = 0; index < className.length; index++) {\n      let currentCharacter = className[index];\n      if (bracketDepth === 0) {\n        if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {\n          modifiers.push(className.slice(modifierStart, index));\n          modifierStart = index + separatorLength;\n          continue;\n        }\n        if (currentCharacter === \"/\") {\n          postfixModifierPosition = index;\n          continue;\n        }\n      }\n      if (currentCharacter === \"[\") {\n        bracketDepth++;\n      } else if (currentCharacter === \"]\") {\n        bracketDepth--;\n      }\n    }\n    const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);\n    const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);\n    const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;\n    const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;\n    return {\n      modifiers,\n      hasImportantModifier,\n      baseClassName,\n      maybePostfixModifierPosition\n    };\n  };\n  if (experimentalParseClassName) {\n    return (className) => experimentalParseClassName({\n      className,\n      parseClassName\n    });\n  }\n  return parseClassName;\n};\nconst sortModifiers = (modifiers) => {\n  if (modifiers.length <= 1) {\n    return modifiers;\n  }\n  const sortedModifiers = [];\n  let unsortedModifiers = [];\n  modifiers.forEach((modifier) => {\n    const isArbitraryVariant = modifier[0] === \"[\";\n    if (isArbitraryVariant) {\n      sortedModifiers.push(...unsortedModifiers.sort(), modifier);\n      unsortedModifiers = [];\n    } else {\n      unsortedModifiers.push(modifier);\n    }\n  });\n  sortedModifiers.push(...unsortedModifiers.sort());\n  return sortedModifiers;\n};\nconst createConfigUtils = (config) => ({\n  cache: createLruCache(config.cacheSize),\n  parseClassName: createParseClassName(config),\n  ...createClassGroupUtils(config)\n});\nconst SPLIT_CLASSES_REGEX = /\\s+/;\nconst mergeClassList = (classList, configUtils) => {\n  const {\n    parseClassName,\n    getClassGroupId,\n    getConflictingClassGroupIds\n  } = configUtils;\n  const classGroupsInConflict = [];\n  const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);\n  let result = \"\";\n  for (let index = classNames.length - 1; index >= 0; index -= 1) {\n    const originalClassName = classNames[index];\n    const {\n      modifiers,\n      hasImportantModifier,\n      baseClassName,\n      maybePostfixModifierPosition\n    } = parseClassName(originalClassName);\n    let hasPostfixModifier = Boolean(maybePostfixModifierPosition);\n    let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);\n    if (!classGroupId) {\n      if (!hasPostfixModifier) {\n        result = originalClassName + (result.length > 0 ? \" \" + result : result);\n        continue;\n      }\n      classGroupId = getClassGroupId(baseClassName);\n      if (!classGroupId) {\n        result = originalClassName + (result.length > 0 ? \" \" + result : result);\n        continue;\n      }\n      hasPostfixModifier = false;\n    }\n    const variantModifier = sortModifiers(modifiers).join(\":\");\n    const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;\n    const classId = modifierId + classGroupId;\n    if (classGroupsInConflict.includes(classId)) {\n      continue;\n    }\n    classGroupsInConflict.push(classId);\n    const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);\n    for (let i = 0; i < conflictGroups.length; ++i) {\n      const group = conflictGroups[i];\n      classGroupsInConflict.push(modifierId + group);\n    }\n    result = originalClassName + (result.length > 0 ? \" \" + result : result);\n  }\n  return result;\n};\nfunction twJoin() {\n  let index = 0;\n  let argument;\n  let resolvedValue;\n  let string = \"\";\n  while (index < arguments.length) {\n    if (argument = arguments[index++]) {\n      if (resolvedValue = toValue(argument)) {\n        string && (string += \" \");\n        string += resolvedValue;\n      }\n    }\n  }\n  return string;\n}\nconst toValue = (mix) => {\n  if (typeof mix === \"string\") {\n    return mix;\n  }\n  let resolvedValue;\n  let string = \"\";\n  for (let k = 0; k < mix.length; k++) {\n    if (mix[k]) {\n      if (resolvedValue = toValue(mix[k])) {\n        string && (string += \" \");\n        string += resolvedValue;\n      }\n    }\n  }\n  return string;\n};\nfunction createTailwindMerge(createConfigFirst, ...createConfigRest) {\n  let configUtils;\n  let cacheGet;\n  let cacheSet;\n  let functionToCall = initTailwindMerge;\n  function initTailwindMerge(classList) {\n    const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());\n    configUtils = createConfigUtils(config);\n    cacheGet = configUtils.cache.get;\n    cacheSet = configUtils.cache.set;\n    functionToCall = tailwindMerge;\n    return tailwindMerge(classList);\n  }\n  function tailwindMerge(classList) {\n    const cachedResult = cacheGet(classList);\n    if (cachedResult) {\n      return cachedResult;\n    }\n    const result = mergeClassList(classList, configUtils);\n    cacheSet(classList, result);\n    return result;\n  }\n  return function callTailwindMerge() {\n    return functionToCall(twJoin.apply(null, arguments));\n  };\n}\nconst fromTheme = (key) => {\n  const themeGetter = (theme) => theme[key] || [];\n  themeGetter.isThemeGetter = true;\n  return themeGetter;\n};\nconst arbitraryValueRegex = /^\\[(?:([a-z-]+):)?(.+)\\]$/i;\nconst fractionRegex = /^\\d+\\/\\d+$/;\nconst stringLengths = /* @__PURE__ */ new Set([\"px\", \"full\", \"screen\"]);\nconst tshirtUnitRegex = /^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/;\nconst lengthUnitRegex = /\\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\\b(calc|min|max|clamp)\\(.+\\)|^0$/;\nconst colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\\(.+\\)$/;\nconst shadowRegex = /^(inset_)?-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/;\nconst imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/;\nconst isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);\nconst isArbitraryLength = (value) => getIsArbitraryValue(value, \"length\", isLengthOnly);\nconst isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));\nconst isArbitraryNumber = (value) => getIsArbitraryValue(value, \"number\", isNumber);\nconst isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));\nconst isPercent = (value) => value.endsWith(\"%\") && isNumber(value.slice(0, -1));\nconst isArbitraryValue = (value) => arbitraryValueRegex.test(value);\nconst isTshirtSize = (value) => tshirtUnitRegex.test(value);\nconst sizeLabels = /* @__PURE__ */ new Set([\"length\", \"size\", \"percentage\"]);\nconst isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);\nconst isArbitraryPosition = (value) => getIsArbitraryValue(value, \"position\", isNever);\nconst imageLabels = /* @__PURE__ */ new Set([\"image\", \"url\"]);\nconst isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);\nconst isArbitraryShadow = (value) => getIsArbitraryValue(value, \"\", isShadow);\nconst isAny = () => true;\nconst getIsArbitraryValue = (value, label, testValue) => {\n  const result = arbitraryValueRegex.exec(value);\n  if (result) {\n    if (result[1]) {\n      return typeof label === \"string\" ? result[1] === label : label.has(result[1]);\n    }\n    return testValue(result[2]);\n  }\n  return false;\n};\nconst isLengthOnly = (value) => (\n  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.\n  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.\n  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.\n  lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)\n);\nconst isNever = () => false;\nconst isShadow = (value) => shadowRegex.test(value);\nconst isImage = (value) => imageRegex.test(value);\nconst getDefaultConfig = () => {\n  const colors = fromTheme(\"colors\");\n  const spacing = fromTheme(\"spacing\");\n  const blur = fromTheme(\"blur\");\n  const brightness = fromTheme(\"brightness\");\n  const borderColor = fromTheme(\"borderColor\");\n  const borderRadius = fromTheme(\"borderRadius\");\n  const borderSpacing = fromTheme(\"borderSpacing\");\n  const borderWidth = fromTheme(\"borderWidth\");\n  const contrast = fromTheme(\"contrast\");\n  const grayscale = fromTheme(\"grayscale\");\n  const hueRotate = fromTheme(\"hueRotate\");\n  const invert = fromTheme(\"invert\");\n  const gap = fromTheme(\"gap\");\n  const gradientColorStops = fromTheme(\"gradientColorStops\");\n  const gradientColorStopPositions = fromTheme(\"gradientColorStopPositions\");\n  const inset = fromTheme(\"inset\");\n  const margin = fromTheme(\"margin\");\n  const opacity = fromTheme(\"opacity\");\n  const padding = fromTheme(\"padding\");\n  const saturate = fromTheme(\"saturate\");\n  const scale = fromTheme(\"scale\");\n  const sepia = fromTheme(\"sepia\");\n  const skew = fromTheme(\"skew\");\n  const space = fromTheme(\"space\");\n  const translate = fromTheme(\"translate\");\n  const getOverscroll = () => [\"auto\", \"contain\", \"none\"];\n  const getOverflow = () => [\"auto\", \"hidden\", \"clip\", \"visible\", \"scroll\"];\n  const getSpacingWithAutoAndArbitrary = () => [\"auto\", isArbitraryValue, spacing];\n  const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];\n  const getLengthWithEmptyAndArbitrary = () => [\"\", isLength, isArbitraryLength];\n  const getNumberWithAutoAndArbitrary = () => [\"auto\", isNumber, isArbitraryValue];\n  const getPositions = () => [\"bottom\", \"center\", \"left\", \"left-bottom\", \"left-top\", \"right\", \"right-bottom\", \"right-top\", \"top\"];\n  const getLineStyles = () => [\"solid\", \"dashed\", \"dotted\", \"double\", \"none\"];\n  const getBlendModes = () => [\"normal\", \"multiply\", \"screen\", \"overlay\", \"darken\", \"lighten\", \"color-dodge\", \"color-burn\", \"hard-light\", \"soft-light\", \"difference\", \"exclusion\", \"hue\", \"saturation\", \"color\", \"luminosity\"];\n  const getAlign = () => [\"start\", \"end\", \"center\", \"between\", \"around\", \"evenly\", \"stretch\"];\n  const getZeroAndEmpty = () => [\"\", \"0\", isArbitraryValue];\n  const getBreaks = () => [\"auto\", \"avoid\", \"all\", \"avoid-page\", \"page\", \"left\", \"right\", \"column\"];\n  const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];\n  return {\n    cacheSize: 500,\n    separator: \":\",\n    theme: {\n      colors: [isAny],\n      spacing: [isLength, isArbitraryLength],\n      blur: [\"none\", \"\", isTshirtSize, isArbitraryValue],\n      brightness: getNumberAndArbitrary(),\n      borderColor: [colors],\n      borderRadius: [\"none\", \"\", \"full\", isTshirtSize, isArbitraryValue],\n      borderSpacing: getSpacingWithArbitrary(),\n      borderWidth: getLengthWithEmptyAndArbitrary(),\n      contrast: getNumberAndArbitrary(),\n      grayscale: getZeroAndEmpty(),\n      hueRotate: getNumberAndArbitrary(),\n      invert: getZeroAndEmpty(),\n      gap: getSpacingWithArbitrary(),\n      gradientColorStops: [colors],\n      gradientColorStopPositions: [isPercent, isArbitraryLength],\n      inset: getSpacingWithAutoAndArbitrary(),\n      margin: getSpacingWithAutoAndArbitrary(),\n      opacity: getNumberAndArbitrary(),\n      padding: getSpacingWithArbitrary(),\n      saturate: getNumberAndArbitrary(),\n      scale: getNumberAndArbitrary(),\n      sepia: getZeroAndEmpty(),\n      skew: getNumberAndArbitrary(),\n      space: getSpacingWithArbitrary(),\n      translate: getSpacingWithArbitrary()\n    },\n    classGroups: {\n      // Layout\n      /**\n       * Aspect Ratio\n       * @see https://tailwindcss.com/docs/aspect-ratio\n       */\n      aspect: [{\n        aspect: [\"auto\", \"square\", \"video\", isArbitraryValue]\n      }],\n      /**\n       * Container\n       * @see https://tailwindcss.com/docs/container\n       */\n      container: [\"container\"],\n      /**\n       * Columns\n       * @see https://tailwindcss.com/docs/columns\n       */\n      columns: [{\n        columns: [isTshirtSize]\n      }],\n      /**\n       * Break After\n       * @see https://tailwindcss.com/docs/break-after\n       */\n      \"break-after\": [{\n        \"break-after\": getBreaks()\n      }],\n      /**\n       * Break Before\n       * @see https://tailwindcss.com/docs/break-before\n       */\n      \"break-before\": [{\n        \"break-before\": getBreaks()\n      }],\n      /**\n       * Break Inside\n       * @see https://tailwindcss.com/docs/break-inside\n       */\n      \"break-inside\": [{\n        \"break-inside\": [\"auto\", \"avoid\", \"avoid-page\", \"avoid-column\"]\n      }],\n      /**\n       * Box Decoration Break\n       * @see https://tailwindcss.com/docs/box-decoration-break\n       */\n      \"box-decoration\": [{\n        \"box-decoration\": [\"slice\", \"clone\"]\n      }],\n      /**\n       * Box Sizing\n       * @see https://tailwindcss.com/docs/box-sizing\n       */\n      box: [{\n        box: [\"border\", \"content\"]\n      }],\n      /**\n       * Display\n       * @see https://tailwindcss.com/docs/display\n       */\n      display: [\"block\", \"inline-block\", \"inline\", \"flex\", \"inline-flex\", \"table\", \"inline-table\", \"table-caption\", \"table-cell\", \"table-column\", \"table-column-group\", \"table-footer-group\", \"table-header-group\", \"table-row-group\", \"table-row\", \"flow-root\", \"grid\", \"inline-grid\", \"contents\", \"list-item\", \"hidden\"],\n      /**\n       * Floats\n       * @see https://tailwindcss.com/docs/float\n       */\n      float: [{\n        float: [\"right\", \"left\", \"none\", \"start\", \"end\"]\n      }],\n      /**\n       * Clear\n       * @see https://tailwindcss.com/docs/clear\n       */\n      clear: [{\n        clear: [\"left\", \"right\", \"both\", \"none\", \"start\", \"end\"]\n      }],\n      /**\n       * Isolation\n       * @see https://tailwindcss.com/docs/isolation\n       */\n      isolation: [\"isolate\", \"isolation-auto\"],\n      /**\n       * Object Fit\n       * @see https://tailwindcss.com/docs/object-fit\n       */\n      \"object-fit\": [{\n        object: [\"contain\", \"cover\", \"fill\", \"none\", \"scale-down\"]\n      }],\n      /**\n       * Object Position\n       * @see https://tailwindcss.com/docs/object-position\n       */\n      \"object-position\": [{\n        object: [...getPositions(), isArbitraryValue]\n      }],\n      /**\n       * Overflow\n       * @see https://tailwindcss.com/docs/overflow\n       */\n      overflow: [{\n        overflow: getOverflow()\n      }],\n      /**\n       * Overflow X\n       * @see https://tailwindcss.com/docs/overflow\n       */\n      \"overflow-x\": [{\n        \"overflow-x\": getOverflow()\n      }],\n      /**\n       * Overflow Y\n       * @see https://tailwindcss.com/docs/overflow\n       */\n      \"overflow-y\": [{\n        \"overflow-y\": getOverflow()\n      }],\n      /**\n       * Overscroll Behavior\n       * @see https://tailwindcss.com/docs/overscroll-behavior\n       */\n      overscroll: [{\n        overscroll: getOverscroll()\n      }],\n      /**\n       * Overscroll Behavior X\n       * @see https://tailwindcss.com/docs/overscroll-behavior\n       */\n      \"overscroll-x\": [{\n        \"overscroll-x\": getOverscroll()\n      }],\n      /**\n       * Overscroll Behavior Y\n       * @see https://tailwindcss.com/docs/overscroll-behavior\n       */\n      \"overscroll-y\": [{\n        \"overscroll-y\": getOverscroll()\n      }],\n      /**\n       * Position\n       * @see https://tailwindcss.com/docs/position\n       */\n      position: [\"static\", \"fixed\", \"absolute\", \"relative\", \"sticky\"],\n      /**\n       * Top / Right / Bottom / Left\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      inset: [{\n        inset: [inset]\n      }],\n      /**\n       * Right / Left\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      \"inset-x\": [{\n        \"inset-x\": [inset]\n      }],\n      /**\n       * Top / Bottom\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      \"inset-y\": [{\n        \"inset-y\": [inset]\n      }],\n      /**\n       * Start\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      start: [{\n        start: [inset]\n      }],\n      /**\n       * End\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      end: [{\n        end: [inset]\n      }],\n      /**\n       * Top\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      top: [{\n        top: [inset]\n      }],\n      /**\n       * Right\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      right: [{\n        right: [inset]\n      }],\n      /**\n       * Bottom\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      bottom: [{\n        bottom: [inset]\n      }],\n      /**\n       * Left\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      left: [{\n        left: [inset]\n      }],\n      /**\n       * Visibility\n       * @see https://tailwindcss.com/docs/visibility\n       */\n      visibility: [\"visible\", \"invisible\", \"collapse\"],\n      /**\n       * Z-Index\n       * @see https://tailwindcss.com/docs/z-index\n       */\n      z: [{\n        z: [\"auto\", isInteger, isArbitraryValue]\n      }],\n      // Flexbox and Grid\n      /**\n       * Flex Basis\n       * @see https://tailwindcss.com/docs/flex-basis\n       */\n      basis: [{\n        basis: getSpacingWithAutoAndArbitrary()\n      }],\n      /**\n       * Flex Direction\n       * @see https://tailwindcss.com/docs/flex-direction\n       */\n      \"flex-direction\": [{\n        flex: [\"row\", \"row-reverse\", \"col\", \"col-reverse\"]\n      }],\n      /**\n       * Flex Wrap\n       * @see https://tailwindcss.com/docs/flex-wrap\n       */\n      \"flex-wrap\": [{\n        flex: [\"wrap\", \"wrap-reverse\", \"nowrap\"]\n      }],\n      /**\n       * Flex\n       * @see https://tailwindcss.com/docs/flex\n       */\n      flex: [{\n        flex: [\"1\", \"auto\", \"initial\", \"none\", isArbitraryValue]\n      }],\n      /**\n       * Flex Grow\n       * @see https://tailwindcss.com/docs/flex-grow\n       */\n      grow: [{\n        grow: getZeroAndEmpty()\n      }],\n      /**\n       * Flex Shrink\n       * @see https://tailwindcss.com/docs/flex-shrink\n       */\n      shrink: [{\n        shrink: getZeroAndEmpty()\n      }],\n      /**\n       * Order\n       * @see https://tailwindcss.com/docs/order\n       */\n      order: [{\n        order: [\"first\", \"last\", \"none\", isInteger, isArbitraryValue]\n      }],\n      /**\n       * Grid Template Columns\n       * @see https://tailwindcss.com/docs/grid-template-columns\n       */\n      \"grid-cols\": [{\n        \"grid-cols\": [isAny]\n      }],\n      /**\n       * Grid Column Start / End\n       * @see https://tailwindcss.com/docs/grid-column\n       */\n      \"col-start-end\": [{\n        col: [\"auto\", {\n          span: [\"full\", isInteger, isArbitraryValue]\n        }, isArbitraryValue]\n      }],\n      /**\n       * Grid Column Start\n       * @see https://tailwindcss.com/docs/grid-column\n       */\n      \"col-start\": [{\n        \"col-start\": getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Column End\n       * @see https://tailwindcss.com/docs/grid-column\n       */\n      \"col-end\": [{\n        \"col-end\": getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Template Rows\n       * @see https://tailwindcss.com/docs/grid-template-rows\n       */\n      \"grid-rows\": [{\n        \"grid-rows\": [isAny]\n      }],\n      /**\n       * Grid Row Start / End\n       * @see https://tailwindcss.com/docs/grid-row\n       */\n      \"row-start-end\": [{\n        row: [\"auto\", {\n          span: [isInteger, isArbitraryValue]\n        }, isArbitraryValue]\n      }],\n      /**\n       * Grid Row Start\n       * @see https://tailwindcss.com/docs/grid-row\n       */\n      \"row-start\": [{\n        \"row-start\": getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Row End\n       * @see https://tailwindcss.com/docs/grid-row\n       */\n      \"row-end\": [{\n        \"row-end\": getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Auto Flow\n       * @see https://tailwindcss.com/docs/grid-auto-flow\n       */\n      \"grid-flow\": [{\n        \"grid-flow\": [\"row\", \"col\", \"dense\", \"row-dense\", \"col-dense\"]\n      }],\n      /**\n       * Grid Auto Columns\n       * @see https://tailwindcss.com/docs/grid-auto-columns\n       */\n      \"auto-cols\": [{\n        \"auto-cols\": [\"auto\", \"min\", \"max\", \"fr\", isArbitraryValue]\n      }],\n      /**\n       * Grid Auto Rows\n       * @see https://tailwindcss.com/docs/grid-auto-rows\n       */\n      \"auto-rows\": [{\n        \"auto-rows\": [\"auto\", \"min\", \"max\", \"fr\", isArbitraryValue]\n      }],\n      /**\n       * Gap\n       * @see https://tailwindcss.com/docs/gap\n       */\n      gap: [{\n        gap: [gap]\n      }],\n      /**\n       * Gap X\n       * @see https://tailwindcss.com/docs/gap\n       */\n      \"gap-x\": [{\n        \"gap-x\": [gap]\n      }],\n      /**\n       * Gap Y\n       * @see https://tailwindcss.com/docs/gap\n       */\n      \"gap-y\": [{\n        \"gap-y\": [gap]\n      }],\n      /**\n       * Justify Content\n       * @see https://tailwindcss.com/docs/justify-content\n       */\n      \"justify-content\": [{\n        justify: [\"normal\", ...getAlign()]\n      }],\n      /**\n       * Justify Items\n       * @see https://tailwindcss.com/docs/justify-items\n       */\n      \"justify-items\": [{\n        \"justify-items\": [\"start\", \"end\", \"center\", \"stretch\"]\n      }],\n      /**\n       * Justify Self\n       * @see https://tailwindcss.com/docs/justify-self\n       */\n      \"justify-self\": [{\n        \"justify-self\": [\"auto\", \"start\", \"end\", \"center\", \"stretch\"]\n      }],\n      /**\n       * Align Content\n       * @see https://tailwindcss.com/docs/align-content\n       */\n      \"align-content\": [{\n        content: [\"normal\", ...getAlign(), \"baseline\"]\n      }],\n      /**\n       * Align Items\n       * @see https://tailwindcss.com/docs/align-items\n       */\n      \"align-items\": [{\n        items: [\"start\", \"end\", \"center\", \"baseline\", \"stretch\"]\n      }],\n      /**\n       * Align Self\n       * @see https://tailwindcss.com/docs/align-self\n       */\n      \"align-self\": [{\n        self: [\"auto\", \"start\", \"end\", \"center\", \"stretch\", \"baseline\"]\n      }],\n      /**\n       * Place Content\n       * @see https://tailwindcss.com/docs/place-content\n       */\n      \"place-content\": [{\n        \"place-content\": [...getAlign(), \"baseline\"]\n      }],\n      /**\n       * Place Items\n       * @see https://tailwindcss.com/docs/place-items\n       */\n      \"place-items\": [{\n        \"place-items\": [\"start\", \"end\", \"center\", \"baseline\", \"stretch\"]\n      }],\n      /**\n       * Place Self\n       * @see https://tailwindcss.com/docs/place-self\n       */\n      \"place-self\": [{\n        \"place-self\": [\"auto\", \"start\", \"end\", \"center\", \"stretch\"]\n      }],\n      // Spacing\n      /**\n       * Padding\n       * @see https://tailwindcss.com/docs/padding\n       */\n      p: [{\n        p: [padding]\n      }],\n      /**\n       * Padding X\n       * @see https://tailwindcss.com/docs/padding\n       */\n      px: [{\n        px: [padding]\n      }],\n      /**\n       * Padding Y\n       * @see https://tailwindcss.com/docs/padding\n       */\n      py: [{\n        py: [padding]\n      }],\n      /**\n       * Padding Start\n       * @see https://tailwindcss.com/docs/padding\n       */\n      ps: [{\n        ps: [padding]\n      }],\n      /**\n       * Padding End\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pe: [{\n        pe: [padding]\n      }],\n      /**\n       * Padding Top\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pt: [{\n        pt: [padding]\n      }],\n      /**\n       * Padding Right\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pr: [{\n        pr: [padding]\n      }],\n      /**\n       * Padding Bottom\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pb: [{\n        pb: [padding]\n      }],\n      /**\n       * Padding Left\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pl: [{\n        pl: [padding]\n      }],\n      /**\n       * Margin\n       * @see https://tailwindcss.com/docs/margin\n       */\n      m: [{\n        m: [margin]\n      }],\n      /**\n       * Margin X\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mx: [{\n        mx: [margin]\n      }],\n      /**\n       * Margin Y\n       * @see https://tailwindcss.com/docs/margin\n       */\n      my: [{\n        my: [margin]\n      }],\n      /**\n       * Margin Start\n       * @see https://tailwindcss.com/docs/margin\n       */\n      ms: [{\n        ms: [margin]\n      }],\n      /**\n       * Margin End\n       * @see https://tailwindcss.com/docs/margin\n       */\n      me: [{\n        me: [margin]\n      }],\n      /**\n       * Margin Top\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mt: [{\n        mt: [margin]\n      }],\n      /**\n       * Margin Right\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mr: [{\n        mr: [margin]\n      }],\n      /**\n       * Margin Bottom\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mb: [{\n        mb: [margin]\n      }],\n      /**\n       * Margin Left\n       * @see https://tailwindcss.com/docs/margin\n       */\n      ml: [{\n        ml: [margin]\n      }],\n      /**\n       * Space Between X\n       * @see https://tailwindcss.com/docs/space\n       */\n      \"space-x\": [{\n        \"space-x\": [space]\n      }],\n      /**\n       * Space Between X Reverse\n       * @see https://tailwindcss.com/docs/space\n       */\n      \"space-x-reverse\": [\"space-x-reverse\"],\n      /**\n       * Space Between Y\n       * @see https://tailwindcss.com/docs/space\n       */\n      \"space-y\": [{\n        \"space-y\": [space]\n      }],\n      /**\n       * Space Between Y Reverse\n       * @see https://tailwindcss.com/docs/space\n       */\n      \"space-y-reverse\": [\"space-y-reverse\"],\n      // Sizing\n      /**\n       * Width\n       * @see https://tailwindcss.com/docs/width\n       */\n      w: [{\n        w: [\"auto\", \"min\", \"max\", \"fit\", \"svw\", \"lvw\", \"dvw\", isArbitraryValue, spacing]\n      }],\n      /**\n       * Min-Width\n       * @see https://tailwindcss.com/docs/min-width\n       */\n      \"min-w\": [{\n        \"min-w\": [isArbitraryValue, spacing, \"min\", \"max\", \"fit\"]\n      }],\n      /**\n       * Max-Width\n       * @see https://tailwindcss.com/docs/max-width\n       */\n      \"max-w\": [{\n        \"max-w\": [isArbitraryValue, spacing, \"none\", \"full\", \"min\", \"max\", \"fit\", \"prose\", {\n          screen: [isTshirtSize]\n        }, isTshirtSize]\n      }],\n      /**\n       * Height\n       * @see https://tailwindcss.com/docs/height\n       */\n      h: [{\n        h: [isArbitraryValue, spacing, \"auto\", \"min\", \"max\", \"fit\", \"svh\", \"lvh\", \"dvh\"]\n      }],\n      /**\n       * Min-Height\n       * @see https://tailwindcss.com/docs/min-height\n       */\n      \"min-h\": [{\n        \"min-h\": [isArbitraryValue, spacing, \"min\", \"max\", \"fit\", \"svh\", \"lvh\", \"dvh\"]\n      }],\n      /**\n       * Max-Height\n       * @see https://tailwindcss.com/docs/max-height\n       */\n      \"max-h\": [{\n        \"max-h\": [isArbitraryValue, spacing, \"min\", \"max\", \"fit\", \"svh\", \"lvh\", \"dvh\"]\n      }],\n      /**\n       * Size\n       * @see https://tailwindcss.com/docs/size\n       */\n      size: [{\n        size: [isArbitraryValue, spacing, \"auto\", \"min\", \"max\", \"fit\"]\n      }],\n      // Typography\n      /**\n       * Font Size\n       * @see https://tailwindcss.com/docs/font-size\n       */\n      \"font-size\": [{\n        text: [\"base\", isTshirtSize, isArbitraryLength]\n      }],\n      /**\n       * Font Smoothing\n       * @see https://tailwindcss.com/docs/font-smoothing\n       */\n      \"font-smoothing\": [\"antialiased\", \"subpixel-antialiased\"],\n      /**\n       * Font Style\n       * @see https://tailwindcss.com/docs/font-style\n       */\n      \"font-style\": [\"italic\", \"not-italic\"],\n      /**\n       * Font Weight\n       * @see https://tailwindcss.com/docs/font-weight\n       */\n      \"font-weight\": [{\n        font: [\"thin\", \"extralight\", \"light\", \"normal\", \"medium\", \"semibold\", \"bold\", \"extrabold\", \"black\", isArbitraryNumber]\n      }],\n      /**\n       * Font Family\n       * @see https://tailwindcss.com/docs/font-family\n       */\n      \"font-family\": [{\n        font: [isAny]\n      }],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-normal\": [\"normal-nums\"],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-ordinal\": [\"ordinal\"],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-slashed-zero\": [\"slashed-zero\"],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-figure\": [\"lining-nums\", \"oldstyle-nums\"],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-spacing\": [\"proportional-nums\", \"tabular-nums\"],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-fraction\": [\"diagonal-fractions\", \"stacked-fractions\"],\n      /**\n       * Letter Spacing\n       * @see https://tailwindcss.com/docs/letter-spacing\n       */\n      tracking: [{\n        tracking: [\"tighter\", \"tight\", \"normal\", \"wide\", \"wider\", \"widest\", isArbitraryValue]\n      }],\n      /**\n       * Line Clamp\n       * @see https://tailwindcss.com/docs/line-clamp\n       */\n      \"line-clamp\": [{\n        \"line-clamp\": [\"none\", isNumber, isArbitraryNumber]\n      }],\n      /**\n       * Line Height\n       * @see https://tailwindcss.com/docs/line-height\n       */\n      leading: [{\n        leading: [\"none\", \"tight\", \"snug\", \"normal\", \"relaxed\", \"loose\", isLength, isArbitraryValue]\n      }],\n      /**\n       * List Style Image\n       * @see https://tailwindcss.com/docs/list-style-image\n       */\n      \"list-image\": [{\n        \"list-image\": [\"none\", isArbitraryValue]\n      }],\n      /**\n       * List Style Type\n       * @see https://tailwindcss.com/docs/list-style-type\n       */\n      \"list-style-type\": [{\n        list: [\"none\", \"disc\", \"decimal\", isArbitraryValue]\n      }],\n      /**\n       * List Style Position\n       * @see https://tailwindcss.com/docs/list-style-position\n       */\n      \"list-style-position\": [{\n        list: [\"inside\", \"outside\"]\n      }],\n      /**\n       * Placeholder Color\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/placeholder-color\n       */\n      \"placeholder-color\": [{\n        placeholder: [colors]\n      }],\n      /**\n       * Placeholder Opacity\n       * @see https://tailwindcss.com/docs/placeholder-opacity\n       */\n      \"placeholder-opacity\": [{\n        \"placeholder-opacity\": [opacity]\n      }],\n      /**\n       * Text Alignment\n       * @see https://tailwindcss.com/docs/text-align\n       */\n      \"text-alignment\": [{\n        text: [\"left\", \"center\", \"right\", \"justify\", \"start\", \"end\"]\n      }],\n      /**\n       * Text Color\n       * @see https://tailwindcss.com/docs/text-color\n       */\n      \"text-color\": [{\n        text: [colors]\n      }],\n      /**\n       * Text Opacity\n       * @see https://tailwindcss.com/docs/text-opacity\n       */\n      \"text-opacity\": [{\n        \"text-opacity\": [opacity]\n      }],\n      /**\n       * Text Decoration\n       * @see https://tailwindcss.com/docs/text-decoration\n       */\n      \"text-decoration\": [\"underline\", \"overline\", \"line-through\", \"no-underline\"],\n      /**\n       * Text Decoration Style\n       * @see https://tailwindcss.com/docs/text-decoration-style\n       */\n      \"text-decoration-style\": [{\n        decoration: [...getLineStyles(), \"wavy\"]\n      }],\n      /**\n       * Text Decoration Thickness\n       * @see https://tailwindcss.com/docs/text-decoration-thickness\n       */\n      \"text-decoration-thickness\": [{\n        decoration: [\"auto\", \"from-font\", isLength, isArbitraryLength]\n      }],\n      /**\n       * Text Underline Offset\n       * @see https://tailwindcss.com/docs/text-underline-offset\n       */\n      \"underline-offset\": [{\n        \"underline-offset\": [\"auto\", isLength, isArbitraryValue]\n      }],\n      /**\n       * Text Decoration Color\n       * @see https://tailwindcss.com/docs/text-decoration-color\n       */\n      \"text-decoration-color\": [{\n        decoration: [colors]\n      }],\n      /**\n       * Text Transform\n       * @see https://tailwindcss.com/docs/text-transform\n       */\n      \"text-transform\": [\"uppercase\", \"lowercase\", \"capitalize\", \"normal-case\"],\n      /**\n       * Text Overflow\n       * @see https://tailwindcss.com/docs/text-overflow\n       */\n      \"text-overflow\": [\"truncate\", \"text-ellipsis\", \"text-clip\"],\n      /**\n       * Text Wrap\n       * @see https://tailwindcss.com/docs/text-wrap\n       */\n      \"text-wrap\": [{\n        text: [\"wrap\", \"nowrap\", \"balance\", \"pretty\"]\n      }],\n      /**\n       * Text Indent\n       * @see https://tailwindcss.com/docs/text-indent\n       */\n      indent: [{\n        indent: getSpacingWithArbitrary()\n      }],\n      /**\n       * Vertical Alignment\n       * @see https://tailwindcss.com/docs/vertical-align\n       */\n      \"vertical-align\": [{\n        align: [\"baseline\", \"top\", \"middle\", \"bottom\", \"text-top\", \"text-bottom\", \"sub\", \"super\", isArbitraryValue]\n      }],\n      /**\n       * Whitespace\n       * @see https://tailwindcss.com/docs/whitespace\n       */\n      whitespace: [{\n        whitespace: [\"normal\", \"nowrap\", \"pre\", \"pre-line\", \"pre-wrap\", \"break-spaces\"]\n      }],\n      /**\n       * Word Break\n       * @see https://tailwindcss.com/docs/word-break\n       */\n      break: [{\n        break: [\"normal\", \"words\", \"all\", \"keep\"]\n      }],\n      /**\n       * Hyphens\n       * @see https://tailwindcss.com/docs/hyphens\n       */\n      hyphens: [{\n        hyphens: [\"none\", \"manual\", \"auto\"]\n      }],\n      /**\n       * Content\n       * @see https://tailwindcss.com/docs/content\n       */\n      content: [{\n        content: [\"none\", isArbitraryValue]\n      }],\n      // Backgrounds\n      /**\n       * Background Attachment\n       * @see https://tailwindcss.com/docs/background-attachment\n       */\n      \"bg-attachment\": [{\n        bg: [\"fixed\", \"local\", \"scroll\"]\n      }],\n      /**\n       * Background Clip\n       * @see https://tailwindcss.com/docs/background-clip\n       */\n      \"bg-clip\": [{\n        \"bg-clip\": [\"border\", \"padding\", \"content\", \"text\"]\n      }],\n      /**\n       * Background Opacity\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/background-opacity\n       */\n      \"bg-opacity\": [{\n        \"bg-opacity\": [opacity]\n      }],\n      /**\n       * Background Origin\n       * @see https://tailwindcss.com/docs/background-origin\n       */\n      \"bg-origin\": [{\n        \"bg-origin\": [\"border\", \"padding\", \"content\"]\n      }],\n      /**\n       * Background Position\n       * @see https://tailwindcss.com/docs/background-position\n       */\n      \"bg-position\": [{\n        bg: [...getPositions(), isArbitraryPosition]\n      }],\n      /**\n       * Background Repeat\n       * @see https://tailwindcss.com/docs/background-repeat\n       */\n      \"bg-repeat\": [{\n        bg: [\"no-repeat\", {\n          repeat: [\"\", \"x\", \"y\", \"round\", \"space\"]\n        }]\n      }],\n      /**\n       * Background Size\n       * @see https://tailwindcss.com/docs/background-size\n       */\n      \"bg-size\": [{\n        bg: [\"auto\", \"cover\", \"contain\", isArbitrarySize]\n      }],\n      /**\n       * Background Image\n       * @see https://tailwindcss.com/docs/background-image\n       */\n      \"bg-image\": [{\n        bg: [\"none\", {\n          \"gradient-to\": [\"t\", \"tr\", \"r\", \"br\", \"b\", \"bl\", \"l\", \"tl\"]\n        }, isArbitraryImage]\n      }],\n      /**\n       * Background Color\n       * @see https://tailwindcss.com/docs/background-color\n       */\n      \"bg-color\": [{\n        bg: [colors]\n      }],\n      /**\n       * Gradient Color Stops From Position\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-from-pos\": [{\n        from: [gradientColorStopPositions]\n      }],\n      /**\n       * Gradient Color Stops Via Position\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-via-pos\": [{\n        via: [gradientColorStopPositions]\n      }],\n      /**\n       * Gradient Color Stops To Position\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-to-pos\": [{\n        to: [gradientColorStopPositions]\n      }],\n      /**\n       * Gradient Color Stops From\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-from\": [{\n        from: [gradientColorStops]\n      }],\n      /**\n       * Gradient Color Stops Via\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-via\": [{\n        via: [gradientColorStops]\n      }],\n      /**\n       * Gradient Color Stops To\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-to\": [{\n        to: [gradientColorStops]\n      }],\n      // Borders\n      /**\n       * Border Radius\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      rounded: [{\n        rounded: [borderRadius]\n      }],\n      /**\n       * Border Radius Start\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-s\": [{\n        \"rounded-s\": [borderRadius]\n      }],\n      /**\n       * Border Radius End\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-e\": [{\n        \"rounded-e\": [borderRadius]\n      }],\n      /**\n       * Border Radius Top\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-t\": [{\n        \"rounded-t\": [borderRadius]\n      }],\n      /**\n       * Border Radius Right\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-r\": [{\n        \"rounded-r\": [borderRadius]\n      }],\n      /**\n       * Border Radius Bottom\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-b\": [{\n        \"rounded-b\": [borderRadius]\n      }],\n      /**\n       * Border Radius Left\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-l\": [{\n        \"rounded-l\": [borderRadius]\n      }],\n      /**\n       * Border Radius Start Start\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-ss\": [{\n        \"rounded-ss\": [borderRadius]\n      }],\n      /**\n       * Border Radius Start End\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-se\": [{\n        \"rounded-se\": [borderRadius]\n      }],\n      /**\n       * Border Radius End End\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-ee\": [{\n        \"rounded-ee\": [borderRadius]\n      }],\n      /**\n       * Border Radius End Start\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-es\": [{\n        \"rounded-es\": [borderRadius]\n      }],\n      /**\n       * Border Radius Top Left\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-tl\": [{\n        \"rounded-tl\": [borderRadius]\n      }],\n      /**\n       * Border Radius Top Right\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-tr\": [{\n        \"rounded-tr\": [borderRadius]\n      }],\n      /**\n       * Border Radius Bottom Right\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-br\": [{\n        \"rounded-br\": [borderRadius]\n      }],\n      /**\n       * Border Radius Bottom Left\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-bl\": [{\n        \"rounded-bl\": [borderRadius]\n      }],\n      /**\n       * Border Width\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w\": [{\n        border: [borderWidth]\n      }],\n      /**\n       * Border Width X\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-x\": [{\n        \"border-x\": [borderWidth]\n      }],\n      /**\n       * Border Width Y\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-y\": [{\n        \"border-y\": [borderWidth]\n      }],\n      /**\n       * Border Width Start\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-s\": [{\n        \"border-s\": [borderWidth]\n      }],\n      /**\n       * Border Width End\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-e\": [{\n        \"border-e\": [borderWidth]\n      }],\n      /**\n       * Border Width Top\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-t\": [{\n        \"border-t\": [borderWidth]\n      }],\n      /**\n       * Border Width Right\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-r\": [{\n        \"border-r\": [borderWidth]\n      }],\n      /**\n       * Border Width Bottom\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-b\": [{\n        \"border-b\": [borderWidth]\n      }],\n      /**\n       * Border Width Left\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-l\": [{\n        \"border-l\": [borderWidth]\n      }],\n      /**\n       * Border Opacity\n       * @see https://tailwindcss.com/docs/border-opacity\n       */\n      \"border-opacity\": [{\n        \"border-opacity\": [opacity]\n      }],\n      /**\n       * Border Style\n       * @see https://tailwindcss.com/docs/border-style\n       */\n      \"border-style\": [{\n        border: [...getLineStyles(), \"hidden\"]\n      }],\n      /**\n       * Divide Width X\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      \"divide-x\": [{\n        \"divide-x\": [borderWidth]\n      }],\n      /**\n       * Divide Width X Reverse\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      \"divide-x-reverse\": [\"divide-x-reverse\"],\n      /**\n       * Divide Width Y\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      \"divide-y\": [{\n        \"divide-y\": [borderWidth]\n      }],\n      /**\n       * Divide Width Y Reverse\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      \"divide-y-reverse\": [\"divide-y-reverse\"],\n      /**\n       * Divide Opacity\n       * @see https://tailwindcss.com/docs/divide-opacity\n       */\n      \"divide-opacity\": [{\n        \"divide-opacity\": [opacity]\n      }],\n      /**\n       * Divide Style\n       * @see https://tailwindcss.com/docs/divide-style\n       */\n      \"divide-style\": [{\n        divide: getLineStyles()\n      }],\n      /**\n       * Border Color\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color\": [{\n        border: [borderColor]\n      }],\n      /**\n       * Border Color X\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-x\": [{\n        \"border-x\": [borderColor]\n      }],\n      /**\n       * Border Color Y\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-y\": [{\n        \"border-y\": [borderColor]\n      }],\n      /**\n       * Border Color S\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-s\": [{\n        \"border-s\": [borderColor]\n      }],\n      /**\n       * Border Color E\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-e\": [{\n        \"border-e\": [borderColor]\n      }],\n      /**\n       * Border Color Top\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-t\": [{\n        \"border-t\": [borderColor]\n      }],\n      /**\n       * Border Color Right\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-r\": [{\n        \"border-r\": [borderColor]\n      }],\n      /**\n       * Border Color Bottom\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-b\": [{\n        \"border-b\": [borderColor]\n      }],\n      /**\n       * Border Color Left\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-l\": [{\n        \"border-l\": [borderColor]\n      }],\n      /**\n       * Divide Color\n       * @see https://tailwindcss.com/docs/divide-color\n       */\n      \"divide-color\": [{\n        divide: [borderColor]\n      }],\n      /**\n       * Outline Style\n       * @see https://tailwindcss.com/docs/outline-style\n       */\n      \"outline-style\": [{\n        outline: [\"\", ...getLineStyles()]\n      }],\n      /**\n       * Outline Offset\n       * @see https://tailwindcss.com/docs/outline-offset\n       */\n      \"outline-offset\": [{\n        \"outline-offset\": [isLength, isArbitraryValue]\n      }],\n      /**\n       * Outline Width\n       * @see https://tailwindcss.com/docs/outline-width\n       */\n      \"outline-w\": [{\n        outline: [isLength, isArbitraryLength]\n      }],\n      /**\n       * Outline Color\n       * @see https://tailwindcss.com/docs/outline-color\n       */\n      \"outline-color\": [{\n        outline: [colors]\n      }],\n      /**\n       * Ring Width\n       * @see https://tailwindcss.com/docs/ring-width\n       */\n      \"ring-w\": [{\n        ring: getLengthWithEmptyAndArbitrary()\n      }],\n      /**\n       * Ring Width Inset\n       * @see https://tailwindcss.com/docs/ring-width\n       */\n      \"ring-w-inset\": [\"ring-inset\"],\n      /**\n       * Ring Color\n       * @see https://tailwindcss.com/docs/ring-color\n       */\n      \"ring-color\": [{\n        ring: [colors]\n      }],\n      /**\n       * Ring Opacity\n       * @see https://tailwindcss.com/docs/ring-opacity\n       */\n      \"ring-opacity\": [{\n        \"ring-opacity\": [opacity]\n      }],\n      /**\n       * Ring Offset Width\n       * @see https://tailwindcss.com/docs/ring-offset-width\n       */\n      \"ring-offset-w\": [{\n        \"ring-offset\": [isLength, isArbitraryLength]\n      }],\n      /**\n       * Ring Offset Color\n       * @see https://tailwindcss.com/docs/ring-offset-color\n       */\n      \"ring-offset-color\": [{\n        \"ring-offset\": [colors]\n      }],\n      // Effects\n      /**\n       * Box Shadow\n       * @see https://tailwindcss.com/docs/box-shadow\n       */\n      shadow: [{\n        shadow: [\"\", \"inner\", \"none\", isTshirtSize, isArbitraryShadow]\n      }],\n      /**\n       * Box Shadow Color\n       * @see https://tailwindcss.com/docs/box-shadow-color\n       */\n      \"shadow-color\": [{\n        shadow: [isAny]\n      }],\n      /**\n       * Opacity\n       * @see https://tailwindcss.com/docs/opacity\n       */\n      opacity: [{\n        opacity: [opacity]\n      }],\n      /**\n       * Mix Blend Mode\n       * @see https://tailwindcss.com/docs/mix-blend-mode\n       */\n      \"mix-blend\": [{\n        \"mix-blend\": [...getBlendModes(), \"plus-lighter\", \"plus-darker\"]\n      }],\n      /**\n       * Background Blend Mode\n       * @see https://tailwindcss.com/docs/background-blend-mode\n       */\n      \"bg-blend\": [{\n        \"bg-blend\": getBlendModes()\n      }],\n      // Filters\n      /**\n       * Filter\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/filter\n       */\n      filter: [{\n        filter: [\"\", \"none\"]\n      }],\n      /**\n       * Blur\n       * @see https://tailwindcss.com/docs/blur\n       */\n      blur: [{\n        blur: [blur]\n      }],\n      /**\n       * Brightness\n       * @see https://tailwindcss.com/docs/brightness\n       */\n      brightness: [{\n        brightness: [brightness]\n      }],\n      /**\n       * Contrast\n       * @see https://tailwindcss.com/docs/contrast\n       */\n      contrast: [{\n        contrast: [contrast]\n      }],\n      /**\n       * Drop Shadow\n       * @see https://tailwindcss.com/docs/drop-shadow\n       */\n      \"drop-shadow\": [{\n        \"drop-shadow\": [\"\", \"none\", isTshirtSize, isArbitraryValue]\n      }],\n      /**\n       * Grayscale\n       * @see https://tailwindcss.com/docs/grayscale\n       */\n      grayscale: [{\n        grayscale: [grayscale]\n      }],\n      /**\n       * Hue Rotate\n       * @see https://tailwindcss.com/docs/hue-rotate\n       */\n      \"hue-rotate\": [{\n        \"hue-rotate\": [hueRotate]\n      }],\n      /**\n       * Invert\n       * @see https://tailwindcss.com/docs/invert\n       */\n      invert: [{\n        invert: [invert]\n      }],\n      /**\n       * Saturate\n       * @see https://tailwindcss.com/docs/saturate\n       */\n      saturate: [{\n        saturate: [saturate]\n      }],\n      /**\n       * Sepia\n       * @see https://tailwindcss.com/docs/sepia\n       */\n      sepia: [{\n        sepia: [sepia]\n      }],\n      /**\n       * Backdrop Filter\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/backdrop-filter\n       */\n      \"backdrop-filter\": [{\n        \"backdrop-filter\": [\"\", \"none\"]\n      }],\n      /**\n       * Backdrop Blur\n       * @see https://tailwindcss.com/docs/backdrop-blur\n       */\n      \"backdrop-blur\": [{\n        \"backdrop-blur\": [blur]\n      }],\n      /**\n       * Backdrop Brightness\n       * @see https://tailwindcss.com/docs/backdrop-brightness\n       */\n      \"backdrop-brightness\": [{\n        \"backdrop-brightness\": [brightness]\n      }],\n      /**\n       * Backdrop Contrast\n       * @see https://tailwindcss.com/docs/backdrop-contrast\n       */\n      \"backdrop-contrast\": [{\n        \"backdrop-contrast\": [contrast]\n      }],\n      /**\n       * Backdrop Grayscale\n       * @see https://tailwindcss.com/docs/backdrop-grayscale\n       */\n      \"backdrop-grayscale\": [{\n        \"backdrop-grayscale\": [grayscale]\n      }],\n      /**\n       * Backdrop Hue Rotate\n       * @see https://tailwindcss.com/docs/backdrop-hue-rotate\n       */\n      \"backdrop-hue-rotate\": [{\n        \"backdrop-hue-rotate\": [hueRotate]\n      }],\n      /**\n       * Backdrop Invert\n       * @see https://tailwindcss.com/docs/backdrop-invert\n       */\n      \"backdrop-invert\": [{\n        \"backdrop-invert\": [invert]\n      }],\n      /**\n       * Backdrop Opacity\n       * @see https://tailwindcss.com/docs/backdrop-opacity\n       */\n      \"backdrop-opacity\": [{\n        \"backdrop-opacity\": [opacity]\n      }],\n      /**\n       * Backdrop Saturate\n       * @see https://tailwindcss.com/docs/backdrop-saturate\n       */\n      \"backdrop-saturate\": [{\n        \"backdrop-saturate\": [saturate]\n      }],\n      /**\n       * Backdrop Sepia\n       * @see https://tailwindcss.com/docs/backdrop-sepia\n       */\n      \"backdrop-sepia\": [{\n        \"backdrop-sepia\": [sepia]\n      }],\n      // Tables\n      /**\n       * Border Collapse\n       * @see https://tailwindcss.com/docs/border-collapse\n       */\n      \"border-collapse\": [{\n        border: [\"collapse\", \"separate\"]\n      }],\n      /**\n       * Border Spacing\n       * @see https://tailwindcss.com/docs/border-spacing\n       */\n      \"border-spacing\": [{\n        \"border-spacing\": [borderSpacing]\n      }],\n      /**\n       * Border Spacing X\n       * @see https://tailwindcss.com/docs/border-spacing\n       */\n      \"border-spacing-x\": [{\n        \"border-spacing-x\": [borderSpacing]\n      }],\n      /**\n       * Border Spacing Y\n       * @see https://tailwindcss.com/docs/border-spacing\n       */\n      \"border-spacing-y\": [{\n        \"border-spacing-y\": [borderSpacing]\n      }],\n      /**\n       * Table Layout\n       * @see https://tailwindcss.com/docs/table-layout\n       */\n      \"table-layout\": [{\n        table: [\"auto\", \"fixed\"]\n      }],\n      /**\n       * Caption Side\n       * @see https://tailwindcss.com/docs/caption-side\n       */\n      caption: [{\n        caption: [\"top\", \"bottom\"]\n      }],\n      // Transitions and Animation\n      /**\n       * Tranisition Property\n       * @see https://tailwindcss.com/docs/transition-property\n       */\n      transition: [{\n        transition: [\"none\", \"all\", \"\", \"colors\", \"opacity\", \"shadow\", \"transform\", isArbitraryValue]\n      }],\n      /**\n       * Transition Duration\n       * @see https://tailwindcss.com/docs/transition-duration\n       */\n      duration: [{\n        duration: getNumberAndArbitrary()\n      }],\n      /**\n       * Transition Timing Function\n       * @see https://tailwindcss.com/docs/transition-timing-function\n       */\n      ease: [{\n        ease: [\"linear\", \"in\", \"out\", \"in-out\", isArbitraryValue]\n      }],\n      /**\n       * Transition Delay\n       * @see https://tailwindcss.com/docs/transition-delay\n       */\n      delay: [{\n        delay: getNumberAndArbitrary()\n      }],\n      /**\n       * Animation\n       * @see https://tailwindcss.com/docs/animation\n       */\n      animate: [{\n        animate: [\"none\", \"spin\", \"ping\", \"pulse\", \"bounce\", isArbitraryValue]\n      }],\n      // Transforms\n      /**\n       * Transform\n       * @see https://tailwindcss.com/docs/transform\n       */\n      transform: [{\n        transform: [\"\", \"gpu\", \"none\"]\n      }],\n      /**\n       * Scale\n       * @see https://tailwindcss.com/docs/scale\n       */\n      scale: [{\n        scale: [scale]\n      }],\n      /**\n       * Scale X\n       * @see https://tailwindcss.com/docs/scale\n       */\n      \"scale-x\": [{\n        \"scale-x\": [scale]\n      }],\n      /**\n       * Scale Y\n       * @see https://tailwindcss.com/docs/scale\n       */\n      \"scale-y\": [{\n        \"scale-y\": [scale]\n      }],\n      /**\n       * Rotate\n       * @see https://tailwindcss.com/docs/rotate\n       */\n      rotate: [{\n        rotate: [isInteger, isArbitraryValue]\n      }],\n      /**\n       * Translate X\n       * @see https://tailwindcss.com/docs/translate\n       */\n      \"translate-x\": [{\n        \"translate-x\": [translate]\n      }],\n      /**\n       * Translate Y\n       * @see https://tailwindcss.com/docs/translate\n       */\n      \"translate-y\": [{\n        \"translate-y\": [translate]\n      }],\n      /**\n       * Skew X\n       * @see https://tailwindcss.com/docs/skew\n       */\n      \"skew-x\": [{\n        \"skew-x\": [skew]\n      }],\n      /**\n       * Skew Y\n       * @see https://tailwindcss.com/docs/skew\n       */\n      \"skew-y\": [{\n        \"skew-y\": [skew]\n      }],\n      /**\n       * Transform Origin\n       * @see https://tailwindcss.com/docs/transform-origin\n       */\n      \"transform-origin\": [{\n        origin: [\"center\", \"top\", \"top-right\", \"right\", \"bottom-right\", \"bottom\", \"bottom-left\", \"left\", \"top-left\", isArbitraryValue]\n      }],\n      // Interactivity\n      /**\n       * Accent Color\n       * @see https://tailwindcss.com/docs/accent-color\n       */\n      accent: [{\n        accent: [\"auto\", colors]\n      }],\n      /**\n       * Appearance\n       * @see https://tailwindcss.com/docs/appearance\n       */\n      appearance: [{\n        appearance: [\"none\", \"auto\"]\n      }],\n      /**\n       * Cursor\n       * @see https://tailwindcss.com/docs/cursor\n       */\n      cursor: [{\n        cursor: [\"auto\", \"default\", \"pointer\", \"wait\", \"text\", \"move\", \"help\", \"not-allowed\", \"none\", \"context-menu\", \"progress\", \"cell\", \"crosshair\", \"vertical-text\", \"alias\", \"copy\", \"no-drop\", \"grab\", \"grabbing\", \"all-scroll\", \"col-resize\", \"row-resize\", \"n-resize\", \"e-resize\", \"s-resize\", \"w-resize\", \"ne-resize\", \"nw-resize\", \"se-resize\", \"sw-resize\", \"ew-resize\", \"ns-resize\", \"nesw-resize\", \"nwse-resize\", \"zoom-in\", \"zoom-out\", isArbitraryValue]\n      }],\n      /**\n       * Caret Color\n       * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities\n       */\n      \"caret-color\": [{\n        caret: [colors]\n      }],\n      /**\n       * Pointer Events\n       * @see https://tailwindcss.com/docs/pointer-events\n       */\n      \"pointer-events\": [{\n        \"pointer-events\": [\"none\", \"auto\"]\n      }],\n      /**\n       * Resize\n       * @see https://tailwindcss.com/docs/resize\n       */\n      resize: [{\n        resize: [\"none\", \"y\", \"x\", \"\"]\n      }],\n      /**\n       * Scroll Behavior\n       * @see https://tailwindcss.com/docs/scroll-behavior\n       */\n      \"scroll-behavior\": [{\n        scroll: [\"auto\", \"smooth\"]\n      }],\n      /**\n       * Scroll Margin\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-m\": [{\n        \"scroll-m\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin X\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-mx\": [{\n        \"scroll-mx\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Y\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-my\": [{\n        \"scroll-my\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Start\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-ms\": [{\n        \"scroll-ms\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin End\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-me\": [{\n        \"scroll-me\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Top\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-mt\": [{\n        \"scroll-mt\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Right\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-mr\": [{\n        \"scroll-mr\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Bottom\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-mb\": [{\n        \"scroll-mb\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Left\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-ml\": [{\n        \"scroll-ml\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-p\": [{\n        \"scroll-p\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding X\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-px\": [{\n        \"scroll-px\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Y\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-py\": [{\n        \"scroll-py\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Start\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-ps\": [{\n        \"scroll-ps\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding End\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-pe\": [{\n        \"scroll-pe\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Top\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-pt\": [{\n        \"scroll-pt\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Right\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-pr\": [{\n        \"scroll-pr\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Bottom\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-pb\": [{\n        \"scroll-pb\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Left\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-pl\": [{\n        \"scroll-pl\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Snap Align\n       * @see https://tailwindcss.com/docs/scroll-snap-align\n       */\n      \"snap-align\": [{\n        snap: [\"start\", \"end\", \"center\", \"align-none\"]\n      }],\n      /**\n       * Scroll Snap Stop\n       * @see https://tailwindcss.com/docs/scroll-snap-stop\n       */\n      \"snap-stop\": [{\n        snap: [\"normal\", \"always\"]\n      }],\n      /**\n       * Scroll Snap Type\n       * @see https://tailwindcss.com/docs/scroll-snap-type\n       */\n      \"snap-type\": [{\n        snap: [\"none\", \"x\", \"y\", \"both\"]\n      }],\n      /**\n       * Scroll Snap Type Strictness\n       * @see https://tailwindcss.com/docs/scroll-snap-type\n       */\n      \"snap-strictness\": [{\n        snap: [\"mandatory\", \"proximity\"]\n      }],\n      /**\n       * Touch Action\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      touch: [{\n        touch: [\"auto\", \"none\", \"manipulation\"]\n      }],\n      /**\n       * Touch Action X\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      \"touch-x\": [{\n        \"touch-pan\": [\"x\", \"left\", \"right\"]\n      }],\n      /**\n       * Touch Action Y\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      \"touch-y\": [{\n        \"touch-pan\": [\"y\", \"up\", \"down\"]\n      }],\n      /**\n       * Touch Action Pinch Zoom\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      \"touch-pz\": [\"touch-pinch-zoom\"],\n      /**\n       * User Select\n       * @see https://tailwindcss.com/docs/user-select\n       */\n      select: [{\n        select: [\"none\", \"text\", \"all\", \"auto\"]\n      }],\n      /**\n       * Will Change\n       * @see https://tailwindcss.com/docs/will-change\n       */\n      \"will-change\": [{\n        \"will-change\": [\"auto\", \"scroll\", \"contents\", \"transform\", isArbitraryValue]\n      }],\n      // SVG\n      /**\n       * Fill\n       * @see https://tailwindcss.com/docs/fill\n       */\n      fill: [{\n        fill: [colors, \"none\"]\n      }],\n      /**\n       * Stroke Width\n       * @see https://tailwindcss.com/docs/stroke-width\n       */\n      \"stroke-w\": [{\n        stroke: [isLength, isArbitraryLength, isArbitraryNumber]\n      }],\n      /**\n       * Stroke\n       * @see https://tailwindcss.com/docs/stroke\n       */\n      stroke: [{\n        stroke: [colors, \"none\"]\n      }],\n      // Accessibility\n      /**\n       * Screen Readers\n       * @see https://tailwindcss.com/docs/screen-readers\n       */\n      sr: [\"sr-only\", \"not-sr-only\"],\n      /**\n       * Forced Color Adjust\n       * @see https://tailwindcss.com/docs/forced-color-adjust\n       */\n      \"forced-color-adjust\": [{\n        \"forced-color-adjust\": [\"auto\", \"none\"]\n      }]\n    },\n    conflictingClassGroups: {\n      overflow: [\"overflow-x\", \"overflow-y\"],\n      overscroll: [\"overscroll-x\", \"overscroll-y\"],\n      inset: [\"inset-x\", \"inset-y\", \"start\", \"end\", \"top\", \"right\", \"bottom\", \"left\"],\n      \"inset-x\": [\"right\", \"left\"],\n      \"inset-y\": [\"top\", \"bottom\"],\n      flex: [\"basis\", \"grow\", \"shrink\"],\n      gap: [\"gap-x\", \"gap-y\"],\n      p: [\"px\", \"py\", \"ps\", \"pe\", \"pt\", \"pr\", \"pb\", \"pl\"],\n      px: [\"pr\", \"pl\"],\n      py: [\"pt\", \"pb\"],\n      m: [\"mx\", \"my\", \"ms\", \"me\", \"mt\", \"mr\", \"mb\", \"ml\"],\n      mx: [\"mr\", \"ml\"],\n      my: [\"mt\", \"mb\"],\n      size: [\"w\", \"h\"],\n      \"font-size\": [\"leading\"],\n      \"fvn-normal\": [\"fvn-ordinal\", \"fvn-slashed-zero\", \"fvn-figure\", \"fvn-spacing\", \"fvn-fraction\"],\n      \"fvn-ordinal\": [\"fvn-normal\"],\n      \"fvn-slashed-zero\": [\"fvn-normal\"],\n      \"fvn-figure\": [\"fvn-normal\"],\n      \"fvn-spacing\": [\"fvn-normal\"],\n      \"fvn-fraction\": [\"fvn-normal\"],\n      \"line-clamp\": [\"display\", \"overflow\"],\n      rounded: [\"rounded-s\", \"rounded-e\", \"rounded-t\", \"rounded-r\", \"rounded-b\", \"rounded-l\", \"rounded-ss\", \"rounded-se\", \"rounded-ee\", \"rounded-es\", \"rounded-tl\", \"rounded-tr\", \"rounded-br\", \"rounded-bl\"],\n      \"rounded-s\": [\"rounded-ss\", \"rounded-es\"],\n      \"rounded-e\": [\"rounded-se\", \"rounded-ee\"],\n      \"rounded-t\": [\"rounded-tl\", \"rounded-tr\"],\n      \"rounded-r\": [\"rounded-tr\", \"rounded-br\"],\n      \"rounded-b\": [\"rounded-br\", \"rounded-bl\"],\n      \"rounded-l\": [\"rounded-tl\", \"rounded-bl\"],\n      \"border-spacing\": [\"border-spacing-x\", \"border-spacing-y\"],\n      \"border-w\": [\"border-w-s\", \"border-w-e\", \"border-w-t\", \"border-w-r\", \"border-w-b\", \"border-w-l\"],\n      \"border-w-x\": [\"border-w-r\", \"border-w-l\"],\n      \"border-w-y\": [\"border-w-t\", \"border-w-b\"],\n      \"border-color\": [\"border-color-s\", \"border-color-e\", \"border-color-t\", \"border-color-r\", \"border-color-b\", \"border-color-l\"],\n      \"border-color-x\": [\"border-color-r\", \"border-color-l\"],\n      \"border-color-y\": [\"border-color-t\", \"border-color-b\"],\n      \"scroll-m\": [\"scroll-mx\", \"scroll-my\", \"scroll-ms\", \"scroll-me\", \"scroll-mt\", \"scroll-mr\", \"scroll-mb\", \"scroll-ml\"],\n      \"scroll-mx\": [\"scroll-mr\", \"scroll-ml\"],\n      \"scroll-my\": [\"scroll-mt\", \"scroll-mb\"],\n      \"scroll-p\": [\"scroll-px\", \"scroll-py\", \"scroll-ps\", \"scroll-pe\", \"scroll-pt\", \"scroll-pr\", \"scroll-pb\", \"scroll-pl\"],\n      \"scroll-px\": [\"scroll-pr\", \"scroll-pl\"],\n      \"scroll-py\": [\"scroll-pt\", \"scroll-pb\"],\n      touch: [\"touch-x\", \"touch-y\", \"touch-pz\"],\n      \"touch-x\": [\"touch\"],\n      \"touch-y\": [\"touch\"],\n      \"touch-pz\": [\"touch\"]\n    },\n    conflictingClassGroupModifiers: {\n      \"font-size\": [\"leading\"]\n    }\n  };\n};\nconst mergeConfigs = (baseConfig, {\n  cacheSize,\n  prefix,\n  separator,\n  experimentalParseClassName,\n  extend = {},\n  override = {}\n}) => {\n  overrideProperty(baseConfig, \"cacheSize\", cacheSize);\n  overrideProperty(baseConfig, \"prefix\", prefix);\n  overrideProperty(baseConfig, \"separator\", separator);\n  overrideProperty(baseConfig, \"experimentalParseClassName\", experimentalParseClassName);\n  for (const configKey in override) {\n    overrideConfigProperties(baseConfig[configKey], override[configKey]);\n  }\n  for (const key in extend) {\n    mergeConfigProperties(baseConfig[key], extend[key]);\n  }\n  return baseConfig;\n};\nconst overrideProperty = (baseObject, overrideKey, overrideValue) => {\n  if (overrideValue !== void 0) {\n    baseObject[overrideKey] = overrideValue;\n  }\n};\nconst overrideConfigProperties = (baseObject, overrideObject) => {\n  if (overrideObject) {\n    for (const key in overrideObject) {\n      overrideProperty(baseObject, key, overrideObject[key]);\n    }\n  }\n};\nconst mergeConfigProperties = (baseObject, mergeObject) => {\n  if (mergeObject) {\n    for (const key in mergeObject) {\n      const mergeValue = mergeObject[key];\n      if (mergeValue !== void 0) {\n        baseObject[key] = (baseObject[key] || []).concat(mergeValue);\n      }\n    }\n  }\n};\nconst extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === \"function\" ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);\nconst twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);\nexport {\n  createTailwindMerge,\n  extendTailwindMerge,\n  fromTheme,\n  getDefaultConfig,\n  mergeConfigs,\n  twJoin,\n  twMerge\n};\n","import { b as u, g as p, e as y, c as x, f as a, h as g, a as l } from \"./chunk-JXBJZR5A.js\";\nimport { twMerge, extendTailwindMerge } from \"../../tailwind-merge/dist/bundle-mjs.js\";\nvar ie = { twMerge: true, twMergeConfig: {}, responsiveVariants: false }, _ = (s) => s || void 0, M = (...s) => _(y(s).filter(Boolean).join(\" \")), R = null, v = {}, q = false, j = (...s) => (b$1) => b$1.twMerge ? ((!R || q) && (q = false, R = u(v) ? twMerge : extendTailwindMerge({ ...v, extend: { theme: v.theme, classGroups: v.classGroups, conflictingClassGroupModifiers: v.conflictingClassGroupModifiers, conflictingClassGroups: v.conflictingClassGroups, ...v.extend } })), _(R(M(s)))) : M(s), Z = (s, b) => {\n  for (let e in b)\n    s.hasOwnProperty(e) ? s[e] = M(s[e], b[e]) : s[e] = b[e];\n  return s;\n}, ce = (s, b$1) => {\n  let { extend: e = null, slots: N = {}, variants: F = {}, compoundVariants: U = [], compoundSlots: C = [], defaultVariants: W = {} } = s, m = { ...ie, ...b$1 }, S = e != null && e.base ? M(e.base, s == null ? void 0 : s.base) : s == null ? void 0 : s.base, g$1 = e != null && e.variants && !u(e.variants) ? p(F, e.variants) : F, A = e != null && e.defaultVariants && !u(e.defaultVariants) ? { ...e.defaultVariants, ...W } : W;\n  !u(m.twMergeConfig) && !x(m.twMergeConfig, v) && (q = true, v = m.twMergeConfig);\n  let O = u(e == null ? void 0 : e.slots), $ = u(N) ? {} : { base: M(s == null ? void 0 : s.base, O && (e == null ? void 0 : e.base)), ...N }, w = O ? $ : Z({ ...e == null ? void 0 : e.slots }, u($) ? { base: s == null ? void 0 : s.base } : $), h$1 = u(e == null ? void 0 : e.compoundVariants) ? U : a(e == null ? void 0 : e.compoundVariants, U), V = (f) => {\n    if (u(g$1) && u(N) && O)\n      return j(S, f == null ? void 0 : f.class, f == null ? void 0 : f.className)(m);\n    if (h$1 && !Array.isArray(h$1))\n      throw new TypeError(`The \"compoundVariants\" prop must be an array. Received: ${typeof h$1}`);\n    if (C && !Array.isArray(C))\n      throw new TypeError(`The \"compoundSlots\" prop must be an array. Received: ${typeof C}`);\n    let K = (t, n, a2 = [], i) => {\n      let r = a2;\n      if (typeof n == \"string\")\n        r = r.concat(g(n).split(\" \").map((o) => `${t}:${o}`));\n      else if (Array.isArray(n))\n        r = r.concat(n.reduce((o, c) => o.concat(`${t}:${c}`), []));\n      else if (typeof n == \"object\" && typeof i == \"string\") {\n        for (let o in n)\n          if (n.hasOwnProperty(o) && o === i) {\n            let c = n[o];\n            if (c && typeof c == \"string\") {\n              let l2 = g(c);\n              r[i] ? r[i] = r[i].concat(l2.split(\" \").map((u2) => `${t}:${u2}`)) : r[i] = l2.split(\" \").map((u2) => `${t}:${u2}`);\n            } else\n              Array.isArray(c) && c.length > 0 && (r[i] = c.reduce((l2, u2) => l2.concat(`${t}:${u2}`), []));\n          }\n      }\n      return r;\n    }, z = (t, n = g$1, a$1 = null, i = null) => {\n      var J;\n      let r = n[t];\n      if (!r || u(r))\n        return null;\n      let o = (J = i == null ? void 0 : i[t]) != null ? J : f == null ? void 0 : f[t];\n      if (o === null)\n        return null;\n      let c = l(o), l$1 = Array.isArray(m.responsiveVariants) && m.responsiveVariants.length > 0 || m.responsiveVariants === true, u$1 = A == null ? void 0 : A[t], d = [];\n      if (typeof c == \"object\" && l$1)\n        for (let [T, L] of Object.entries(c)) {\n          let ne = r[L];\n          if (T === \"initial\") {\n            u$1 = L;\n            continue;\n          }\n          Array.isArray(m.responsiveVariants) && !m.responsiveVariants.includes(T) || (d = K(T, ne, d, a$1));\n        }\n      let ae = c != null && typeof c != \"object\" ? c : l(u$1), k = r[ae || \"false\"];\n      return typeof d == \"object\" && typeof a$1 == \"string\" && d[a$1] ? Z(d, k) : d.length > 0 ? (d.push(k), d) : k;\n    }, P = () => g$1 ? Object.keys(g$1).map((t) => z(t, g$1)) : null, p2 = (t, n) => {\n      if (!g$1 || typeof g$1 != \"object\")\n        return null;\n      let a2 = new Array();\n      for (let i in g$1) {\n        let r = z(i, g$1, t, n), o = t === \"base\" && typeof r == \"string\" ? r : r && r[t];\n        o && (a2[a2.length] = o);\n      }\n      return a2;\n    }, D = {};\n    for (let t in f)\n      f[t] !== void 0 && (D[t] = f[t]);\n    let H = (t, n) => {\n      var i;\n      let a2 = typeof (f == null ? void 0 : f[t]) == \"object\" ? { [t]: (i = f[t]) == null ? void 0 : i.initial } : {};\n      return { ...A, ...D, ...a2, ...n };\n    }, I = (t = [], n) => {\n      let a2 = [];\n      for (let { class: i, className: r, ...o } of t) {\n        let c = true;\n        for (let [l2, u2] of Object.entries(o)) {\n          let d = H(l2, n);\n          if (Array.isArray(u2)) {\n            if (!u2.includes(d[l2])) {\n              c = false;\n              break;\n            }\n          } else if (d[l2] !== u2) {\n            c = false;\n            break;\n          }\n        }\n        c && (i && a2.push(i), r && a2.push(r));\n      }\n      return a2;\n    }, ee = (t) => {\n      let n = I(h$1, t);\n      if (!Array.isArray(n))\n        return n;\n      let a2 = {};\n      for (let i of n)\n        if (typeof i == \"string\" && (a2.base = j(a2.base, i)(m)), typeof i == \"object\")\n          for (let [r, o] of Object.entries(i))\n            a2[r] = j(a2[r], o)(m);\n      return a2;\n    }, te = (t) => {\n      if (C.length < 1)\n        return null;\n      let n = {};\n      for (let { slots: a2 = [], class: i, className: r, ...o } of C) {\n        if (!u(o)) {\n          let c = true;\n          for (let l2 of Object.keys(o)) {\n            let u2 = H(l2, t)[l2];\n            if (u2 === void 0 || (Array.isArray(o[l2]) ? !o[l2].includes(u2) : o[l2] !== u2)) {\n              c = false;\n              break;\n            }\n          }\n          if (!c)\n            continue;\n        }\n        for (let c of a2)\n          n[c] = n[c] || [], n[c].push([i, r]);\n      }\n      return n;\n    };\n    if (!u(N) || !O) {\n      let t = {};\n      if (typeof w == \"object\" && !u(w))\n        for (let n of Object.keys(w))\n          t[n] = (a2) => {\n            var i, r;\n            return j(w[n], p2(n, a2), ((i = ee(a2)) != null ? i : [])[n], ((r = te(a2)) != null ? r : [])[n], a2 == null ? void 0 : a2.class, a2 == null ? void 0 : a2.className)(m);\n          };\n      return t;\n    }\n    return j(S, P(), I(h$1), f == null ? void 0 : f.class, f == null ? void 0 : f.className)(m);\n  }, x$1 = () => {\n    if (!(!g$1 || typeof g$1 != \"object\"))\n      return Object.keys(g$1);\n  };\n  return V.variantKeys = x$1(), V.extend = e, V.base = S, V.slots = w, V.variants = g$1, V.defaultVariants = A, V.compoundSlots = C, V.compoundVariants = h$1, V;\n}, le = (s) => (b, e) => ce(b, e ? p(s, e) : s);\nexport {\n  j as cn,\n  M as cnBase,\n  le as createTV,\n  ie as defaultConfig,\n  ce as tv,\n  _ as voidEmpty\n};\n","const f = {\n  transparent: \"transparent\",\n  \"gray-00\": { DEFAULT: \"#ffffff\", light: \"#ffffff\", dark: \"#0c0c0c\" },\n  \"gray-50\": { DEFAULT: \"#f7f7f7\", light: \"#f7f7f7\", dark: \"#141414\" },\n  \"gray-100\": { DEFAULT: \"#f0f0f0\", light: \"#f0f0f0\", dark: \"#1c1c1c\" },\n  \"gray-150\": { DEFAULT: \"#e8e8e8\", light: \"#e8e8e8\", dark: \"#242424\" },\n  \"gray-200\": { DEFAULT: \"#dddddd\", light: \"#dddddd\", dark: \"#313131\" },\n  \"gray-300\": { DEFAULT: \"#cccccc\", light: \"#cccccc\", dark: \"#414141\" },\n  \"gray-400\": { DEFAULT: \"#b4b4b4\", light: \"#b4b4b4\", dark: \"#525252\" },\n  \"gray-500\": { DEFAULT: \"#9e9e9e\", light: \"#9e9e9e\", dark: \"#626262\" },\n  \"gray-600\": { DEFAULT: \"#8a8a8a\", light: \"#8a8a8a\", dark: \"#808080\" },\n  \"gray-700\": { DEFAULT: \"#6a6a6a\", light: \"#6a6a6a\", dark: \"#adadad\" },\n  \"gray-800\": { DEFAULT: \"#464646\", light: \"#464646\", dark: \"#e3e3e3\" },\n  \"gray-900\": { DEFAULT: \"#1f1f1f\", light: \"#1f1f1f\", dark: \"#f4f4f4\" },\n  \"gray-950\": { DEFAULT: \"#000000\", light: \"#000000\", dark: \"#fcfcfc\" },\n  \"gray-alpha-000\": { DEFAULT: \"#00000000\", light: \"#00000000\", dark: \"#ffffff00\" },\n  \"gray-alpha-100\": { DEFAULT: \"#0000000f\", light: \"#0000000f\", dark: \"#ffffff1c\" },\n  \"gray-alpha-150\": { DEFAULT: \"#00000017\", light: \"#00000017\", dark: \"#ffffff24\" },\n  \"gray-alpha-200\": { DEFAULT: \"#00000021\", light: \"#00000021\", dark: \"#ffffff30\" },\n  \"gray-alpha-300\": { DEFAULT: \"#00000033\", light: \"#00000033\", dark: \"#ffffff40\" },\n  \"gray-alpha-400\": { DEFAULT: \"#0000004a\", light: \"#0000004a\", dark: \"#ffffff52\" },\n  \"gray-alpha-500\": { DEFAULT: \"#00000061\", light: \"#00000061\", dark: \"#ffffff61\" },\n  \"gray-alpha-600\": { DEFAULT: \"#00000075\", light: \"#00000075\", dark: \"#ffffff80\" },\n  \"gray-alpha-700\": { DEFAULT: \"#00000094\", light: \"#00000094\", dark: \"#ffffffad\" },\n  \"gray-alpha-800\": { DEFAULT: \"#000000ba\", light: \"#000000ba\", dark: \"#ffffffe3\" },\n  \"gray-alpha-900\": { DEFAULT: \"#000000e0\", light: \"#000000e0\", dark: \"#fffffff5\" },\n  \"blue-100\": { DEFAULT: \"#ebf1ff\", light: \"#ebf1ff\", dark: \"#000033\" },\n  \"blue-200\": { DEFAULT: \"#b8cdff\", light: \"#b8cdff\", dark: \"#01058b\" },\n  \"blue-300\": { DEFAULT: \"#86a5ff\", light: \"#86a5ff\", dark: \"#0510be\" },\n  \"blue-400\": { DEFAULT: \"#5b7fff\", light: \"#5b7fff\", dark: \"#0e22dd\" },\n  \"blue-500\": { DEFAULT: \"#375fff\", light: \"#375fff\", dark: \"#1e3cf2\" },\n  \"blue-600\": { DEFAULT: \"#203ff6\", light: \"#203ff6\", dark: \"#375fff\" },\n  \"blue-700\": { DEFAULT: \"#1025e5\", light: \"#1025e5\", dark: \"#5f83ff\" },\n  \"blue-800\": { DEFAULT: \"#0611bd\", light: \"#0611bd\", dark: \"#8dabff\" },\n  \"blue-900\": { DEFAULT: \"#010474\", light: \"#010474\", dark: \"#bdd1ff\" },\n  \"blue-950\": { DEFAULT: \"#000033\", light: \"#000033\", dark: \"#ebf1ff\" },\n  \"yellow-100\": { DEFAULT: \"#fff7f0\", light: \"#fff7f0\", dark: \"#1a130c\" },\n  \"yellow-200\": { DEFAULT: \"#ffdfb9\", light: \"#ffdfb9\", dark: \"#47341c\" },\n  \"yellow-300\": { DEFAULT: \"#ffc97f\", light: \"#ffc97f\", dark: \"#755323\" },\n  \"yellow-400\": { DEFAULT: \"#ffb741\", light: \"#ffb741\", dark: \"#a37122\" },\n  \"yellow-500\": { DEFAULT: \"#ffa800\", light: \"#ffa800\", dark: \"#d18d17\" },\n  \"yellow-600\": { DEFAULT: \"#d18d16\", light: \"#d18d16\", dark: \"#ffa800\" },\n  \"yellow-700\": { DEFAULT: \"#a37021\", light: \"#a37021\", dark: \"#ffb741\" },\n  \"yellow-800\": { DEFAULT: \"#755322\", light: \"#755322\", dark: \"#ffc97f\" },\n  \"yellow-900\": { DEFAULT: \"#47341b\", light: \"#47341b\", dark: \"#ffdfb9\" },\n  \"yellow-950\": { DEFAULT: \"#19130c\", light: \"#19130c\", dark: \"#fff7f0\" },\n  \"green-100\": { DEFAULT: \"#eefee6\", light: \"#eefee6\", dark: \"#1b2e11\" },\n  \"green-200\": { DEFAULT: \"#c2eeb2\", light: \"#c2eeb2\", dark: \"#234a15\" },\n  \"green-300\": { DEFAULT: \"#81dc71\", light: \"#81dc71\", dark: \"#246616\" },\n  \"green-400\": { DEFAULT: \"#3fcb3c\", light: \"#3fcb3c\", dark: \"#1e8214\" },\n  \"green-500\": { DEFAULT: \"#12ba23\", light: \"#12ba23\", dark: \"#129e14\" },\n  \"green-600\": { DEFAULT: \"#139e14\", light: \"#139e14\", dark: \"#12ba23\" },\n  \"green-700\": { DEFAULT: \"#1e8215\", light: \"#1e8215\", dark: \"#42cb3e\" },\n  \"green-800\": { DEFAULT: \"#246616\", light: \"#246616\", dark: \"#85dd76\" },\n  \"green-900\": { DEFAULT: \"#234a15\", light: \"#234a15\", dark: \"#c5eeb6\" },\n  \"green-950\": { DEFAULT: \"#1b2e11\", light: \"#1b2e11\", dark: \"#eefee6\" },\n  \"orange-red-100\": { DEFAULT: \"#ffefeb\", light: \"#ffefeb\", dark: \"#2e1608\" },\n  \"orange-red-200\": { DEFAULT: \"#ffbfaa\", light: \"#ffbfaa\", dark: \"#582509\" },\n  \"orange-red-300\": { DEFAULT: \"#ff916c\", light: \"#ff916c\", dark: \"#822f07\" },\n  \"orange-red-400\": { DEFAULT: \"#ff6933\", light: \"#ff6933\", dark: \"#ab3703\" },\n  \"orange-red-500\": { DEFAULT: \"#ff4800\", light: \"#ff4800\", dark: \"#d53e00\" },\n  \"orange-red-600\": { DEFAULT: \"#d53f00\", light: \"#d53f00\", dark: \"#ff4800\" },\n  \"orange-red-700\": { DEFAULT: \"#ab3803\", light: \"#ab3803\", dark: \"#ff6c37\" },\n  \"orange-red-800\": { DEFAULT: \"#823107\", light: \"#823107\", dark: \"#ff9672\" },\n  \"orange-red-900\": { DEFAULT: \"#582609\", light: \"#582609\", dark: \"#ffc3b0\" },\n  \"orange-red-950\": { DEFAULT: \"#2e1608\", light: \"#2e1608\", dark: \"#ffefeb\" },\n  \"deep-red-100\": { DEFAULT: \"#ffe6e6\", light: \"#ffe6e6\", dark: \"#330a00\" },\n  \"deep-red-200\": { DEFAULT: \"#f2a9a9\", light: \"#f2a9a9\", dark: \"#520d00\" },\n  \"deep-red-300\": { DEFAULT: \"#e67373\", light: \"#e67373\", dark: \"#700d00\" },\n  \"deep-red-400\": { DEFAULT: \"#d94141\", light: \"#d94141\", dark: \"#8f0b00\" },\n  \"deep-red-500\": { DEFAULT: \"#cc1414\", light: \"#cc1414\", dark: \"#ad0700\" },\n  \"deep-red-600\": { DEFAULT: \"#ad0700\", light: \"#ad0700\", dark: \"#cc1414\" },\n  \"deep-red-700\": { DEFAULT: \"#8f0b00\", light: \"#8f0b00\", dark: \"#d94141\" },\n  \"deep-red-800\": { DEFAULT: \"#700d00\", light: \"#700d00\", dark: \"#e67373\" },\n  \"deep-red-900\": { DEFAULT: \"#520d00\", light: \"#520d00\", dark: \"#f2a9a9\" },\n  \"deep-red-950\": { DEFAULT: \"#330a00\", light: \"#330a00\", dark: \"#ffe6e6\" },\n  \"blue-alpha-200\": { DEFAULT: \"#345fff14\", light: \"#345fff14\", dark: \"#bdd1ff14\" },\n  \"blue-alpha-300\": { DEFAULT: \"#345fff29\", light: \"#345fff29\", dark: \"#bdd1ff29\" },\n  \"blue-alpha-400\": { DEFAULT: \"#345fff3d\", light: \"#345fff3d\", dark: \"#bdd1ff3d\" },\n  \"green-alpha-200\": { DEFAULT: \"#16ba2214\", light: \"#16ba2214\", dark: \"#86dd7514\" },\n  \"green-alpha-300\": { DEFAULT: \"#16ba2229\", light: \"#16ba2229\", dark: \"#86dd7529\" },\n  \"green-alpha-400\": { DEFAULT: \"#16ba223d\", light: \"#16ba223d\", dark: \"#86dd753d\" },\n  \"orange-red-alpha-200\": { DEFAULT: \"#ff480014\", light: \"#ff480014\", dark: \"#ffc3b014\" },\n  \"orange-red-alpha-300\": { DEFAULT: \"#ff480029\", light: \"#ff480029\", dark: \"#ffc3b029\" },\n  \"orange-red-alpha-400\": { DEFAULT: \"#ff48003d\", light: \"#ff48003d\", dark: \"#ffc3b03d\" },\n  \"deep-red-alpha-200\": { DEFAULT: \"#cc141414\", light: \"#cc141414\", dark: \"#ad070014\" },\n  \"deep-red-alpha-300\": { DEFAULT: \"#cc141429\", light: \"#cc141429\", dark: \"#ad070029\" },\n  \"deep-red-alpha-400\": { DEFAULT: \"#cc14143d\", light: \"#cc14143d\", dark: \"#ad07003d\" },\n  // NOTE: Figma 에 없는 웹 전용 레거시 토큰. 신규 코드에서 사용 금지.\n  \"red-100\": { DEFAULT: \"#ffefeb\", light: \"#ffefeb\", dark: \"#2e1608\" },\n  \"red-200\": { DEFAULT: \"#ffbfaa\", light: \"#ffbfaa\", dark: \"#582509\" },\n  \"red-300\": { DEFAULT: \"#ff916c\", light: \"#ff916c\", dark: \"#822f07\" },\n  \"red-400\": { DEFAULT: \"#ff6933\", light: \"#ff6933\", dark: \"#ab3703\" },\n  \"red-500\": { DEFAULT: \"#ff4800\", light: \"#ff4800\", dark: \"#d53e00\" },\n  \"red-600\": { DEFAULT: \"#d53f00\", light: \"#d53f00\", dark: \"#ff4800\" },\n  \"red-700\": { DEFAULT: \"#ab3803\", light: \"#ab3803\", dark: \"#ff6c37\" },\n  \"red-800\": { DEFAULT: \"#823107\", light: \"#823107\", dark: \"#ff9672\" },\n  \"red-900\": { DEFAULT: \"#582609\", light: \"#582609\", dark: \"#ffc3b0\" },\n  \"red-950\": { DEFAULT: \"#2e1608\", light: \"#2e1608\", dark: \"#ffefeb\" },\n  \"red-alpha-200\": { DEFAULT: \"#ff480014\", light: \"#ff480014\", dark: \"#ffc3b014\" },\n  \"red-alpha-300\": { DEFAULT: \"#ff480029\", light: \"#ff480029\", dark: \"#ffc3b029\" },\n  \"red-alpha-400\": { DEFAULT: \"#ff48003d\", light: \"#ff48003d\", dark: \"#ffc3b03d\" }\n}, r = {\n  black: \"#000000\",\n  white: \"#ffffff\",\n  \"white-alpha-100\": \"#ffffff1c\",\n  \"white-alpha-200\": \"#ffffff30\",\n  \"white-alpha-300\": \"#ffffff40\",\n  \"white-alpha-400\": \"#ffffff52\",\n  \"white-alpha-500\": \"#ffffff61\",\n  \"white-alpha-600\": \"#ffffff80\",\n  \"white-alpha-700\": \"#ffffffad\",\n  \"white-alpha-800\": \"#ffffffe3\",\n  \"white-alpha-900\": \"#fffffff5\",\n  \"black-alpha-100\": \"#0000000f\",\n  \"black-alpha-200\": \"#00000021\",\n  \"black-alpha-300\": \"#00000033\",\n  \"black-alpha-400\": \"#0000004a\",\n  \"black-alpha-500\": \"#00000061\",\n  \"black-alpha-600\": \"#00000075\",\n  \"black-alpha-700\": \"#00000094\",\n  \"black-alpha-800\": \"#000000ba\",\n  \"black-alpha-900\": \"#000000e0\"\n}, l = {\n  ...r,\n  inherit: \"inherit\",\n  transparent: \"transparent\",\n  \"on-black\": r.black,\n  \"on-black-hover\": r[\"black-alpha-900\"],\n  \"on-black-pressed\": r[\"black-alpha-900\"],\n  \"on-white\": r.white,\n  \"on-white-hover\": r[\"white-alpha-900\"],\n  \"on-white-pressed\": r[\"white-alpha-900\"],\n  \"interactive-low\": f[\"blue-alpha-200\"],\n  interactive: f[\"blue-500\"],\n  \"interactive-hover\": f[\"blue-400\"],\n  \"interactive-pressed\": f[\"blue-400\"],\n  negative: f[\"deep-red-600\"],\n  \"negative-hover\": f[\"deep-red-400\"],\n  \"negative-pressed\": f[\"deep-red-400\"],\n  \"negative-low\": f[\"deep-red-alpha-200\"],\n  \"accent-low\": f[\"orange-red-alpha-200\"],\n  accent: f[\"orange-red-500\"],\n  \"positive-low\": f[\"green-alpha-200\"],\n  positive: f[\"green-500\"],\n  \"positive-hover\": f[\"green-400\"],\n  \"positive-pressed\": f[\"green-400\"]\n}, d = {\n  colors: { ...f, ...l },\n  borderColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    line: a(\"colors.gray-200\"),\n    divider: a(\"colors.gray-alpha-100\"),\n    \"divider-strong\": a(\"colors.gray-950\"),\n    \"line-hover\": a(\"colors.gray-300\"),\n    \"line-pressed\": a(\"colors.gray-300\"),\n    \"line-selected\": a(\"colors.gray-950\"),\n    \"line-disabled\": a(\"colors.gray-alpha-200\")\n  }),\n  outlineColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    \"line-hover\": a(\"colors.gray-400\"),\n    \"line-pressed\": a(\"colors.gray-400\"),\n    \"line-selected\": a(\"colors.gray-950\"),\n    \"line-disabled\": a(\"colors.gray-100\")\n  }),\n  // ring(box-shadow) 으로 그리는 안쪽 선택 테두리용 — outline 은 iOS 16.3 이하 WebView 에서 border-radius 를 따라가지 않는다.\n  ringColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    // 테마를 덮어쓰면 Tailwind 기본 DEFAULT(`theme('colors.blue.500', '#3b82f6')`)가 빠진다. 이 repo 의 colors 키는 `blue-500` 이라\n    // 기본값은 폴백 #3b82f6 으로 풀렸으므로(2026-10-12 resolveConfig 로 확인) 같은 값을 적어 색 없는 `ring-*` 를 바꾸지 않는다.\n    DEFAULT: \"#3b82f6\",\n    \"line-selected\": a(\"colors.gray-950\")\n  }),\n  divideColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    default: a(\"colors.gray-100\"),\n    line: a(\"colors.gray-100\"),\n    strong: a(\"colors.gray-950\")\n  }),\n  backgroundColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    low: a(\"colors.gray-50\"),\n    default: a(\"colors.gray-00\"),\n    \"default-black\": a(\"colors.black\"),\n    primary: a(\"colors.gray-900\"),\n    \"primary-hover\": a(\"colors.gray-950\"),\n    \"primary-pressed\": a(\"colors.gray-950\"),\n    secondary: a(\"colors.gray-800\"),\n    tertiary: a(\"colors.gray-100\"),\n    \"tertiary-hover\": a(\"colors.gray-150\"),\n    \"tertiary-pressed\": a(\"colors.gray-150\"),\n    silent: a(\"colors.gray-00\"),\n    \"silent-hover\": a(\"colors.gray-100\"),\n    \"silent-pressed\": a(\"colors.gray-100\"),\n    \"surface-contents\": a(\"colors.gray-50\"),\n    \"surface-floating\": a(\"colors.gray-900\"),\n    \"surface-dialog\": a(\"colors.gray-00\"),\n    \"surface-sheet\": a(\"colors.gray-00\"),\n    \"surface-black\": a(\"colors.black\"),\n    disabled: a(\"colors.gray-150\"),\n    dimmed: a(\"colors.black-alpha-700\"),\n    \"blur-ultrathin\": \"rgba(191, 191, 191, 0.44)\",\n    \"blur-ultrathin-black\": \"rgba(93, 88, 81, 0.66)\",\n    // NOTE: text color 토큰임에도 불구하고 bg 용으로 사용되는 Edge 케이스 대응 색상 - (eg. Radio)\n    divider: a(\"colors.gray-alpha-100\"),\n    \"text-on-color\": a(\"colors.gray-00\"),\n    \"text-disabled\": a(\"colors.gray-400\"),\n    \"semantic-text-primary\": a(\"colors.gray-900\")\n  }),\n  textColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    primary: a(\"colors.gray-900\"),\n    \"primary-hover\": a(\"colors.gray-800\"),\n    \"primary-pressed\": a(\"colors.gray-800\"),\n    secondary: a(\"colors.gray-700\"),\n    \"secondary-hover\": a(\"colors.gray-600\"),\n    \"secondary-pressed\": a(\"colors.gray-600\"),\n    tertiary: a(\"colors.gray-600\"),\n    \"tertiary-hover\": a(\"colors.gray-500\"),\n    \"tertiary-pressed\": a(\"colors.gray-500\"),\n    disabled: a(\"colors.gray-400\"),\n    \"on-color\": a(\"colors.gray-00\")\n  }),\n  accentColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    low: a(\"colors.red-alpha-200\"),\n    default: a(\"colors.red-500\")\n  })\n};\nexport {\n  d as colorTheme,\n  f as scaleToken\n};\n","const p = {\n  0: \"0px\",\n  2: \"2px\",\n  4: \"4px\",\n  6: \"6px\",\n  8: \"8px\",\n  16: \"16px\",\n  20: \"20px\",\n  full: \"9999px\"\n};\nexport {\n  p as radiusTheme\n};\n","const x = {\n  /**\n   * NOTE:(신다혜) - 29CM 반응형 토큰 의사 결정 레퍼런스 문서 참고\n   * @see {@link https://29responsive-test.netlify.app/}\n   */\n  md: \"541px\",\n  lg: \"1025px\",\n  xl: \"1280px\",\n  xxl: \"2560px\"\n};\nexport {\n  x as screensTheme\n};\n","const r = (n) => {\n  const e = n / 16;\n  return e % 1 === 0 ? `${e}rem` : `${e.toFixed(3)}rem`;\n}, o = (n) => Array.from({ length: n / 2 + 1 }, (e, t) => t * 2).reduce(\n  (e, t) => (e[t] = r(t), e),\n  {}\n);\nconst c = {\n  inherit: \"inherit\",\n  full: \"100%\",\n  screen: \"100vw\",\n  min: \"min-content\",\n  max: \"max-content\",\n  fit: \"fit-content\",\n  auto: \"auto\",\n  \"1/7\": \"14.285714%\"\n}, i = { ...c, ...o(2560) };\nexport {\n  i as spaceTheme\n};\n","function l(e) {\n  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\nexport {\n  l as getDefaultExportFromCjs\n};\n","var e = {};\nexport {\n  e as __exports\n};\n","import { getDefaultExportFromCjs as l$1 } from \"../../../../../_virtual/_commonjsHelpers.js\";\nimport { __exports as e$1 } from \"../../../../../_virtual/default-theme.js\";\nlet e = e$1;\nvar l = (e.__esModule ? e : { default: e }).default;\nconst r = /* @__PURE__ */ l$1(l);\nexport {\n  r as default\n};\n","import r from \"../../../node_modules/.pnpm/tailwindcss@3.4.17_ts-node@10.5.0/node_modules/tailwindcss/defaultTheme.js\";\nconst e = {\n  \"font-size-25\": \"10px\",\n  \"font-size-50\": \"11px\",\n  \"font-size-75\": \"12px\",\n  \"font-size-100\": \"13px\",\n  \"font-size-125\": \"14px\",\n  \"font-size-150\": \"15px\",\n  \"font-size-200\": \"16px\",\n  \"font-size-250\": \"18px\",\n  \"font-size-300\": \"20px\",\n  \"font-size-350\": \"22px\",\n  \"font-size-400\": \"24px\",\n  \"font-size-500\": \"28px\",\n  \"font-size-550\": \"30px\",\n  \"font-size-600\": \"32px\",\n  \"font-size-1000\": \"48px\"\n}, i = {\n  \"thin-100\": \"100\",\n  \"extraLight-200\": \"200\",\n  \"light-300\": \"300\",\n  \"regular-400\": \"400\",\n  \"medium-500\": \"500\",\n  \"semibold-600\": \"600\",\n  \"bold-700\": \"700\",\n  \"extraBold-800\": \"800\"\n}, t = {\n  \"line-height-1\": \"100%\",\n  \"line-height-2\": \"120%\",\n  \"line-height-3\": \"136%\",\n  \"line-height-4\": \"140%\",\n  \"line-height-5\": \"150%\",\n  \"line-height-6\": \"160%\"\n};\nvar n, h;\nconst o = {\n  fontSize: {\n    \"title-xxl\": [\n      e[\"font-size-550\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-xxl-medium\": [\n      e[\"font-size-550\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-xxl-bold\": [\n      e[\"font-size-550\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"title-xl\": [\n      e[\"font-size-500\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-xl-medium\": [\n      e[\"font-size-500\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-xl-bold\": [\n      e[\"font-size-500\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"title-l\": [\n      e[\"font-size-400\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-l-medium\": [\n      e[\"font-size-400\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-l-bold\": [\n      e[\"font-size-400\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"title-m\": [\n      e[\"font-size-350\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-m-medium\": [\n      e[\"font-size-350\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-m-bold\": [\n      e[\"font-size-350\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"title-s\": [\n      e[\"font-size-300\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-s-medium\": [\n      e[\"font-size-300\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-s-bold\": [\n      e[\"font-size-300\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"title-xs\": [\n      e[\"font-size-250\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-xs-medium\": [\n      e[\"font-size-250\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-xs-bold\": [\n      e[\"font-size-250\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    xxl: [\n      e[\"font-size-200\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"xxl-medium\": [\n      e[\"font-size-200\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"xxl-bold\": [\n      e[\"font-size-200\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    xl: [\n      e[\"font-size-150\"],\n      {\n        lineHeight: t[\"line-height-5\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"xl-medium\": [\n      e[\"font-size-150\"],\n      {\n        lineHeight: t[\"line-height-5\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"xl-bold\": [\n      e[\"font-size-150\"],\n      {\n        lineHeight: t[\"line-height-5\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    l: [\n      e[\"font-size-125\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"l-semibold\": [\n      e[\"font-size-125\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"semibold-600\"]\n      }\n    ],\n    \"l-medium\": [\n      e[\"font-size-125\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"l-bold\": [\n      e[\"font-size-125\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    m: [\n      e[\"font-size-100\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"m-medium\": [\n      e[\"font-size-100\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"m-bold\": [\n      e[\"font-size-100\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    s: [\n      e[\"font-size-75\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"s-medium\": [\n      e[\"font-size-75\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"s-bold\": [\n      e[\"font-size-75\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"xs-medium\": [\n      e[\"font-size-50\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    xs: [\n      e[\"font-size-50\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"xs-bold\": [\n      e[\"font-size-50\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    xxs: [\n      e[\"font-size-25\"],\n      {\n        lineHeight: t[\"line-height-2\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"xxs-medium\": [\n      e[\"font-size-25\"],\n      {\n        lineHeight: t[\"line-height-2\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"xxs-bold\": [\n      e[\"font-size-25\"],\n      {\n        lineHeight: t[\"line-height-2\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ]\n  },\n  fontFamily: {\n    // 기본 폰트(sans)로 pretendard로 설정\n    sans: [\"var(--font-pretendard)\", ...((h = (n = r) == null ? void 0 : n.fontFamily) == null ? void 0 : h.sans) ?? \"sans-serif\"],\n    \"pretendard-with-ios-fallback\": [\"var(--font-pretendard-with-ios-fallback)\"]\n  }\n};\nexport {\n  o as fontTheme\n};\n","const n = {\n  popup: \"3000\",\n  mask: \"1000\",\n  // NOTE: Numbering 된 zIndex는 RulerContext를 통해서만 사용합니다.\n  // TODO:(신다혜) Layer.css를 통해 별도 variable 관리가 필요합니다. Theme에서 제거 예정입니다.\n  \"popup-1\": \"4000\",\n  \"popup-2\": \"5000\",\n  \"popup-3\": \"6000\",\n  \"popup-4\": \"7000\",\n  \"popup-5\": \"8000\",\n  \"mask-1\": \"3500\",\n  \"mask-2\": \"4500\",\n  \"mask-3\": \"5500\",\n  \"mask-4\": \"6500\",\n  \"mask-5\": \"7500\",\n  // NOTE:\n  /**\n   * NOTE: snackbar는 Floating되는 UI중 가장 상위 레이어에 위치하므로, 별도로 Stack을 관리하고 최상단에 위치합니다.\n   * @see @{@link https://stackoverflow.com/questions/491052/minimum-and-maximum-value-of-z-index/25461690#25461690}\n   */\n  snackbar: \"2147483647\",\n  navigation: \"200\",\n  \"content-1\": \"20\",\n  \"content-2\": \"40\",\n  \"content-3\": \"60\",\n  \"content-4\": \"80\",\n  \"content-5\": \"100\",\n  \"content-6\": \"120\",\n  \"content-7\": \"140\",\n  \"content-8\": \"160\",\n  \"content-9\": \"180\"\n};\nexport {\n  n as zIndexTheme\n};\n","import { colorTheme as d } from \"./color.js\";\nimport { radiusTheme as p } from \"./radius.js\";\nimport { screensTheme as x$1 } from \"./screens.js\";\nimport { spaceTheme as i } from \"./space.js\";\nimport { fontTheme as o } from \"./typography.js\";\nimport { zIndexTheme as n } from \"./zIndex.js\";\nconst x = {\n  ...d,\n  fontSize: o.fontSize,\n  spacing: i,\n  // TODO:(신다혜) : maxWidth를 다른 방식으로 핸들링하도록 수정 필요함\n  maxWidth: i,\n  borderRadius: p,\n  borderWidth: {\n    DEFAULT: \"1px\",\n    0: \"0\",\n    2: \"2px\",\n    4: \"4px\",\n    6: \"6px\",\n    8: \"8px\"\n  },\n  screens: x$1,\n  zIndex: n,\n  extend: {\n    fontFamily: o.fontFamily,\n    dropShadow: {\n      100: \"0px 0px 2px rgba(0, 0, 0, 0.28)\"\n    },\n    // 콘텐츠 등장 시 부드럽게 나타나기(pop-in 완화). opacity 만 다뤄 레이아웃/측정에 영향 없고\n    // GPU 합성이라 성능 부담이 없다. 모션 최소화 사용자에겐 `motion-reduce:animate-none` 으로 끈다.\n    keyframes: {\n      \"fade-in\": {\n        from: { opacity: \"0\" },\n        to: { opacity: \"1\" }\n      }\n    },\n    animation: {\n      \"fade-in\": \"fade-in 240ms ease-out both\"\n    }\n  }\n};\nexport {\n  x as theme\n};\n","import { createTV as le, cn as j, defaultConfig as ie } from \"../../../../../../tailwind-variants/dist/index.js\";\nimport { theme as x } from \"../tailwind/theme.js\";\nvar o, n;\nconst r = {\n  classGroups: {\n    \"font-size\": [...Object.keys(((o = x) == null ? void 0 : o.fontSize) ?? {}).map((t) => `text-${t}`)],\n    z: [...Object.keys(((n = x) == null ? void 0 : n.zIndex) ?? {}).map((t) => `z-${t}`)]\n  }\n}, c = {\n  ...ie,\n  twMergeConfig: r\n}, g = le(c), p = (...t) => j(t)(c);\nexport {\n  p as cn,\n  g as tv\n};\n","import { tv as g } from \"../packages/configs/tailwind-variants/index.js\";\nconst a = g({\n  variants: {\n    stackLayer: {\n      0: {\n        overlay: \"z-mask\",\n        container: \"z-popup\",\n        layout: \"z-popup\"\n      },\n      1: {\n        overlay: \"z-mask-1\",\n        container: \"z-popup-1\",\n        layout: \"z-popup-1\"\n      },\n      2: {\n        overlay: \"z-mask-2\",\n        container: \"z-popup-2\",\n        layout: \"z-popup-2\"\n      },\n      3: {\n        overlay: \"z-mask-3\",\n        container: \"z-popup-3\",\n        layout: \"z-popup-3\"\n      },\n      4: {\n        overlay: \"z-mask-4\",\n        container: \"z-popup-4\",\n        layout: \"z-popup-4\"\n      },\n      5: {\n        overlay: \"z-mask-5\",\n        container: \"z-popup-5\",\n        layout: \"z-popup-5\"\n      }\n    }\n  }\n});\nexport {\n  a as layer\n};\n","import { tv as g } from \"../packages/configs/tailwind-variants/index.js\";\nimport { layer as a } from \"./layer.style.js\";\nconst n = g({\n  slots: {\n    layout: \"fixed inset-0 z-mask flex items-center justify-center\",\n    container: \"z-popup mx-20 mb-[max(var(--safe-area-inset-bottom),0px)] w-full max-w-460 overflow-hidden rounded-8 bg-white\",\n    overlay: \"fixed inset-0 z-mask touch-none overscroll-none bg-dimmed\"\n  },\n  extend: a\n}), r = {\n  negative: \"negative\",\n  default: \"primary\"\n};\nexport {\n  r as PriorityByTone,\n  n as dialog\n};\n","const i = {\n  AiOffIcon: () => import(\"./components/IcAiOff.js\"),\n  AppleIcon: () => import(\"./components/IcApple.js\"),\n  ArrayIcon: () => import(\"./components/IcArray.js\"),\n  ArrayBoldIcon: () => import(\"./components/IcArrayBold.js\"),\n  ArrayBoldFillIcon: () => import(\"./components/IcArrayBoldFill.js\"),\n  ArrayRegularIcon: () => import(\"./components/IcArrayRegular.js\"),\n  ArrowLeftBoldIcon: () => import(\"./components/IcArrowLeftBold.js\"),\n  ArrowLeftBoldFillIcon: () => import(\"./components/IcArrowLeftBoldFill.js\"),\n  ArrowLeftLightIcon: () => import(\"./components/IcArrowLeftLight.js\"),\n  ArrowLeftRegularIcon: () => import(\"./components/IcArrowLeftRegular.js\"),\n  ArrowRightBoldIcon: () => import(\"./components/IcArrowRightBold.js\"),\n  ArrowRightBoldFillIcon: () => import(\"./components/IcArrowRightBoldFill.js\"),\n  ArrowRightLightIcon: () => import(\"./components/IcArrowRightLight.js\"),\n  ArrowRightRegularIcon: () => import(\"./components/IcArrowRightRegular.js\"),\n  BagBoldIcon: () => import(\"./components/IcBagBold.js\"),\n  BagBoldFillIcon: () => import(\"./components/IcBagBoldFill.js\"),\n  BagLightIcon: () => import(\"./components/IcBagLight.js\"),\n  BagRegularIcon: () => import(\"./components/IcBagRegular.js\"),\n  BarsBoldIcon: () => import(\"./components/IcBarsBold.js\"),\n  BarsBoldFillIcon: () => import(\"./components/IcBarsBoldFill.js\"),\n  BarsLightIcon: () => import(\"./components/IcBarsLight.js\"),\n  BarsRegularIcon: () => import(\"./components/IcBarsRegular.js\"),\n  BellBoldIcon: () => import(\"./components/IcBellBold.js\"),\n  BellBoldFillIcon: () => import(\"./components/IcBellBoldFill.js\"),\n  BellLightIcon: () => import(\"./components/IcBellLight.js\"),\n  BellRegularIcon: () => import(\"./components/IcBellRegular.js\"),\n  BelloffBoldIcon: () => import(\"./components/IcBelloffBold.js\"),\n  BelloffBoldFillIcon: () => import(\"./components/IcBelloffBoldFill.js\"),\n  BelloffLightIcon: () => import(\"./components/IcBelloffLight.js\"),\n  BelloffRegularIcon: () => import(\"./components/IcBelloffRegular.js\"),\n  BoxBoldIcon: () => import(\"./components/IcBoxBold.js\"),\n  BoxBoldFillIcon: () => import(\"./components/IcBoxBoldFill.js\"),\n  BoxLightIcon: () => import(\"./components/IcBoxLight.js\"),\n  BoxRegularIcon: () => import(\"./components/IcBoxRegular.js\"),\n  CameraBoldIcon: () => import(\"./components/IcCameraBold.js\"),\n  CameraBoldFillIcon: () => import(\"./components/IcCameraBoldFill.js\"),\n  CameraLightIcon: () => import(\"./components/IcCameraLight.js\"),\n  CameraRegularIcon: () => import(\"./components/IcCameraRegular.js\"),\n  CategoryBoldIcon: () => import(\"./components/IcCategoryBold.js\"),\n  CategoryBoldFillIcon: () => import(\"./components/IcCategoryBoldFill.js\"),\n  CategoryRegularIcon: () => import(\"./components/IcCategoryRegular.js\"),\n  CautionBoldIcon: () => import(\"./components/IcCautionBold.js\"),\n  CautionBoldFillIcon: () => import(\"./components/IcCautionBoldFill.js\"),\n  CautionLightIcon: () => import(\"./components/IcCautionLight.js\"),\n  CautionRegularIcon: () => import(\"./components/IcCautionRegular.js\"),\n  CheckBoldIcon: () => import(\"./components/IcCheckBold.js\"),\n  CheckBoldFillIcon: () => import(\"./components/IcCheckBoldFill.js\"),\n  CheckCalendarBoldIcon: () => import(\"./components/IcCheckCalendarBold.js\"),\n  CheckCalendarBoldFillIcon: () => import(\"./components/IcCheckCalendarBoldFill.js\"),\n  CheckCalendarLightIcon: () => import(\"./components/IcCheckCalendarLight.js\"),\n  CheckCalendarRegularIcon: () => import(\"./components/IcCheckCalendarRegular.js\"),\n  CheckCircleBoldIcon: () => import(\"./components/IcCheckCircleBold.js\"),\n  CheckCircleBoldFillIcon: () => import(\"./components/IcCheckCircleBoldFill.js\"),\n  CheckCircleLightIcon: () => import(\"./components/IcCheckCircleLight.js\"),\n  CheckCircleRegularIcon: () => import(\"./components/IcCheckCircleRegular.js\"),\n  CheckLightIcon: () => import(\"./components/IcCheckLight.js\"),\n  CheckRegularIcon: () => import(\"./components/IcCheckRegular.js\"),\n  ChevronDownBoldIcon: () => import(\"./components/IcChevronDownBold.js\"),\n  ChevronDownBoldFillIcon: () => import(\"./components/IcChevronDownBoldFill.js\"),\n  ChevronDownLightIcon: () => import(\"./components/IcChevronDownLight.js\"),\n  ChevronDownRegularIcon: () => import(\"./components/IcChevronDownRegular.js\"),\n  ChevronLeftBoldIcon: () => import(\"./components/IcChevronLeftBold.js\"),\n  ChevronLeftBoldFillIcon: () => import(\"./components/IcChevronLeftBoldFill.js\"),\n  ChevronLeftLightIcon: () => import(\"./components/IcChevronLeftLight.js\"),\n  ChevronLeftRegularIcon: () => import(\"./components/IcChevronLeftRegular.js\"),\n  ChevronRightBoldIcon: () => import(\"./components/IcChevronRightBold.js\"),\n  ChevronRightBoldFillIcon: () => import(\"./components/IcChevronRightBoldFill.js\"),\n  ChevronRightLightIcon: () => import(\"./components/IcChevronRightLight.js\"),\n  ChevronRightRegularIcon: () => import(\"./components/IcChevronRightRegular.js\"),\n  ChevronUpBoldIcon: () => import(\"./components/IcChevronUpBold.js\"),\n  ChevronUpBoldFillIcon: () => import(\"./components/IcChevronUpBoldFill.js\"),\n  ChevronUpLightIcon: () => import(\"./components/IcChevronUpLight.js\"),\n  ChevronUpRegularIcon: () => import(\"./components/IcChevronUpRegular.js\"),\n  ClockBoldIcon: () => import(\"./components/IcClockBold.js\"),\n  ClockBoldFillIcon: () => import(\"./components/IcClockBoldFill.js\"),\n  ClockLightIcon: () => import(\"./components/IcClockLight.js\"),\n  ClockRegularIcon: () => import(\"./components/IcClockRegular.js\"),\n  CloseBoldIcon: () => import(\"./components/IcCloseBold.js\"),\n  CloseBoldFillIcon: () => import(\"./components/IcCloseBoldFill.js\"),\n  CloseLightIcon: () => import(\"./components/IcCloseLight.js\"),\n  CloseRegularIcon: () => import(\"./components/IcCloseRegular.js\"),\n  CommentBoldIcon: () => import(\"./components/IcCommentBold.js\"),\n  CommentBoldFillIcon: () => import(\"./components/IcCommentBoldFill.js\"),\n  CommentLightIcon: () => import(\"./components/IcCommentLight.js\"),\n  CommentRegularIcon: () => import(\"./components/IcCommentRegular.js\"),\n  CommentRoundIcon: () => import(\"./components/IcCommentRound.js\"),\n  CouponBoldIcon: () => import(\"./components/IcCouponBold.js\"),\n  CouponBoldFillIcon: () => import(\"./components/IcCouponBoldFill.js\"),\n  CouponLightIcon: () => import(\"./components/IcCouponLight.js\"),\n  CouponRegularIcon: () => import(\"./components/IcCouponRegular.js\"),\n  DeliveryBoldIcon: () => import(\"./components/IcDeliveryBold.js\"),\n  DeliveryBoldFillIcon: () => import(\"./components/IcDeliveryBoldFill.js\"),\n  DeliveryLightIcon: () => import(\"./components/IcDeliveryLight.js\"),\n  DeliveryRegularIcon: () => import(\"./components/IcDeliveryRegular.js\"),\n  DisclosureOffBoldIcon: () => import(\"./components/IcDisclosureOffBold.js\"),\n  DisclosureOffBoldFillIcon: () => import(\"./components/IcDisclosureOffBoldFill.js\"),\n  DisclosureOffLightIcon: () => import(\"./components/IcDisclosureOffLight.js\"),\n  DisclosureOffRegularIcon: () => import(\"./components/IcDisclosureOffRegular.js\"),\n  DisclosureOnBoldIcon: () => import(\"./components/IcDisclosureOnBold.js\"),\n  DisclosureOnBoldFillIcon: () => import(\"./components/IcDisclosureOnBoldFill.js\"),\n  DisclosureOnLightIcon: () => import(\"./components/IcDisclosureOnLight.js\"),\n  DisclosureOnRegularIcon: () => import(\"./components/IcDisclosureOnRegular.js\"),\n  DocumentBoldIcon: () => import(\"./components/IcDocumentBold.js\"),\n  DocumentBoldFillIcon: () => import(\"./components/IcDocumentBoldFill.js\"),\n  DocumentLightIcon: () => import(\"./components/IcDocumentLight.js\"),\n  DocumentRegularIcon: () => import(\"./components/IcDocumentRegular.js\"),\n  DownloadBoldIcon: () => import(\"./components/IcDownloadBold.js\"),\n  DownloadBoldFillIcon: () => import(\"./components/IcDownloadBoldFill.js\"),\n  DownloadLightIcon: () => import(\"./components/IcDownloadLight.js\"),\n  DownloadRegularIcon: () => import(\"./components/IcDownloadRegular.js\"),\n  EditOutlinedIcon: () => import(\"./components/IcEditOutlined.js\"),\n  EnlargementBoldIcon: () => import(\"./components/IcEnlargementBold.js\"),\n  EnlargementBoldFillIcon: () => import(\"./components/IcEnlargementBoldFill.js\"),\n  EnlargementLightIcon: () => import(\"./components/IcEnlargementLight.js\"),\n  EnlargementRegularIcon: () => import(\"./components/IcEnlargementRegular.js\"),\n  EyeOffBoldIcon: () => import(\"./components/IcEyeOffBold.js\"),\n  EyeOffBoldFillIcon: () => import(\"./components/IcEyeOffBoldFill.js\"),\n  EyeOffLightIcon: () => import(\"./components/IcEyeOffLight.js\"),\n  EyeOffRegularIcon: () => import(\"./components/IcEyeOffRegular.js\"),\n  EyeOnBoldIcon: () => import(\"./components/IcEyeOnBold.js\"),\n  EyeOnBoldFillIcon: () => import(\"./components/IcEyeOnBoldFill.js\"),\n  EyeOnLightIcon: () => import(\"./components/IcEyeOnLight.js\"),\n  EyeOnRegularIcon: () => import(\"./components/IcEyeOnRegular.js\"),\n  FacebookIcon: () => import(\"./components/IcFacebook.js\"),\n  FilterBoldIcon: () => import(\"./components/IcFilterBold.js\"),\n  FilterBoldFillIcon: () => import(\"./components/IcFilterBoldFill.js\"),\n  FilterDotBoldIcon: () => import(\"./components/IcFilterDotBold.js\"),\n  FilterDotBoldFillIcon: () => import(\"./components/IcFilterDotBoldFill.js\"),\n  FilterDotLightIcon: () => import(\"./components/IcFilterDotLight.js\"),\n  FilterDotRegularIcon: () => import(\"./components/IcFilterDotRegular.js\"),\n  FilterLightIcon: () => import(\"./components/IcFilterLight.js\"),\n  FilterRegularIcon: () => import(\"./components/IcFilterRegular.js\"),\n  FoldChevronLeftBoldIcon: () => import(\"./components/IcFoldChevronLeftBold.js\"),\n  FoldChevronLeftBoldFillIcon: () => import(\"./components/IcFoldChevronLeftBoldFill.js\"),\n  FoldChevronLeftLightIcon: () => import(\"./components/IcFoldChevronLeftLight.js\"),\n  FoldChevronLeftRegularIcon: () => import(\"./components/IcFoldChevronLeftRegular.js\"),\n  FoldChevronRightBoldIcon: () => import(\"./components/IcFoldChevronRightBold.js\"),\n  FoldChevronRightBoldFillIcon: () => import(\"./components/IcFoldChevronRightBoldFill.js\"),\n  FoldChevronRightLightIcon: () => import(\"./components/IcFoldChevronRightLight.js\"),\n  FoldChevronRightRegularIcon: () => import(\"./components/IcFoldChevronRightRegular.js\"),\n  FulfillmentLogoIcon: () => import(\"./components/IcFulfillmentLogo.js\"),\n  GiftBoldIcon: () => import(\"./components/IcGiftBold.js\"),\n  GiftBoldFillIcon: () => import(\"./components/IcGiftBoldFill.js\"),\n  GiftLightIcon: () => import(\"./components/IcGiftLight.js\"),\n  GiftRegularIcon: () => import(\"./components/IcGiftRegular.js\"),\n  GithubIcon: () => import(\"./components/IcGithub.js\"),\n  GoogleIcon: () => import(\"./components/IcGoogle.js\"),\n  HangerBoldIcon: () => import(\"./components/IcHangerBold.js\"),\n  HangerBoldFillIcon: () => import(\"./components/IcHangerBoldFill.js\"),\n  HangerLightIcon: () => import(\"./components/IcHangerLight.js\"),\n  HangerRegularIcon: () => import(\"./components/IcHangerRegular.js\"),\n  HeartBoldIcon: () => import(\"./components/IcHeartBold.js\"),\n  HeartBoldFillIcon: () => import(\"./components/IcHeartBoldFill.js\"),\n  HeartLightIcon: () => import(\"./components/IcHeartLight.js\"),\n  HeartRegularIcon: () => import(\"./components/IcHeartRegular.js\"),\n  HomeBoldIcon: () => import(\"./components/IcHomeBold.js\"),\n  HomeBoldFillIcon: () => import(\"./components/IcHomeBoldFill.js\"),\n  HomeLightIcon: () => import(\"./components/IcHomeLight.js\"),\n  HomeRegularIcon: () => import(\"./components/IcHomeRegular.js\"),\n  HouseBoldIcon: () => import(\"./components/IcHouseBold.js\"),\n  HouseBoldFillIcon: () => import(\"./components/IcHouseBoldFill.js\"),\n  HouseLightIcon: () => import(\"./components/IcHouseLight.js\"),\n  HouseRegularIcon: () => import(\"./components/IcHouseRegular.js\"),\n  InfoCircleBoldIcon: () => import(\"./components/IcInfoCircleBold.js\"),\n  InfoCircleBoldFillIcon: () => import(\"./components/IcInfoCircleBoldFill.js\"),\n  InfoCircleLightIcon: () => import(\"./components/IcInfoCircleLight.js\"),\n  InfoCircleRegularIcon: () => import(\"./components/IcInfoCircleRegular.js\"),\n  InstagramIcon: () => import(\"./components/IcInstagram.js\"),\n  KakaoIcon: () => import(\"./components/IcKakao.js\"),\n  LawBoldIcon: () => import(\"./components/IcLawBold.js\"),\n  LawBoldFillIcon: () => import(\"./components/IcLawBoldFill.js\"),\n  LawLightIcon: () => import(\"./components/IcLawLight.js\"),\n  LawRegularIcon: () => import(\"./components/IcLawRegular.js\"),\n  LetterBoldIcon: () => import(\"./components/IcLetterBold.js\"),\n  LetterFillIcon: () => import(\"./components/IcLetterFill.js\"),\n  LetterLightIcon: () => import(\"./components/IcLetterLight.js\"),\n  LetterRegularIcon: () => import(\"./components/IcLetterRegular.js\"),\n  LikeFilledIcon: () => import(\"./components/IcLikeFilled.js\"),\n  LikeOutlinedIcon: () => import(\"./components/IcLikeOutlined.js\"),\n  LockBoldIcon: () => import(\"./components/IcLockBold.js\"),\n  LockBoldFillIcon: () => import(\"./components/IcLockBoldFill.js\"),\n  LockRegularIcon: () => import(\"./components/IcLockRegular.js\"),\n  LockoffBoldIcon: () => import(\"./components/IcLockoffBold.js\"),\n  LockoffBoldFillIcon: () => import(\"./components/IcLockoffBoldFill.js\"),\n  LockoffRegularIcon: () => import(\"./components/IcLockoffRegular.js\"),\n  MilIcon: () => import(\"./components/IcMil.js\"),\n  MinusBoldIcon: () => import(\"./components/IcMinusBold.js\"),\n  MinusBoldFillIcon: () => import(\"./components/IcMinusBoldFill.js\"),\n  MinusLightIcon: () => import(\"./components/IcMinusLight.js\"),\n  MinusRegularIcon: () => import(\"./components/IcMinusRegular.js\"),\n  MuteIcon: () => import(\"./components/IcMute.js\"),\n  MyBoldIcon: () => import(\"./components/IcMyBold.js\"),\n  MyBoldFillIcon: () => import(\"./components/IcMyBoldFill.js\"),\n  MyLightIcon: () => import(\"./components/IcMyLight.js\"),\n  MyRegularIcon: () => import(\"./components/IcMyRegular.js\"),\n  NaverIcon: () => import(\"./components/IcNaver.js\"),\n  PencilBoldIcon: () => import(\"./components/IcPencilBold.js\"),\n  PencilBoldFillIcon: () => import(\"./components/IcPencilBoldFill.js\"),\n  PencilLightIcon: () => import(\"./components/IcPencilLight.js\"),\n  PencilRegularIcon: () => import(\"./components/IcPencilRegular.js\"),\n  PictureBoldIcon: () => import(\"./components/IcPictureBold.js\"),\n  PictureBoldFillIcon: () => import(\"./components/IcPictureBoldFill.js\"),\n  PictureLightIcon: () => import(\"./components/IcPictureLight.js\"),\n  PictureRegularIcon: () => import(\"./components/IcPictureRegular.js\"),\n  PlayIcon: () => import(\"./components/IcPlay.js\"),\n  PlusBoldIcon: () => import(\"./components/IcPlusBold.js\"),\n  PlusBoldFillIcon: () => import(\"./components/IcPlusBoldFill.js\"),\n  PlusLightIcon: () => import(\"./components/IcPlusLight.js\"),\n  PlusRegularIcon: () => import(\"./components/IcPlusRegular.js\"),\n  PointIcon: () => import(\"./components/IcPoint.js\"),\n  PricedownIcon: () => import(\"./components/IcPricedown.js\"),\n  QuestionBoldIcon: () => import(\"./components/IcQuestionBold.js\"),\n  QuestionBoldFillIcon: () => import(\"./components/IcQuestionBoldFill.js\"),\n  QuestionLightIcon: () => import(\"./components/IcQuestionLight.js\"),\n  QuestionRegularIcon: () => import(\"./components/IcQuestionRegular.js\"),\n  RedoBoldIcon: () => import(\"./components/IcRedoBold.js\"),\n  RedoBoldFillIcon: () => import(\"./components/IcRedoBoldFill.js\"),\n  RedoLightIcon: () => import(\"./components/IcRedoLight.js\"),\n  RedoRegularIcon: () => import(\"./components/IcRedoRegular.js\"),\n  RemoveBoldIcon: () => import(\"./components/IcRemoveBold.js\"),\n  RemoveBoldFillIcon: () => import(\"./components/IcRemoveBoldFill.js\"),\n  RemoveRoundedBoldFillIcon: () => import(\"./components/IcRemoveRoundedBoldFill.js\"),\n  RemoveLightIcon: () => import(\"./components/IcRemoveLight.js\"),\n  RemoveRegularIcon: () => import(\"./components/IcRemoveRegular.js\"),\n  ScrapBoldIcon: () => import(\"./components/IcScrapBold.js\"),\n  ScrapBoldFillIcon: () => import(\"./components/IcScrapBoldFill.js\"),\n  ScrapLightIcon: () => import(\"./components/IcScrapLight.js\"),\n  ScrapRegularIcon: () => import(\"./components/IcScrapRegular.js\"),\n  SearchBoldIcon: () => import(\"./components/IcSearchBold.js\"),\n  SearchBoldFillIcon: () => import(\"./components/IcSearchBoldFill.js\"),\n  SearchLightIcon: () => import(\"./components/IcSearchLight.js\"),\n  SearchListBoldIcon: () => import(\"./components/IcSearchListBold.js\"),\n  SearchListBoldFillIcon: () => import(\"./components/IcSearchListBoldFill.js\"),\n  SearchListLightIcon: () => import(\"./components/IcSearchListLight.js\"),\n  SearchListRegularIcon: () => import(\"./components/IcSearchListRegular.js\"),\n  SearchRegularIcon: () => import(\"./components/IcSearchRegular.js\"),\n  SettingBoldIcon: () => import(\"./components/IcSettingBold.js\"),\n  SettingBoldFillIcon: () => import(\"./components/IcSettingBoldFill.js\"),\n  SettingLightIcon: () => import(\"./components/IcSettingLight.js\"),\n  SettingRegularIcon: () => import(\"./components/IcSettingRegular.js\"),\n  ShareBoldIcon: () => import(\"./components/IcShareBold.js\"),\n  ShareBoldFillIcon: () => import(\"./components/IcShareBoldFill.js\"),\n  ShareLightIcon: () => import(\"./components/IcShareLight.js\"),\n  ShareRegularIcon: () => import(\"./components/IcShareRegular.js\"),\n  SocialAppleIcon: () => import(\"./components/IcSocialApple.js\"),\n  SocialGoogleIcon: () => import(\"./components/IcSocialGoogle.js\"),\n  SocialInstagramIcon: () => import(\"./components/IcSocialInstagram.js\"),\n  SocialYoutubeIcon: () => import(\"./components/IcSocialYoutube.js\"),\n  SpaceBoldIcon: () => import(\"./components/IcSpaceBold.js\"),\n  SpaceBoldFillIcon: () => import(\"./components/IcSpaceBoldFill.js\"),\n  SpaceLightIcon: () => import(\"./components/IcSpaceLight.js\"),\n  SpaceRegularIcon: () => import(\"./components/IcSpaceRegular.js\"),\n  StarBoldIcon: () => import(\"./components/IcStarBold.js\"),\n  StarBoldFillIcon: () => import(\"./components/IcStarBoldFill.js\"),\n  StarHalfBoldIcon: () => import(\"./components/IcStarHalfBold.js\"),\n  StarHalfBoldFillIcon: () => import(\"./components/IcStarHalfBoldFill.js\"),\n  StarHalfLightIcon: () => import(\"./components/IcStarHalfLight.js\"),\n  StarHalfRegularIcon: () => import(\"./components/IcStarHalfRegular.js\"),\n  StarLightIcon: () => import(\"./components/IcStarLight.js\"),\n  StarRegularIcon: () => import(\"./components/IcStarRegular.js\"),\n  TagIcon: () => import(\"./components/IcTag.js\"),\n  ThreeGridBoldIcon: () => import(\"./components/IcThreeGridBold.js\"),\n  ThreeGridBoldFillIcon: () => import(\"./components/IcThreeGridBoldFill.js\"),\n  ThreeGridLightIcon: () => import(\"./components/IcThreeGridLight.js\"),\n  ThreeGridRegularIcon: () => import(\"./components/IcThreeGridRegular.js\"),\n  TrashBoldIcon: () => import(\"./components/IcTrashBold.js\"),\n  TrashBoldFillIcon: () => import(\"./components/IcTrashBoldFill.js\"),\n  TrashIcon: () => import(\"./components/IcTrash.js\"),\n  TrashLightIcon: () => import(\"./components/IcTrashLight.js\"),\n  TrashRegularIcon: () => import(\"./components/IcTrashRegular.js\"),\n  TrashUnionIcon: () => import(\"./components/IcTrashUnion.js\"),\n  TwoGridBoldIcon: () => import(\"./components/IcTwoGridBold.js\"),\n  TwoGridBoldFillIcon: () => import(\"./components/IcTwoGridBoldFill.js\"),\n  TwoGridLightIcon: () => import(\"./components/IcTwoGridLight.js\"),\n  TwoGridRegularIcon: () => import(\"./components/IcTwoGridRegular.js\"),\n  VolumeIcon: () => import(\"./components/IcVolume.js\"),\n  VolumeOffIcon: () => import(\"./components/IcVolumeOff.js\"),\n  VolumeOnIcon: () => import(\"./components/IcVolumeOn.js\"),\n  WonIcon: () => import(\"./components/IcWon.js\"),\n  WonBoldIcon: () => import(\"./components/IcWonBold.js\"),\n  WonBoldFillIcon: () => import(\"./components/IcWonBoldFill.js\"),\n  WonLightIcon: () => import(\"./components/IcWonLight.js\"),\n  WonRegularIcon: () => import(\"./components/IcWonRegular.js\"),\n  YoutubeIcon: () => import(\"./components/IcYoutube.js\")\n}, r = (o) => i[o];\nexport {\n  r as loadIcon\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { cn as p$1, tv as g$1 } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { loadIcon as r } from \"../../packages/contexts/common/icon/loader.js\";\nimport { memo, useMemo, forwardRef, Suspense, lazy } from \"react\";\nconst a = /* @__PURE__ */ new Map(), p = (e) => (a.has(e) || a.set(e, lazy(r(e))), a.get(e)), g = memo(\n  ({ icon: e, className: s = \"block\" }) => {\n    const l = useMemo(() => p(e), [e]);\n    return /* @__PURE__ */ m.jsx(\n      l,\n      {\n        className: p$1(\"h-full w-full align-[unset]\", s),\n        style: { color: \"inherit\", backgroundColor: \"inherit\" }\n      }\n    );\n  },\n  (e, s) => e.icon === s.icon\n), j = g$1({\n  base: \"inline-block\",\n  variants: {\n    size: {\n      xSmall: \"h-12 w-12\",\n      small: \"h-14 w-14\",\n      medium: \"h-16 w-16\",\n      large: \"h-18 w-18\",\n      xLarge: \"h-20 w-20\"\n    }\n  }\n}), v = memo(\n  forwardRef(\n    ({ icon: e, size: s, className: l, svgClass: r2, ...t }, c) => {\n      const i = j({ size: s, className: l });\n      return /* @__PURE__ */ m.jsx(\"div\", { ...t, className: i, ref: c, children: /* @__PURE__ */ m.jsx(Suspense, { fallback: /* @__PURE__ */ m.jsx(\"div\", { className: \"h-full w-full\" }), children: /* @__PURE__ */ m.jsx(g, { icon: e, className: r2 }) }) });\n    }\n  )\n);\nexport {\n  v as Icon\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport { Icon as v } from \"../Icon/Icon.js\";\nconst N = g({\n  slots: {\n    button: \"inline-block align-middle focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-1 focus-visible:outline-interactive\",\n    icon: \"inline-block shrink-0 grow-0 bg-transparent align-middle first:mr-2 last:ml-2\",\n    label: \"align-middle\"\n  },\n  variants: {\n    priority: {\n      primary: {},\n      secondary: {},\n      tertiary: {}\n    },\n    size: {\n      xSmall: {\n        button: \"text-s\",\n        label: \"text-s\",\n        icon: \"w-12 text-s\"\n      },\n      small: {\n        button: \"text-l-medium\",\n        label: \"text-l-medium\",\n        icon: \"w-14 text-l-medium\"\n      },\n      medium: {\n        button: \"text-xxl-medium\",\n        label: \"text-xxl-medium\",\n        icon: \"w-16 text-xxl-medium\"\n      },\n      large: {\n        button: \"text-title-xs-medium\",\n        label: \"text-title-xs-medium\",\n        icon: \"w-18 text-title-xs-medium first:mr-4 last:ml-2\"\n      }\n    },\n    // NOTE: compoundVariants 에서 `size` 마다 다르게 설정을 합니다.\n    isBold: {\n      true: {}\n    },\n    // NOTE: border-b 는 inline box 의 content area 하단(baseline + descent)에 고정되어 폰트 크기만큼\n    // 밑줄이 아래로 밀립니다. 옆 텍스트와 나란히 놓일 때 버튼만 내려앉아 보여(CMQA-7776) 밑줄 위치를\n    // 직접 지정할 수 있는 text-decoration 으로 대체합니다. 밑줄은 레이아웃 박스에 영향을 주지 않습니다.\n    isUnderline: {\n      true: {\n        label: \"underline decoration-1 underline-offset-2\"\n      }\n    },\n    isWhite: {\n      true: {\n        button: \"text-on-white [&:not(:disabled)]:hover:text-on-white-hover [&:not(:disabled)]:active:text-on-white-pressed\"\n      }\n    },\n    disabled: {\n      true: {\n        button: \"text-disabled\"\n      }\n    },\n    theme: {\n      light: {},\n      dark: {}\n    }\n  },\n  compoundVariants: [\n    {\n      size: \"xSmall\",\n      isBold: true,\n      class: {\n        button: \"text-s-bold\",\n        label: \"text-s-bold\"\n      }\n    },\n    {\n      size: \"small\",\n      isBold: true,\n      class: {\n        button: \"text-l-bold\",\n        label: \"text-l-bold\"\n      }\n    },\n    {\n      size: \"medium\",\n      isBold: true,\n      class: {\n        button: \"text-xxl-bold\",\n        label: \"text-xxl-bold\"\n      }\n    },\n    {\n      size: \"large\",\n      isBold: true,\n      class: {\n        button: \"text-title-xs-bold\",\n        label: \"text-title-xs-bold\"\n      }\n    },\n    {\n      priority: \"primary\",\n      theme: \"light\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-primary [&:not(:disabled)]:hover:text-primary-hover [&:not(:disabled)]:active:text-primary-pressed\"\n      }\n    },\n    {\n      priority: \"primary\",\n      theme: \"dark\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-primary-dark\"\n      }\n    },\n    {\n      priority: \"secondary\",\n      theme: \"light\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-secondary [&:not(:disabled)]:hover:text-secondary-hover [&:not(:disabled)]:active:text-secondary-pressed\"\n      }\n    },\n    {\n      priority: \"secondary\",\n      theme: \"dark\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-secondary-dark\"\n      }\n    },\n    {\n      priority: \"tertiary\",\n      theme: \"light\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-tertiary [&:not(:disabled)]:hover:text-tertiary-hover [&:not(:disabled)]:active:text-tertiary-pressed\"\n      }\n    },\n    {\n      priority: \"tertiary\",\n      theme: \"dark\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-tertiary-dark\"\n      }\n    }\n  ]\n}), E = forwardRef(\n  ({\n    label: c,\n    priority: h = \"primary\",\n    size: e = \"medium\",\n    theme: f = \"light\",\n    isBold: y,\n    isUnderline: p,\n    isWhite: v$1 = false,\n    disabled: g2 = false,\n    prefixIcon: i,\n    postfixIcon: s,\n    onClick: l,\n    href: a = \"\",\n    className: r,\n    target: w,\n    as: j = \"a\",\n    ...o\n  }, n) => {\n    const {\n      button: d,\n      icon: m$1,\n      label: k\n    } = N({\n      priority: h,\n      size: e,\n      theme: f,\n      isBold: y,\n      isUnderline: p,\n      isWhite: v$1,\n      disabled: g2\n    }), B = (x) => {\n      a || x.preventDefault(), l == null || l(x);\n    }, b = /* @__PURE__ */ m.jsxs(m.Fragment, { children: [\n      i ? /* @__PURE__ */ m.jsx(v, { icon: i, size: e, className: m$1() }) : null,\n      /* @__PURE__ */ m.jsx(\"span\", { className: k(), children: c }),\n      s ? /* @__PURE__ */ m.jsx(v, { icon: s, size: e, className: m$1() }) : null\n    ] });\n    return j === \"span\" ? /* @__PURE__ */ m.jsx(\"span\", { ref: n, className: d({ className: r }), ...o, children: b }) : /* @__PURE__ */ m.jsx(\n      \"a\",\n      {\n        ref: n,\n        className: d({ className: r }),\n        href: a,\n        target: w,\n        ...o,\n        onClick: B,\n        role: \"button\",\n        children: b\n      }\n    );\n  }\n);\nexport {\n  E as TextButton\n};\n","import { createContext, useContext } from \"react\";\nconst n = createContext(null), S = () => {\n  const t = useContext(n);\n  return t || {\n    state: { stack: [] },\n    dispatch: () => {\n    }\n  };\n};\nexport {\n  S as useRulerStack\n};\n","const e = {\n  FullScreenDialog: \"ruler_full-screen-dialog\",\n  Dialog: \"ruler_dialog\",\n  AlertDialog: \"ruler_alert-dialog\",\n  BottomSheet: \"ruler_bottom-sheet\",\n  SnackBar: \"ruler_snack-bar\"\n};\nexport {\n  e as COMPONENT_ID\n};\n","import { useFloating, useClick, useRole, useDismiss, useInteractions } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { useMemo } from \"react\";\nimport { useRulerStack as S } from \"../../contexts/RulerStackContext.js\";\nimport { COMPONENT_ID as e } from \"../../contexts/constants.js\";\nfunction R({ open: s, onOpenChange: o, overlayEnabled: r = true }) {\n  const e$1 = useFloating({\n    open: s,\n    onOpenChange: o\n  }), i = e$1.context, { state: t } = S(), a = useMemo(() => {\n    var l;\n    const c = (t == null ? void 0 : t.stack) ?? [];\n    return c.length > 0 && ((l = c[c.length - 1]) == null ? void 0 : l.id) === e.Dialog ? r : false;\n  }, [t, r]), m = useClick(i), d = useRole(i, { role: \"dialog\" }), f = useDismiss(i, {\n    outsidePressEvent: \"mousedown\",\n    enabled: a\n  }), n = useInteractions([m, f, d]);\n  return useMemo(\n    () => ({\n      open: s,\n      setOpen: o,\n      ...n,\n      ...e$1\n    }),\n    [s, o, n, e$1]\n  );\n}\nexport {\n  R as useDialog\n};\n","import { tv as g, cn as p } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { dialog as n } from \"../../styles/dialog.style.js\";\nconst l = g({\n  slots: {\n    title: \"whitespace-pre-wrap break-words pb-8 text-left text-title-m-bold\",\n    container: p(n.slots.container, \"relative w-full px-20 py-24\"),\n    description: \"whitespace-pre-wrap pb-16 text-left text-xxl\",\n    buttonContainer: \"flex flex-1 items-center justify-between gap-8 pt-16\",\n    button: \"h-52 flex-1 rounded-b-0 rounded-t-0 border-0\",\n    closeButton: \"absolute right-10 top-12 p-10\"\n  },\n  variants: {\n    dismissable: {\n      true: {\n        title: \"pr-50\",\n        description: \"pr-50\"\n      }\n    }\n  },\n  extend: n\n});\nexport {\n  l as style\n};\n","import { useState } from \"react\";\nconst a = (o = false) => {\n  const [s, e] = useState(false);\n  return {\n    isPressed: s,\n    pressEvents: o ? {} : {\n      onMouseDown: () => e(true),\n      onMouseUp: () => e(false),\n      onMouseLeave: () => e(false),\n      onTouchStart: () => e(true),\n      onTouchEnd: () => e(false),\n      onTouchCancel: () => e(false)\n    },\n    \"data-pressed\": s\n  };\n};\nexport {\n  a as usePressedState\n};\n","const t = (e) => e ? typeof e == \"string\" : false;\nexport {\n  t as isIconName\n};\n","var l = /* @__PURE__ */ ((a) => (a[a.small = 16] = \"small\", a[a.medium = 20] = \"medium\", a[a.xLarge = 42] = \"xLarge\", a))(l || {}), s = /* @__PURE__ */ ((a) => (a[a.small = 3] = \"small\", a[a.medium = 4] = \"medium\", a[a.xLarge = 6] = \"xLarge\", a))(s || {});\nexport {\n  l as SpinnerSizeEnum,\n  s as SpinnerStrokeEnum\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport { SpinnerSizeEnum as l, SpinnerStrokeEnum as s } from \"./Spinner.types.js\";\nconst c = (i) => {\n  switch (i) {\n    case \"xLarge\":\n      return {\n        size: l.xLarge,\n        stroke: s.xLarge\n      };\n    case \"large\":\n    case \"medium\":\n      return {\n        size: l.medium,\n        stroke: s.medium\n      };\n    case \"small\":\n    case \"xSmall\":\n      return {\n        size: l.small,\n        stroke: s.small\n      };\n    default:\n      return {\n        size: l.medium,\n        stroke: s.medium\n      };\n  }\n}, t = 50, d = g({\n  base: \"ruler-spinner\",\n  variants: {\n    pending: {\n      true: \"pending\"\n    }\n  }\n}), k = forwardRef(\n  ({ size: i = \"medium\", onColor: o = false, isPending: m$1 = true }, a) => {\n    const l2 = d({ pending: m$1 }), e = c(i);\n    return /* @__PURE__ */ m.jsx(\n      \"svg\",\n      {\n        ref: a,\n        className: l2,\n        xmlns: \"http://www.w3.org/2000/svg\",\n        width: e.size,\n        height: e.size,\n        viewBox: `-${e.size / 2} -${e.size / 2} ${e.size} ${e.size}`,\n        style: { \"--path-length\": t },\n        children: /* @__PURE__ */ m.jsx(\n          \"circle\",\n          {\n            r: Math.floor(e.size / 2 - e.stroke / 2),\n            strokeWidth: e.stroke,\n            fill: \"none\",\n            pathLength: t,\n            className: o ? \"ruler-spinner-on-color\" : \"ruler-spinner-normal\"\n          }\n        )\n      }\n    );\n  }\n);\nexport {\n  k as Spinner,\n  d as spinnerVariant\n};\n","import { tv as g, cn as p } from \"../../packages/configs/tailwind-variants/index.js\";\nconst i = \"bg-disabled [@media(hover:hover)and(pointer:fine)]:hover:bg-disabled focus:bg-disabled data-[pressed=true]:bg-disabled text-disabled [@media(hover:hover)and(pointer:fine)]:hover:text-disabled focus:text-disabled data-[pressed=true]:text-disabled cursor-not-allowed\", r = \"text-disabled [@media(hover:hover)and(pointer:fine)]:hover:text-disabled focus:text-disabled data-[pressed=true]:text-disabled\", o = g({\n  base: \"relative flex flex-row items-center justify-center gap-2 rounded-2 focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-interactive\",\n  variants: {\n    size: {\n      xSmall: \"h-28 min-w-[60px] rounded-4 px-10 py-6 text-xs font-normal [&:has(.postfix-icon)]:pr-8 [&:has(.prefix-icon)]:pl-8\",\n      small: \"h-36 min-w-[66px] rounded-4 px-12 py-10 text-s font-medium [&:has(.postfix-icon)]:pr-8 [&:has(.prefix-icon)]:pl-8\",\n      medium: \"h-44 min-w-[84px] rounded-4 px-18 py-12 text-l font-bold [&:has(.postfix-icon)]:pr-12 [&:has(.prefix-icon)]:pl-12\",\n      large: \"h-52 min-w-[88px] rounded-4 px-20 py-16 text-l font-bold [&:has(.postfix-icon)]:pr-16 [&:has(.prefix-icon)]:pl-16\"\n    },\n    priority: {\n      primary: \"bg-primary text-on-color focus:bg-primary data-[pressed=true]:bg-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:bg-primary-hover\",\n      secondary: \"border border-solid border-line bg-silent text-primary data-[pressed=true]:bg-silent-pressed data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:bg-silent-hover [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      tertiary: \"bg-tertiary text-primary data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      negative: \"bg-negative text-on-color focus:bg-negative data-[pressed=true]:bg-negative-pressed [@media(hover:hover)and(pointer:fine)]:hover:bg-negative-hover\"\n    },\n    disabled: {\n      true: p(i, r)\n    },\n    stretch: {\n      true: \"flex-1\"\n    }\n  },\n  defaultVariants: {\n    priority: \"primary\",\n    size: \"medium\",\n    disabled: false,\n    stretch: false\n  }\n}), s = g({\n  base: \"shrink-0 grow-0 bg-transparent\",\n  variants: {\n    size: {\n      xSmall: \"h-12 w-12\",\n      small: \"h-14 w-14\",\n      medium: \"h-16 w-16\",\n      large: \"h-18 w-18\"\n    },\n    priority: {\n      primary: \"text-on-color\",\n      secondary: \"text-primary data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      tertiary: \"text-primary data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      negative: \"text-on-color\"\n    },\n    disabled: {\n      true: r\n    },\n    pending: {\n      true: \"invisible\"\n    }\n  }\n}), d = g({\n  base: \"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center rounded-2\",\n  variants: {\n    size: {\n      xSmall: \"rounded-4\",\n      small: \"rounded-4\",\n      medium: \"rounded-4\",\n      large: \"rounded-4\"\n    },\n    priority: {\n      primary: \"bg-primary\",\n      secondary: \"bg-silent\",\n      tertiary: \"bg-tertiary\",\n      negative: \"bg-negative\"\n    },\n    pending: {\n      true: \"invisible\"\n    }\n  }\n}), n = g({\n  base: \"overflow-hidden text-ellipsis whitespace-nowrap bg-transparent\",\n  defaultVariants: {\n    size: \"medium\",\n    priority: \"primary\"\n  },\n  variants: {\n    size: {\n      xSmall: \"ml-0\",\n      small: \"ml-0\",\n      medium: \"ml-2\",\n      large: \"ml-2\"\n    },\n    priority: {\n      primary: \"text-on-color\",\n      secondary: \"text-primary data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      tertiary: \"text-primary data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      negative: \"text-on-color\"\n    },\n    disabled: {\n      true: r\n    },\n    pending: {\n      true: \"invisible\"\n    }\n  }\n});\nexport {\n  o as buttonVariant,\n  s as iconVariant,\n  n as labelVariant,\n  d as spinnerVariant\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { cn as p } from \"../../packages/configs/tailwind-variants/index.js\";\nimport React__default, { forwardRef } from \"react\";\nimport { usePressedState as a } from \"../../hooks/usePressedState.js\";\nimport { Icon as v } from \"../Icon/Icon.js\";\nimport { isIconName as t } from \"../Icon/Icon.types.js\";\nimport { Spinner as k } from \"../Spinner/Spinner.js\";\nimport { buttonVariant as o, labelVariant as n, iconVariant as s, spinnerVariant as d } from \"./Button.style.js\";\nconst w = ({\n  label: s2,\n  size: t2,\n  priority: r,\n  disabled: e,\n  pending: a2\n}) => {\n  const m$1 = n({ size: t2, priority: r, disabled: e, pending: a2 });\n  return s2 ? /* @__PURE__ */ m.jsx(\"span\", { className: m$1, children: s2 }) : null;\n}, c = ({\n  icon: s$1,\n  size: t$1,\n  priority: r,\n  disabled: e,\n  pending: a2,\n  isPrefix: m$1\n}) => {\n  const o2 = p(\n    s({ size: t$1, priority: r, disabled: e, pending: a2 }),\n    m$1 ? \"prefix-icon\" : \"postfix-icon\"\n  );\n  if (t(s$1))\n    return /* @__PURE__ */ m.jsx(v, { icon: s$1, className: o2 });\n  if (React__default.isValidElement(s$1))\n    return /* @__PURE__ */ m.jsx(\"span\", { className: o2, children: /* @__PURE__ */ m.jsx(\"span\", { className: \"inline-flex h-full w-full items-center justify-center\", children: s$1 }) });\n}, _ = ({ priority: s2, size: t2, pending: r }) => {\n  const e = d({ priority: s2, size: t2, pending: r });\n  return /* @__PURE__ */ m.jsx(\"div\", { className: e, children: /* @__PURE__ */ m.jsx(k, { size: t2, onColor: s2 === \"primary\" || s2 === \"negative\" }) });\n}, H = forwardRef(\n  ({\n    className: s2,\n    priority: t2 = \"primary\",\n    size: r = \"medium\",\n    disabled: e,\n    pending: a$1,\n    label: m$1,\n    prefixIcon: o$1,\n    postfixIcon: l,\n    stretch: u,\n    children: I,\n    ...f\n  }, x) => {\n    const { pressEvents: i, \"data-pressed\": j } = a(e || a$1), N = o({\n      size: r,\n      priority: t2,\n      disabled: e,\n      stretch: u,\n      className: s2\n    });\n    return /* @__PURE__ */ m.jsxs(\n      \"button\",\n      {\n        ref: x,\n        ...f,\n        ...i,\n        \"data-pressed\": j,\n        className: N,\n        disabled: e || a$1,\n        children: [\n          o$1 ? /* @__PURE__ */ m.jsx(\n            c,\n            {\n              icon: o$1,\n              size: r,\n              priority: t2,\n              disabled: e,\n              pending: a$1,\n              isPrefix: true\n            }\n          ) : null,\n          /* @__PURE__ */ m.jsx(w, { label: m$1, size: r, priority: t2, disabled: e, pending: a$1 }),\n          l ? /* @__PURE__ */ m.jsx(\n            c,\n            {\n              icon: l,\n              size: r,\n              priority: t2,\n              disabled: e,\n              pending: a$1,\n              isPrefix: false\n            }\n          ) : null,\n          !e && a$1 ? /* @__PURE__ */ m.jsx(_, { priority: t2, size: r }) : null\n        ]\n      }\n    );\n  }\n);\nexport {\n  H as Button\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { FloatingPortal, FloatingFocusManager } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { forwardRef } from \"react\";\nimport { useEffectDisableScroll as S } from \"../../hooks/useEffectDisableScroll.js\";\nimport { PriorityByTone as r } from \"../../styles/dialog.style.js\";\nimport { Icon as v } from \"../Icon/Icon.js\";\nimport { TextButton as E } from \"../TextButton/TextButton.js\";\nimport { useDialog as R } from \"./Dialog.hooks.js\";\nimport { style as l } from \"./Dialog.style.js\";\nimport { Button as H } from \"../Button/Button.js\";\nconst M = forwardRef(function(r$1, d) {\n  const {\n    id: x,\n    title: n,\n    description: a,\n    dismissable: c = true,\n    primaryAction: o,\n    secondaryAction: l$1,\n    tertiaryAction: t,\n    onOpenChange: u,\n    tone: f = \"default\",\n    className: p,\n    containerClassName: j,\n    stackLayer: y = 0\n  } = r$1, s = R(r$1), i = l({ dismissable: c, stackLayer: y });\n  return S(s.open), s.open ? /* @__PURE__ */ m.jsxs(FloatingPortal, { id: x, children: [\n    /* @__PURE__ */ m.jsx(\"div\", { className: i.overlay() }),\n    /* @__PURE__ */ m.jsx(FloatingFocusManager, { context: s.context, children: /* @__PURE__ */ m.jsx(\"div\", { className: i.layout({ className: p }), children: /* @__PURE__ */ m.jsxs(\n      \"div\",\n      {\n        ref: d,\n        className: i.container({ className: j }),\n        ...s.getFloatingProps(),\n        children: [\n          c && /* @__PURE__ */ m.jsx(\"button\", { className: i.closeButton(), onClick: () => u(false), children: /* @__PURE__ */ m.jsx(v, { icon: \"CloseRegularIcon\", size: \"large\" }) }),\n          n && /* @__PURE__ */ m.jsx(\"h2\", { className: i.title(), children: n }),\n          a && /* @__PURE__ */ m.jsx(\"p\", { className: i.description(), children: a }),\n          /* @__PURE__ */ m.jsx(\"div\", { children: r$1.children }),\n          (o || l$1 || t) && /* @__PURE__ */ m.jsxs(\"div\", { className: i.buttonContainer(), children: [\n            /* @__PURE__ */ m.jsx(\"div\", { children: t && /* @__PURE__ */ m.jsx(\n              E,\n              {\n                priority: \"tertiary\",\n                size: \"small\",\n                onClick: t.onClick,\n                label: t.label\n              }\n            ) }),\n            /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex justify-end gap-8\", children: [\n              l$1 && /* @__PURE__ */ m.jsx(\n                H,\n                {\n                  ...l$1,\n                  priority: \"secondary\",\n                  size: \"medium\",\n                  onClick: l$1.onClick,\n                  label: l$1.label\n                }\n              ),\n              o && /* @__PURE__ */ m.jsx(\n                H,\n                {\n                  ...o,\n                  priority: r[f],\n                  size: \"medium\",\n                  onClick: o.onClick,\n                  label: o.label\n                }\n              )\n            ] })\n          ] })\n        ]\n      }\n    ) }) })\n  ] }) : null;\n});\nexport {\n  M as Dialog\n};\n","import \"react/jsx-runtime\";\nimport { plus } from \"../../@shared/Icon/assets/plus.js\";\nimport { heart } from \"../../@shared/Icon/assets/heart.js\";\nimport { bell } from \"../../@shared/Icon/assets/bell.js\";\nimport { gift } from \"../../@shared/Icon/assets/gift.js\";\nimport { share } from \"../../@shared/Icon/assets/share.js\";\nimport { scrap } from \"../../@shared/Icon/assets/scrap.js\";\nimport { lock } from \"../../@shared/Icon/assets/lock.js\";\nimport { lockOff } from \"../../@shared/Icon/assets/lockOff.js\";\nconst UNSET_COLOR = {\n  backgroundColor: \"#000000\",\n  color: \"#FFFFFF\"\n};\nconst prefixIconAssets = {\n  plus,\n  scrap,\n  lock,\n  lockOff,\n  heart,\n  bell,\n  gift,\n  share\n};\nconst BADGE_PREFIX_ICON_OPTIONS = Object.keys(prefixIconAssets);\nexport {\n  BADGE_PREFIX_ICON_OPTIONS,\n  UNSET_COLOR\n};\n","const getBadgeBackgroundColor = (backgroundColor, isBlur) => {\n  if (typeof backgroundColor === \"string\") {\n    return backgroundColor;\n  }\n  if (isBlur) {\n    return backgroundColor.hasBlur;\n  }\n  return backgroundColor.default;\n};\nconst getBadgeTextColor = (color, isBlur) => {\n  if (typeof color === \"string\") {\n    return color;\n  }\n  if (isBlur) {\n    return color.hasBlur;\n  }\n  return color.default;\n};\nexport {\n  getBadgeBackgroundColor,\n  getBadgeTextColor\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Icon } from \"../../@shared/Icon/Icon.js\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { UNSET_COLOR } from \"./Badge.constants.js\";\nimport { getBadgeBackgroundColor, getBadgeTextColor } from \"./Badge.utils.js\";\nconst Badge = forwardRef(({\n  variant = \"system\",\n  priority = \"primary\",\n  tone = \"default\",\n  size = \"small\",\n  isWhite = false,\n  isBlur = false,\n  prefixIcon,\n  label = \"Label\",\n  customBackgroundColor = \"#000000\",\n  customTextColor = \"#FFFFFF\",\n  style,\n  ...rest\n}, ref) => {\n  var _a;\n  const theme = isWhite ? \"light\" : \"dark\";\n  const customizedBadgeColor = {\n    backgroundColor: customBackgroundColor,\n    color: customTextColor\n  };\n  const configuredBadgeColors = ((_a = badgeStyleByVariant[priority][tone]) == null ? void 0 : _a[theme]) ?? UNSET_COLOR;\n  const {\n    backgroundColor,\n    color\n  } = variant === \"custom\" ? customizedBadgeColor : configuredBadgeColors;\n  const badgeBackgroundColor = getBadgeBackgroundColor(backgroundColor, isBlur);\n  const badgeTextColor = getBadgeTextColor(color, isBlur);\n  const badgePadding = prefixIcon ? badgeStyleBySize[size].padding.withPrefixIcon : badgeStyleBySize[size].padding.default;\n  const badgeStyle = {\n    ...baseBadgeStyle,\n    ...badgeStyleBySize[size],\n    padding: badgePadding,\n    backgroundColor: badgeBackgroundColor,\n    color: badgeTextColor\n  };\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...badgeStyle,\n    ...style\n  }, ref, ...rest, children: [\n    prefixIcon ? /* @__PURE__ */ jsx(Icon, { type: prefixIcon, fill: true, size: iconSizeByBadgeSize[size], color: badgeTextColor, weight: \"bold\" }) : null,\n    /* @__PURE__ */ jsx(\"span\", { children: label })\n  ] });\n});\nconst baseBadgeStyle = {\n  display: \"flex\",\n  gap: \"2px\",\n  justifyContent: \"center\",\n  alignItems: \"center\",\n  borderRadius: \"2px\",\n  whiteSpace: \"nowrap\"\n};\nconst badgeStyleBySize = {\n  medium: {\n    ...typography(12, 500, \"16.32px\"),\n    padding: {\n      default: \"4px 8px\",\n      withPrefixIcon: \"4px 8px 4px 6px\"\n    }\n  },\n  small: {\n    ...typography(10, 500, \"12px\"),\n    padding: {\n      default: \"2px 6px\",\n      withPrefixIcon: \"2px 6px 2px 4px\"\n    }\n  }\n};\nconst badgeStyleByVariant = {\n  primary: {\n    default: {\n      light: {\n        backgroundColor: \"#FFFFFF\",\n        color: \"#000000\"\n      },\n      dark: {\n        backgroundColor: \"#000000\",\n        color: \"#FFFFFF\"\n      }\n    },\n    information: {\n      dark: {\n        backgroundColor: \"#375FFF\",\n        color: \"#FFFFFF\"\n      }\n    },\n    positive: {\n      dark: {\n        backgroundColor: \"#12BA23\",\n        color: \"#FFFFFF\"\n      }\n    },\n    negative: {\n      dark: {\n        backgroundColor: \"#D53F00\",\n        color: \"#FFFFFF\"\n      }\n    }\n  },\n  secondary: {\n    default: {\n      dark: {\n        backgroundColor: {\n          default: \"#F4F4F4\",\n          hasBlur: \"#5D5D5D80\"\n        },\n        color: {\n          default: \"#474747\",\n          hasBlur: \"#FFFFFF\"\n        }\n      }\n    },\n    information: {\n      dark: {\n        backgroundColor: \"#345FFF14\",\n        color: \"#375FFF\"\n      }\n    },\n    positive: {\n      dark: {\n        backgroundColor: \"#16BA2214\",\n        color: \"#12BA23\"\n      }\n    },\n    negative: {\n      dark: {\n        backgroundColor: \"#FF480014\",\n        color: \"#D53F00\"\n      }\n    }\n  },\n  tertiary: {\n    default: {\n      dark: {\n        backgroundColor: \"#F4F4F4\",\n        color: \"#A0A0A0\"\n      }\n    }\n  }\n};\nconst iconSizeByBadgeSize = {\n  medium: 12,\n  small: 10\n};\nexport {\n  Badge\n};\n","const IMAGE_HOST = \"img.29cm.co.kr\";\nconst IMAGE_BASE_URL = `https://${IMAGE_HOST}`;\nconst getImageUrl = (pathname, options = {}) => {\n  const {\n    enforceWebp = true\n  } = options;\n  try {\n    const url = new URL(pathname, IMAGE_BASE_URL);\n    if (enforceWebp && url.hostname === IMAGE_HOST) {\n      url.searchParams.set(\"format\", \"webp\");\n    }\n    return url.href;\n  } catch {\n    return pathname.includes(\"://\") ? pathname : `${IMAGE_BASE_URL}/${`${pathname}`.replace(/^\\/+/, \"\")}`;\n  }\n};\nexport {\n  getImageUrl\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useContentStore } from \"../../../../hooks/stores/content/content.store.js\";\nimport { getImageUrl } from \"../../../../utils/image/getImageUrl.js\";\nimport { colors } from \"../../../../styles/colors.js\";\nconst FALLBACK_IMAGE_URL = \"https://img.29cm.co.kr/mall/og_image.png\";\nconst PreviewCard = () => {\n  var _a, _b;\n  const summary = useContentStore((state) => state.summary);\n  const posterImageUrl = ((_a = summary.mobilePoster) == null ? void 0 : _a.src) ?? FALLBACK_IMAGE_URL;\n  return /* @__PURE__ */ jsxs(\"div\", { style: containerStyle, children: [\n    /* @__PURE__ */ jsx(\"div\", { style: glowStyle }),\n    /* @__PURE__ */ jsxs(\"div\", { style: previewRowStyle, children: [\n      /* @__PURE__ */ jsxs(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"64\", height: \"62\", viewBox: \"0 0 64 62\", fill: \"none\", style: leftIconStyle, children: [\n        /* @__PURE__ */ jsx(\"path\", { d: \"M6.10352e-05 22.8113C6.10352e-05 10.213 10.0498 0 22.4469 0H41.5532C53.9503 0 64.0001 10.213 64.0001 22.8113C64.0001 35.4097 53.9503 45.6226 41.5532 45.6226H22.4469C10.0498 45.6226 6.10352e-05 35.4097 6.10352e-05 22.8113Z\", fill: \"white\" }),\n        /* @__PURE__ */ jsx(\"path\", { d: \"M28.3154 47.2311C28.3154 50.7038 25.5452 53.5189 22.1281 53.5189C18.711 53.5189 15.9408 50.7038 15.9408 47.2311C15.9408 43.7585 18.711 40.9434 22.1281 40.9434C25.5452 40.9434 28.3154 43.7585 28.3154 47.2311Z\", fill: \"white\" }),\n        /* @__PURE__ */ jsx(\"path\", { d: \"M18.5308 58.783C18.5308 60.5597 16.9847 62 15.0775 62C13.1703 62 11.6241 60.5597 11.6241 58.783C11.6241 57.0063 13.1703 55.566 15.0775 55.566C16.9847 55.566 18.5308 57.0063 18.5308 58.783Z\", fill: \"white\" }),\n        /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M24.7574 14.1931C24.445 14.3179 24 14.4802 23.6983 14.5874C22.9806 14.8425 21.4704 16.1255 20.891 16.9726C20.1887 17.9993 19.7639 20.9275 20.1404 22.1455C20.258 22.526 20.4007 23.0556 20.4576 23.3225C20.8205 25.0274 24.8236 29.523 27.7213 31.4797C28.1094 31.7416 28.5885 32.0883 28.786 32.2501C29.4563 32.7987 31.6588 34 31.9943 34C32.3299 34 34.5324 32.7987 35.2026 32.2501C35.4002 32.0883 35.8829 31.743 36.2753 31.4826C36.6678 31.2223 37.1265 30.87 37.2946 30.6997C37.4628 30.5294 37.9215 30.1786 38.3139 29.9202C39.3333 29 39.3333 29 39.9505 28.3701C40.2265 27.9964 40.7739 27.3726 41.1669 26.9841C44.5349 23.6539 44.9662 18.5398 42.1047 15.865C41.1074 14.933 40.8677 14.7844 39.7087 14.381C36.9891 13.4344 34.5854 14.2502 32.453 16.8436L31.9943 17.4014L31.5357 16.8436C30.9689 16.1543 30.169 15.3488 29.7168 15.012C28.6584 14.2238 25.8441 13.759 24.7574 14.1931Z\", fill: colors.red500 })\n      ] }),\n      /* @__PURE__ */ jsx(\"div\", { style: thumbnailFrameStyle, children: /* @__PURE__ */ jsx(\"img\", { style: thumbnailImageStyle, src: getImageUrl(posterImageUrl), alt: ((_b = summary.mobilePoster) == null ? void 0 : _b.alt) ?? \"콘텐츠 썸네일 이미지\" }) })\n    ] }),\n    /* @__PURE__ */ jsxs(\"div\", { style: bubbleRowStyle, children: [\n      /* @__PURE__ */ jsx(\"div\", { style: bubbleTextStyle, children: \"요즘 눈여겨보고 있는 콘텐츠예요.\" }),\n      /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"15\", height: \"15\", viewBox: \"0 0 15 15\", fill: \"none\", style: bubbleTailStyle, children: /* @__PURE__ */ jsx(\"path\", { d: \"M10.4545 9.26471C10.9104 11.9193 13.4848 14.4118 15 15C9.18182 15 5.45455 13.0882 4.54545 11.9118L0 13.2353L0.454545 0H10V1.76471V3.52941V3.97059C10 4.85294 10 6.61765 10.4545 9.26471Z\", fill: \"white\" }) })\n    ] })\n  ] });\n};\nconst containerStyle = {\n  position: \"relative\",\n  display: \"flex\",\n  flexDirection: \"column\",\n  alignItems: \"center\",\n  gap: 10,\n  overflow: \"hidden\",\n  borderRadius: 20,\n  border: `1px solid ${colors.borderDivider}`,\n  backgroundColor: colors.gray100,\n  paddingLeft: 12,\n  paddingRight: 12,\n  paddingBottom: 12,\n  paddingTop: 11,\n  backdropFilter: \"blur(8px)\"\n};\nconst glowStyle = {\n  position: \"absolute\",\n  left: 0,\n  top: 0,\n  height: 270,\n  width: \"100%\",\n  borderRadius: 9999,\n  backgroundColor: colors.blue100,\n  filter: \"blur(60px)\",\n  zIndex: 0\n};\nconst previewRowStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  zIndex: 1\n};\nconst leftIconStyle = {\n  marginRight: -20,\n  zIndex: 10\n};\nconst thumbnailFrameStyle = {\n  width: 124,\n  height: 124,\n  transform: \"rotate(4deg)\",\n  borderRadius: 16,\n  border: `1px solid ${colors.borderDivider}`,\n  backgroundColor: colors.gray00Alpha90,\n  padding: 4,\n  boxSizing: \"border-box\",\n  zIndex: 1\n};\nconst thumbnailImageStyle = {\n  width: \"100%\",\n  height: \"100%\",\n  borderRadius: 16,\n  objectFit: \"cover\",\n  display: \"block\"\n};\nconst bubbleRowStyle = {\n  display: \"flex\",\n  alignItems: \"flex-end\",\n  width: \"100%\",\n  zIndex: 1\n};\nconst bubbleTextStyle = {\n  marginRight: -10,\n  width: \"100%\",\n  borderRadius: 12,\n  backgroundColor: colors.gray00,\n  paddingLeft: 14,\n  paddingRight: 14,\n  paddingTop: 8,\n  paddingBottom: 9,\n  textAlign: \"center\",\n  fontSize: 13,\n  fontWeight: 400,\n  color: \"#474747\",\n  opacity: 0.9,\n  boxSizing: \"border-box\"\n};\nconst bubbleTailStyle = {\n  opacity: 0.9,\n  flexShrink: 0\n};\nexport {\n  PreviewCard\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport \"react\";\nimport \"framer\";\nimport { colors } from \"../../../../styles/colors.js\";\nconst RadioIndicator = ({\n  selected\n}) => {\n  return /* @__PURE__ */ jsx(\"div\", { style: {\n    display: \"flex\",\n    width: 22,\n    height: 22,\n    alignItems: \"center\",\n    justifyContent: \"center\",\n    borderRadius: \"9999px\",\n    borderWidth: 2,\n    borderStyle: \"solid\",\n    borderColor: selected ? colors.gray950 : colors.gray300,\n    backgroundColor: selected ? colors.gray950 : \"transparent\"\n  }, \"aria-hidden\": \"true\", children: selected ? /* @__PURE__ */ jsx(\"div\", { style: {\n    width: 10,\n    height: 10,\n    borderRadius: \"9999px\",\n    backgroundColor: colors.gray00\n  } }) : null });\n};\nexport {\n  RadioIndicator\n};\n","import { env } from \"../../config/index.js\";\nconst createLegacyOneLink = (params) => {\n  const body = {\n    domain: \"content\",\n    ...params\n  };\n  const options = {\n    method: \"POST\",\n    headers: {\n      \"Content-Type\": \"application/json\",\n      \"accept\": \"application/json\"\n    },\n    body: JSON.stringify(body)\n  };\n  return fetch(`${env.workspace.content}/api/onelink`, options).then((res) => res.json());\n};\nconst createOneLink = (params) => {\n  const options = {\n    method: \"POST\",\n    headers: {\n      \"Content-Type\": \"application/json\",\n      \"accept\": \"application/json\"\n    },\n    body: JSON.stringify(params),\n    credentials: \"include\"\n  };\n  return fetch(`${env.workspace.home}/api/onelink`, options).then((res) => res.json());\n};\nconst onelinkApi = {\n  createLegacyOneLink,\n  createOneLink\n};\nexport {\n  onelinkApi\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { tasteSharingApi } from \"../../apis/taste-sharing/TasteSharingApiService.js\";\nconst REWARD_KEY_FETCHER_KEY = \"reward-key\";\nconst useFetchRewardKey = ({\n  enabled,\n  rewardProgramKey\n}) => {\n  var _a, _b;\n  const response = useSWR(enabled && rewardProgramKey ? [REWARD_KEY_FETCHER_KEY, rewardProgramKey] : null, () => tasteSharingApi.createRewardKey({\n    rewardProgramKey\n  }), {\n    onError: (error) => {\n      console.error(\"[useFetchRewardKey] Failed to fetch reward key:\", error);\n    }\n  });\n  return {\n    ...response,\n    rewardKey: (_b = (_a = response.data) == null ? void 0 : _a.data) == null ? void 0 : _b.rewardKey,\n    isLoading: response.isLoading || !enabled\n  };\n};\nexport {\n  useFetchRewardKey\n};\n","import { toDate } from \"../toDate/index.js\";\nimport { tzPattern } from \"../_lib/tzPattern/index.js\";\nimport { tzParseTimezone } from \"../_lib/tzParseTimezone/index.js\";\nimport { newDateUTC } from \"../_lib/newDateUTC/index.js\";\nfunction fromZonedTime(date, timeZone, options) {\n  if (typeof date === \"string\" && !date.match(tzPattern)) {\n    return toDate(date, { ...options, timeZone });\n  }\n  date = toDate(date, options);\n  const utc = newDateUTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()).getTime();\n  const offsetMilliseconds = tzParseTimezone(timeZone, new Date(utc));\n  return new Date(utc + offsetMilliseconds);\n}\nexport {\n  fromZonedTime\n};\n","import { fromZonedTime } from \"../../node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js\";\nconst createUTCFromKST = (date) => {\n  return fromZonedTime(date, \"Asia/Seoul\");\n};\nexport {\n  createUTCFromKST\n};\n","import { createUTCFromKST } from \"../../../../utils/date-helpers/createUTCFromKST.js\";\nconst ARROW_WIDTH = 10;\nconst getArrowRight = (buttonSize) => (buttonSize - ARROW_WIDTH) / 2;\nconst getTime = (date) => {\n  return new Date(date).getTime();\n};\nconst isDateInPeriod = (date, period) => {\n  const targetTime = getTime(date);\n  if (Number.isNaN(targetTime)) {\n    return false;\n  }\n  return targetTime >= period.startAt.getTime() && targetTime <= period.endAt.getTime();\n};\nconst getMatchedImageUrlByDate = () => {\n  const targetDate = /* @__PURE__ */ new Date();\n  const matchedPeriod = EVENT_SHARE_IMAGE_PERIODS.find((period) => isDateInPeriod(targetDate, period));\n  return (matchedPeriod == null ? void 0 : matchedPeriod.imageUrl) ?? null;\n};\nconst EVENT_29_DAY_261027_TEASING_PERIOD = {\n  startAt: createUTCFromKST(\"2026-10-27T10:00:00\"),\n  endAt: createUTCFromKST(\"2026-10-28T23:59:59.999\"),\n  imageUrl: \"https://img.29cm.co.kr/cms/202610/11f1cd166c7d6e31b3932bcf326d89a3.jpg\"\n};\nconst EVENT_29_DAY_261027_MAIN_PERIOD = {\n  startAt: createUTCFromKST(\"2026-10-29T00:00:00\"),\n  endAt: createUTCFromKST(\"2026-10-29T23:59:59.999\"),\n  imageUrl: \"https://img.29cm.co.kr/cms/202610/11f1cd16631a52d7b3934f19cec2e55a.jpg\"\n};\nconst EVENT_SHARE_IMAGE_PERIODS = [EVENT_29_DAY_261027_TEASING_PERIOD, EVENT_29_DAY_261027_MAIN_PERIOD];\nexport {\n  getArrowRight,\n  getMatchedImageUrlByDate,\n  isDateInPeriod\n};\n","import { useMemo, useCallback } from \"react\";\nimport { useToast } from \"../../../../hooks/useToast.js\";\nimport { useContentStore } from \"../../../../hooks/stores/content/content.store.js\";\nimport { onelinkApi } from \"../../../../apis/onelink/OnelinkAPIService.js\";\nimport { appShare } from \"../../../../utils/share/appshare.js\";\nimport { webShare } from \"../../../../utils/share/webshare.js\";\nimport { isShareInternalLinkAvailable } from \"../../../../utils/share/isShareInternalLinkAvailable.js\";\nimport { removeQueryString } from \"../../../../utils/location.js\";\nimport { useFetchRewardKey } from \"../../../../hooks/fetchers/useFetchRewardKey.js\";\nimport { getImageUrl } from \"../../../../utils/image/getImageUrl.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport \"framer\";\nimport { useCurrentUser } from \"../../../../hooks/useCurrentUser.js\";\nimport { useTrackSnowplowEvent } from \"../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { env } from \"../../../../config/index.js\";\nimport { getMatchedImageUrlByDate } from \"../../FloatingShareButton/TasteShareHelpTooltip/TasteShareHelpTooltip.utils.js\";\nconst useTasteSharingShareContent = ({\n  sharerMileageRewardsByAction,\n  participantMileageRewardsByAction\n}) => {\n  const {\n    sharerTotalMileageAmount,\n    participantTotalMileageAmount\n  } = useMemo(() => {\n    const sharerTotal = sharerMileageRewardsByAction.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n    const participantTotal = participantMileageRewardsByAction.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n    return {\n      sharerTotalMileageAmount: sharerTotal,\n      participantTotalMileageAmount: participantTotal\n    };\n  }, [participantMileageRewardsByAction, sharerMileageRewardsByAction]);\n  const {\n    title,\n    description\n  } = useMemo(() => {\n    const descriptionText = sharerTotalMileageAmount === participantTotalMileageAmount ? `내가 공유한 링크로 콘텐츠를 확인하면,\n나도 친구도 최대 ${sharerTotalMileageAmount.toLocaleString()}원 적립받을 수 있어요` : `내가 공유한 링크로 콘텐츠를 확인하면,\n나는 최대 ${sharerTotalMileageAmount.toLocaleString()}원, 친구는 ${participantTotalMileageAmount.toLocaleString()}원까지 적립받을 수 있어요`;\n    return {\n      title: \"콘텐츠 공유하기\",\n      description: descriptionText\n    };\n  }, [participantTotalMileageAmount, sharerTotalMileageAmount]);\n  return {\n    title,\n    description\n  };\n};\nconst FALLBACK_OG_IMAGE_URL = \"https://img.29cm.co.kr/mall/og_image.png\";\nconst useShareContent = ({\n  rewardProgramKey,\n  enabledFetchRewardKey = false\n}) => {\n  var _a, _b;\n  const toast = useToast();\n  const user = useCurrentUser();\n  const summary = useContentStore((state) => state.summary);\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const ogImageUrl = getMatchedImageUrlByDate() ?? ((_a = summary.mobilePoster) == null ? void 0 : _a.src) ?? FALLBACK_OG_IMAGE_URL;\n  const enabledRewardKey = enabledFetchRewardKey && Boolean(rewardProgramKey) && user.logged;\n  const {\n    rewardKey,\n    isLoading: isFetchingRewardKey\n  } = useFetchRewardKey({\n    enabled: enabledRewardKey,\n    rewardProgramKey\n  });\n  const baseShareUrl = removeQueryString(window.location.href);\n  const {\n    appPath,\n    pathname\n  } = useMemo(() => extractUrlComponents(baseShareUrl), [baseShareUrl]);\n  const createWebShareData = useCallback((url) => {\n    return {\n      title: summary.title,\n      url\n    };\n  }, [summary.title]);\n  const executePlatformShare = useCallback((url) => {\n    const data = createWebShareData(url);\n    if (isShareInternalLinkAvailable()) {\n      appShare(data);\n      return;\n    }\n    webShare(data, () => toast.show({\n      content: \"클립보드에 복사되었습니다.\"\n    }));\n  }, [createWebShareData, toast]);\n  const getShareableOnelinkUrl = useCallback(async (inComingRewardKey) => {\n    var _a2;\n    if (!inComingRewardKey) {\n      return createShareOnelink(appPath, pathname, {\n        af_og_title: \"눈여겨보고 있는 콘텐츠인데 어때요?\",\n        af_og_description: `새로운 취향과 혜택 가득한 ${summary.title}`,\n        af_og_image: getImageUrl(((_a2 = summary.mobilePoster) == null ? void 0 : _a2.src) ?? FALLBACK_OG_IMAGE_URL, {\n          enforceWebp: false\n        })\n      });\n    }\n    return createShareOnelink(appPath, `${pathname}?reward_key=${inComingRewardKey}`, {\n      af_og_title: \"내가 끌린 취향을 공유해요\",\n      af_og_description: \"친구가 공유한 콘텐츠를 확인하고 적립금도 받아보세요.\",\n      af_og_image: getImageUrl(ogImageUrl, {\n        enforceWebp: false\n      })\n    });\n  }, [appPath, pathname, ogImageUrl, summary.title, (_b = summary.mobilePoster) == null ? void 0 : _b.src]);\n  const share = useCallback(async (params) => {\n    const shareWithoutReward = async () => {\n      try {\n        const url = await getShareableOnelinkUrl();\n        executePlatformShare(url);\n      } catch (error) {\n        toast.show({\n          content: \"공유 URL 생성에 실패했습니다.\"\n        });\n      }\n    };\n    const shareWithReward = async () => {\n      if (!rewardKey) {\n        toast.show({\n          content: \"리워드 공유 준비 중입니다.\\n잠시 후 다시 시도해주세요.\"\n        });\n        return;\n      }\n      try {\n        const url = await getShareableOnelinkUrl(rewardKey);\n        executePlatformShare(url);\n      } catch (error) {\n        toast.show({\n          content: \"리워드 공유 링크 생성에 실패했습니다.\"\n        });\n      }\n    };\n    if (params.withRewardKey) {\n      trackSnowplowEvent(\"click_button\", {\n        section_name: \"ShareButton\",\n        section_title: \"ShareButton\",\n        position: -1,\n        button_id: \"share_content\",\n        button_name: \"링크 공유하기\",\n        option_name: \"event_share\",\n        reward_program_key: rewardProgramKey,\n        reward_key: rewardKey\n      });\n      await shareWithReward();\n      return;\n    }\n    trackSnowplowEvent(\"click_button\", {\n      section_name: \"ShareButton\",\n      section_title: \"ShareButton\",\n      position: -1,\n      button_id: \"share_content\",\n      button_name: \"링크 공유하기\",\n      option_name: \"normal_share\"\n    });\n    await shareWithoutReward();\n  }, [executePlatformShare, getShareableOnelinkUrl, rewardKey, rewardProgramKey, trackSnowplowEvent, toast]);\n  return {\n    rewardKey,\n    isLoading: isFetchingRewardKey,\n    share\n  };\n};\nconst SOURCE_TASTE_SHARING_SHARE = \"29cm_taste_sharing_share\";\nconst createShareOnelink = async (appPath, pathname, openGraphOptions) => {\n  try {\n    const response = await onelinkApi.createOneLink({\n      appPath,\n      pathname,\n      openWebInsteadStore: true,\n      options: {\n        is_retargeting: true,\n        af_click_lookback: \"7d\",\n        pid: SOURCE_TASTE_SHARING_SHARE,\n        utm_source: SOURCE_TASTE_SHARING_SHARE,\n        ...(openGraphOptions == null ? void 0 : openGraphOptions.af_og_title) && {\n          af_og_title: openGraphOptions.af_og_title\n        },\n        ...(openGraphOptions == null ? void 0 : openGraphOptions.af_og_description) && {\n          af_og_description: openGraphOptions.af_og_description\n        },\n        ...(openGraphOptions == null ? void 0 : openGraphOptions.af_og_image) && {\n          af_og_image: openGraphOptions.af_og_image\n        }\n      }\n    });\n    return response.link;\n  } catch (error) {\n    console.error(\"[createShareOnelink] Failed to create OneLink:\", error);\n    return new URL(pathname, appPath).toString();\n  }\n};\nconst extractUrlComponents = (url) => {\n  const urlObj = new URL(url);\n  return {\n    appPath: env.workspace.legacy.home,\n    pathname: urlObj.pathname\n  };\n};\nexport {\n  useShareContent,\n  useTasteSharingShareContent\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useState } from \"react\";\nimport { Dialog as M } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/Dialog/Dialog.js\";\nimport { TextButton as E } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/TextButton/TextButton.js\";\nimport { Button as H } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/Button/Button.js\";\nimport { Badge } from \"../../../ruler/Badge/Badge.js\";\nimport { env } from \"../../../../config/index.js\";\nimport \"framer\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { colors } from \"../../../../styles/colors.js\";\nimport { PreviewCard } from \"./PreviewCard.js\";\nimport { RadioIndicator } from \"./RadioIndicator.js\";\nimport { useTasteSharingShareContent, useShareContent } from \"./ShareTypeSelector.hooks.js\";\nimport { isTabView } from \"../../../../utils/custom-tab/isTabView.js\";\nconst ShareTypeSelectorView = (props) => {\n  const [withRewardKey, setWithRewardKey] = useState(true);\n  const {\n    rewardProgramKey,\n    sharerMileageRewardsByAction,\n    participantMileageRewardsByAction\n  } = props.tasteSharingProgramData;\n  const {\n    title,\n    description\n  } = useTasteSharingShareContent({\n    sharerMileageRewardsByAction,\n    participantMileageRewardsByAction\n  });\n  const enabledFetchRewardKey = props.presentation === \"bottomSheet\" ? true : props.open;\n  const {\n    isLoading,\n    share\n  } = useShareContent({\n    rewardProgramKey,\n    enabledFetchRewardKey\n  });\n  const requestClose = () => {\n    if (props.presentation === \"bottomSheet\") {\n      props.onRequestClose();\n      return;\n    }\n    props.onOpenChange(false);\n  };\n  const shareContent = () => {\n    if (isLoading) {\n      return;\n    }\n    share({\n      withRewardKey\n    });\n    requestClose();\n  };\n  const selectorContent = /* @__PURE__ */ jsxs(\"div\", { style: radioGroupStyleByPresentation[props.presentation], role: \"radiogroup\", \"aria-label\": \"공유 타입 선택\", children: [\n    /* @__PURE__ */ jsxs(\"div\", { style: optionCardContainerStyle(withRewardKey), children: [\n      /* @__PURE__ */ jsx(\"button\", { type: \"button\", style: optionCardOverlayButtonStyle, \"aria-label\": \"내 취향 소개하고 적립금 받기 선택\", \"aria-checked\": withRewardKey, role: \"radio\", onClick: () => setWithRewardKey(true) }),\n      /* @__PURE__ */ jsxs(\"div\", { style: optionCardBodyStyle, children: [\n        /* @__PURE__ */ jsxs(\"div\", { style: optionCardHeaderRowStyle, children: [\n          /* @__PURE__ */ jsx(RadioIndicator, { selected: withRewardKey }),\n          /* @__PURE__ */ jsxs(\"label\", { htmlFor: \"reward\", style: optionCardLabelStyle(withRewardKey), children: [\n            /* @__PURE__ */ jsx(\"span\", { children: \"내 취향 소개하고 적립금 받기\" }),\n            /* @__PURE__ */ jsx(Badge, { variant: \"custom\", label: \"EVENT\", customBackgroundColor: \"#FF480014\", customTextColor: colors.red500 })\n          ] })\n        ] }),\n        /* @__PURE__ */ jsx(\"div\", { style: optionCardDescriptionWrapperStyle, children: /* @__PURE__ */ jsx(\"p\", { style: optionCardDescriptionStyle, children: description }) }),\n        !isTabView() && /* @__PURE__ */ jsx(\"div\", { style: optionCardPreviewWrapperStyle, children: /* @__PURE__ */ jsx(PreviewCard, {}) })\n      ] }),\n      /* @__PURE__ */ jsx(\"div\", { style: optionCardActionWrapperStyle, children: /* @__PURE__ */ jsx(E, { type: \"a\", label: \"혜택 자세히 보기\", size: \"xSmall\", priority: \"secondary\", postfixIcon: \"ChevronRightRegularIcon\", href: `${env.workspace.shop}/store/invite/taste-share/${rewardProgramKey}`, target: \"_blank\", rel: \"noopener noreferrer\" }) })\n    ] }),\n    /* @__PURE__ */ jsxs(\"div\", { style: optionCardContainerStyle(!withRewardKey), children: [\n      /* @__PURE__ */ jsx(\"button\", { type: \"button\", style: optionCardOverlayButtonStyle, \"aria-label\": \"그냥 공유하기 선택\", \"aria-checked\": !withRewardKey, role: \"radio\", onClick: () => setWithRewardKey(false) }),\n      /* @__PURE__ */ jsx(\"div\", { style: optionCardBodyStyle, children: /* @__PURE__ */ jsxs(\"div\", { style: optionCardHeaderRowStyle, children: [\n        /* @__PURE__ */ jsx(RadioIndicator, { selected: !withRewardKey }),\n        /* @__PURE__ */ jsx(\"label\", { htmlFor: \"normal\", style: optionCardLabelStyle(!withRewardKey), children: /* @__PURE__ */ jsx(\"span\", { children: \"그냥 공유하기\" }) })\n      ] }) })\n    ] })\n  ] });\n  if (props.presentation === \"bottomSheet\") {\n    return /* @__PURE__ */ jsxs(\"div\", { style: bottomSheetContainerStyle, children: [\n      /* @__PURE__ */ jsx(\"h2\", { style: bottomSheetTitleStyle, children: title }),\n      selectorContent,\n      /* @__PURE__ */ jsx(\"div\", { style: bottomSheetButtonRowStyle, children: /* @__PURE__ */ jsx(H, { label: \"링크 공유하기\", type: \"button\", priority: \"primary\", size: \"large\", onClick: shareContent, className: \"w-full\" }) })\n    ] });\n  }\n  return /* @__PURE__ */ jsx(M, { open: props.open, onOpenChange: props.onOpenChange, title, description: \"\", primaryAction: {\n    label: \"링크 복사하기\",\n    onClick: () => {\n      shareContent();\n    }\n  }, secondaryAction: {\n    label: \"다음에 하기\",\n    onClick: props.onClose\n  }, children: /* @__PURE__ */ jsx(\"div\", { style: dialogContainerStyle, children: selectorContent }) });\n};\nconst dialogContainerStyle = {\n  paddingTop: 8\n};\nconst radioGroupStyleByPresentation = {\n  bottomSheet: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    gap: 6\n  },\n  dialog: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    gap: 12\n  }\n};\nconst bottomSheetContainerStyle = {\n  display: \"flex\",\n  flexDirection: \"column\",\n  gap: 12,\n  paddingTop: 6,\n  paddingLeft: 16,\n  paddingRight: 16,\n  paddingBottom: \"calc(env(safe-area-inset-bottom) + 12px)\"\n};\nconst bottomSheetTitleStyle = {\n  ...typography(18, 700, 1.36)\n};\nconst bottomSheetButtonRowStyle = {\n  display: \"flex\",\n  gap: 8,\n  width: \"100%\",\n  marginTop: 12\n};\nconst optionCardContainerStyle = (selected) => ({\n  position: \"relative\",\n  borderRadius: 4,\n  border: `1px solid ${selected ? colors.gray950 : colors.borderDivider}`,\n  padding: \"14px 16px\",\n  backgroundColor: colors.gray00\n});\nconst optionCardOverlayButtonStyle = {\n  position: \"absolute\",\n  inset: 0,\n  borderRadius: 4,\n  border: 0,\n  background: \"transparent\",\n  cursor: \"pointer\"\n};\nconst optionCardBodyStyle = {\n  position: \"relative\",\n  zIndex: 1,\n  pointerEvents: \"none\"\n};\nconst optionCardHeaderRowStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  gap: 8\n};\nconst optionCardLabelStyle = (selected) => ({\n  display: \"flex\",\n  alignItems: \"center\",\n  gap: 6,\n  fontSize: 16,\n  fontWeight: selected ? 600 : 400,\n  lineHeight: \"28px\",\n  color: selected ? colors.gray950 : colors.gray600\n});\nconst optionCardDescriptionWrapperStyle = {\n  marginTop: 2,\n  paddingLeft: 32\n};\nconst optionCardDescriptionStyle = {\n  whiteSpace: \"pre-line\",\n  fontSize: 14,\n  fontWeight: 400,\n  lineHeight: \"20px\",\n  color: colors.gray600,\n  margin: 0\n};\nconst optionCardPreviewWrapperStyle = {\n  paddingLeft: 32,\n  paddingTop: 14\n};\nconst optionCardActionWrapperStyle = {\n  position: \"relative\",\n  zIndex: 2,\n  pointerEvents: \"auto\",\n  paddingLeft: 32,\n  paddingTop: 14\n};\nexport {\n  ShareTypeSelectorView\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useCallback } from \"react\";\nimport { useBottomSheet } from \"../../../../hooks/useBottomSheet.js\";\nimport { ShareTypeSelectorView } from \"./ShareTypeSelectorView.js\";\nconst useShareTypeSelectorBottomSheet = () => {\n  const bottomSheet = useBottomSheet();\n  const show = useCallback(({\n    tasteSharingProgramData\n  }) => {\n    bottomSheet.show({\n      content: /* @__PURE__ */ jsx(ShareTypeSelectorView, { presentation: \"bottomSheet\", tasteSharingProgramData, onRequestClose: bottomSheet.hide }),\n      detent: \"content-height\",\n      onClose: bottomSheet.hide\n    });\n  }, [bottomSheet]);\n  return {\n    show,\n    hide: bottomSheet.hide\n  };\n};\nexport {\n  useShareTypeSelectorBottomSheet\n};\n","function getStyle(style, breakpoint) {\n  if (breakpoint === void 0) {\n    return style.base ?? {};\n  }\n  return {\n    ...style.base,\n    ...style[breakpoint]\n  };\n}\nexport {\n  getStyle\n};\n","var noop = function() {\n};\nfunction on(obj) {\n  var args = [];\n  for (var _i = 1; _i < arguments.length; _i++) {\n    args[_i - 1] = arguments[_i];\n  }\n  if (obj && obj.addEventListener) {\n    obj.addEventListener.apply(obj, args);\n  }\n}\nfunction off(obj) {\n  var args = [];\n  for (var _i = 1; _i < arguments.length; _i++) {\n    args[_i - 1] = arguments[_i];\n  }\n  if (obj && obj.removeEventListener) {\n    obj.removeEventListener.apply(obj, args);\n  }\n}\nvar isBrowser = typeof window !== \"undefined\";\nexport {\n  isBrowser,\n  noop,\n  off,\n  on\n};\n","import { useState, useEffect, useMemo } from \"react\";\nimport { isBrowser, on, off } from \"../misc/util.js\";\nvar createBreakpoint = function(breakpoints) {\n  if (breakpoints === void 0) {\n    breakpoints = { laptopL: 1440, laptop: 1024, tablet: 768 };\n  }\n  return function() {\n    var _a = useState(isBrowser ? window.innerWidth : 0), screen = _a[0], setScreen = _a[1];\n    useEffect(function() {\n      var setSideScreen = function() {\n        setScreen(window.innerWidth);\n      };\n      setSideScreen();\n      on(window, \"resize\", setSideScreen);\n      return function() {\n        off(window, \"resize\", setSideScreen);\n      };\n    });\n    var sortedBreakpoints = useMemo(function() {\n      return Object.entries(breakpoints).sort(function(a, b) {\n        return a[1] >= b[1] ? 1 : -1;\n      });\n    }, [breakpoints]);\n    var result = sortedBreakpoints.reduce(function(acc, _a2) {\n      var name = _a2[0], width = _a2[1];\n      if (screen >= width) {\n        return name;\n      } else {\n        return acc;\n      }\n    }, sortedBreakpoints[0][0]);\n    return result;\n  };\n};\nexport {\n  createBreakpoint as default\n};\n","import { useMemo } from \"react\";\nimport { getStyle } from \"./getStyle.js\";\nimport createBreakpoint from \"../node_modules/react-use/esm/factory/createBreakpoint.js\";\nconst createUseStyles = (breakpoints) => (responsiveStyles) => {\n  const useBreakpoint = createBreakpoint(breakpoints);\n  return (overriddenBreakpoint) => {\n    const viewportBreakpoint = useBreakpoint();\n    const breakpoint = overriddenBreakpoint ?? viewportBreakpoint;\n    const styles = useMemo(() => Object.fromEntries(Object.entries(responsiveStyles).map(([name, responsiveStyle]) => [name, getStyle(responsiveStyle, breakpoint)])), [breakpoint]);\n    return {\n      breakpoint,\n      styles\n    };\n  };\n};\nexport {\n  createUseStyles\n};\n","import { createKRTimeZoneDate } from \"../createUTCDate.js\";\nclass LocalStorage {\n  getStoredValue(key) {\n    const stored = window.localStorage.getItem(key);\n    if (!stored) {\n      return;\n    }\n    return JSON.parse(stored);\n  }\n  get(key, initial) {\n    try {\n      const stored = this.getStoredValue(key);\n      if (!stored) {\n        return initial;\n      }\n      const now = createKRTimeZoneDate();\n      if (now.getTime() > stored.expiry) {\n        window.localStorage.removeItem(key);\n        return initial;\n      }\n      return stored.value;\n    } catch (error) {\n      return initial;\n    }\n  }\n  set(key, value, options) {\n    const {\n      ttl = 0,\n      preserveTTL = false\n    } = options ?? {};\n    const stored = this.getStoredValue(key);\n    let expiry;\n    if (!stored || !preserveTTL) {\n      expiry = createKRTimeZoneDate().getTime() + ttl;\n    } else {\n      expiry = stored.expiry;\n    }\n    window.localStorage.setItem(key, JSON.stringify({\n      value,\n      expiry\n    }));\n  }\n}\nconst localStorage = new LocalStorage();\nexport {\n  localStorage\n};\n","import { useCallback, useSyncExternalStore, useMemo } from \"react\";\nimport { localStorage } from \"../utils/storage/local-storage.js\";\nconst CUSTOM_STORAGE_EVENT_NAME = \"syncStorage\";\nconst dispatchSyncStorageEvent = (key) => {\n  const event = new Event(CUSTOM_STORAGE_EVENT_NAME);\n  event.storageKey = key;\n  window.dispatchEvent(event);\n};\nconst createStorageKeyMatchListener = (key, listener) => (e) => {\n  if (e.storageKey === key) {\n    listener();\n  }\n};\nfunction useLocalStorage(key, initialValue, options) {\n  const getSnapshot = useCallback(() => {\n    if (typeof window === \"undefined\") {\n      return JSON.stringify(initialValue);\n    }\n    const value2 = localStorage.get(key, initialValue) ?? initialValue;\n    return JSON.stringify(value2);\n  }, [key, initialValue]);\n  const getServerSnapshot = useCallback(() => {\n    return JSON.stringify(initialValue);\n  }, [initialValue]);\n  const subscribe = useCallback((listener) => {\n    const storageKeyMatchListener = createStorageKeyMatchListener(key, listener);\n    window.addEventListener(CUSTOM_STORAGE_EVENT_NAME, storageKeyMatchListener);\n    return () => {\n      window.removeEventListener(CUSTOM_STORAGE_EVENT_NAME, storageKeyMatchListener);\n    };\n  }, [key]);\n  const setStorage = useCallback((newValue, setOptions) => {\n    const mergedOptions = setOptions ?? options;\n    localStorage.set(key, newValue, mergedOptions);\n    dispatchSyncStorageEvent(key);\n  }, [key, options]);\n  const removeStorage = useCallback(() => {\n    if (typeof window === \"undefined\") {\n      return;\n    }\n    window.localStorage.removeItem(key);\n    dispatchSyncStorageEvent(key);\n  }, [key]);\n  const store = useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n  const value = useMemo(() => {\n    try {\n      return JSON.parse(store);\n    } catch {\n      return initialValue;\n    }\n  }, [initialValue, store]);\n  return {\n    value,\n    set: setStorage,\n    remove: removeStorage\n  };\n}\nexport {\n  useLocalStorage\n};\n","import { useLocalStorage } from \"../../../../hooks/useLocalStorage.js\";\nimport { useCallback, useState, useEffect } from \"react\";\nconst DISMISS_PREFIX = \"tasteShareHelpTooltipHide\";\nconst OLD_DISMISS_KEYS = [`${DISMISS_PREFIX}:content`];\nconst [OLD_DISMISS_KEY] = OLD_DISMISS_KEYS;\nconst PERMANENT_TTL_MS = 100 * 365 * 24 * 60 * 60 * 1e3;\nconst useTasteShareHelpTooltipDismiss = ({\n  rewardProgramKey\n}) => {\n  const {\n    value: storedRewardProgramKey,\n    set\n  } = useLocalStorage(DISMISS_PREFIX, null);\n  const {\n    value: storedLegacyRewardProgramKey\n  } = useLocalStorage(OLD_DISMISS_KEY, null);\n  const isProgramDismissed = useCallback((programKey) => {\n    if (!programKey) {\n      return true;\n    }\n    return [storedRewardProgramKey, storedLegacyRewardProgramKey].some((storedKey) => (storedKey ?? null) === programKey);\n  }, [storedLegacyRewardProgramKey, storedRewardProgramKey]);\n  const [isDismissed, setIsDismissed] = useState(() => isProgramDismissed(rewardProgramKey));\n  useEffect(() => {\n    setIsDismissed(isProgramDismissed(rewardProgramKey));\n  }, [isProgramDismissed, rewardProgramKey]);\n  const dismiss = useCallback(() => {\n    if (!rewardProgramKey) {\n      return;\n    }\n    set(rewardProgramKey, {\n      ttl: PERMANENT_TTL_MS\n    });\n    setIsDismissed(true);\n    if (typeof window !== \"undefined\") {\n      OLD_DISMISS_KEYS.forEach((key) => window.localStorage.removeItem(key));\n    }\n  }, [rewardProgramKey, set]);\n  return {\n    isDismissed,\n    dismiss\n  };\n};\nexport {\n  useTasteShareHelpTooltipDismiss\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useMemo } from \"react\";\nimport { createUseStyles } from \"../../../../styles/createUseStyle.js\";\nimport \"framer\";\nimport { useTasteShareHelpTooltipDismiss } from \"./TasteShareHelpTooltip.hooks.js\";\nimport { getArrowRight } from \"./TasteShareHelpTooltip.utils.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport { useGlobalLayoutStore } from \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nconst createUseStylesForResponsiveSplitView = createUseStyles({\n  [\"split-view\"]: 780,\n  [\"split-view-small\"]: 615,\n  [\"unified-view\"]: 0\n});\nconst useResponsiveSplitViewStyles = createUseStylesForResponsiveSplitView({\n  tooltipContainer: {\n    \"base\": {\n      right: 20\n    },\n    \"unified-view\": {\n      right: 0\n    }\n  }\n});\nconst TasteShareHelpTooltip = ({\n  rewardProgramKey,\n  sharerMileageRewardsByAction,\n  buttonSize\n}) => {\n  const {\n    isDismissed,\n    dismiss\n  } = useTasteShareHelpTooltipDismiss({\n    rewardProgramKey\n  });\n  const {\n    styles\n  } = useResponsiveSplitViewStyles();\n  const globalLayout = useGlobalLayoutStore((state) => state.globalLayout);\n  const isResponsiveSplitView = globalLayout === \"responsive-split-view\";\n  const totalMileageAmount = useMemo(() => {\n    return sharerMileageRewardsByAction.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n  }, [sharerMileageRewardsByAction]);\n  if (isDismissed) {\n    return null;\n  }\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...tooltipContainerStyle,\n    ...isResponsiveSplitView ? styles.tooltipContainer : {}\n  }, children: [\n    /* @__PURE__ */ jsxs(\"span\", { style: tooltipTextStyle, children: [\n      \"콘텐츠 공유하고 최대 \",\n      totalMileageAmount.toLocaleString(),\n      \"원 적립받기\"\n    ] }),\n    /* @__PURE__ */ jsx(\"button\", { type: \"button\", onClick: dismiss, style: closeButtonStyle, \"aria-label\": \"툴팁 닫기\", children: /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\", viewBox: \"0 0 16 16\", fill: \"none\", children: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.6663 8.00065C14.6663 4.31875 11.6816 1.33398 7.99967 1.33398C4.31785 1.33407 1.33301 4.31881 1.33301 8.00065C1.33301 11.6825 4.31785 14.6672 7.99967 14.6673C11.6816 14.6673 14.6663 11.6825 14.6663 8.00065ZM5.74799 4.99458C5.86459 5.01127 5.97763 5.05888 6.07389 5.13737L6.12467 5.18294L7.99967 7.05794L9.87467 5.18294L9.92546 5.13737C10.0213 5.05921 10.1338 5.01168 10.2498 4.99479L10.2632 4.98147L10.2734 4.99178C10.4673 4.97058 10.6687 5.03428 10.8174 5.18294C10.9663 5.33188 11.03 5.53367 11.0084 5.72785L11.0168 5.73627L11.006 5.74707C10.9896 5.86434 10.9419 5.97809 10.863 6.07487L10.8174 6.12565L8.94238 8.00065L10.8174 9.87565L10.863 9.92578C10.9396 10.0198 10.9869 10.1298 11.0046 10.2435L11.0171 10.256L11.0076 10.2654C11.0317 10.4621 10.9683 10.6674 10.8174 10.8184C10.6667 10.969 10.4618 11.0324 10.2654 11.0087L10.2634 11.0108L10.2607 11.0081C10.1405 10.9928 10.0238 10.9447 9.9248 10.8639L9.87467 10.8184L7.99967 8.94336L6.12467 10.8184L6.07454 10.8639C5.97517 10.945 5.85783 10.9931 5.73712 11.0083L5.72416 11.0213L5.71375 11.0108C5.52359 11.028 5.32747 10.9638 5.18197 10.8184C5.03625 10.6726 4.97213 10.4761 4.98958 10.2856L4.97046 10.2665L4.99503 10.2419C5.01296 10.1287 5.06008 10.0193 5.13639 9.92578L5.18197 9.87565L7.05697 8.00065L5.18197 6.12565L5.13639 6.07487C5.05784 5.97854 5.01023 5.86538 4.99359 5.74867L4.97067 5.72578L4.989 5.70742C4.97401 5.5196 5.03831 5.32666 5.18197 5.18294C5.32544 5.03947 5.51798 4.97514 5.70551 4.98987L5.72436 4.97099L5.74799 4.99458Z\", fill: \"#FFFFFF\", fillOpacity: \"0.38\" }) }) }),\n    /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"10\", height: \"6\", viewBox: \"0 0 10 6\", fill: \"none\", style: {\n      ...arrowStyle,\n      right: getArrowRight(buttonSize)\n    }, \"aria-hidden\": \"true\", children: /* @__PURE__ */ jsx(\"path\", { d: \"M0 0L4.23178 5.07813C4.63157 5.55789 5.36843 5.55789 5.76822 5.07813L10 0L0 0Z\", fill: \"#1F1F1F\" }) })\n  ] });\n};\nconst tooltipContainerStyle = {\n  position: \"absolute\",\n  bottom: \"100%\",\n  right: 0,\n  marginBottom: 11,\n  zIndex: 3001,\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"space-between\",\n  gap: 8,\n  borderRadius: 4,\n  backgroundColor: \"#1F1F1F\",\n  padding: 8,\n  color: \"#FFFFFF\",\n  fontSize: 13,\n  fontWeight: 500,\n  lineHeight: \"20px\",\n  whiteSpace: \"nowrap\",\n  minWidth: \"max-content\"\n};\nconst tooltipTextStyle = {\n  flex: 1\n};\nconst closeButtonStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  flexShrink: 0,\n  cursor: \"pointer\",\n  padding: 0\n};\nconst arrowStyle = {\n  position: \"absolute\",\n  bottom: -5,\n  zIndex: 3001\n};\nexport {\n  TasteShareHelpTooltip\n};\n","import { useState, useEffect } from \"react\";\nconst getMatches = (query) => {\n  if (typeof window !== \"undefined\") {\n    return window.matchMedia(query).matches;\n  }\n  return false;\n};\nfunction useMediaQuery(query, initial = false) {\n  const [matches, setMatches] = useState(initial);\n  const handleChange = () => {\n    setMatches(getMatches(query));\n  };\n  useEffect(() => {\n    const matchMedia = window.matchMedia(query);\n    handleChange();\n    if (matchMedia.addEventListener) {\n      matchMedia.addEventListener(\"change\", handleChange);\n      return () => {\n        matchMedia.removeEventListener(\"change\", handleChange);\n      };\n    }\n    matchMedia.addListener(handleChange);\n    return () => {\n      matchMedia.removeListener(handleChange);\n    };\n  }, [query]);\n  return matches;\n}\nexport {\n  useMediaQuery\n};\n","import { isMobile } from \"../utils/device.js\";\nimport { useMediaQuery } from \"./useMediaQuery.js\";\nconst mobileMediaQuery = `screen and (max-width: 540px)`;\nconst useIsMobileDevice = () => {\n  const isMobileMediaQuery = useMediaQuery(mobileMediaQuery);\n  const isMobileDevice = isMobile() || isMobileMediaQuery;\n  return isMobileDevice;\n};\nexport {\n  useIsMobileDevice\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport { useState } from \"react\";\nimport { ShareIcon } from \"./ShareIcon.js\";\nimport { useShareTypeSelectorBottomSheet } from \"./ShareTypeSelector/ShareTypeSelectorBottomSheet.hooks.js\";\nimport { TasteShareHelpTooltip } from \"../FloatingShareButton/TasteShareHelpTooltip/TasteShareHelpTooltip.js\";\nimport \"framer\";\nimport { colors } from \"../../../styles/colors.js\";\nimport { useIsMobileDevice } from \"../../../hooks/useIsMobileDevice.js\";\nimport { ShareTypeSelectorView } from \"./ShareTypeSelector/ShareTypeSelectorView.js\";\nimport { useIsShareButtonRenewed, getShareButtonSize } from \"../ShareButton/useIsShareButtonRenewed.js\";\nconst ShareButtonWithReferralEvent = ({\n  style,\n  tasteSharingProgramData\n}) => {\n  const {\n    rewardProgramKey,\n    sharerMileageRewardsByAction\n  } = tasteSharingProgramData;\n  const isMobile = useIsMobileDevice();\n  const shareTypeSelectorBottomSheet = useShareTypeSelectorBottomSheet();\n  const [isShareTypeSelectorOpen, setIsShareTypeSelectorOpen] = useState(false);\n  const isRenewed = useIsShareButtonRenewed();\n  const size = getShareButtonSize(isRenewed);\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(TasteShareHelpTooltip, { rewardProgramKey, sharerMileageRewardsByAction, buttonSize: size }),\n    /* @__PURE__ */ jsx(\"button\", { style: {\n      ...buttonStyle,\n      width: size,\n      height: size,\n      ...style\n    }, type: \"button\", onClick: () => {\n      if (isMobile) {\n        shareTypeSelectorBottomSheet.show({\n          tasteSharingProgramData\n        });\n        return;\n      }\n      setIsShareTypeSelectorOpen(true);\n    }, children: /* @__PURE__ */ jsx(ShareIcon, {}) }),\n    !isMobile && /* @__PURE__ */ jsx(ShareTypeSelectorView, { presentation: \"dialog\", open: isShareTypeSelectorOpen, onOpenChange: setIsShareTypeSelectorOpen, onClose: () => setIsShareTypeSelectorOpen(false), tasteSharingProgramData })\n  ] });\n};\nconst buttonStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  backgroundColor: colors.gray00,\n  borderRadius: \"50%\",\n  border: `1px solid ${colors.borderDivider}`,\n  outline: \"none\",\n  cursor: \"pointer\"\n};\nexport {\n  ShareButtonWithReferralEvent\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { tasteSharingApi } from \"../../apis/taste-sharing/TasteSharingApiService.js\";\nconst TASTE_SHARING_ACTIVE_PROGRAM_FETCHER_KEY = \"taste-sharing-active-program\";\nconst useFetchTasteSharingActiveProgram = ({\n  enabled = true\n}) => {\n  var _a;\n  const response = useSWR(enabled ? TASTE_SHARING_ACTIVE_PROGRAM_FETCHER_KEY : null, () => tasteSharingApi.getActiveProgram());\n  return {\n    tasteSharingProgramData: ((_a = response.data) == null ? void 0 : _a.data) ?? null,\n    isLoading: response.isLoading\n  };\n};\nexport {\n  useFetchTasteSharingActiveProgram\n};\n","import useSWRMutation from \"../../node_modules/swr/mutation/dist/index.js\";\nimport { rewardVisitApi } from \"../../apis/taste-sharing/TasteSharingApiService.js\";\nconst REWARD_VISIT_MUTATION_KEY = \"reward-visit\";\nconst postRewardVisit = (_key, {\n  arg\n}) => rewardVisitApi.rewardVisit({\n  rewardKey: arg.rewardKey\n});\nconst useRewardVisitMutation = () => {\n  const {\n    trigger,\n    isMutating\n  } = useSWRMutation(REWARD_VISIT_MUTATION_KEY, postRewardVisit);\n  return {\n    trigger,\n    isLoading: isMutating\n  };\n};\nexport {\n  REWARD_VISIT_MUTATION_KEY,\n  useRewardVisitMutation\n};\n","import { useFloating, useClick, useDismiss, useInteractions } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { useMemo } from \"react\";\nimport { useRulerStack as S } from \"../../contexts/RulerStackContext.js\";\nimport { COMPONENT_ID as e } from \"../../contexts/constants.js\";\nfunction L({ open: e$1, onOpenChange: t, overlayEnabled: a = false }) {\n  const o = useFloating({\n    open: e$1,\n    onOpenChange: t\n  }), r = o.context, { state: s } = S(), u = useMemo(() => {\n    var l;\n    const i = (s == null ? void 0 : s.stack) ?? [];\n    return i.length > 0 && ((l = i[i.length - 1]) == null ? void 0 : l.id) === e.AlertDialog;\n  }, [s]), m = useClick(r, {\n    enabled: t == null\n  }), d = useDismiss(r, {\n    enabled: u,\n    outsidePress: a,\n    outsidePressEvent: \"mousedown\"\n  }), c = useInteractions([m, d]);\n  return useMemo(\n    () => ({\n      open: e$1,\n      setOpen: t,\n      ...c,\n      ...o\n    }),\n    [e$1, t, c, o]\n  );\n}\nexport {\n  L as useAlertDialog\n};\n","import { tv as g, cn as p } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { dialog as n } from \"../../styles/dialog.style.js\";\nconst o = g({\n  extend: n,\n  slots: {\n    container: p(n.slots.container, \"pt-40 shadow-xl\"),\n    title: \"whitespace-pre-wrap break-words px-20 pb-10 text-center text-title-s-bold\",\n    description: \"whitespace-pre-wrap px-20 text-center text-xl\",\n    buttonContainer: \"flex justify-between gap-8 px-20 pb-20 pt-32\",\n    // min-w-fit: 라벨이 균등 분할 폭보다 길면 해당 버튼만 내용 폭을 확보해 말줄임을 방지한다.\n    // 두 라벨 모두 균등 폭에 들어오면 기존과 동일하게 50/50 분할.\n    button: \"h-52 w-full min-w-fit\",\n    // 버튼 행 아래 중앙의 tertiary(닫기) 영역 — 존재 시 buttonContainer 의 pb 를 10 으로 줄여\n    // Figma actionContainer(gap 10px, 하단 padding 20px) 스펙을 따른다.\n    tertiaryActionContainer: \"flex justify-center px-20 pb-20\"\n  }\n});\nexport {\n  o as style\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { useMergeRefs, FloatingPortal, FloatingFocusManager } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { forwardRef } from \"react\";\nimport { useEffectDisableScroll as S } from \"../../hooks/useEffectDisableScroll.js\";\nimport { PriorityByTone as r } from \"../../styles/dialog.style.js\";\nimport { TextButton as E } from \"../TextButton/TextButton.js\";\nimport { useAlertDialog as L } from \"./AlertDialog.hooks.js\";\nimport { style as o } from \"./AlertDialog.style.js\";\nimport { Button as H } from \"../Button/Button.js\";\nconst I = forwardRef(function({ ...t }, d) {\n  const {\n    id: f,\n    title: y,\n    description: x,\n    primaryAction: c,\n    secondaryAction: i,\n    tertiaryAction: o$1,\n    tone: p = \"default\",\n    containerClassName: u,\n    overlayClassName: g,\n    stackLayer: j,\n    closeOnPrimaryAction: N = true\n  } = t, r$1 = o({ stackLayer: j }), a = L(t), C = useMergeRefs([d, a.refs.setFloating]), l = (s, n) => (h) => {\n    s == null || s(h), N !== false && n === \"primary\" && t.onOpenChange(false), (n === \"secondary\" || n === \"tertiary\") && t.onOpenChange(false);\n  };\n  return S(a.open), a.open ? /* @__PURE__ */ m.jsxs(FloatingPortal, { id: f, children: [\n    /* @__PURE__ */ m.jsx(\"div\", { className: r$1.overlay({ className: g }) }),\n    /* @__PURE__ */ m.jsx(FloatingFocusManager, { context: a.context, children: /* @__PURE__ */ m.jsx(\"div\", { className: r$1.layout(), children: /* @__PURE__ */ m.jsxs(\n      \"div\",\n      {\n        ref: C,\n        className: r$1.container({ className: u }),\n        ...a.getFloatingProps(),\n        children: [\n          /* @__PURE__ */ m.jsx(\"h2\", { className: r$1.title(), children: y }),\n          /* @__PURE__ */ m.jsx(\"div\", { className: r$1.description(), children: x }),\n          /* @__PURE__ */ m.jsxs(\"div\", { className: r$1.buttonContainer({ className: o$1 ? \"pb-10\" : void 0 }), children: [\n            i && /* @__PURE__ */ m.jsx(\n              H,\n              {\n                priority: \"secondary\",\n                className: r$1.button(),\n                onClick: l(i == null ? void 0 : i.onClick, \"secondary\"),\n                label: i.label\n              }\n            ),\n            /* @__PURE__ */ m.jsx(\n              H,\n              {\n                priority: r[p],\n                className: r$1.button(),\n                onClick: l(c.onClick, \"primary\"),\n                label: c.label\n              }\n            )\n          ] }),\n          o$1 && /* @__PURE__ */ m.jsx(\"div\", { className: r$1.tertiaryActionContainer(), children: /* @__PURE__ */ m.jsx(\n            E,\n            {\n              priority: \"secondary\",\n              size: \"small\",\n              isBold: true,\n              label: o$1.label,\n              onClick: l(o$1.onClick, \"tertiary\")\n            }\n          ) })\n        ]\n      }\n    ) }) })\n  ] }) : null;\n});\nexport {\n  I as AlertDialog\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nimport { jsx, Fragment } from \"react/jsx-runtime\";\nimport { useState, useEffect } from \"react\";\nimport { AlertDialog as I } from \"../../node_modules/@29cm/ruler-ui/dist/components/AlertDialog/AlertDialog.js\";\nclass AlertDialogManager {\n  constructor() {\n    __publicField(this, \"alerts\", []);\n    __publicField(this, \"listeners\", /* @__PURE__ */ new Set());\n  }\n  subscribe(listener) {\n    this.listeners.add(listener);\n    return () => {\n      this.listeners.delete(listener);\n    };\n  }\n  show(params) {\n    const id = params.id || Math.random().toString(36).substr(2, 10);\n    const {\n      onOpenChange,\n      ...alertProps\n    } = params;\n    const newAlert = {\n      ...alertProps,\n      id,\n      open: true,\n      onOpenChange: onOpenChange || (() => {\n      })\n    };\n    this.alerts = [...this.alerts, newAlert];\n    this.notify();\n    return id;\n  }\n  hide(id) {\n    this.alerts = this.alerts.filter((alert) => alert.id !== id);\n    this.notify();\n  }\n  notify() {\n    this.listeners.forEach((listener) => listener(this.alerts));\n  }\n}\nconst manager = new AlertDialogManager();\nconst AlertDialogContainer = () => {\n  const [alerts, setAlerts] = useState([]);\n  useEffect(() => {\n    return manager.subscribe(setAlerts);\n  }, []);\n  const handleHide = (id) => {\n    manager.hide(id);\n  };\n  return /* @__PURE__ */ jsx(Fragment, { children: alerts.map((alert) => /* @__PURE__ */ jsx(I, { ...alert, open: true, onOpenChange: (open) => {\n    var _a;\n    (_a = alert.onOpenChange) == null ? void 0 : _a.call(alert, open);\n    if (!open) {\n      handleHide(alert.id);\n    }\n  }, primaryAction: alert.primaryAction ? {\n    ...alert.primaryAction,\n    onClick: (e) => {\n      var _a, _b;\n      (_b = (_a = alert.primaryAction) == null ? void 0 : _a.onClick) == null ? void 0 : _b.call(_a, e);\n      if (alert.closeOnPrimaryAction !== false) {\n        handleHide(alert.id);\n      }\n    }\n  } : {\n    label: \"확인\",\n    onClick: () => handleHide(alert.id)\n  }, secondaryAction: alert.secondaryAction ? {\n    ...alert.secondaryAction,\n    onClick: (e) => {\n      var _a, _b;\n      (_b = (_a = alert.secondaryAction) == null ? void 0 : _a.onClick) == null ? void 0 : _b.call(_a, e);\n      if (alert.closeOnSecondaryAction !== false) {\n        handleHide(alert.id);\n      }\n    }\n  } : void 0 }, alert.id)) });\n};\nconst alertDialog = {\n  show: (params) => manager.show(params),\n  hide: (id) => manager.hide(id)\n};\nexport {\n  AlertDialogContainer,\n  alertDialog\n};\n","import { useCallback } from \"react\";\nimport { env } from \"../../../../config/index.js\";\nimport { alertDialog } from \"../../../../containers/AlertDialogContainer/AlertDialogContainer.js\";\nimport { navigate } from \"../../../../utils/navigate.js\";\nimport { useTrackSnowplowEvent } from \"../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nconst useRewardVisitErrorHandler = () => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const navigateToEventDetail = useCallback((rewardProgramKey) => {\n    if (!rewardProgramKey) {\n      return;\n    }\n    trackSnowplowEvent(\"click_button\", {\n      button_id: \"more\",\n      button_name: \"이벤트 자세히 보기\",\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      position: -1\n    });\n    navigate(`${env.workspace.shop}/store/invite/taste-share/${rewardProgramKey}`);\n  }, [trackSnowplowEvent]);\n  const clickClose = useCallback((buttonName) => {\n    trackSnowplowEvent(\"click_button\", {\n      button_id: \"close\",\n      button_name: buttonName,\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      position: -1\n    });\n  }, [trackSnowplowEvent]);\n  const handleRewardVisitError = useCallback((errorCode, message, rewardProgramKey) => {\n    if (errorCode === \"ALREADY_RECEIVE_REWARD\") {\n      alertDialog.show({\n        title: \"이미 적립금을 받으셨어요.\",\n        description: \"소개하고 싶은 상품·브랜드·콘텐츠를 직접\\n공유하면 추가 적립금을 받을 수 있어요.\",\n        primaryAction: {\n          label: \"이벤트 자세히 보기\",\n          onClick: () => navigateToEventDetail(rewardProgramKey)\n        },\n        secondaryAction: {\n          label: \"닫기\",\n          onClick: () => clickClose(\"닫기\")\n        }\n      });\n      return;\n    }\n    if (errorCode === \"NOT_ACTIVE_REWARD_PROGRAM\") {\n      if (rewardProgramKey) {\n        alertDialog.show({\n          title: \"이벤트 링크가 만료되었어요.\",\n          description: \"진행 중인 이벤트 확인 후 다시 참여해 주세요.\",\n          primaryAction: {\n            label: \"이벤트 자세히 보기\",\n            onClick: () => navigateToEventDetail(rewardProgramKey)\n          },\n          secondaryAction: {\n            label: \"닫기\",\n            onClick: () => clickClose(\"닫기\")\n          }\n        });\n        return;\n      }\n      alertDialog.show({\n        title: \"이벤트가 종료되었어요.\",\n        description: null,\n        primaryAction: {\n          label: \"확인\",\n          onClick: () => clickClose(\"확인\")\n        }\n      });\n      return;\n    }\n    if (errorCode === \"DUPLICATE_SHARER_PARTICIPANT\") {\n      return;\n    }\n    alertDialog.show({\n      title: \"오류가 발생했습니다\",\n      description: message ?? \"보상 지급에 실패했습니다.\",\n      primaryAction: {\n        label: \"확인\",\n        onClick: () => clickClose(\"확인\")\n      }\n    });\n  }, [navigateToEventDetail, clickClose]);\n  return {\n    handleRewardVisitError\n  };\n};\nexport {\n  useRewardVisitErrorHandler\n};\n","import { useCallback } from \"react\";\nconst useRemoveRewardKey = () => {\n  const removeRewardKey = useCallback(() => {\n    if (typeof window === \"undefined\") {\n      return;\n    }\n    const url = new URL(window.location.href);\n    url.searchParams.delete(\"reward_key\");\n    window.history.replaceState(null, \"\", url.toString());\n  }, []);\n  return {\n    removeRewardKey\n  };\n};\nexport {\n  useRemoveRewardKey\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport { TextButton as E } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/TextButton/TextButton.js\";\nimport { useEffect } from \"react\";\nimport { useTrackSnowplowEvent } from \"../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { redirectLoginWithParams } from \"../../../../utils/redirectLogin.js\";\nconst LoginCallout = ({\n  participantMileageRewardsByAction,\n  rewardProgramKey,\n  rewardKey\n}) => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const totalMileageAmount = participantMileageRewardsByAction.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n  const navigateToLoginWithRedirectUrl = () => {\n    if (!rewardKey) {\n      return;\n    }\n    const params = new URLSearchParams({\n      taste_share_redirect_uri: document.location.href,\n      reward_key: rewardKey\n    });\n    redirectLoginWithParams(params);\n  };\n  useEffect(() => {\n    trackSnowplowEvent(\"impression_popup\", {\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      popup_id: \"reward_signup\"\n    });\n  }, []);\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    rewardProgramKey ? /* @__PURE__ */ jsxs(\"span\", { className: \"text-m-bold text-on-white\", children: [\n      \"적립금을 받으려면 로그인이 필요해요.\",\n      /* @__PURE__ */ jsx(\"br\", {}),\n      \"첫 가입 시\",\n      \" \",\n      /* @__PURE__ */ jsxs(\"span\", { style: {\n        color: \"#FF6933\"\n      }, children: [\n        \"웰컴 쿠폰과 적립금 \",\n        totalMileageAmount.toLocaleString(),\n        \"원\"\n      ] }),\n      \"을 추가로 받을 수 있어요.\"\n    ] }) : /* @__PURE__ */ jsxs(\"span\", { className: \"text-m-bold text-on-white\", children: [\n      \"아쉽게도 취향 소개 이벤트는 종료되었어요.\",\n      /* @__PURE__ */ jsx(\"br\", {}),\n      \"지금 첫 가입하시면 \",\n      /* @__PURE__ */ jsx(\"span\", { style: {\n        color: \"#FF6933\"\n      }, children: \"웰컴 쿠폰\" }),\n      \"을 받을 수 있어요.\"\n    ] }),\n    /* @__PURE__ */ jsx(E, { label: \"로그인∙가입하기\", priority: \"secondary\", size: \"xSmall\", postfixIcon: \"ChevronRightLightIcon\", isWhite: true, onClick: navigateToLoginWithRedirectUrl })\n  ] });\n};\nexport {\n  LoginCallout\n};\n","import { useState, useEffect } from \"react\";\nimport \"./stores/content/content.store.js\";\nimport \"../utils/event-properties/source.js\";\nimport \"framer\";\nimport { isWebview } from \"../utils/device.js\";\nfunction useIsWebview() {\n  const [isWebView, setIsWebView] = useState(false);\n  useEffect(() => {\n    setIsWebView(isWebview());\n  }, []);\n  return isWebView;\n}\nexport {\n  useIsWebview\n};\n","import { useCallback } from \"react\";\nimport { env } from \"../../../../config/index.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useIsWebview } from \"../../../../hooks/useIsWebview.js\";\nconst useNavigateToEventHub = () => {\n  const isWebview = useIsWebview();\n  const navigateToEventHub = useCallback((rewardProgramKey) => {\n    if (!rewardProgramKey) {\n      return;\n    }\n    const pathname = `${env.workspace.shop}/store/invite/taste-share/${rewardProgramKey}`;\n    if (isWebview) {\n      globalThis.location.href = `app29cm://web/${pathname}`;\n      return;\n    }\n    globalThis.location.href = pathname;\n  }, [isWebview]);\n  return {\n    navigateToEventHub\n  };\n};\nexport {\n  useNavigateToEventHub\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport { TextButton as E } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/TextButton/TextButton.js\";\nimport { useEffect } from \"react\";\nimport \"../../../../config/index.js\";\nimport { useTrackSnowplowEvent } from \"../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { useNavigateToEventHub } from \"../hooks/useNavigateToEventHub.js\";\nconst MileageRewardCallout = ({\n  mileageText,\n  rewardProgramKey\n}) => {\n  const {\n    navigateToEventHub\n  } = useNavigateToEventHub();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const handleClickViewRewardDetails = () => {\n    navigateToEventHub(rewardProgramKey);\n    trackSnowplowEvent(\"click_button\", {\n      button_id: \"more\",\n      button_name: \"혜택 자세히 보기\",\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      position: -1\n    });\n  };\n  useEffect(() => {\n    trackSnowplowEvent(\"impression_popup\", {\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      popup_id: \"reward_success\"\n    });\n  }, []);\n  if (!mileageText) {\n    return null;\n  }\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"span\", { className: \"text-m-bold text-on-white\", children: mileageText }),\n    /* @__PURE__ */ jsx(E, { label: \"혜택 자세히 보기\", priority: \"secondary\", size: \"xSmall\", postfixIcon: \"ChevronRightLightIcon\", isWhite: true, onClick: handleClickViewRewardDetails })\n  ] });\n};\nexport {\n  MileageRewardCallout\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport { useIsMobileDevice } from \"../../../../hooks/useIsMobileDevice.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nconst CloseButton = ({\n  onClose\n}) => /* @__PURE__ */ jsx(\"button\", { type: \"button\", onClick: onClose, className: \"absolute right-0 top-0\", \"aria-label\": \"툴팁 닫기\", children: /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\", viewBox: \"0 0 16 16\", fill: \"none\", children: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.6663 8.00065C14.6663 4.31875 11.6816 1.33398 7.99967 1.33398C4.31785 1.33407 1.33301 4.31881 1.33301 8.00065C1.33301 11.6825 4.31785 14.6672 7.99967 14.6673C11.6816 14.6673 14.6663 11.6825 14.6663 8.00065ZM5.74799 4.99458C5.86459 5.01127 5.97763 5.05888 6.07389 5.13737L6.12467 5.18294L7.99967 7.05794L9.87467 5.18294L9.92546 5.13737C10.0213 5.05921 10.1338 5.01168 10.2498 4.99479L10.2632 4.98147L10.2734 4.99178C10.4673 4.97058 10.6687 5.03428 10.8174 5.18294C10.9663 5.33188 11.03 5.53367 11.0084 5.72785L11.0168 5.73627L11.006 5.74707C10.9896 5.86434 10.9419 5.97809 10.863 6.07487L10.8174 6.12565L8.94238 8.00065L10.8174 9.87565L10.863 9.92578C10.9396 10.0198 10.9869 10.1298 11.0046 10.2435L11.0171 10.256L11.0076 10.2654C11.0317 10.4621 10.9683 10.6674 10.8174 10.8184C10.6667 10.969 10.4618 11.0324 10.2654 11.0087L10.2634 11.0108L10.2607 11.0081C10.1405 10.9928 10.0238 10.9447 9.9248 10.8639L9.87467 10.8184L7.99967 8.94336L6.12467 10.8184L6.07454 10.8639C5.97517 10.945 5.85783 10.9931 5.73712 11.0083L5.72416 11.0213L5.71375 11.0108C5.52359 11.028 5.32747 10.9638 5.18197 10.8184C5.03625 10.6726 4.97213 10.4761 4.98958 10.2856L4.97046 10.2665L4.99503 10.2419C5.01296 10.1287 5.06008 10.0193 5.13639 9.92578L5.18197 9.87565L7.05697 8.00065L5.18197 6.12565L5.13639 6.07487C5.05784 5.97854 5.01023 5.86538 4.99359 5.74867L4.97067 5.72578L4.989 5.70742C4.97401 5.5196 5.03831 5.32666 5.18197 5.18294C5.32544 5.03947 5.51798 4.97514 5.70551 4.98987L5.72436 4.97099L5.74799 4.99458Z\", fill: \"white\", fillOpacity: \"0.5\" }) }) });\nconst Tooltip = ({\n  children,\n  onClose\n}) => {\n  const isMobile = useIsMobileDevice();\n  return /* @__PURE__ */ jsx(\"div\", { style: {\n    zIndex: 4e3,\n    bottom: `calc(env(safe-area-inset-bottom) + ${isMobile ? \"12px\" : \"80px\"})`,\n    maxWidth: isMobile ? \"100%\" : \"370px\"\n  }, className: \"fixed bottom-[calc(var(--safe-area-inset-bottom)_+80px)] left-10 right-10 mx-auto rounded-4 bg-primary p-12\", children: /* @__PURE__ */ jsxs(\"div\", { className: \"relative flex flex-col justify-between gap-2\", children: [\n    children,\n    /* @__PURE__ */ jsx(CloseButton, { onClose })\n  ] }) });\n};\nexport {\n  Tooltip\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { tasteSharingApi } from \"../../apis/taste-sharing/TasteSharingApiService.js\";\nconst MY_REWARDS_FETCHER_KEY = \"my-rewards\";\nconst useMyRewards = ({\n  rewardProgramKey,\n  enabled\n}) => {\n  var _a, _b;\n  const response = useSWR(enabled && rewardProgramKey ? [MY_REWARDS_FETCHER_KEY, rewardProgramKey] : null, () => tasteSharingApi.getMyRewards(rewardProgramKey));\n  const mileageRewards = ((_b = (_a = response.data) == null ? void 0 : _a.data) == null ? void 0 : _b.mileageRewards) ?? [];\n  return {\n    mileageRewards\n  };\n};\nexport {\n  useMyRewards\n};\n","const getMileageText = (mileageRewards) => {\n  if (mileageRewards.length === 0) {\n    return null;\n  }\n  const hasVisit = mileageRewards.some((reward) => reward.participantAction === \"VISIT\");\n  const hasSignUp = mileageRewards.some((reward) => reward.participantAction === \"SIGN_UP\");\n  if (hasVisit && hasSignUp) {\n    const totalAmount2 = mileageRewards.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n    return `소개 링크로 가입+방문 완료! 적립금 ${totalAmount2.toLocaleString()}원 넣어드렸어요.`;\n  }\n  if (hasVisit) {\n    const visitReward = mileageRewards.find((reward) => reward.participantAction === \"VISIT\");\n    const amount = (visitReward == null ? void 0 : visitReward.mileageAmount) ?? 0;\n    return `소개 링크로 방문 완료! 적립금 ${amount.toLocaleString()}원 넣어드렸어요.`;\n  }\n  if (hasSignUp) {\n    const signUpReward = mileageRewards.find((reward) => reward.participantAction === \"SIGN_UP\");\n    const amount = (signUpReward == null ? void 0 : signUpReward.mileageAmount) ?? 0;\n    return `소개 링크로 가입 완료! 적립금 ${amount.toLocaleString()}원 넣어드렸어요.`;\n  }\n  const totalAmount = mileageRewards.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n  return `소개 링크로 적립금 ${totalAmount.toLocaleString()}원 넣어드렸어요.`;\n};\nexport {\n  getMileageText\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useState, useRef, useEffect } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../hooks/useCurrentUser.js\";\nimport \"framer\";\nimport { getQueryParams } from \"../../../utils/location.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport { useFetchTasteSharingActiveProgram } from \"../../../hooks/fetchers/useFetchTasteSharingActiveProgram.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport { useRewardVisitMutation } from \"../../../hooks/mutations/useRewardVisitMutation.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { useRewardVisitErrorHandler } from \"./hooks/useRewardVisitErrorHandler.js\";\nimport { useRemoveRewardKey } from \"./hooks/useRemoveRewardKey.js\";\nimport { useIsMounted } from \"../../../hooks/useIsMounted.js\";\nimport { LoginCallout } from \"./tooltip/LoginTooltip.js\";\nimport { MileageRewardCallout } from \"./tooltip/MileageTooltip.js\";\nimport { Tooltip } from \"./tooltip/Tooltip.js\";\nimport { useMyRewards } from \"../../../hooks/fetchers/useMyRewards.js\";\nimport { getMileageText } from \"./utils/getMileageText.js\";\nimport { useTrackSnowplowEvent } from \"../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nconst ReferralEventRewardHandlerInner = ({\n  rewardKey,\n  tasteSharingProgramData,\n  isLoadingTasteSharingProgram\n}) => {\n  const {\n    rewardProgramKey,\n    participantMileageRewardsByAction\n  } = tasteSharingProgramData ?? {\n    rewardProgramKey: null,\n    participantMileageRewardsByAction: []\n  };\n  const {\n    logged\n  } = useCurrentUser();\n  const isMounted = useIsMounted();\n  const {\n    trigger,\n    isLoading\n  } = useRewardVisitMutation();\n  const {\n    handleRewardVisitError\n  } = useRewardVisitErrorHandler();\n  const {\n    removeRewardKey\n  } = useRemoveRewardKey();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const [tooltip, setTooltip] = useState(null);\n  const [isRewardVisitSuccess, setIsRewardVisitSuccess] = useState(false);\n  const {\n    mileageRewards\n  } = useMyRewards({\n    rewardProgramKey,\n    enabled: isRewardVisitSuccess\n  });\n  const processedRef = useRef(false);\n  useEffect(() => {\n    if (!isMounted) {\n      return;\n    }\n    if (!logged && !!rewardKey) {\n      setTooltip(\"login\");\n    }\n  }, [isMounted, logged, rewardKey]);\n  useEffect(() => {\n    if (!rewardKey) {\n      return;\n    }\n    if (processedRef.current || isLoading || isLoadingTasteSharingProgram || !logged) {\n      return;\n    }\n    processedRef.current = true;\n    const processRewardVisit = async () => {\n      try {\n        const result = await trigger({\n          rewardKey\n        });\n        if (result.result === \"SUCCESS\") {\n          setIsRewardVisitSuccess(true);\n          setTooltip(\"mileage\");\n        } else {\n          trackSnowplowEvent(\"impression_popup\", {\n            section_name: \"RewardAlert\",\n            section_title: \"RewardAlert\",\n            popup_id: \"reward_failure\"\n          });\n          handleRewardVisitError(result.errorCode, result.message, rewardProgramKey);\n        }\n      } catch (error) {\n        handleRewardVisitError(null, \"일시적인 오류가 발생했습니다. 잠시 후 다시 시도해주세요.\", rewardProgramKey);\n      } finally {\n        removeRewardKey();\n      }\n    };\n    processRewardVisit();\n  }, [handleRewardVisitError, isLoading, isLoadingTasteSharingProgram, logged, rewardKey, rewardProgramKey, trigger, removeRewardKey, trackSnowplowEvent]);\n  const clickCloseTooltip = () => {\n    setTooltip(null);\n    trackSnowplowEvent(\"click_button\", {\n      button_id: \"close\",\n      button_name: \"닫기\",\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      position: -1\n    });\n  };\n  if (tooltip === \"login\") {\n    return /* @__PURE__ */ jsx(Tooltip, { onClose: clickCloseTooltip, children: /* @__PURE__ */ jsx(LoginCallout, { participantMileageRewardsByAction, rewardProgramKey, rewardKey }) });\n  }\n  if (tooltip === \"mileage\") {\n    return /* @__PURE__ */ jsx(Tooltip, { onClose: clickCloseTooltip, children: /* @__PURE__ */ jsx(MileageRewardCallout, { rewardProgramKey, mileageText: getMileageText(mileageRewards) }) });\n  }\n  return null;\n};\nconst ReferralEventRewardHandler = () => {\n  const query = getQueryParams();\n  const rewardKey = query.reward_key ?? null;\n  const {\n    tasteSharingProgramData,\n    isLoading\n  } = useFetchTasteSharingActiveProgram({\n    enabled: !!rewardKey\n  });\n  if (!rewardKey && !tasteSharingProgramData) {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(ReferralEventRewardHandlerInner, { rewardKey, tasteSharingProgramData, isLoadingTasteSharingProgram: isLoading });\n};\nexport {\n  ReferralEventRewardHandler\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport { useShareButton } from \"./ShareButton.hooks.js\";\nimport { getShareButtonSize, useIsShareButtonRenewed } from \"./useIsShareButtonRenewed.js\";\nimport { ShareIcon } from \"./ShareIcon.js\";\nimport { ShareButtonWithReferralEvent } from \"../ShareButtonWithReferralEvent/ShareButtonWithReferralEvent.js\";\nimport { ReferralEventRewardHandler } from \"../ReferralEventRewardHandler/ReferralEventRewardHandler.js\";\nimport \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../hooks/useCurrentUser.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport { useFetchTasteSharingActiveProgram } from \"../../../hooks/fetchers/useFetchTasteSharingActiveProgram.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nconst ShareButton = ({\n  style\n}) => {\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    tasteSharingProgramData\n  } = useFetchTasteSharingActiveProgram({\n    enabled: logged\n  });\n  const {\n    handleClick\n  } = useShareButton();\n  const size = getShareButtonSize(useIsShareButtonRenewed());\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(ReferralEventRewardHandler, {}),\n    tasteSharingProgramData ? /* @__PURE__ */ jsx(ShareButtonWithReferralEvent, { tasteSharingProgramData, style }) : /* @__PURE__ */ jsx(\"button\", { style: {\n      ...buttonStyle,\n      width: size,\n      height: size,\n      ...style\n    }, type: \"button\", onClick: handleClick, children: /* @__PURE__ */ jsx(ShareIcon, {}) })\n  ] });\n};\nconst buttonStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  backgroundColor: \"#fff\",\n  borderRadius: \"50%\",\n  border: \"1px solid rgba(0, 0, 0, 0.08)\",\n  outline: \"none\",\n  cursor: \"pointer\"\n};\nexport {\n  ShareButton\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { shallow as shallow$1 } from \"../../../node_modules/zustand/esm/shallow.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport { useGlobalLayoutStore } from \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { ShareButton } from \"../ShareButton/ShareButton.js\";\nimport { isServer } from \"../../../utils/context.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport \"framer\";\nimport \"react\";\nconst FloatingShareButton = () => {\n  const [globalLayout, naturalInset] = useGlobalLayoutStore((state) => [state.globalLayout, state.naturalInset], shallow$1);\n  if (isServer()) {\n    return null;\n  }\n  if (globalLayout === \"responsive-split-view\") {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(\"div\", { style: {\n    ...containerStyle,\n    right: `calc(env(safe-area-inset-right) + ${Math.max(12, naturalInset.right)}px)`,\n    bottom: `calc(env(safe-area-inset-bottom) + ${Math.max(12, naturalInset.bottom)}px)`\n  }, children: /* @__PURE__ */ jsx(ShareButton, {}) });\n};\nconst containerStyle = {\n  position: \"fixed\",\n  zIndex: 3e3\n};\nexport {\n  FloatingShareButton\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nclass EventEmitter {\n  constructor() {\n    __publicField(this, \"events\", /* @__PURE__ */ new Map());\n    __publicField(this, \"queue\", /* @__PURE__ */ new Map());\n  }\n  has(event) {\n    return this.events.has(event);\n  }\n  on(event, callback) {\n    if (!this.has(event)) {\n      this.events.set(event, /* @__PURE__ */ new Set());\n    }\n    const args = this.queue.get(event);\n    if (args) {\n      callback(...args);\n      this.queue.delete(event);\n    }\n    const handlers = this.events.get(event);\n    handlers == null ? void 0 : handlers.add(callback);\n    return () => {\n      handlers == null ? void 0 : handlers.delete(callback);\n    };\n  }\n  emit(event, ...args) {\n    var _a;\n    if (!this.has(event)) {\n      this.queue.set(event, args);\n      return;\n    }\n    (_a = this.events.get(event)) == null ? void 0 : _a.forEach((callback) => callback(...args));\n  }\n}\nexport {\n  EventEmitter\n};\n","import { EventEmitter } from \"./event-emitter.js\";\nvar ProductEvent = /* @__PURE__ */ ((ProductEvent2) => {\n  ProductEvent2[ProductEvent2[\"SYNC_IDS\"] = 0] = \"SYNC_IDS\";\n  return ProductEvent2;\n})(ProductEvent || {});\nconst productEmitter = new EventEmitter();\nexport {\n  ProductEvent,\n  productEmitter\n};\n","import { useRef, useEffect } from \"react\";\nimport \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../apis/framer/FramerApiService.js\";\nimport \"../../config/index.js\";\nimport \"../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../apis/user/UserApiService.js\";\nimport \"../../apis/preuser/PreuserApiService.js\";\nimport \"../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport { isCanvas } from \"../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../node_modules/swr/mutation/dist/index.js\";\nimport { useContentStore } from \"../stores/content/content.store.js\";\nimport \"../stores/dialog/dialog.store.js\";\nimport \"../stores/global-layout/global-layout.store.js\";\nimport \"../stores/toast/toast.store.js\";\nimport \"../../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../components/systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../useFeatureFlag.js\";\nimport \"../../utils/redirectLogin.js\";\nimport \"../../utils/event-properties/source.js\";\nimport { splitToNumberArray } from \"../../utils/splitToNumberArray.js\";\nimport { productEmitter, ProductEvent } from \"../../utils/event-emitter/product-event-emitter.js\";\nconst useSendProductIds = (productIdsString) => {\n  const dispatchAppendProductIds = useContentStore((state) => state.dispatchAppendProductIds);\n  const latest = useRef(productIdsString);\n  const send = () => {\n    dispatchAppendProductIds(splitToNumberArray(latest.current));\n  };\n  useEffect(() => {\n    latest.current = productIdsString;\n  }, [productIdsString]);\n  useEffect(() => {\n    if (!isCanvas()) {\n      return;\n    }\n    return productEmitter.on(ProductEvent.SYNC_IDS, send);\n  }, []);\n};\nexport {\n  useSendProductIds\n};\n","import { GENERAL_ERROR } from \"../../constants/error.js\";\nimport { authFetch } from \"../authFetch.js\";\nimport { env } from \"../../config/index.js\";\nclass ProductApiService {\n  async getHeartProductList() {\n    return authFetch(`${env.api.apihub}/heart/product/items/`, {\n      credentials: \"include\"\n    }).then((res) => {\n      if (!res.ok) {\n        throw new Error(GENERAL_ERROR);\n      }\n      return res.json();\n    }).then((data) => data);\n  }\n  async toggleHeart(productNo, action) {\n    const res = await authFetch(`${env.api.apihub}/heart/product/${productNo}/${action}`, {\n      credentials: \"include\"\n    });\n    if (!res.ok) {\n      throw new Error(GENERAL_ERROR);\n    }\n  }\n}\nconst productApi = new ProductApiService();\nexport {\n  productApi\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { productApi } from \"../../apis/product/ProductApiService.js\";\nconst HEART_PRODUCT_LIST_FETCHER_KEY = \"heart-list\";\nconst useFetchHeartProductList = ({\n  enabled = true\n} = {}) => {\n  const shouldFetch = enabled;\n  const {\n    data: heartList,\n    mutate\n  } = useSWR(shouldFetch ? HEART_PRODUCT_LIST_FETCHER_KEY : null, () => productApi.getHeartProductList(), {\n    errorRetryCount: 2,\n    errorRetryInterval: 5e3,\n    revalidateIfStale: false,\n    revalidateOnFocus: false,\n    revalidateOnReconnect: false\n  });\n  return {\n    heartList: heartList ?? [],\n    mutate\n  };\n};\nexport {\n  HEART_PRODUCT_LIST_FETCHER_KEY,\n  useFetchHeartProductList\n};\n","import { isContentOrigin } from \"../../utils/location.js\";\nimport { useCallback } from \"react\";\nimport \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../useCurrentUser.js\";\nimport \"framer\";\nimport \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../apis/framer/FramerApiService.js\";\nimport { useFetchHeartProductList } from \"../fetchers/useFetchHeartProductList.js\";\nimport \"../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../config/index.js\";\nimport \"../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../apis/user/UserApiService.js\";\nimport \"../../apis/preuser/PreuserApiService.js\";\nimport \"../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../node_modules/swr/mutation/dist/index.js\";\nimport \"../stores/content/content.store.js\";\nimport \"../stores/dialog/dialog.store.js\";\nimport \"../stores/global-layout/global-layout.store.js\";\nimport \"../stores/toast/toast.store.js\";\nimport \"../../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../components/systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../useFeatureFlag.js\";\nimport \"../../utils/redirectLogin.js\";\nimport \"../../utils/event-properties/source.js\";\nconst useProductGroupHeart = () => {\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    heartList,\n    mutate: mutateHeartList\n  } = useFetchHeartProductList({\n    enabled: isContentOrigin() && logged\n  });\n  const isHeartOn = (productNo) => {\n    if (!Array.isArray(heartList)) {\n      return \"OFF\";\n    }\n    return heartList.includes(productNo) ? \"ON\" : \"OFF\";\n  };\n  const handleHeartOn = useCallback(\n    (productNo) => {\n      mutateHeartList([...heartList, productNo], {\n        revalidate: false\n      });\n    },\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [heartList]\n  );\n  const handleHeartOff = useCallback(\n    (productNo) => {\n      mutateHeartList(heartList.filter((heartProductId) => heartProductId != productNo), {\n        revalidate: false\n      });\n    },\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [heartList]\n  );\n  return {\n    isHeartOn,\n    handleHeartOn,\n    handleHeartOff\n  };\n};\nexport {\n  useProductGroupHeart\n};\n","var ProductCardType = /* @__PURE__ */ ((ProductCardType2) => {\n  ProductCardType2[\"CARD\"] = \"card\";\n  ProductCardType2[\"BAR\"] = \"bar\";\n  ProductCardType2[\"CARD_DETAILED\"] = \"card-detailed\";\n  return ProductCardType2;\n})(ProductCardType || {});\nexport {\n  ProductCardType\n};\n","const i = (t) => {\n  const e = String(t), c = e.indexOf(\".\"), n = /(\\d)(?=(\\d\\d\\d)+(?!\\d))/g;\n  return c > -1 ? e.slice(0, c).replace(n, \"$1,\") + e.slice(c) : e.replace(n, \"$1,\");\n};\nexport {\n  i as commaizeNumber\n};\n","import { tv as g$1 } from \"../../packages/configs/tailwind-variants/index.js\";\nconst l = [\"light\", \"dark\"], r = {\n  default: {\n    primary: { light: \"bg-primary text-on-color\", dark: \"bg-primary-dark text-on-color-dark\" },\n    // NOTE:(김홍동) bg-tertiary-dark 색상이 프레이머에 적용된 dark 색상과 다르기에 커스텀 색상을 적용.\n    secondary: { light: \"bg-tertiary text-secondary\", dark: \"bg-[#19191a] text-secondary-dark\" },\n    // NOTE:(김홍동) framer-ruler 전용 — 프레이머 dark 배경(#F4F4F4 8%)은 main 토큰에 같은 값이 없어 리터럴로 고정한다.\n    // text-tertiary-dark(gray-600 dark #808080)는 프레이머 dark 시안 색(#9f9f9f)과 달라 커스텀 색상을 적용.\n    tertiary: { light: \"bg-tertiary text-tertiary\", dark: \"bg-[#f4f4f414] text-[#9f9f9f]\" },\n    accent: { light: \"bg-accent-low text-accent\", dark: \"bg-accent-low-dark text-accent-dark\" },\n    white: { light: \"bg-silent text-primary\", dark: \"bg-silent-dark text-primary-dark\" }\n  },\n  information: {\n    primary: { light: \"bg-interactive text-on-color\", dark: \"bg-interactive-dark text-on-color-dark\" },\n    secondary: { light: \"bg-interactive-low text-interactive\", dark: \"bg-interactive-low-dark text-interactive-dark\" }\n  },\n  positive: {\n    primary: { light: \"bg-positive text-on-color\", dark: \"bg-positive-dark text-on-color-dark\" },\n    secondary: { light: \"bg-positive-low text-positive\", dark: \"bg-positive-low-dark text-positive-dark\" }\n  },\n  negative: {\n    primary: { light: \"bg-negative text-on-color\", dark: \"bg-negative-dark text-on-color-dark\" },\n    secondary: { light: \"bg-negative-low text-negative\", dark: \"bg-negative-low-dark text-negative-dark\" }\n  }\n}, n = Object.keys(r), o = (e, t, a) => l.map((i) => ({\n  surfaceStyle: \"filled\",\n  tone: e,\n  ...t ? { variant: t } : {},\n  theme: i,\n  class: { base: a[i] }\n})), d = n.flatMap(\n  (e) => o(e, void 0, r[e].primary)\n), g = n.flatMap(\n  (e) => Object.entries(r[e]).flatMap(\n    ([t, a]) => o(e, t, a)\n  )\n), s = {\n  // NOTE:(김홍동) framer-ruler 전용 — 프레이머는 alias 도 기존 알파 배경(#5D5D5D 8% · #F4F4F4 8%)을 리터럴로 유지한다. main 토큰에 같은 값이 없다.\n  // 고정하는 것은 배경뿐이다 — 글자색(text-tertiary · text-negative)은 위 계약과 달리 토큰을 따라 바뀐다.\n  tertiary: { light: \"bg-[#5d5d5d14] text-tertiary\", dark: \"bg-[#f4f4f414] text-[#9f9f9f]\" },\n  negative: { light: \"bg-accent-low text-negative\", dark: \"bg-accent-low-dark text-negative-dark\" }\n}, x = Object.keys(s).flatMap(\n  (e) => l.map((t) => ({\n    surfaceStyle: \"filled\",\n    legacyPriority: e,\n    theme: t,\n    class: { base: s[e][t] }\n  }))\n), f = g$1({\n  slots: {\n    base: \"inline-flex items-center justify-center rounded-2 align-baseline\",\n    // NOTE: Icon 자체 높이 부재로 svg가 접히므로 슬롯 크기를 직계 자식까지 전파\n    icon: \"inline-flex shrink-0 items-center justify-center [&>*]:size-full\"\n  },\n  variants: {\n    size: {\n      // py 는 min-h 를 넘는 콘텐츠(className 타이포 오버라이드·2줄 텍스트)에서만 관여. 1줄은 min-h 가 지배\n      small: {\n        base: \"min-h-16 min-w-16 gap-2 px-4 py-2 text-xxs-medium\",\n        icon: \"size-[11px]\"\n      },\n      medium: {\n        base: \"min-h-20 min-w-20 gap-[3px] px-[5px] py-2 text-xs-medium\",\n        icon: \"size-[13px]\"\n      },\n      large: {\n        base: \"min-h-24 min-w-24 gap-[3px] px-8 py-4 text-s-medium\",\n        icon: \"size-[13px]\"\n      }\n    },\n    tone: {\n      default: {},\n      information: {},\n      positive: {},\n      negative: {}\n    },\n    variant: {\n      primary: {},\n      secondary: {},\n      tertiary: {},\n      accent: {},\n      white: {}\n    },\n    surfaceStyle: {\n      filled: {},\n      blur: {},\n      translucent: {}\n    },\n    theme: {\n      light: {},\n      dark: {}\n    },\n    hasPrefix: {\n      true: {},\n      false: {}\n    },\n    hasPostfix: {\n      true: {},\n      false: {}\n    },\n    /** 내부 전용 — Badge 가 deprecated priority alias 를 감지해 설정 */\n    legacyPriority: {\n      none: {},\n      tertiary: {},\n      negative: {}\n    }\n  },\n  compoundVariants: [\n    // 아이콘이 붙는 쪽만 좁아지는 비대칭 패딩 (small 4→3, medium 5→4, large 8→6)\n    { size: \"small\", hasPrefix: true, class: { base: \"pl-[3px]\" } },\n    { size: \"small\", hasPostfix: true, class: { base: \"pr-[3px]\" } },\n    { size: \"medium\", hasPrefix: true, class: { base: \"pl-4\" } },\n    { size: \"medium\", hasPostfix: true, class: { base: \"pr-4\" } },\n    { size: \"large\", hasPrefix: true, class: { base: \"pl-6\" } },\n    { size: \"large\", hasPostfix: true, class: { base: \"pr-6\" } },\n    // blur / translucent — Figma에 tone=default, variant=secondary 조합만 정의되어 tone·variant 무관\n    { surfaceStyle: \"blur\", class: { base: \"bg-[#5D5D5D80] text-on-color backdrop-blur-[5px]\" } },\n    { surfaceStyle: \"translucent\", theme: \"light\", class: { base: \"bg-gray-alpha-100 text-primary\" } },\n    { surfaceStyle: \"translucent\", theme: \"dark\", class: { base: \"bg-gray-alpha-100-dark text-primary-dark\" } },\n    ...d,\n    ...g,\n    // alias 전용 색상은 tone × variant 를 덮어야 하므로 마지막\n    ...x\n  ],\n  defaultVariants: {\n    size: \"small\",\n    tone: \"default\",\n    variant: \"primary\",\n    surfaceStyle: \"filled\",\n    theme: \"light\",\n    hasPrefix: false,\n    hasPostfix: false,\n    legacyPriority: \"none\"\n  }\n});\nexport {\n  f as badge\n};\n","import { j as m$1 } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { forwardRef, memo } from \"react\";\nimport { badge as f } from \"./Badge.style.js\";\nconst b = {\n  primary: { tone: \"default\", variant: \"primary\" },\n  secondary: { tone: \"default\", variant: \"secondary\" },\n  tertiary: { tone: \"default\", variant: \"tertiary\" },\n  accent: { tone: \"default\", variant: \"accent\" },\n  information: { tone: \"information\", variant: \"secondary\" },\n  negative: { tone: \"negative\", variant: \"secondary\" }\n}, B = [\"tertiary\", \"negative\"], C = (e) => B.includes(e), m = (e) => e != null && e !== false && e !== \"\", E = forwardRef(\n  ({\n    children: e,\n    className: f$1,\n    name: u,\n    prefix: o,\n    postfix: s,\n    size: v = \"small\",\n    theme: y = \"light\",\n    tone: i,\n    variant: c,\n    surfaceStyle: g,\n    // deprecated alias 매핑이 구현부 존재 목적이라 S1874 회피 불가\n    priority: n,\n    // NOSONAR\n    isBlur: h,\n    // NOSONAR\n    ...x\n  }, R) => {\n    const a = n && i === void 0 && c === void 0 ? b[n] : void 0, l = m(o), d = m(s), t = f({\n      size: v,\n      theme: y,\n      tone: i ?? (a == null ? void 0 : a.tone) ?? \"default\",\n      variant: c ?? (a == null ? void 0 : a.variant) ?? \"primary\",\n      surfaceStyle: g ?? (h ? \"blur\" : \"filled\"),\n      hasPrefix: l,\n      hasPostfix: d,\n      legacyPriority: a && n && C(n) ? n : \"none\"\n    });\n    return /* @__PURE__ */ m$1.jsxs(\"div\", { ...x, className: t.base({ className: f$1 }), ref: R, children: [\n      l ? /* @__PURE__ */ m$1.jsx(\"span\", { className: t.icon(), children: o }) : null,\n      e,\n      u,\n      d ? /* @__PURE__ */ m$1.jsx(\"span\", { className: t.icon(), children: s }) : null\n    ] });\n  }\n), O = memo(E);\nexport {\n  O as Badge\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g$1, cn as p } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { Icon as v } from \"../Icon/Icon.js\";\nconst f = g$1({\n  slots: {\n    wrapper: \"inline-flex items-center gap-2 align-middle\",\n    text: \"\"\n  },\n  variants: {\n    isLast: {\n      true: {\n        wrapper: \"min-w-0 flex-1\",\n        text: \"min-w-0 truncate\"\n      },\n      false: {\n        wrapper: \"shrink-0\",\n        text: \"shrink-0\"\n      }\n    }\n  }\n}), g = (e) => {\n  const a = {\n    \"ic-delivery\": \"DeliveryBoldFillIcon\"\n  };\n  return a[e] ? a[e] : \"DeliveryBoldFillIcon\";\n}, w = g$1({\n  slots: {\n    container: \"flex min-w-0 items-center overflow-hidden text-s\",\n    separator: \"mx-[3px] inline-block h-[1.5px] w-[1.5px] shrink-0 rounded-full align-middle\"\n  },\n  variants: {\n    theme: {\n      light: { container: \"text-tertiary\", separator: \"bg-gray-300\" },\n      dark: { container: \"text-white-alpha-700\", separator: \"bg-white-alpha-500\" }\n    }\n  },\n  defaultVariants: { theme: \"light\" }\n}), y = ({ optionFees: e, className: a, theme: i = \"light\" }) => {\n  if (!e || e.length === 0)\n    return null;\n  const { container: c, separator: o } = w({ theme: i }), m$1 = e.map(({ text: t, prefixIcon: s }, r) => {\n    const p2 = r === e.length - 1, { wrapper: x, text: h } = f({ isLast: p2 });\n    return (\n      // biome-ignore lint/suspicious/noArrayIndexKey: 정렬·삽입이 없는 정적 리스트이고, 서버가 같은 문구를 중복으로 줄 수 있어 index 로 유일성을 보장한다\n      /* @__PURE__ */ m.jsxs(\"span\", { className: x(), children: [\n        s && /* @__PURE__ */ m.jsx(\n          v,\n          {\n            icon: g(s),\n            size: \"xSmall\",\n            className: \"h-[13px] w-[13px] shrink-0 align-middle\"\n          }\n        ),\n        /* @__PURE__ */ m.jsx(\"span\", { className: h(), children: t })\n      ] }, `${r}-${t}`)\n    );\n  }).reduce((t, s, r) => [\n    ...t,\n    // biome-ignore lint/suspicious/noArrayIndexKey: 위 feeElements 와 동일 — 문구 중복 시 key 충돌 방지\n    r > 0 && /* @__PURE__ */ m.jsx(\"span\", { className: o() }, `separator-${r}-${e[r].text}`),\n    s\n  ], []);\n  return /* @__PURE__ */ m.jsx(\"div\", { className: p(c(), a), title: e.map((t) => t.text).join(\" \"), children: m$1 });\n};\nexport {\n  y as OptionFees\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nconst a = g({\n  slots: {\n    base: \"flex min-w-212 items-center\",\n    // mix-blend-multiply blend group 을 썸네일 박스로 한정\n    image: \"relative isolate flex-none self-center overflow-hidden rounded-4\",\n    imageContent: \"absolute top-0 left-0 h-full w-full object-cover\",\n    // 흰 배경 누끼 이미지가 카드 배경에 묻히지 않도록 최소 색상 부여\n    imageOverlay: \"pointer-events-none absolute inset-0 bg-[#f7f7f7] mix-blend-multiply\",\n    content: \"flex min-w-0 flex-1 flex-col items-start justify-center gap-[3px] py-[1px]\",\n    summary: \"flex w-full min-w-0 flex-col items-start\",\n    brandName: \"w-full truncate text-xs-bold\",\n    productName: \"w-full text-s\",\n    // OptionFees 가 같은 줄 말줄임 설계라 nowrap 유지\n    priceRow: \"flex w-full items-center gap-x-4\",\n    // column-gap 3px 은 홀수라 spacing 스케일에 없어 임의값 사용\n    badgeGroup: \"flex flex-wrap content-start items-start gap-x-[3px] gap-y-4\",\n    discount: \"\",\n    priceInfo: \"\"\n  },\n  variants: {\n    // 5:6 은 티켓 가로형 카드(`TicketProductHorizontalCard`)와 썸네일 크기·간격을 맞춘다 — 한 목록에 섞여도 행 높이가 같다.\n    ratio: {\n      \"1:1\": {\n        base: \"min-h-70\",\n        image: \"aspect-square w-70\",\n        content: \"pl-10\"\n      },\n      \"5:6\": {\n        base: \"min-h-96\",\n        image: \"aspect-[5/6] w-80\",\n        content: \"pl-14\"\n      }\n    },\n    theme: {\n      light: {\n        brandName: \"text-primary\",\n        productName: \"text-primary\"\n      },\n      dark: {\n        brandName: \"text-primary-dark\",\n        productName: \"text-primary-dark\",\n        // 어두운 배경에서는 누끼 구분이 되므로 오버레이 불필요\n        imageOverlay: \"hidden\"\n      }\n    },\n    soldOut: {\n      true: {\n        imageContent: \"opacity-60\"\n      },\n      false: {}\n    },\n    /** 브랜드명·뱃지 모두 미노출일 때만 상품명 2줄 확장 — 겹치면 카드 70px 초과 */\n    productNameMultiline: {\n      true: {\n        productName: \"line-clamp-2 whitespace-normal\"\n      },\n      false: {\n        productName: \"truncate\"\n      }\n    }\n  },\n  compoundVariants: [\n    {\n      soldOut: true,\n      theme: \"light\",\n      class: {\n        discount: \"text-disabled\",\n        priceInfo: \"text-disabled\"\n      }\n    },\n    {\n      soldOut: true,\n      theme: \"dark\",\n      class: {\n        // NOTE:(김홍동) text-disabled-dark 색상이 프레이머에 적용된 dark 색상과 다르기에 커스텀 색상을 적용.\n        discount: \"text-[#303033]\",\n        priceInfo: \"text-[#303033]\"\n      }\n    },\n    {\n      soldOut: false,\n      theme: \"light\",\n      class: {\n        discount: \"text-accent\",\n        priceInfo: \"text-primary\"\n      }\n    },\n    {\n      soldOut: false,\n      theme: \"dark\",\n      class: {\n        discount: \"text-accent-dark\",\n        priceInfo: \"text-primary-dark\"\n      }\n    }\n  ],\n  defaultVariants: {\n    ratio: \"1:1\",\n    theme: \"light\",\n    soldOut: false,\n    productNameMultiline: false\n  }\n});\nexport {\n  a as productHorizontalCardInfo\n};\n","import { commaizeNumber as i$1 } from \"./commaizeNumber.js\";\nconst u = 1e3, e = 1e4, i = (o) => {\n  const n = Number.isFinite(o) ? o : 0, r = Math.abs(n);\n  if (r >= e)\n    return `${Math.round(n / e * 10) / 10}만`;\n  if (r >= u) {\n    const t = Math.round(n / u * 10) / 10;\n    return Math.abs(t) >= 10 ? `${Math.round(n / e * 10) / 10}만` : `${t}천`;\n  }\n  return i$1(n);\n};\nexport {\n  i as formatNumberWithKoreanUnit\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { formatNumberWithKoreanUnit as i } from \"../../packages/contexts/common/utils/src/numbers/formatNumberWithKoreanUnit.js\";\nimport { forwardRef, memo } from \"react\";\nimport { Icon as v$1 } from \"../Icon/Icon.js\";\nconst v = g({\n  slots: {\n    layout: \"group m-0 flex h-[52px] min-h-[52px] w-[52px] min-w-[52px] flex-col items-center justify-center rounded-4 border-none outline-none focus-visible:border focus-visible:border-solid focus-visible:border-interactive\",\n    icon: \"h-24 w-24 transition duration-150 ease-in-out group-active:h-[22px] group-active:min-h-[22px] group-active:w-[22px] group-active:min-w-[22px]\",\n    count: \"w-full truncate text-s-medium\"\n  },\n  variants: {\n    priority: {\n      default: {\n        layout: \"text-tertiary\",\n        icon: \"[&>g>*]:group-hover:fill-tertiary-hover [&>g>*]:group-active:fill-tertiary-pressed\",\n        count: \"group-hover:text-tertiary-hover group-active:text-tertiary-pressed\"\n      },\n      white: {\n        layout: \"text-on-color\",\n        icon: \"[&>g>*]:group-hover:fill-on-color-hover [&>g>*]:group-active:fill-on-color-pressed\",\n        count: \"group-hover:text-on-color-hover group-active:text-on-color-pressed\"\n      }\n    },\n    on: {\n      true: {\n        icon: \"text-accent\"\n      }\n    }\n  }\n}), f = forwardRef(\n  ({ className: i$1, count: n, on: e, priority: r, onClick: c, ...u }, l) => {\n    const o = v({ priority: r });\n    return /* @__PURE__ */ m.jsxs(\"button\", { ref: l, className: o.layout({ class: i$1 }), onClick: c, ...u, children: [\n      /* @__PURE__ */ m.jsx(\n        v$1,\n        {\n          className: o.icon({ on: e }),\n          icon: e ? \"HeartBoldFillIcon\" : \"HeartRegularIcon\",\n          color: r === \"default\" ? \"text-tertiary\" : \"text-on-color\"\n        }\n      ),\n      /* @__PURE__ */ m.jsx(\"p\", { className: o.count(), children: i(n) })\n    ] });\n  }\n), B = memo(f);\nexport {\n  B as LikeCountButton\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nconst t = g({\n  slots: {\n    button: \"relative flex flex-row items-center justify-center gap-2 rounded-2 focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-interactive\",\n    icon: \"shrink-0 grow-0\",\n    // NOTE: icon will inherit color and bg\n    spinner: \"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center rounded-2\"\n  },\n  variants: {\n    priority: {\n      primary: {\n        button: \"bg-primary text-on-color [@media(hover:hover)and(pointer:fine)]:hover:bg-primary-hover focus:bg-primary data-[pressed=true]:bg-primary-pressed\",\n        spinner: \"bg-primary\"\n      },\n      secondary: {\n        button: \"border border-line bg-silent text-primary [@media(hover:hover)and(pointer:fine)]:hover:bg-silent-hover [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover data-[pressed=true]:bg-silent-pressed data-[pressed=true]:text-primary-pressed\",\n        spinner: \"bg-silent\"\n      },\n      tertiary: {\n        button: \"bg-tertiary text-primary [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover data-[pressed=true]:text-primary-pressed\",\n        spinner: \"bg-tertiary\"\n      }\n    },\n    size: {\n      xSmall: {\n        button: \"h-28 w-28 rounded-2 p-6\",\n        icon: \"h-16 w-16\",\n        spinner: \"rounded-2\"\n      },\n      small: {\n        button: \"h-36 w-36 rounded-2 p-8\",\n        icon: \"h-20 w-20\",\n        spinner: \"rounded-2\"\n      },\n      medium: {\n        button: \"h-44 w-44 rounded-4 p-12\",\n        icon: \"h-22 w-22\",\n        spinner: \"rounded-4\"\n      },\n      large: {\n        button: \"h-52 w-52 rounded-4 p-14\",\n        icon: \"h-24 w-24\",\n        spinner: \"rounded-4\"\n      }\n    },\n    isWhite: {\n      true: {\n        button: \"bg-on-white text-primary visited:bg-on-white [@media(hover:hover)and(pointer:fine)]:hover:bg-on-white [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover focus:bg-on-white data-[pressed=true]:bg-on-white data-[pressed=true]:text-primary-pressed\",\n        spinner: \"bg-on-white\"\n      }\n    },\n    transparent: {\n      true: {\n        button: \"bg-transparent text-primary [@media(hover:hover)and(pointer:fine)]:hover:bg-transparent [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover focus:bg-transparent focus:text-primary-hover data-[pressed=true]:bg-transparent data-[pressed=true]:text-primary-pressed\",\n        spinner: \"bg-transparent [@media(hover:hover)and(pointer:fine)]:hover:bg-transparent focus:bg-transparent data-[pressed=true]:bg-transparent\"\n      }\n    },\n    disabled: {\n      true: {\n        button: \"bg-disabled text-disabled [@media(hover:hover)and(pointer:fine)]:hover:bg-disabled [@media(hover:hover)and(pointer:fine)]:hover:text-disabled focus:bg-disabled focus:text-disabled data-[pressed=true]:bg-disabled data-[pressed=true]:text-disabled cursor-not-allowed\"\n      }\n    }\n  },\n  compoundVariants: [\n    {\n      isWhite: true,\n      transparent: true,\n      disabled: false,\n      class: {\n        button: \"text-on-color [@media(hover:hover)and(pointer:fine)]:hover:text-on-color focus:text-on-color data-[pressed=true]:text-on-color\"\n      }\n    },\n    {\n      transparent: true,\n      disabled: true,\n      class: {\n        button: \"bg-transparent text-disabled [@media(hover:hover)and(pointer:fine)]:hover:bg-transparent [@media(hover:hover)and(pointer:fine)]:hover:text-disabled focus:bg-transparent focus:text-disabled data-[pressed=true]:bg-transparent data-[pressed=true]:text-disabled\"\n      }\n    },\n    {\n      isWhite: true,\n      transparent: false,\n      disabled: true,\n      class: {\n        button: \"bg-on-white\"\n      }\n    }\n  ],\n  defaultVariants: {\n    disabled: false,\n    transparent: false\n  }\n});\nexport {\n  t as iconButtonVariant\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { forwardRef, isValidElement } from \"react\";\nimport { usePressedState as a } from \"../../hooks/usePressedState.js\";\nimport { Icon as v } from \"../Icon/Icon.js\";\nimport { isIconName as t$1 } from \"../Icon/Icon.types.js\";\nimport { Spinner as k$1 } from \"../Spinner/Spinner.js\";\nimport { iconButtonVariant as t } from \"./IconButton.style.js\";\nconst k = forwardRef(\n  ({\n    priority: a$1 = \"primary\",\n    size: e = \"medium\",\n    disabled: r,\n    pending: o,\n    icon: s,\n    transparent: m$1,\n    isWhite: l,\n    className: c,\n    svgClass: p,\n    ...u\n  }, f) => {\n    const { pressEvents: x, \"data-pressed\": j } = a(r || o), i = m$1 ? \"primary\" : a$1, {\n      button: y,\n      icon: n,\n      spinner: N\n    } = t({\n      size: e,\n      priority: i,\n      disabled: r,\n      transparent: m$1,\n      isWhite: l\n    });\n    return /* @__PURE__ */ m.jsxs(\n      \"button\",\n      {\n        ref: f,\n        ...u,\n        ...x,\n        \"data-pressed\": j,\n        className: y({ className: c }),\n        disabled: r || o,\n        children: [\n          t$1(s) && (!(m$1 && o) || r) ? /* @__PURE__ */ m.jsx(v, { icon: s, className: n(), svgClass: p }) : null,\n          isValidElement(s) && !(m$1 && o) ? /* @__PURE__ */ m.jsx(\"span\", { className: n(), children: s }) : null,\n          !r && o ? /* @__PURE__ */ m.jsx(\"div\", { className: N(), children: /* @__PURE__ */ m.jsx(k$1, { size: e, onColor: i === \"primary\" }) }) : null\n        ]\n      }\n    );\n  }\n);\nexport {\n  k as IconButton\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { memo, useCallback } from \"react\";\nimport { LikeCountButton as B } from \"../LikeCountButton/LikeCountButton.js\";\nimport { IconButton as k } from \"../IconButton/IconButton.js\";\nconst i = g({\n  variants: {\n    type: {\n      // margin 이 교차축 정렬에 포함되어 버튼(52)+6 = 58 영역이 카드 세로 중앙\n      likeCountButton: \"mt-6\",\n      iconButton: \"h-[44px] min-h-[44px] w-[44px] min-w-[44px]\"\n    }\n  },\n  defaultVariants: {\n    type: \"likeCountButton\"\n  }\n}), h = memo(({ postfix: t, theme: a }) => {\n  const n = useCallback(\n    (o) => {\n      var r;\n      o.preventDefault(), o.stopPropagation(), (r = t.onClick) == null || r.call(t);\n    },\n    [t]\n  );\n  return t.type === \"likeCountButton\" ? /* @__PURE__ */ m.jsx(\n    B,\n    {\n      className: i({ type: t.type }),\n      priority: a === \"light\" ? \"default\" : \"white\",\n      on: t.onHeart,\n      onClick: n,\n      count: t.likeAmount\n    }\n  ) : /* @__PURE__ */ m.jsx(\"div\", { className: \"flex items-center\", children: /* @__PURE__ */ m.jsx(\n    k,\n    {\n      className: i({ type: t.type }),\n      icon: t.icon,\n      priority: \"secondary\",\n      size: \"medium\",\n      onClick: n,\n      transparent: true\n    }\n  ) });\n});\nexport {\n  h as ProductHorizontalCardPostfix\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { cn as p } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { commaizeNumber as i } from \"../../packages/contexts/common/utils/src/numbers/commaizeNumber.js\";\nimport { forwardRef, memo } from \"react\";\nimport { Badge as O$1 } from \"../Badge/Badge.js\";\nimport { OptionFees as y } from \"../ProductCard/OptionFee.js\";\nimport { productHorizontalCardInfo as a } from \"./ProductHorizontalCard.style.js\";\nimport { ProductHorizontalCardPostfix as h } from \"./ProductHorizontalCardPostfix.js\";\nconst w = { \"1:1\": 70, \"5:6\": 96 }, E = forwardRef(\n  ({\n    className: r,\n    imgUrl: l,\n    brandName: o,\n    productName: e,\n    price: i2,\n    discount: t,\n    postfix: a$1,\n    extraBadge: j,\n    imageBadge: f,\n    onClick: z,\n    soldOut: d,\n    theme: c = \"light\",\n    ratio: N = \"1:1\",\n    optionFees: v,\n    badges: m$1,\n    renderImage: g = ({ className: u, src: n }) => /* @__PURE__ */ m.jsx(\"img\", { className: u, src: n, loading: \"lazy\" })\n  }, y2) => {\n    const u = ((m$1 == null ? void 0 : m$1.length) ?? 0) > 0, n = a({\n      ratio: N,\n      theme: c,\n      soldOut: d,\n      productNameMultiline: !o && !u\n    }), h$1 = [...j ? [j] : [], ...f || []].filter(Boolean);\n    return /* @__PURE__ */ m.jsxs(\"div\", { ref: y2, className: p(n.base(), r), onClick: z, role: \"button\", children: [\n      /* @__PURE__ */ m.jsxs(\"div\", { className: n.image(), children: [\n        g({\n          className: n.imageContent(),\n          src: l,\n          imageSize: w[N]\n        }),\n        /* @__PURE__ */ m.jsx(\"div\", { className: n.imageOverlay() }),\n        h$1.length > 0 ? /* @__PURE__ */ m.jsx(F, { badges: h$1 }) : null\n      ] }),\n      /* @__PURE__ */ m.jsxs(\"div\", { className: n.content(), children: [\n        /* @__PURE__ */ m.jsxs(\"div\", { className: n.summary(), children: [\n          o ? /* @__PURE__ */ m.jsx(\"p\", { className: n.brandName(), children: o }) : null,\n          e ? /* @__PURE__ */ m.jsx(\"p\", { className: n.productName(), children: e }) : null,\n          /* @__PURE__ */ m.jsx(G, { price: i2, soldOut: d, discount: t, optionFees: v, theme: c })\n        ] }),\n        /* @__PURE__ */ m.jsx(M, { badges: m$1, soldOut: d, theme: c })\n      ] }),\n      a$1 ? /* @__PURE__ */ m.jsx(h, { postfix: a$1, theme: c }) : null\n    ] });\n  }\n), O = memo(E), G = ({\n  discount: r,\n  price: l,\n  optionFees: o,\n  soldOut: e,\n  theme: i$1\n}) => {\n  const t = a({\n    theme: i$1,\n    soldOut: e\n  }), a$1 = l != null;\n  return /* @__PURE__ */ m.jsxs(\"div\", { className: t.priceRow(), children: [\n    /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex content-baseline items-center gap-2 text-m-bold\", children: [\n      r ? /* @__PURE__ */ m.jsxs(\"p\", { className: t.discount(), children: [\n        r,\n        \"%\"\n      ] }) : null,\n      a$1 ? /* @__PURE__ */ m.jsx(\"p\", { className: t.priceInfo(), children: i(l) }) : null\n    ] }),\n    /* @__PURE__ */ m.jsx(y, { optionFees: o, theme: i$1 })\n  ] });\n}, M = ({\n  badges: r,\n  soldOut: l,\n  theme: o = \"light\"\n}) => {\n  const e = a({ theme: o });\n  return !r || r.length === 0 ? null : l ? /* @__PURE__ */ m.jsx(O$1, { size: \"small\", priority: \"tertiary\", theme: o, children: \"일시품절\" }) : /* @__PURE__ */ m.jsx(\"div\", { className: e.badgeGroup(), children: r.map((i2) => /* @__PURE__ */ m.jsx(O$1, { size: \"small\", theme: o, ...i2 }, i2.name)) });\n}, F = ({ badges: r }) => r ? /* @__PURE__ */ m.jsx(m.Fragment, { children: r.map((l) => /* @__PURE__ */ m.jsx(O$1, { priority: \"primary\", className: \"absolute bottom-0 left-0 z-content-1 rounded-0\", size: \"small\", children: l }, l)) }) : null;\nexport {\n  M as BadgeGroup,\n  O as ProductHorizontalCard\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { TextButton as E } from \"../TextButton/TextButton.js\";\nconst b = g({\n  slots: {\n    base: \"space-y-12 text-on-color-dark\",\n    header: \"space-y-6\",\n    requiredInfo: \"mr-10 space-y-2\",\n    brandName: \"flex items-center gap-2 align-baseline\",\n    itemName: \"line-clamp-2 text-s\",\n    timeText: \"text-l-bold text-primary\"\n  },\n  variants: {\n    hasPadding: {\n      true: \"mx-10\"\n    },\n    size: {\n      small: {\n        base: \"space-y-8\",\n        header: \"space-y-6\",\n        requiredInfo: \"mr-20 space-y-2\",\n        brandName: \"mb-2 text-xs-bold\",\n        itemName: \"mb-2 line-clamp-2 text-s\",\n        timeText: \"text-l-bold\"\n      },\n      medium: {\n        base: \"space-y-10\",\n        requiredInfo: \"mr-20 space-y-2\",\n        brandName: \"mb-2 text-m-bold\",\n        itemName: \"mb-6 line-clamp-2 text-l\",\n        timeText: \"text-xxl-bold\"\n      },\n      compact: {\n        base: \"space-y-8 text-on-color-dark\",\n        header: \"space-y-4\",\n        requiredInfo: \"mr-8 space-y-2\",\n        brandName: \"w-full text-xs-bold\",\n        itemName: \"line-clamp-1 break-all text-s\",\n        timeText: \"text-m-bold\"\n      }\n    },\n    theme: {\n      light: {\n        itemName: \"text-[#474747]\",\n        timeText: \"text-primary\"\n      },\n      dark: {\n        itemName: \"text-[#A0A0A0]\",\n        timeText: \"text-on-color\"\n      }\n    }\n  },\n  defaultVariants: {\n    size: \"small\",\n    theme: \"light\"\n  }\n}), h = ({\n  itemName: l,\n  brandName: i,\n  timeText: a,\n  onClickBrandName: m$1,\n  size: s = \"small\",\n  theme: c = \"light\",\n  hasPadding: x,\n  href: o,\n  brandHref: r,\n  target: d,\n  onClick: n\n}) => {\n  const e = b({\n    size: s,\n    hasPadding: x,\n    theme: c\n  });\n  return /* @__PURE__ */ m.jsx(\"div\", { className: e.base(), children: /* @__PURE__ */ m.jsxs(\"div\", { className: e.header(), children: [\n    /* @__PURE__ */ m.jsxs(\"div\", { className: e.requiredInfo(), children: [\n      i ? /* @__PURE__ */ m.jsx(\n        E,\n        {\n          priority: \"primary\",\n          size: \"xSmall\",\n          isBold: true,\n          as: r || m$1 ? \"a\" : \"span\",\n          onClick: m$1,\n          label: i,\n          postfixIcon: s !== \"compact\" && (r || m$1) ? \"ChevronRightBoldIcon\" : void 0,\n          href: r,\n          target: d,\n          className: e.brandName({\n            className: \"[&>span]:truncate\"\n          }),\n          theme: c\n        }\n      ) : null,\n      o ? /* @__PURE__ */ m.jsx(\"a\", { className: e.itemName(), href: o, target: d, onClick: n, children: l }) : (\n        // href가 없으면 상위에서 <a>/<Link>로 감싸는 패턴이므로 <a> 중첩을 피하기 위해 span으로 렌더링한다.\n        /* @__PURE__ */ m.jsx(\"span\", { className: e.itemName(), onClick: n, children: l })\n      ),\n      s !== \"compact\" && a && /* @__PURE__ */ m.jsx(\"div\", { className: e.timeText(), children: a })\n    ] }),\n    s === \"compact\" && a && /* @__PURE__ */ m.jsx(\"div\", { className: e.timeText(), children: a })\n  ] }) });\n}, j = h;\nexport {\n  j as default,\n  b as preuserProductCardInfo\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((e$1, h) => {\n  const i = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: h,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...i, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ e(\"g\", { clipPath: \"url(#a)\", children: [\n      /* @__PURE__ */ u(\n        \"path\",\n        {\n          fill: \"#8A8A8A\",\n          d: \"M8.998 17.5H6.941l3.187-9.191h2.45l3.174 9.191h-2.044l-.685-2.12H9.696zm1.18-3.605h2.362l-1.155-3.517h-.064zm8.52-5.586V17.5h-1.905V8.309z\"\n        }\n      ),\n      /* @__PURE__ */ u(\"circle\", { cx: 13, cy: 13, r: 12, stroke: \"#CCC\", strokeWidth: 2 }),\n      /* @__PURE__ */ u(\"path\", { stroke: \"#CCC\", strokeWidth: 2, d: \"M3.9 4.55 21.45 22.1\" })\n    ] }),\n    /* @__PURE__ */ u(\"defs\", { children: /* @__PURE__ */ u(\"clipPath\", { id: \"a\", children: /* @__PURE__ */ u(\"path\", { fill: \"#fff\", d: \"M0 0h26v26H0z\" }) }) })\n  ] });\n});\nexport {\n  f as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M15.562 5.045c-.742.797-1.928 1.427-3.115 1.337-.148-1.079.433-2.225 1.112-2.933.742-.82 2.04-1.404 3.09-1.449.124 1.124-.358 2.225-1.087 3.045m1.075 1.55c-1.718-.09-3.189.888-4.005.888-.828 0-2.076-.843-3.436-.82-1.767.022-3.411.932-4.313 2.382-1.854 2.898-.482 7.19 1.31 9.55.877 1.168 1.928 2.449 3.312 2.404 1.31-.045 1.83-.775 3.412-.775 1.594 0 2.051.775 3.436.752 1.433-.022 2.336-1.168 3.213-2.337 1.001-1.325 1.41-2.617 1.434-2.685-.025-.022-2.769-.977-2.793-3.854-.025-2.404 2.163-3.55 2.261-3.617-1.235-1.663-3.164-1.843-3.831-1.888\"\n    }\n  ) });\n});\nexport {\n  f as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((l, a) => {\n  const e = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: a,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...e, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M15.253 1.906c.112 0 .219.052.287.14l2.392 3.115a.362.362 0 0 1-.287.582h-1.392v15.35a1 1 0 0 1-2 0V5.744H12.86l-.05-.004a.362.362 0 0 1-.236-.578l2.392-3.114a.36.36 0 0 1 .286-.14M9.747 2.719a1 1 0 0 1 1 1v14.35h1.392l.05.004a.362.362 0 0 1 .237.578l-2.393 3.115a.36.36 0 0 1-.572 0L7.068 18.65a.362.362 0 0 1 .287-.582h1.392V3.72a1 1 0 0 1 1-1\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((l, a) => {\n  const e = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: a,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...e, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M15.253 1.906c.112 0 .219.052.287.14l2.392 3.115a.362.362 0 0 1-.287.582h-1.392v15.35a1 1 0 0 1-2 0V5.744H12.86l-.05-.004a.362.362 0 0 1-.236-.578l2.392-3.114a.36.36 0 0 1 .286-.14M9.747 2.719a1 1 0 0 1 1 1v14.35h1.392l.05.004a.362.362 0 0 1 .237.578l-2.393 3.115a.36.36 0 0 1-.572 0L7.068 18.65a.362.362 0 0 1 .287-.582h1.392V3.72a1 1 0 0 1 1-1\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, e) => {\n  const a = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: e,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...a, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M9.747 3.013a.8.8 0 0 1 .8.8v14.35h1.592l.05.004a.362.362 0 0 1 .237.578l-2.393 3.114a.36.36 0 0 1-.572 0l-2.393-3.114a.362.362 0 0 1 .287-.582h1.592V3.813a.8.8 0 0 1 .8-.8M15.253 2c.112 0 .219.052.287.14l2.392 3.115a.362.362 0 0 1-.287.582h-1.592v15.35a.8.8 0 1 1-1.6 0V5.838h-1.592l-.05-.004a.362.362 0 0 1-.236-.578l2.392-3.114A.36.36 0 0 1 15.253 2\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, t) => {\n  const a = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: t,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...a, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M6.262 3.903a.9.9 0 0 1 1.8 0V17.9l2.39-2.39a.901.901 0 0 1 1.274 1.272l-3.928 3.927a.9.9 0 0 1-1.272 0l-3.928-3.927a.9.9 0 0 1 1.274-1.273l2.39 2.39zm9.676 16.17V6.076l-2.39 2.39a.9.9 0 1 1-1.273-1.272L16.2 3.266l.067-.06a.9.9 0 0 1 1.207.06l3.927 3.928a.9.9 0 1 1-1.273 1.272l-2.39-2.39v13.997a.9.9 0 0 1-1.801 0\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M11.707 4.043a1 1 0 0 1 0 1.414L5.914 11.25H20.5a1 1 0 1 1 0 2H6.037l5.645 5.269a1 1 0 0 1-1.364 1.462l-7.5-7a1 1 0 0 1-.025-1.438l7.5-7.5a1 1 0 0 1 1.414 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M11.707 4.043a1 1 0 0 1 0 1.414L5.914 11.25H20.5a1 1 0 1 1 0 2H6.037l5.645 5.269a1 1 0 0 1-1.364 1.462l-7.5-7a1 1 0 0 1-.025-1.438l7.5-7.5a1 1 0 0 1 1.414 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M10.654 4.396a.5.5 0 0 1 0 .708L4.006 11.75H21.3a.5.5 0 0 1 0 1H4.069l6.572 6.134a.5.5 0 1 1-.682.732l-7.5-7a.5.5 0 0 1-.013-.72l7.5-7.5a.5.5 0 0 1 .707 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M11.066 4.184a.8.8 0 0 1 0 1.132L4.93 11.45H21a.8.8 0 0 1 0 1.6H5.03l6.016 5.615a.8.8 0 1 1-1.092 1.17l-7.5-7a.8.8 0 0 1-.02-1.15l7.5-7.5a.8.8 0 0 1 1.132 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((l, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12.293 19.957a1 1 0 0 1 0-1.414l5.793-5.793H3.5a1 1 0 1 1 0-2h14.463l-5.645-5.269a1 1 0 0 1 1.364-1.462l7.5 7a1 1 0 0 1 .025 1.438l-7.5 7.5a1 1 0 0 1-1.414 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12.293 19.957a1 1 0 0 1 0-1.414l5.793-5.793H3.5a1 1 0 1 1 0-2h14.463l-5.645-5.269a1 1 0 0 1 1.364-1.462l7.5 7a1 1 0 0 1 .025 1.438l-7.5 7.5a1 1 0 0 1-1.414 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M13.446 19.604a.5.5 0 0 1 0-.708l6.647-6.646H2.8a.5.5 0 0 1 0-1h17.232l-6.573-6.134a.5.5 0 0 1 .682-.732l7.5 7a.5.5 0 0 1 .013.72l-7.5 7.5a.5.5 0 0 1-.708 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12.934 19.816a.8.8 0 0 1 0-1.132l6.135-6.134H3a.8.8 0 0 1 0-1.6h15.97l-6.016-5.615a.8.8 0 1 1 1.092-1.17l7.5 7a.8.8 0 0 1 .02 1.15l-7.5 7.5a.8.8 0 0 1-1.132 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, t) => {\n  const a = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...a, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"#19191A\",\n      d: \"M14.137 6.29a2.196 2.196 0 0 0-4.392 0v2.184h4.392zm1.8 2.184h3.122a.91.91 0 0 1 .894.74l.012.088 1.03 11.413a.91.91 0 0 1-.908.991L3.91 21.675a.91.91 0 0 1-.905-1.002L4.163 9.29a.91.91 0 0 1 .906-.817h2.875V6.289a3.997 3.997 0 0 1 7.993 0z\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, l) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: l,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"#19191A\",\n      d: \"M14.037 6.289a2.095 2.095 0 0 0-4.193 0v2.084h4.193zm-9.03 13.488 13.998.026-.851-9.43H5.964zm11.03-11.404h3.022c.49 0 .904.35.993.823l.013.097 1.03 11.413a1.01 1.01 0 0 1-1.008 1.1L3.91 21.775a1.01 1.01 0 0 1-1.003-1.112L4.064 9.28l.014-.095a1.01 1.01 0 0 1 .99-.813h2.776V6.289a4.096 4.096 0 0 1 8.192 0z\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, l) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: l,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M14.237 6.289a2.296 2.296 0 0 0-4.593 0v2.284h4.593zM4.785 19.975l14.439.03-.887-9.832H5.783zM15.836 8.573h3.223c.42 0 .769.32.807.737l1.03 11.413a.81.81 0 0 1-.809.883L3.91 21.575a.81.81 0 0 1-.805-.893l1.158-11.38.03-.151a.81.81 0 0 1 .776-.578h2.975V6.289a3.896 3.896 0 0 1 7.792 0z\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M19 13H5v-2h14zM19 18.807H5v-2h14zM19 7.193H5v-2h14z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M19 13H5v-2h14zM19 18.807H5v-2h14zM19 7.193H5v-2h14z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((r, e) => {\n  const i = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: e,\n    ...r\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...i, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M5 6.693h14v-1H5zM19 12.5H5v-1h14zM19 18.307H5v-1h14z\" }) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M19 12.8H5v-1.6h14zM19 18.607H5v-1.6h14zM19 6.993H5v-1.6h14z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((l, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M7.237 4C8.497 2.722 10.21 2 12 2c1.79 0 3.502.721 4.762 2a6.86 6.86 0 0 1 1.965 4.813v4.57l1.862 3.88H3.41l1.862-3.88v-4.57c0-1.802.705-3.533 1.965-4.812\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M7.732 18.158C7.732 20.406 9.778 22 12 22s4.267-1.594 4.267-3.842H7.732\" })\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((l, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: o,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 4c-1.249 0-2.45.503-3.337 1.404a4.86 4.86 0 0 0-1.39 3.41v5.024l-.684 1.425h10.822l-.684-1.425V8.813a4.86 4.86 0 0 0-1.39-3.409A4.68 4.68 0 0 0 12 4M7.238 4C8.498 2.722 10.211 2 12 2s3.502.721 4.762 2a6.86 6.86 0 0 1 1.965 4.813v4.57l1.862 3.88H3.411l1.862-3.88v-4.57c0-1.802.705-3.533 1.965-4.812M12 22c-2.221 0-4.267-1.594-4.267-3.842h2c0 .891.88 1.842 2.267 1.842s2.267-.95 2.267-1.842h2C16.267 20.406 14.22 22 12 22\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, t) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 3.5a5.18 5.18 0 0 0-3.693 1.554 5.36 5.36 0 0 0-1.534 3.76v4.91l-.978 2.04h12.41l-.978-2.04v-4.91a5.36 5.36 0 0 0-1.534-3.76A5.18 5.18 0 0 0 12 3.5m-4.406.852A6.18 6.18 0 0 1 12 2.5c1.654 0 3.239.667 4.406 1.852a6.36 6.36 0 0 1 1.82 4.461v4.684l1.569 3.266H4.205l1.568-3.266V8.813c0-1.672.654-3.277 1.821-4.461M12 21.5c-2.013 0-3.767-1.433-3.767-3.342h1c0 1.23 1.171 2.342 2.767 2.342s2.767-1.112 2.767-2.342h1c0 1.909-1.754 3.342-3.767 3.342\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 3.8a4.88 4.88 0 0 0-3.48 1.464 5.06 5.06 0 0 0-1.447 3.55v4.979l-.802 1.67H17.73l-.802-1.67v-4.98c0-1.333-.522-2.61-1.447-3.549A4.89 4.89 0 0 0 12 3.8m-4.62.341A6.48 6.48 0 0 1 12 2.2c1.735 0 3.396.7 4.62 1.941a6.66 6.66 0 0 1 1.907 4.672v4.615l1.744 3.635H3.73l1.744-3.634V8.813c0-1.75.685-3.43 1.908-4.672M12 21.8c-2.138 0-4.067-1.53-4.067-3.642h1.6c0 1.027.997 2.042 2.467 2.042s2.467-1.015 2.467-2.042h1.6c0 2.112-1.93 3.642-4.067 3.642\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M11.933 22c-2.045 0-3.942-1.352-4.23-3.322l.56-.52H16.2c0 2.248-2.046 3.842-4.267 3.842M20.522 17.263h-11.3l9.43-8.793q.008.17.008.343v4.57zM17.1 4.45A6.684 6.684 0 0 0 11.933 2 6.68 6.68 0 0 0 7.17 4a6.86 6.86 0 0 0-1.965 4.813v4.57l-1.862 3.88h.014l-.858.8 1.364 1.463 16.09-15.004L18.59 3.06z\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((l, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: o,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"m17.1 4.449 1.49-1.39 1.364 1.463-16.09 15.004L2.5 18.064l.858-.8h-.013l1.862-3.881v-4.57c0-1.802.705-3.533 1.965-4.812S10.145 2 11.934 2A6.68 6.68 0 0 1 17.1 4.449m-1.829.955q.194.197.362.413l-8.426 7.857v-4.86c0-1.282.502-2.508 1.39-3.41A4.68 4.68 0 0 1 11.934 4c1.249 0 2.45.503 3.337 1.404\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M9.222 17.263h11.301l-1.862-3.88v-4.57q0-.173-.009-.344l-1.991 1.857v3.512l.684 1.425h-5.979zM7.705 18.678C7.99 20.648 9.888 22 11.934 22c2.221 0 4.267-1.594 4.267-3.842h-2c0 .891-.88 1.842-2.267 1.842s-2.267-.95-2.267-1.842H8.262z\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M17.48 5.932a6.3 6.3 0 0 0-1.135-1.58A6.18 6.18 0 0 0 11.94 2.5a6.18 6.18 0 0 0-4.405 1.852 6.36 6.36 0 0 0-1.821 4.461v4.684l-1.568 3.266h1.72L3.7 18.783l.682.731L20.472 4.51l-.682-.731zM11.94 3.5a5.18 5.18 0 0 0-3.694 1.554 5.36 5.36 0 0 0-1.533 3.76v4.91l-.979 2.04h1.204l9.775-9.116a5.3 5.3 0 0 0-1.08-1.594A5.18 5.18 0 0 0 11.939 3.5\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"m8.797 16.763 1.073-1h8.275l-.979-2.039V8.96l.957-.892q.043.37.043.746v4.684l1.568 3.266zM11.94 21.5c-2.013 0-3.767-1.433-3.767-3.342h1c0 1.23 1.17 2.342 2.766 2.342s2.767-1.112 2.767-2.342h1c0 1.909-1.754 3.342-3.767 3.342\"\n      }\n    )\n  ] });\n});\nexport {\n  f as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M20.228 17.063H8.471l1.716-1.6h7.497l-.802-1.67V9.22l1.523-1.42q.077.5.077 1.013v4.615z\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"m17.055 4.685 1.435-1.338 1.091 1.17-16.09 15.004-1.091-1.17 1.381-1.288h-.096l1.744-3.634V8.813c0-1.75.685-3.43 1.908-4.672a6.48 6.48 0 0 1 4.62-1.941 6.48 6.48 0 0 1 5.098 2.485M15.88 5.78A4.885 4.885 0 0 0 11.956 3.8a4.88 4.88 0 0 0-3.48 1.464 5.06 5.06 0 0 0-1.447 3.55v4.979l-.21.437z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M11.956 21.8c-2.138 0-4.066-1.53-4.066-3.642h1.6c0 1.027.996 2.042 2.466 2.042s2.467-1.015 2.467-2.042h1.6c0 2.112-1.93 3.642-4.067 3.642\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M8.824 3v9h1.058V3h4.236v9h1.059V3h4.764C20.526 3 21 3.474 21 4.059V19.94c0 .585-.474 1.059-1.059 1.059H4.06A1.06 1.06 0 0 1 3 19.941V4.06C3 3.474 3.474 3 4.059 3z\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M5 5v14h14V5h-3.5v7h-2V5h-3v7h-2V5zm-2-.75C3 3.56 3.56 3 4.25 3h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H4.25C3.56 21 3 20.44 3 19.75z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, t) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4.5 4.5v15h15v-15H15V12h-1V4.5h-4V12H9V4.5zm-1-.25a.75.75 0 0 1 .75-.75h15.5a.75.75 0 0 1 .75.75v15.5a.75.75 0 0 1-.75.75H4.25a.75.75 0 0 1-.75-.75z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst c = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4.8 4.8v14.4h14.4V4.8h-3.9V12h-1.6V4.8h-3.4V12H8.7V4.8zm-1.6-.55c0-.58.47-1.05 1.05-1.05h15.5c.58 0 1.05.47 1.05 1.05v15.5c0 .58-.47 1.05-1.05 1.05H4.25c-.58 0-1.05-.47-1.05-1.05z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  c as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M3.075 5.625h3.647L8.665 3.67a.57.57 0 0 1 .408-.17h5.854c.154 0 .3.061.408.17l1.943 1.955h3.647c.318 0 .575.257.575.575v13.725a.575.575 0 0 1-.575.575H3.075a.575.575 0 0 1-.575-.575V6.2c0-.318.257-.575.575-.575M15.75 13.25a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M17.556 7.368a2.1 2.1 0 0 1-1.494-.626l-1.605-1.624H9.543L7.938 6.742a2.1 2.1 0 0 1-1.494.626H4.105v11.514h15.79V7.368zM6.444 5.25H2.605A.607.607 0 0 0 2 5.859V20.39c0 .336.271.609.605.609h18.79a.607.607 0 0 0 .605-.609V5.86a.607.607 0 0 0-.605-.609h-3.84l-2.044-2.07a.6.6 0 0 0-.43-.18H8.92a.6.6 0 0 0-.43.18z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 15.177a2.11 2.11 0 0 0 2.105-2.118c0-1.17-.942-2.118-2.105-2.118a2.11 2.11 0 0 0-2.105 2.118c0 1.17.942 2.118 2.105 2.118m0 2.117c2.325 0 4.21-1.896 4.21-4.235S14.326 8.824 12 8.824s-4.21 1.896-4.21 4.235 1.885 4.235 4.21 4.235\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e$1, a) => {\n  const h = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: a,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...h, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M17.278 6.625a1 1 0 0 1-.71-.295L14.75 4.5h-5.5L7.431 6.33a1 1 0 0 1-.71.295H3.5V19.5h17V6.625zm-10.556-1H3.075A.575.575 0 0 0 2.5 6.2v13.725c0 .318.257.575.575.575h17.85a.575.575 0 0 0 .575-.575V6.2a.575.575 0 0 0-.575-.575h-3.647L15.335 3.67a.57.57 0 0 0-.408-.17H9.073c-.154 0-.3.061-.408.17z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M17.278 5.625h3.647c.318 0 .575.257.575.575v13.725a.575.575 0 0 1-.575.575H3.075a.575.575 0 0 1-.575-.575V6.2c0-.318.257-.575.575-.575h3.647l1.818-1.83.125-.125a.57.57 0 0 1 .408-.17h5.854c.154 0 .3.061.408.17zm-9.846.705a1 1 0 0 1-.71.295H3.5V19.5h17V6.625h-3.222a1 1 0 0 1-.71-.295L14.75 4.5h-5.5zM12 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6m0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M17.278 7.225a1.6 1.6 0 0 1-1.135-.472L14.5 5.1H9.499L7.857 6.753a1.6 1.6 0 0 1-1.135.472H4.1V18.9h15.8V7.225zm-10.556-1.6H3.075A.575.575 0 0 0 2.5 6.2v13.725c0 .318.257.575.575.575h17.85a.575.575 0 0 0 .575-.575V6.2a.575.575 0 0 0-.575-.575h-3.647L15.335 3.67a.57.57 0 0 0-.408-.17H9.073c-.154 0-.3.061-.408.17z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 15.4a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8m0 1.6a4 4 0 1 0 0-8 4 4 0 0 0 0 8\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"g\", { fill: \"currentColor\", children: /* @__PURE__ */ u(\"path\", { d: \"M10.912 21.702h-7.55c-.58 0-1.05-.47-1.05-1.05v-7.55h8.6zM21.488 20.652c0 .58-.47 1.05-1.05 1.05h-7.55v-8.6h8.6zM17.138 2.298a4.55 4.55 0 1 1 0 9.1 4.55 4.55 0 0 1 0-9.1M10.912 11.105h-8.6v-7.55c0-.58.47-1.05 1.05-1.05h7.55z\" }) }) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e, l) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: l,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"g\", { fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\", children: /* @__PURE__ */ u(\"path\", { d: \"M10.85 22.147H3.1c-.69 0-1.25-.56-1.25-1.25v-7.75h9zm-7-2h5v-5h-5zM21.85 20.897c0 .69-.56 1.25-1.25 1.25h-7.75v-9h9zm-7-.75h5v-5h-5zM17.4 1.854a4.75 4.75 0 1 1 0 9.5 4.75 4.75 0 0 1 0-9.5m0 2a2.75 2.75 0 1 0 .001 5.5 2.75 2.75 0 0 0 0-5.5M10.85 11.147h-9v-7.75c0-.69.56-1.25 1.25-1.25h7.75zm-7-2h5v-5h-5z\" }) }) });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e, l) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: l,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"g\", { fill: \"currentColor\", fillRule: \"evenodd\", clipRule: \"evenodd\", children: /* @__PURE__ */ u(\"path\", { d: \"M10.912 21.702h-7.55c-.58 0-1.05-.47-1.05-1.05v-7.55h8.6zm-7-1.6h5.4v-5.4h-5.4zM21.488 20.652c0 .58-.47 1.05-1.05 1.05h-7.55v-8.6h8.6zm-7-.55h5.4v-5.4h-5.4zM17.138 2.298a4.55 4.55 0 1 1 0 9.1 4.55 4.55 0 0 1 0-9.1m0 1.6a2.95 2.95 0 1 0 0 5.9 2.95 2.95 0 0 0 0-5.9M10.912 11.105h-8.6v-7.55c0-.58.47-1.05 1.05-1.05h7.55zm-7-1.6h5.4v-5.4h-5.4z\" }) }) });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m-1-8.5v-7h2v7zm-.5 2.514c0-.827.687-1.5 1.514-1.514a1.52 1.52 0 0 1 1.486 1.514c0 .813-.673 1.5-1.486 1.486a1.5 1.5 0 0 1-1.514-1.486\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M11 13.5v-7h2v7zM10.5 16.014c0-.827.687-1.5 1.514-1.514a1.52 1.52 0 0 1 1.486 1.514c0 .813-.673 1.5-1.486 1.486a1.5 1.5 0 0 1-1.514-1.486\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e$1, t) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: t,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M11.5 13.5v-7h1v7zM11 16.51c0-.552.458-1 1.01-1.01.541.01.99.458.99 1.01 0 .541-.449 1-.99.99a1 1 0 0 1-1.01-.99\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-1 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M11.2 6.5h1.6v7h-1.6zM10.75 16.262c0-.69.572-1.25 1.262-1.262a1.267 1.267 0 0 1 1.238 1.262c0 .677-.56 1.25-1.238 1.238a1.25 1.25 0 0 1-1.262-1.238\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-1.6 0a8.4 8.4 0 1 1-16.8 0 8.4 8.4 0 0 1 16.8 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M20.788 6.616 10.717 19.5l-7.42-7.335 1.406-1.423 5.822 5.756 8.687-11.115z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M20.788 6.616 10.717 19.5l-7.42-7.335 1.406-1.423 5.822 5.756 8.687-11.115z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M8.524 3.986V2.102h-2v1.884H4.5c-.827 0-1.5.673-1.5 1.5v13.912c0 .827.673 1.5 1.5 1.5h15c.827 0 1.5-.673 1.5-1.5V5.486c0-.827-.673-1.5-1.5-1.5h-2.146V2.102h-2v1.884zM14.938 9l-3.724 4.545-2.123-2.858-1.605 1.193 2.886 3.886a1 1 0 0 0 1.577.038l4.536-5.536z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M5 5.986v12.912h14V5.986zm-2-.5c0-.827.673-1.5 1.5-1.5h15c.827 0 1.5.673 1.5 1.5v13.912c0 .827-.673 1.5-1.5 1.5h-15c-.827 0-1.5-.673-1.5-1.5z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M8.524 2.102v2.884h-2V2.102zM17.354 2.102v2.884h-2V2.102zM11.214 13.411l3.724-4.545 1.547 1.268-4.536 5.536a1 1 0 0 1-1.577-.037l-2.886-3.887 1.605-1.193z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"m15.325 9.533-4.13 5.041-2.505-3.372-.803.596 2.887 3.887a.5.5 0 0 0 .788.018l4.536-5.536z\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M8.024 4.486V2.102h-1v2.384H4.5c-.551 0-1 .45-1 1v13.912c0 .551.449 1 1 1h15c.551 0 1-.449 1-1V5.486c0-.55-.449-1-1-1h-2.646V2.102h-1v2.384zm-3.524 1h15v13.912h-15z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"m15.093 8.993-3.887 4.743-2.276-3.063-1.284.954 2.887 3.886a.8.8 0 0 0 1.26.03l4.537-5.536z\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M8.324 4.186V2.102h-1.6v2.084H4.5c-.717 0-1.3.583-1.3 1.3v13.912c0 .717.583 1.3 1.3 1.3h15c.717 0 1.3-.583 1.3-1.3V5.486c0-.717-.583-1.3-1.3-1.3h-2.346V2.102h-1.6v2.084zM4.8 19.098V5.786h14.4v13.312z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, r) => {\n  const i = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...i, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m-.853-5.053 6.616-7.8-1.526-1.294-5.259 6.2-3.296-3.076-1.364 1.462z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"m17.763 9.147-6.616 7.8-4.83-4.508 1.365-1.462 3.296 3.076 5.26-6.2z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, r) => {\n  const i = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...i, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"m17.381 8.823-6.276 7.4-4.446-4.15.682-.73 3.68 3.434 5.598-6.6z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-1 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"m17.61 8.835-6.48 7.64-4.676-4.364 1.092-1.17 3.45 3.22L16.39 7.8z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-1.6 0a8.4 8.4 0 1 1-16.8 0 8.4 8.4 0 0 1 16.8 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, t) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M20.394 6.308 10.669 18.75l-7.02-6.94.703-.711 6.22 6.15 9.034-11.557z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M20.63 6.493 10.698 19.2l-7.26-7.177 1.124-1.138 5.982 5.913L19.37 5.507z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m12 17.414 8.707-8.707-1.414-1.414L12 14.586 4.707 7.293 3.293 8.707z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m12 17.414 8.707-8.707-1.414-1.414L12 14.586 4.707 7.293 3.293 8.707z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m12 16.707 8.354-8.353-.707-.708L12 15.293 4.354 7.646l-.708.708z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m12 17.131 8.566-8.565-1.132-1.132L12 14.87 4.566 7.434 3.434 8.566z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m6.586 12 8.707-8.707 1.414 1.414L9.414 12l7.293 7.293-1.414 1.414z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m6.586 12 8.707-8.707 1.414 1.414L9.414 12l7.293 7.293-1.414 1.414z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, t) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m7.293 12 8.354-8.354.707.708L8.707 12l7.647 7.646-.707.708z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m6.869 12 8.565-8.566 1.132 1.132L9.13 12l7.435 7.434-1.132 1.132z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m17.414 12-8.707 8.707-1.414-1.414L14.586 12 7.293 4.707l1.414-1.414z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m17.414 12-8.707 8.707-1.414-1.414L14.586 12 7.293 4.707l1.414-1.414z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, t) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m16.707 12-8.353 8.354-.708-.708L15.293 12 7.646 4.354l.708-.708z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m17.131 12-8.565 8.566-1.132-1.132L14.87 12 7.434 4.566l1.132-1.132z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m12 6.586 8.707 8.707-1.414 1.414L12 9.414l-7.293 7.293-1.414-1.414z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m12 6.586 8.707 8.707-1.414 1.414L12 9.414l-7.293 7.293-1.414-1.414z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m12 7.293 8.354 8.353-.707.708L12 8.707l-7.646 7.647-.708-.708z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m12 6.869 8.566 8.565-1.132 1.132L12 9.13l-7.434 7.435-1.132-1.132z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 2.75C6.9 2.75 2.75 6.9 2.75 12S6.9 21.25 12 21.25s9.25-4.15 9.25-9.25S17.1 2.75 12 2.75m.8 8.788V6.913h-1.6v5.549l3.6 2.079.8-1.386z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 4.4a7.6 7.6 0 1 0 0 15.2 7.6 7.6 0 0 0 0-15.2M2.4 12a9.6 9.6 0 1 1 19.2 0 9.6 9.6 0 0 1-19.2 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M13 11.423v-4.51h-2v5.664l3.7 2.137 1-1.732z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 3.9a8.1 8.1 0 1 0 0 16.2 8.1 8.1 0 0 0 0-16.2M2.9 12a9.1 9.1 0 1 1 18.2 0 9.1 9.1 0 0 1-18.2 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12.5 11.711V6.913h-1v5.376l3.45 1.992.5-.866z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 4.2a7.8 7.8 0 1 0 0 15.6 7.8 7.8 0 0 0 0-15.6M2.6 12a9.4 9.4 0 1 1 18.8 0 9.4 9.4 0 0 1-18.8 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12.8 11.538V6.913h-1.6v5.549l3.6 2.079.8-1.386z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: o,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4.293 4.293a1 1 0 0 1 1.414 0L12 10.586l6.293-6.293a1 1 0 1 1 1.414 1.414L13.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414L12 13.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L10.586 12 4.293 5.707a1 1 0 0 1 0-1.414\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4.293 4.293a1 1 0 0 1 1.414 0L12 10.586l6.293-6.293a1 1 0 1 1 1.414 1.414L13.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414L12 13.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L10.586 12 4.293 5.707a1 1 0 0 1 0-1.414\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((e, t) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4.646 4.646a.5.5 0 0 1 .708 0L12 11.293l6.646-6.647a.5.5 0 0 1 .708.708L12.707 12l6.647 6.646a.5.5 0 0 1-.708.708L12 12.707l-6.646 6.647a.5.5 0 0 1-.708-.708L11.293 12 4.646 5.354a.5.5 0 0 1 0-.708\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4.434 4.434a.8.8 0 0 1 1.132 0L12 10.87l6.434-6.435a.8.8 0 0 1 1.132 1.132L13.13 12l6.435 6.434a.8.8 0 0 1-1.132 1.132L12 13.13l-6.434 6.435a.8.8 0 0 1-1.132-1.132L10.87 12 4.434 5.566a.8.8 0 0 1 0-1.132\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, o) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M3.75 2.68c-.69 0-1.25.56-1.25 1.25v12.533c0 .69.56 1.25 1.25 1.25h13.29l4.46 3.597V3.93c0-.69-.56-1.25-1.25-1.25zm4.397 6.41a1.107 1.107 0 1 0 0 2.213 1.107 1.107 0 0 0 0-2.213m3.853 0a1.107 1.107 0 1 0 0 2.213 1.107 1.107 0 0 0 0-2.213m3.853 0a1.107 1.107 0 1 0 0 2.214 1.107 1.107 0 0 0 0-2.214\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M4.5 4.68v11.033h13.245l1.755 1.415V4.68zm-2-.75c0-.69.56-1.25 1.25-1.25h16.5c.69 0 1.25.56 1.25 1.25v17.38l-4.46-3.597H3.75c-.69 0-1.25-.56-1.25-1.25z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M8.147 9.09a1.107 1.107 0 1 0 0 2.213 1.107 1.107 0 0 0 0-2.213M12 9.09a1.107 1.107 0 1 0 0 2.213 1.107 1.107 0 0 0 0-2.213M15.853 9.09a1.107 1.107 0 1 0 0 2.213 1.107 1.107 0 0 0 0-2.213\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, t) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: t,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M4 4.46v12.033h13.569L20 18.453V4.46zm-1-.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 .75.75v16.335l-3.784-3.052H3.75a.75.75 0 0 1-.75-.75z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M9.053 10.477a.907.907 0 1 1-1.813 0 .907.907 0 0 1 1.813 0M12.907 10.477a.907.907 0 1 1-1.814 0 .907.907 0 0 1 1.814 0M16.76 10.477a.907.907 0 1 1-1.813 0 .907.907 0 0 1 1.813 0\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M4.3 4.6v11.433h13.375l2.025 1.633V4.6zm-1.6-.55C2.7 3.47 3.17 3 3.75 3h16.5c.58 0 1.05.47 1.05 1.05v16.962l-4.19-3.379H3.75c-.58 0-1.05-.47-1.05-1.05z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M8.147 9.31a1.007 1.007 0 1 0 0 2.013 1.007 1.007 0 0 0 0-2.013M12 9.31a1.007 1.007 0 1 0 0 2.013 1.007 1.007 0 0 0 0-2.013M15.853 9.31a1.007 1.007 0 1 0 0 2.013 1.007 1.007 0 0 0 0-2.013\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M8.312 11.066a.8.8 0 1 1 0 1.602.8.8 0 0 1 0-1.602M12 11.066a.8.8 0 1 1 0 1.6.8.8 0 0 1 0-1.6M15.688 11.066a.8.8 0 1 1 0 1.602.8.8 0 0 1 0-1.602\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 2.517a9.483 9.483 0 0 1 8.451 13.788l.992 3.7a1.042 1.042 0 0 1-1.275 1.275l-3.604-.966A9.483 9.483 0 0 1 2.517 12 9.483 9.483 0 0 1 12 2.517m0 1.6a7.884 7.884 0 1 0 4.042 14.653l.291-.174 3.314.887-.822-3.068-.084-.312.157-.284A7.884 7.884 0 0 0 12 4.116\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst c = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      clipRule: \"evenodd\",\n      d: \"M21 3.5a1.2 1.2 0 0 1 1.2 1.2v4.486c0 .468-.268.865-.639 1.064a1.983 1.983 0 0 0 0 3.5c.37.2.639.596.639 1.065V19.3c0 .662-.538 1.2-1.2 1.2H3a1.201 1.201 0 0 1-1.2-1.2v-4.404c0-.495.3-.907.702-1.094a1.987 1.987 0 0 0 0-3.604A1.21 1.21 0 0 1 1.8 9.104V4.7c0-.663.539-1.2 1.201-1.2h18Zm-6.418 9.2a1.8 1.8 0 1 0 0 3.6 1.8 1.8 0 0 0 0-3.6Zm.566-3.765a.8.8 0 0 0-1.13 0l-5 5a.8.8 0 0 0 1.13 1.13l5-5a.8.8 0 0 0 0-1.13ZM9.583 7.7a1.8 1.8 0 1 0 0 3.6 1.8 1.8 0 0 0 0-3.6Z\"\n    }\n  ) });\n});\nexport {\n  c as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, o) => {\n  const c = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...c, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4 8.634A3.89 3.89 0 0 1 5.905 12c0 1.475-.781 2.677-1.905 3.342V18h16v-2.634A3.9 3.9 0 0 1 18.095 12c0-1.475.781-2.677 1.905-3.341V6H4zm17.762 1.484c.143 0 .238-.095.238-.236V4.235c0-.14-.095-.235-.238-.235H2.238C2.095 4 2 4.094 2 4.235v5.647c0 .142.095.236.238.236.952.094 1.667.894 1.667 1.882s-.715 1.741-1.667 1.882c-.143 0-.238.095-.238.236v5.647c0 .14.095.235.238.235h19.524c.143 0 .238-.094.238-.235v-5.647c0-.142-.095-.236-.238-.236-.953-.094-1.667-.894-1.667-1.882s.715-1.741 1.667-1.882\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, o) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M3 9.269c1.132.396 1.905 1.479 1.905 2.731 0 1.293-.805 2.31-1.905 2.715V19h18v-4.269c-1.132-.396-1.905-1.479-1.905-2.731 0-1.293.805-2.31 1.905-2.715V5H3zM2.238 4h19.524c.143 0 .238.094.238.235v5.647c0 .142-.095.236-.238.236-.953.14-1.667.894-1.667 1.882s.715 1.788 1.667 1.882c.143 0 .238.095.238.236v5.647c0 .14-.095.235-.238.235H2.238C2.095 20 2 19.906 2 19.765v-5.647c0-.142.095-.236.238-.236.952-.14 1.667-.894 1.667-1.882s-.715-1.788-1.667-1.882c-.143 0-.238-.095-.238-.236V4.235c0-.14.095-.235.238-.235\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M3.6 8.872A3.49 3.49 0 0 1 5.505 12c0 1.406-.79 2.537-1.905 3.105V18.4h16.8v-3.272A3.49 3.49 0 0 1 18.495 12c0-1.406.79-2.537 1.905-3.106V5.6H3.6zM2.238 4h19.524c.143 0 .238.094.238.235v5.647c0 .142-.095.236-.238.236-.953.14-1.667.894-1.667 1.882s.715 1.788 1.667 1.882c.143 0 .238.095.238.236v5.647c0 .14-.095.235-.238.235H2.238C2.095 20 2 19.906 2 19.765v-5.647c0-.142.095-.236.238-.236.952-.14 1.667-.894 1.667-1.882s-.715-1.788-1.667-1.882c-.143 0-.238-.095-.238-.236V4.235c0-.14.095-.235.238-.235\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((l, e$1) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: e$1,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M7.63 15.023a2.598 2.598 0 1 1 .002 5.195 2.598 2.598 0 0 1-.002-5.195M17.415 15.023a2.598 2.598 0 1 1 0 5.196 2.598 2.598 0 0 1 0-5.196\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M14.37 3.781a1 1 0 0 1 1 1v9.878a3.6 3.6 0 0 0-1.545 3.202H11.22q.008-.12.009-.24a3.599 3.599 0 1 0-7.188.24h-.592a1 1 0 0 1-1-1V4.781a1 1 0 0 1 1-.999zM18.365 6.93a1 1 0 0 1 .742.33l.076.094 3.186 4.53c.118.168.182.37.182.575v4.402a1 1 0 0 1-1 1h-.547q.01-.12.01-.24a3.6 3.6 0 0 0-4.641-3.446V6.93z\"\n      }\n    )\n  ] });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((e, r) => {\n  const h = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...h, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M7.79 16.171a1.01 1.01 0 1 0 0 2.02 1.01 1.01 0 0 0 0-2.02m9.464 0a1.01 1.01 0 1 0 0 2.02 1.01 1.01 0 0 0 0-2.02m-1.01-1.824a3.003 3.003 0 0 1 3.723 1.535h.481v-3.197l-2.694-3.83h-1.51zM4.552 15.882h.526a3.005 3.005 0 0 1 5.425 0h3.741V5.811H4.552zm11.692-9.026h2.009c.296 0 .576.126.771.343l.078.098 3.157 4.487.08.136c.072.143.11.3.11.461v4.462a1.04 1.04 0 0 1-1.04 1.04h-1.232a3.007 3.007 0 0 1-5.847 0h-3.616a3.007 3.007 0 0 1-5.847 0H3.591a1.04 1.04 0 0 1-1.04-1.04V4.85c0-.574.466-1.04 1.04-1.04h11.615l.107.006c.523.053.931.496.931 1.034z\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M14.5 3a1 1 0 0 1 1-1H22v1h-6.5v16.5H22v1h-9.337a3.5 3.5 0 0 1-6.326 0H3a1 1 0 0 1-1-1v-5.64a1 1 0 0 1 .684-.948l3.951-1.317 2.277-5.009A1 1 0 0 1 9.822 6H14.5zM7.05 19.5a2.496 2.496 0 0 0 2.45 2A2.496 2.496 0 0 0 12 19a2.5 2.5 0 1 0-4.95.5m5.915 0Q13 19.255 13 19a3.5 3.5 0 1 0-6.965.5H3v-5.64l4.081-1.36H14.5v7zM14.5 7H9.822l-2.045 4.5H14.5z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst o = forwardRef((e, r) => {\n  const h = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...h, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M7.631 16.079a1.278 1.278 0 1 0 0 2.556 1.278 1.278 0 0 0 0-2.556m9.785 0c-.706 0-1.278.572-1.278 1.277l.006.13a1.278 1.278 0 1 0 1.272-1.407m-1.278-1.3a2.9 2.9 0 0 1 1.277-.301c1.197 0 2.22.73 2.654 1.77h.883v-3.615l-2.898-4.118h-1.916zm-12.09 1.469h.93a2.876 2.876 0 0 1 5.307 0h4.253V5.367H4.048zm12.09-9.332h2.228a1 1 0 0 1 .817.423l3.187 4.53c.118.168.181.37.181.576v4.402a1 1 0 0 1-1 1h-1.303a2.876 2.876 0 0 1-5.666 0h-4.119a2.876 2.876 0 0 1-5.665 0h-1.35a1 1 0 0 1-1-1V4.767a1 1 0 0 1 1-1h11.69a1 1 0 0 1 1 1z\"\n    }\n  ) });\n});\nexport {\n  o as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M11.6 15.467a.5.5 0 0 0 .8 0l5-6.667A.5.5 0 0 0 17 8H7a.5.5 0 0 0-.4.8z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 12.667 10 10h4zm.4 2.8a.5.5 0 0 1-.8 0L6.6 8.8A.5.5 0 0 1 7 8h10a.5.5 0 0 1 .4.8z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 14.333 8 9h8zm.4 1.134a.5.5 0 0 1-.8 0L6.6 8.8A.5.5 0 0 1 7 8h10a.5.5 0 0 1 .4.8z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  f as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 13.333 9.2 9.6h5.6zm.4 2.134a.5.5 0 0 1-.8 0L6.6 8.8A.5.5 0 0 1 7 8h10a.5.5 0 0 1 .4.8z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  f as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12.4 8.2a.5.5 0 0 0-.8 0l-5 6.667a.5.5 0 0 0 .4.8h10a.5.5 0 0 0 .4-.8z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m12 11 2 2.667h-4zm-.4-2.8a.5.5 0 0 1 .8 0l5 6.667a.5.5 0 0 1-.4.8H7a.5.5 0 0 1-.4-.8z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m12 9.333 4 5.334H8zM11.6 8.2a.5.5 0 0 1 .8 0l5 6.667a.5.5 0 0 1-.4.8H7a.5.5 0 0 1-.4-.8z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m12 10.333 2.8 3.734H9.2zM11.6 8.2a.5.5 0 0 1 .8 0l5 6.667a.5.5 0 0 1-.4.8H7a.5.5 0 0 1-.4-.8z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, o) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4.25 3C3.56 3 3 3.56 3 4.25v15.5c0 .69.56 1.25 1.25 1.25h15.5c.69 0 1.25-.56 1.25-1.25V4.25C21 3.56 20.44 3 19.75 3zM16.3 7.2H7.7v1.6h8.6zm-8.6 4h8.6v1.6H7.7zm8.6 4H7.7v1.6h8.6z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M3 4.25C3 3.56 3.56 3 4.25 3h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H4.25C3.56 21 3 20.44 3 19.75zM5 5v14h14V5z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M7.5 7h9v2h-9zM7.5 11h9v2h-9zM7.5 15h9v2h-9z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e$1, o) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M3.5 4.25a.75.75 0 0 1 .75-.75h15.5a.75.75 0 0 1 .75.75v15.5a.75.75 0 0 1-.75.75H4.25a.75.75 0 0 1-.75-.75zm1 .25v15h15v-15z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", fillRule: \"evenodd\", d: \"M8 7.5h8v1H8zM8 11.5h8v1H8zM8 15.5h8v1H8z\", clipRule: \"evenodd\" })\n  ] });\n});\nexport {\n  h as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M3.2 4.25c0-.58.47-1.05 1.05-1.05h15.5c.58 0 1.05.47 1.05 1.05v15.5c0 .58-.47 1.05-1.05 1.05H4.25c-.58 0-1.05-.47-1.05-1.05zm1.6.55v14.4h14.4V4.8z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M7.7 7.2h8.6v1.6H7.7zM7.7 11.2h8.6v1.6H7.7zM7.7 15.2h8.6v1.6H7.7z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((l, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: o,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M11 13.005V2.75h2v10.255l3.331-2.998 1.338 1.486L12 16.595l-5.669-5.102 1.338-1.486zm7 6.245v2H6v-2z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M11 13.005V2.75h2v10.255l3.331-2.998 1.338 1.486L12 16.595l-5.669-5.102 1.338-1.486zm7 6.245v2H6v-2z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M11.5 14.377V3h1v11.377l4.166-3.749.668.744-5.334 4.8-5.334-4.8.668-.744zM18 20v1H6v-1z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M11.2 13.704V3h1.6v10.704l3.665-3.299 1.07 1.19L12 16.576l-5.535-4.981 1.07-1.19zM18 19.7v1.6H6v-1.6z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, e) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: e,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M6.04 17.625a1 1 0 0 0 .14-.012l3.943-.691a.23.23 0 0 0 .124-.066l9.935-9.935a.233.233 0 0 0 0-.33l-3.895-3.898a.23.23 0 0 0-.167-.068.23.23 0 0 0-.166.068l-9.935 9.935a.24.24 0 0 0-.066.124l-.691 3.942a.79.79 0 0 0 .22.699c.155.15.35.232.558.232m1.58-4.088 8.5-8.498 1.718 1.718-8.5 8.498-2.084.368zm13.005 6.057H3.375a.75.75 0 0 0-.75.75v.844c0 .103.084.187.187.187h18.376a.19.19 0 0 0 .187-.187v-.844a.75.75 0 0 0-.75-.75\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M9.35 3.74H3.67v5.68h2V5.74h3.68zM5.67 14.582h-2v5.68h5.68v-2H7.127l2.18-2.18-1.415-1.414L5.67 16.89zM14.65 3.74h5.68v5.68h-2V7.085l-2.223 2.222-1.414-1.414 2.153-2.153H14.65zM18.33 14.582v3.68h-3.68v2h5.68v-5.68z\"\n    }\n  ) });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((e, t) => {\n  const h = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...h, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M9.35 3.74H3.67v5.68h2V5.74h3.68zM5.67 14.582h-2v5.68h5.68v-2H7.127l2.18-2.18-1.415-1.414L5.67 16.89zM14.65 3.74h5.68v5.68h-2V7.085l-2.223 2.222-1.414-1.414 2.153-2.153H14.65zM18.33 14.582v3.68h-3.68v2h5.68v-5.68z\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e, h) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: h,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M9.35 4.24H4.17v5.18h1V5.24h4.18zM5.17 14.582h-1v5.18h5.18v-1H5.92l3.034-3.033-.708-.707-3.076 3.076zM14.65 4.24h5.18v5.18h-1V5.878l-3.076 3.076-.708-.707 3.007-3.007H14.65zM18.83 14.582v4.18h-4.18v1h5.18v-5.18z\"\n    }\n  ) });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((e, t) => {\n  const h = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...h, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M9.35 3.94H3.87v5.48h1.6V5.54h3.88zM5.47 14.582h-1.6v5.48h5.48v-1.6H6.645l2.52-2.521-1.13-1.132-2.565 2.565zM14.65 3.94h5.48v5.48h-1.6V6.602l-2.564 2.564-1.132-1.132 2.494-2.494H14.65zM18.53 14.582v3.88h-3.88v1.6h5.48v-5.48z\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((l, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"m17.76 7.903-.47.468-8.402 8.404-.505.504-2.928 2.93-.92-.92 2.135-2.136c-1.841-1.106-3.431-2.768-4.545-4.856l-.163-.306.163-.306C4.225 7.75 8.01 5.303 12 5.303c1.794 0 3.544.498 5.12 1.4l2.483-2.483.919.92zM9.437 9.428a3.6 3.6 0 0 0-1.062 2.563 3.6 3.6 0 0 0 .985 2.472l.355-.355.353-.352a2.607 2.607 0 0 1 .076-3.62c.963-.965 2.616-.985 3.62-.077l.707-.707c-1.383-1.286-3.692-1.267-5.034.076\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M19.017 8.06a12.9 12.9 0 0 1 2.858 3.625l.163.306-.163.306c-2.101 3.936-5.885 6.381-9.875 6.381-1.058 0-2.1-.177-3.1-.502z\"\n      }\n    )\n  ] });\n});\nexport {\n  f as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((l, o) => {\n  const d = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: o,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...d, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 9.865c-.569 0-1.1.22-1.503.623a2.1 2.1 0 0 0-.622 1.503c0 .57.22 1.1.623 1.504l-1.416 1.413a4.1 4.1 0 0 1-1.207-2.917c0-1.1.43-2.14 1.208-2.917A4.1 4.1 0 0 1 12 7.865c1.1 0 2.139.43 2.917 1.21l-1.414 1.413A2.1 2.1 0 0 0 12 9.865\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M4.311 18.987 19.378 3.92l1.414 1.414L5.725 20.401z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M9.48 16.638c-2.238-.702-4.259-2.324-5.635-4.647C5.725 8.82 8.806 6.953 12 6.953c1.888 0 3.738.653 5.323 1.842l1.425-1.426C16.801 5.833 14.46 4.953 12 4.953c-4.195 0-8.046 2.56-10.184 6.568l-.252.47.252.471c1.416 2.654 3.584 4.673 6.105 5.734zm2.438.39-1.823 1.823q.936.176 1.905.177c4.195 0 8.045-2.559 10.184-6.566l.252-.47-.252-.471a13.5 13.5 0 0 0-1.97-2.79L18.8 10.146c.499.552.954 1.169 1.355 1.845-1.88 3.172-4.961 5.037-8.155 5.037z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((l, c) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: c,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 9.365c-.701 0-1.36.272-1.856.77a2.6 2.6 0 0 0-.769 1.856c0 .703.272 1.36.769 1.857l-.708.707a3.6 3.6 0 0 1-1.061-2.564c0-.967.378-1.88 1.061-2.563A3.6 3.6 0 0 1 12 8.365c.967 0 1.879.378 2.564 1.063l-.708.707A2.6 2.6 0 0 0 12 9.365M4.665 19.34 19.732 4.273l.707.708L5.372 20.047z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M8.575 16.842c-2.138-.878-4.023-2.564-5.307-4.85C5.207 8.535 8.518 6.452 12 6.452c1.869 0 3.689.6 5.273 1.69l.718-.717c-1.771-1.263-3.839-1.973-5.99-1.973-3.985 0-7.679 2.432-9.744 6.303l-.126.235.126.236c1.31 2.455 3.277 4.332 5.557 5.376zm1.053.361-.8.801a10 10 0 0 0 3.172.524c3.984 0 7.678-2.432 9.743-6.301l.126-.236-.126-.235a12.8 12.8 0 0 0-2.957-3.71l-.71.709a11.7 11.7 0 0 1 2.656 3.236c-1.939 3.454-5.25 5.537-8.732 5.537-.805 0-1.6-.11-2.372-.325\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  f as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((l, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: o,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 9.665c-.622 0-1.203.24-1.644.682-.44.44-.681 1.021-.681 1.644s.24 1.204.681 1.645l-1.132 1.13a3.9 3.9 0 0 1-1.149-2.775c0-1.047.41-2.035 1.15-2.775.74-.741 1.729-1.15 2.775-1.15s2.035.409 2.776 1.15l-1.132 1.13A2.3 2.3 0 0 0 12 9.667\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M4.452 19.128 19.52 4.061l1.132 1.132L5.584 20.26z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M9.096 16.72c-2.19-.78-4.148-2.427-5.483-4.729C5.517 8.705 8.691 6.753 12 6.753c1.877 0 3.71.628 5.293 1.771l1.143-1.143C16.56 5.96 14.332 5.153 12 5.153c-4.11 0-7.898 2.509-10.008 6.462l-.2.376.2.377c1.372 2.57 3.453 4.53 5.872 5.585zm1.825.44-1.37 1.368c.796.197 1.616.3 2.45.3 4.11 0 7.897-2.508 10.007-6.46l.2-.377-.2-.376a13.2 13.2 0 0 0-2.36-3.184l-1.13 1.131c.705.697 1.337 1.51 1.869 2.43-1.904 3.284-5.078 5.236-8.387 5.236q-.543 0-1.08-.069\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((l, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M9.39 12a2.61 2.61 0 0 1 2.604-2.606A2.61 2.61 0 0 1 14.6 12a2.61 2.61 0 0 1-2.605 2.607A2.61 2.61 0 0 1 9.39 12\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M11.994 5.35c3.968 0 7.73 2.431 9.818 6.344l.163.306-.163.305c-2.089 3.913-5.85 6.345-9.818 6.345s-7.729-2.432-9.817-6.345L2.013 12l.164-.306c2.088-3.913 5.85-6.345 9.817-6.345M8.39 12a3.61 3.61 0 0 0 3.605 3.606A3.61 3.61 0 0 0 15.6 12a3.61 3.61 0 0 0-3.605-3.607A3.61 3.61 0 0 0 8.39 12\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M11.994 7.894a4.106 4.106 0 1 0 0 8.212 4.106 4.106 0 0 0 0-8.212M9.888 12a2.106 2.106 0 1 1 4.212 0 2.106 2.106 0 0 1-4.212 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M11.994 5C7.823 5 3.995 7.545 1.868 11.53l-.251.47.251.47C3.995 16.456 7.823 19 11.994 19c4.172 0 8-2.545 10.127-6.53l.252-.47-.252-.47C19.994 7.544 16.167 5 11.994 5m0 12c-3.17 0-6.229-1.85-8.096-5 1.867-3.15 4.927-5 8.096-5s6.23 1.851 8.098 5c-1.868 3.149-4.927 5-8.098 5\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M11.994 8.394a3.606 3.606 0 1 0 0 7.212 3.606 3.606 0 0 0 0-7.212M9.388 12a2.606 2.606 0 1 1 5.212 0 2.606 2.606 0 0 1-5.212 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M11.994 5.5c-3.96 0-7.631 2.418-9.685 6.265L2.184 12l.125.236c2.054 3.846 5.725 6.264 9.685 6.264s7.632-2.418 9.686-6.264l.126-.236-.126-.236C19.626 7.919 15.955 5.5 11.994 5.5m0 12c-3.458 0-6.747-2.068-8.674-5.5 1.927-3.431 5.216-5.5 8.674-5.5 3.459 0 6.748 2.069 8.675 5.5-1.927 3.431-5.216 5.5-8.675 5.5\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst c = forwardRef((e$1, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M11.994 8.094a3.906 3.906 0 1 0 0 7.812 3.906 3.906 0 0 0 0-7.812M9.688 12a2.306 2.306 0 1 1 4.612 0 2.306 2.306 0 0 1-4.612 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M11.994 5.2c-4.086 0-7.851 2.494-9.95 6.423l-.2.377.2.377c2.099 3.93 5.864 6.423 9.95 6.423 4.088 0 7.853-2.494 9.95-6.423l.202-.377-.201-.377c-2.098-3.93-5.863-6.423-9.95-6.423m0 12c-3.284 0-6.436-1.937-8.328-5.2 1.892-3.263 5.044-5.2 8.328-5.2 3.286 0 6.438 1.937 8.33 5.2-1.892 3.262-5.044 5.2-8.33 5.2\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  c as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst c = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M22 12.061C22 6.505 17.523 2 12 2S2 6.505 2 12.061c0 5.022 3.657 9.184 8.438 9.939v-7.03h-2.54v-2.91h2.54V9.845c0-2.522 1.492-3.915 3.777-3.915 1.094 0 2.238.197 2.238.197v2.476h-1.26c-1.243 0-1.63.775-1.63 1.57v1.888h2.773l-.443 2.908h-2.33V22c4.78-.755 8.437-4.917 8.437-9.939\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  c as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst o = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M17 2.5a1 1 0 0 1 1 1V5h2.5v2H18v1.5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1M8 9.5a1 1 0 0 0-2 0V11H3.5v2H6v1.5a1 1 0 1 0 2 0zM7 19H3.5v-2H7zM11 14.5a1 1 0 0 1 1 1V17h8.5v2H12v1.5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1M12.5 7h-9V5h9zM11 13h9.5v-2H11z\"\n    }\n  ) });\n});\nexport {\n  o as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, t) => {\n  const v = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...v, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M17 2.5a1 1 0 0 1 1 1V5h2.5v2H18v1.5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1M8 9.5a1 1 0 0 0-2 0V11H3.5v2H6v1.5a1 1 0 1 0 2 0zM7 19H3.5v-2H7zM11 14.5a1 1 0 0 1 1 1V17h8.5v2H12v1.5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1M12.5 7h-9V5h9zM11 13h9.5v-2H11z\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M18.84 7.492h-3.18v-2h3.18zM12.676 7.492H5.16v-2h7.516zM18.84 13H5.16v-2h13.68z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M14.168 6a.492.492 0 1 0 0 .984.492.492 0 0 0 0-.984m-2.492.492a2.492 2.492 0 1 1 4.984 0 2.492 2.492 0 0 1-4.984 0M5.16 16.508h3.18v2H5.16zM11.324 16.508h7.516v2h-7.516z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M9.832 17.016a.492.492 0 1 0 0 .984.492.492 0 0 0 0-.984m-2.492.492a2.492 2.492 0 1 1 4.984 0 2.492 2.492 0 0 1-4.984 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M18.84 7.492h-3.18v-2h3.18zM12.676 7.492H5.16v-2h7.516zM18.84 13H5.16v-2h13.68z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M14.168 6a.492.492 0 1 0 0 .984.492.492 0 0 0 0-.984m-2.492.492a2.492 2.492 0 1 1 4.984 0 2.492 2.492 0 0 1-4.984 0M5.16 16.508h3.18v2H5.16zM11.324 16.508h7.516v2h-7.516z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M9.832 17.016a.492.492 0 1 0 0 .984.492.492 0 0 0 0-.984m-2.492.492a2.492 2.492 0 1 1 4.984 0 2.492 2.492 0 0 1-4.984 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M18.84 6.992h-3.18v-1h3.18zM12.676 6.992H5.16v-1h7.516zM18.84 12.5H5.16v-1h13.68z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M14.168 5.5a.992.992 0 1 0 0 1.984.992.992 0 0 0 0-1.984m-1.992.992a1.992 1.992 0 1 1 3.984 0 1.992 1.992 0 0 1-3.984 0M5.16 17.008h3.18v1H5.16zM11.324 17.008h7.516v1h-7.516z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M9.832 16.516a.992.992 0 1 0 0 1.984.992.992 0 0 0 0-1.984m-1.992.992a1.992 1.992 0 1 1 3.984 0 1.992 1.992 0 0 1-3.984 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M18.84 7.292h-3.18v-1.6h3.18zM12.676 7.292H5.16v-1.6h7.516zM18.84 12.8H5.16v-1.6h13.68z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M14.168 5.8a.692.692 0 1 0 0 1.384.692.692 0 0 0 0-1.384m-2.292.692a2.292 2.292 0 1 1 4.584 0 2.292 2.292 0 0 1-4.584 0M5.16 16.708h3.18v1.6H5.16zM11.324 16.708h7.516v1.6h-7.516z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M9.832 16.816a.692.692 0 1 0 0 1.384.692.692 0 0 0 0-1.384m-2.292.692a2.292 2.292 0 1 1 4.584 0 2.292 2.292 0 0 1-4.584 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst l = forwardRef((v, e) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: v.size ?? 24,\n    height: v.size ?? 24,\n    ref: e,\n    ...v\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M17 3a.5.5 0 0 1 .5.5v2h3v1h-3v2a.5.5 0 0 1-1 0v-5A.5.5 0 0 1 17 3M7.5 9.5a.5.5 0 0 0-1 0v2H4v1h2.5v2a.5.5 0 0 0 1 0zM7 18.5H3.5v-1H7zM11 15a.5.5 0 0 1 .5.5v2h9v1h-9v2a.5.5 0 0 1-1 0v-5a.5.5 0 0 1 .5-.5M13 6.5H4v-1h9zM11 12.5h9.5v-1H11z\"\n    }\n  ) });\n});\nexport {\n  l as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((l, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: o,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M17 2.7a.8.8 0 0 1 .8.8v5a.8.8 0 0 1-1.6 0v-5a.8.8 0 0 1 .8-.8\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M17 5.2h3.5v1.6H17zM7 8.7a.8.8 0 0 1 .8.8v5a.8.8 0 0 1-1.6 0v-5a.8.8 0 0 1 .8-.8M7 18.8H3.5v-1.6H7z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M7 12.8H3.5v-1.6H7zM11 14.7a.8.8 0 0 1 .8.8v5a.8.8 0 0 1-1.6 0v-5a.8.8 0 0 1 .8-.8\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M20.5 18.8H11v-1.6h9.5zM12.5 6.8h-9V5.2h9zM20.5 12.8H11v-1.6h9.5z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((l, e$1) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: e$1,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m4 12 8.7-8.7h2.828l-8.7 8.7 8.7 8.7H12.7z\" }),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m19.528 20.7-8.7-8.7 8.7-8.7H16.7L8 12l8.7 8.7z\" })\n  ] });\n});\nexport {\n  h as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((r, l) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: l,\n    ...r\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m4 12 8.7-8.7h2.828l-8.7 8.7 8.7 8.7H12.7z\" }),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m19.528 20.7-8.7-8.7 8.7-8.7H16.7L8 12l8.7 8.7z\" })\n  ] });\n});\nexport {\n  h as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((r, e$1) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: e$1,\n    ...r\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m5 12 8.4-8.4h1.414l-8.4 8.4 8.4 8.4H13.4z\" }),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m18.814 20.4-8.4-8.4 8.4-8.4H17.4L9 12l8.4 8.4z\" })\n  ] });\n});\nexport {\n  f as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((r, l) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: l,\n    ...r\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m5 12 8.6-8.6h2.263l-8.6 8.6 8.6 8.6H13.6z\" }),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m19.863 20.6-8.6-8.6 8.6-8.6H17.6L9 12l8.6 8.6z\" })\n  ] });\n});\nexport {\n  h as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((l, t) => {\n  const e$1 = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: t,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...e$1, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m20 12-8.7-8.7H8.472l8.7 8.7-8.7 8.7H11.3z\" }),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m4.472 20.7 8.7-8.7-8.7-8.7H7.3L16 12l-8.7 8.7z\" })\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((r, t) => {\n  const e$1 = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: t,\n    ...r\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...e$1, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m20 12-8.7-8.7H8.472l8.7 8.7-8.7 8.7H11.3z\" }),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m4.472 20.7 8.7-8.7-8.7-8.7H7.3L16 12l-8.7 8.7z\" })\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((r, e$1) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: e$1,\n    ...r\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m19 12-8.4-8.4H9.186l8.4 8.4-8.4 8.4H10.6z\" }),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m5.186 20.4 8.4-8.4-8.4-8.4H6.6L15 12l-8.4 8.4z\" })\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((r, l) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: l,\n    ...r\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m20 12-8.6-8.6H9.137l8.6 8.6-8.6 8.6H11.4z\" }),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"m5.137 20.6 8.6-8.6-8.6-8.6H7.4L16 12l-8.6 8.6z\" })\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst c = forwardRef((h, e$1) => {\n  const i = {\n    viewBox: \"0 0 24 24\",\n    width: h.size ?? 24,\n    height: h.size ?? 24,\n    ref: e$1,\n    ...h\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...i, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ e(\"g\", { fill: \"#245EFF\", clipPath: \"url(#a)\", children: [\n      /* @__PURE__ */ u(\"path\", { d: \"m11.057 6.981-1.97 4.63H9.08L8.047 7.07l-.02-.088H5.654l-.793 7.334h1.684l.48-4.436 1.05 4.436h1.36l1.993-4.436h.011l-.48 4.436h1.685l.792-7.334z\" }),\n      /* @__PURE__ */ u(\"path\", { d: \"m23.698 10.984-2.009-3.32a2.53 2.53 0 0 0-2.148-1.217h-3.394l-.202 1.918h3.63c.193 0 .376.104.477.27l2.015 3.33.015.024-.449 4.27a.537.537 0 0 1-.535.482h-1.489a3.13 3.13 0 0 0-2.676-1.514 3.12 3.12 0 0 0-2.676 1.514h-5.56a3.13 3.13 0 0 0-2.676-1.514 3.12 3.12 0 0 0-2.676 1.514H1.917L2.979 6.635A1.916 1.916 0 0 1 4.89 4.918h11.401L16.492 3H4.858a3.796 3.796 0 0 0-3.785 3.403L.01 16.508a1.956 1.956 0 0 0 1.942 2.152h.962a3.13 3.13 0 0 0 3.108 2.816A3.13 3.13 0 0 0 9.13 18.66h4.695a3.13 3.13 0 0 0 3.108 2.816 3.13 3.13 0 0 0 3.108-2.816h1.09c1.244 0 2.28-.93 2.41-2.165l.449-4.271c.045-.43-.06-.87-.293-1.24zM6.022 19.718a1.37 1.37 0 0 1-1.366-1.366c0-.753.613-1.366 1.366-1.366s1.366.613 1.366 1.366-.613 1.366-1.366 1.366m10.913 0a1.37 1.37 0 0 1-1.366-1.366c0-.753.613-1.366 1.366-1.366s1.366.613 1.366 1.366-.613 1.366-1.366 1.366\" })\n    ] }),\n    /* @__PURE__ */ u(\"defs\", { children: /* @__PURE__ */ u(\"clipPath\", { id: \"a\", children: /* @__PURE__ */ u(\"path\", { fill: \"#fff\", d: \"M0 0h24v24H0z\" }) }) })\n  ] });\n});\nexport {\n  c as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M11 22.08H4.04A1.04 1.04 0 0 1 3 21.04v-6.96a1 1 0 0 1 1-1h7zM20 13.08a1 1 0 0 1 1 1v6.96a1.04 1.04 0 0 1-1.04 1.04H13v-9z\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M5.352 3.582c.888-1.696 2.96-2.083 4.626-1.211.744.39 1.49 1.065 2.022 1.806.533-.74 1.277-1.416 2.023-1.806 1.664-.871 3.737-.485 4.625 1.21.449.857.41 1.776.037 2.563a3.6 3.6 0 0 1-.655.936h1.93l.106.005c.525.053.934.497.934 1.035v1.96a1 1 0 0 1-1 1h-7v-4h-2v4H4a1 1 0 0 1-1-1V8.12c0-.574.466-1.04 1.04-1.04h1.929a3.6 3.6 0 0 1-.655-.936c-.372-.787-.41-1.706.038-2.562m3.698.56c-.904-.473-1.658-.146-1.927.368-.13.248-.13.503 0 .779.141.298.449.631.939.888a4.45 4.45 0 0 0 1.857.467c.703.01.866-.195.877-.216.005-.01.036-.077-.004-.257-.042-.187-.148-.432-.33-.707-.37-.56-.935-1.072-1.412-1.322m7.826.368c-.269-.513-1.022-.84-1.926-.368-.477.25-1.042.761-1.413 1.322-.182.275-.287.52-.329.707-.04.18-.009.248-.004.257.013.024.18.226.877.216a4.45 4.45 0 0 0 1.858-.467c.489-.257.796-.59.937-.888.13-.276.13-.531 0-.78\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((e, c) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: c,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M5.352 3.581c.888-1.696 2.96-2.082 4.625-1.21.745.39 1.49 1.065 2.022 1.805.533-.74 1.277-1.415 2.022-1.806 1.665-.871 3.738-.485 4.627 1.211.448.857.41 1.775.037 2.563a3.6 3.6 0 0 1-.657.936h1.932l.106.005c.525.054.934.497.934 1.035v2.96c0 .365-.1.705-.27 1 .17.294.27.635.27 1v7.96a1.04 1.04 0 0 1-1.04 1.04H4.04A1.04 1.04 0 0 1 3 21.04v-7.96c0-.364.099-.706.27-1a2 2 0 0 1-.27-1V8.12c0-.574.466-1.04 1.04-1.04h1.93a3.6 3.6 0 0 1-.656-.936c-.372-.788-.411-1.706.038-2.563M13 20.081h6v-7h-6zm-8 0h6v-7H5zm8-9h6v-2h-6zm-8 0h6v-2H5zm4.049-6.938c-.904-.473-1.657-.147-1.926.366-.13.248-.13.503 0 .78.141.297.448.632.938.888a4.45 4.45 0 0 0 1.857.468c.705.01.868-.197.878-.217.005-.01.036-.077-.004-.258-.042-.187-.148-.431-.33-.707-.37-.56-.936-1.07-1.413-1.32m7.827.366c-.269-.513-1.023-.84-1.927-.366-.477.25-1.042.76-1.412 1.32-.182.276-.288.52-.33.707-.04.181-.009.248-.004.258.01.02.172.227.877.217a4.45 4.45 0 0 0 1.858-.468c.49-.256.797-.59.938-.889.13-.276.13-.53 0-.779\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M10.399 4.35c.556.44 1.104.944 1.601 1.438a19 19 0 0 1 1.601-1.438c.686-.541 1.422-1.015 2.118-1.228.71-.218 1.483-.186 2.044.455.444.507.675 1.317.726 2.422h2.261a.75.75 0 0 1 .75.75v2.5a.75.75 0 0 1-.75.75H19.5v10.25a.75.75 0 0 1-.75.75H5.25a.75.75 0 0 1-.75-.75V10H3.25a.75.75 0 0 1-.75-.75v-2.5A.75.75 0 0 1 3.25 6h2.261c.051-1.105.282-1.915.726-2.422.561-.641 1.334-.673 2.044-.455.696.213 1.432.687 2.118 1.228M18.5 10h-6v10h6zm-7 0v10h-6V10zm0-1V7h-8v2h8m-.722-3a16 16 0 0 0-.999-.865c-.655-.518-1.275-.899-1.791-1.057-.501-.154-.796-.075-.999.158-.221.253-.425.778-.477 1.763zm2.444 0a16 16 0 0 1 .999-.865c.656-.518 1.275-.899 1.791-1.057.501-.154.796-.075.999.158.221.253.425.778.477 1.763zM20.5 9V7h-8v2h8\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, a) => {\n  const c = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: a,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...c, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M5.528 3.674c.827-1.578 2.767-1.957 4.356-1.126.774.406 1.56 1.136 2.08 1.923l.035.058.036-.058c.52-.787 1.306-1.517 2.08-1.923 1.589-.831 3.53-.452 4.356 1.126.416.796.381 1.648.033 2.385-.221.467-.564.88-.985 1.222h2.28a1 1 0 0 1 1 1v2.8c0 .37-.112.713-.304.999.192.286.305.63.305 1v7.8a1 1 0 0 1-1 1H4.2a1 1 0 0 1-1-1v-7.8c0-.37.112-.714.304-1a1.8 1.8 0 0 1-.304-1v-2.8a1 1 0 0 1 1-1h2.28a3.55 3.55 0 0 1-.985-1.22c-.348-.738-.383-1.59.033-2.386M12.8 20.281h6.4v-7.2a.2.2 0 0 0-.2-.2h-6.2zM5 12.88a.2.2 0 0 0-.2.2v7.2h6.4v-7.4zm7.8-1.6H19a.2.2 0 0 0 .2-.2v-2.2h-6.4zm-8-.2c0 .11.09.2.2.2h6.2v-2.4H4.8zm4.343-7.116c-.98-.513-1.867-.18-2.198.451-.162.31-.158.631-.004.958.164.345.507.708 1.028.98.533.28 1.287.48 1.947.49.721.01.99-.197 1.057-.323.032-.062.06-.18.013-.394a2.4 2.4 0 0 0-.357-.774c-.387-.586-.976-1.12-1.486-1.388m7.91.451c-.33-.631-1.216-.964-2.197-.45-.51.267-1.099.801-1.486 1.387-.191.29-.309.557-.357.774-.048.215-.019.332.013.394.067.126.336.334 1.057.323a4.65 4.65 0 0 0 1.947-.49c.52-.272.864-.635 1.028-.98.154-.327.158-.648-.004-.958\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, t) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M11.997 2a9.86 9.86 0 0 0-6.478 2.446 10.32 10.32 0 0 0-3.39 6.166 10.47 10.47 0 0 0 1.314 6.948 10.05 10.05 0 0 0 5.39 4.421c.498.095.685-.222.685-.492s-.01-1.053-.014-1.909c-2.781.62-3.37-1.21-3.37-1.21-.453-1.188-1.109-1.5-1.109-1.5-.907-.636.068-.624.068-.624 1.005.073 1.533 1.058 1.533 1.058.891 1.567 2.34 1.114 2.91.849.09-.664.35-1.116.636-1.372-2.222-.258-4.557-1.138-4.557-5.066a4.03 4.03 0 0 1 1.03-2.752c-.103-.258-.446-1.3.097-2.717 0 0 .84-.275 2.75 1.051a9.27 9.27 0 0 1 5.008 0c1.91-1.326 2.748-1.05 2.748-1.05.544 1.412.202 2.454.099 2.716a4.02 4.02 0 0 1 1.032 2.755c0 3.937-2.34 4.805-4.566 5.058.358.319.678.942.678 1.9 0 1.371-.012 2.475-.012 2.813 0 .273.18.592.687.492a10.05 10.05 0 0 0 5.392-4.422 10.47 10.47 0 0 0 1.313-6.949 10.32 10.32 0 0 0-3.392-6.166A9.86 9.86 0 0 0 12 2z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M3.82 3.313c-.202.214-.32.548-.32.98v15.414c0 .433.118.766.32.98l.05.048 8.567-8.635v-.203L3.871 3.262l-.05.05ZM16.327 14.98l-2.853-2.88v-.203l2.856-2.88.064.038 3.382 1.94c.965.55.965 1.457 0 2.01l-3.382 1.938zm-.451.499-2.92-2.944-8.617 8.689c.32.34.843.38 1.438.04zm0-6.961-10.1-5.786c-.594-.336-1.116-.295-1.437.045l8.617 8.685z\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M10.602 6.872A1.398 1.398 0 1 1 12 8.27a1 1 0 0 0-1 1v2.225l-8.706 7.264a1 1 0 0 0 .64 1.767h18.131a1 1 0 0 0 .64-1.767L13 11.495V10.12a3.4 3.4 0 0 0-1-6.646 3.4 3.4 0 0 0-3.398 3.398z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M10.602 6.872A1.398 1.398 0 1 1 12 8.27a1 1 0 0 0-1 1v2.225l-8.706 7.264a1 1 0 0 0 .64 1.767h18.131a1 1 0 0 0 .64-1.767L13 11.495V10.12a3.4 3.4 0 0 0-1-6.646 3.4 3.4 0 0 0-3.398 3.398zM12 13.265l6.306 5.261H5.694z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M10.102 6.872A1.898 1.898 0 1 1 12 8.77a.5.5 0 0 0-.5.5v2.459l-8.885 7.413a.5.5 0 0 0 .32.884h18.13a.5.5 0 0 0 .32-.884L12.5 11.73V9.727a2.899 2.899 0 1 0-3.398-2.855zm9.583 12.154H4.315L12 12.614z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M10.402 6.872A1.598 1.598 0 1 1 12 8.47a.8.8 0 0 0-.8.8v2.318l-8.778 7.324a.8.8 0 0 0 .513 1.414h18.13a.8.8 0 0 0 .512-1.414L12.8 11.588V9.97a3.2 3.2 0 1 0-3.998-3.097zm8.456 11.854H5.142L12 13.005z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M12 4.592c1.788-1.75 4.382-2.36 6.596-1.404v-.001c2.129.918 3.506 3.128 3.545 5.519l-.001.231c-.037 1.882-.83 3.454-1.77 4.805-2.087 3-5.024 5.308-7.798 7.327l-.588.429-.588-.43c-2.778-2.022-5.681-4.328-7.766-7.327-.881-1.266-1.635-2.726-1.756-4.454l-.015-.35c-.05-2.479 1.346-4.802 3.543-5.75 2.214-.956 4.808-.345 6.597 1.405\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, e) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: e,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M12.014 4.802c1.802-1.699 4.399-2.28 6.61-1.362 2.13.885 3.535 3.029 3.575 5.376l-.001.227c-.033 1.612-.655 2.988-1.445 4.183l-.346.5c-2.102 2.91-5.06 5.146-7.849 7.1l-.574.402-.573-.402c-2.62-1.835-5.352-3.914-7.414-6.562l-.404-.537c-.887-1.227-1.652-2.651-1.775-4.342L1.8 9.043c-.05-2.434 1.375-4.69 3.575-5.603 2.21-.919 4.807-.337 6.609 1.362l.014.013q.007-.007.015-.013m5.843.484c-1.406-.584-3.18-.245-4.47.971-.256.242-.425.392-.707.655l-.682.638-1.385-1.293c-1.29-1.216-3.063-1.555-4.47-.97-1.405.583-2.376 2.066-2.342 3.715l.011.235c.084 1.163.613 2.229 1.401 3.318l.001.001c1.758 2.433 4.202 4.395 6.77 6.224 2.576-1.832 5.045-3.792 6.802-6.224.84-1.162 1.387-2.297 1.413-3.554l-.006-.306c-.084-1.524-1.018-2.862-2.336-3.41\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, l) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: l,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M12.152 4.946c1.75-1.65 4.266-2.208 6.396-1.323 2.12.88 3.498 3.06 3.45 5.415-.037 1.784-.817 3.277-1.753 4.57-2.08 2.88-5.013 5.1-7.802 7.053l-.459.322-.459-.322c-2.792-1.956-5.69-4.174-7.77-7.053-.935-1.293-1.716-2.786-1.753-4.57-.048-2.356 1.33-4.534 3.451-5.415 2.13-.885 4.645-.327 6.396 1.323l.15.141zm5.782.155c-1.395-.58-3.113-.297-4.427.783l-.257.226c-.258.244-.418.386-.706.655l-.546.51-.546-.51c-.304-.284-.435-.404-.701-.654C9.41 4.846 7.554 4.483 6.066 5.1c-1.484.616-2.5 2.176-2.464 3.904.026 1.315.599 2.49 1.45 3.666v.001c1.805 2.497 4.318 4.497 6.932 6.352 2.62-1.857 5.16-3.856 6.964-6.352v-.001c.851-1.177 1.424-2.351 1.45-3.666.036-1.728-.98-3.288-2.464-3.904\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M12 4.592c1.788-1.75 4.382-2.36 6.596-1.404v-.001c2.129.918 3.506 3.128 3.545 5.519l-.001.231c-.037 1.882-.83 3.454-1.77 4.805-2.087 3-5.024 5.308-7.798 7.327l-.588.429-.588-.43c-2.778-2.022-5.681-4.328-7.766-7.327-.881-1.266-1.635-2.726-1.756-4.454l-.015-.35c-.05-2.479 1.346-4.802 3.543-5.75 2.214-.956 4.808-.345 6.597 1.405\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst t = forwardRef((e, h) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: h,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M3.5 4.75c0-.69.56-1.25 1.25-1.25h6.75v8h-8zm2 .75v4h4v-4zm7-2h6.75c.69 0 1.25.56 1.25 1.25v6.75h-8zm2 2v4h4v-4zm-11 7h8v8H4.75c-.69 0-1.25-.56-1.25-1.25zm2 2v4h4v-4zm7-2h8v6.75c0 .69-.56 1.25-1.25 1.25H12.5zm2 2v4h4v-4z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  t as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst r = forwardRef((e, h) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: h,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4.25 3.5a.75.75 0 0 0-.75.75v7.25h8v-8H4.25m.25 7v-6h6v6zm-.5 2h-.5v7.25c0 .414.336.75.75.75h7.25v-8H4m.5 7v-6h6v6zm8-16h7.25a.75.75 0 0 1 .75.75v7.25h-8v-8m1 1v6h6v-6zm-.5 8h-.5v8h7.25a.75.75 0 0 0 .75-.75V12.5H13m.5 7v-6h6v6z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  r as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst m = forwardRef((e, v) => {\n  const h = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: v,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...h, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M3.7 4.75c0-.58.47-1.05 1.05-1.05h7.05v8.1H3.7zm1.6.55v4.9h4.9V5.3zm7.4-1.6h7.05c.58 0 1.05.47 1.05 1.05v7.05h-8.1zm1.6 1.6v4.9h4.9V5.3zM3.7 12.7h8.1v8.1H4.75c-.58 0-1.05-.47-1.05-1.05zm1.6 1.6v4.9h4.9v-4.9zm7.4-1.6h8.1v7.05c0 .58-.47 1.05-1.05 1.05H12.7zm1.6 1.6v4.9h4.9v-4.9z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  m as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst c = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M11.21 2.332a1.25 1.25 0 0 1 1.674.086l8.75 8.75c.234.235.366.552.366.884v8.646c0 .69-.56 1.25-1.25 1.25H14.5v-5.091a2.5 2.5 0 0 0-5 0v5.091H3.25c-.69 0-1.25-.56-1.25-1.25v-8.646c0-.332.132-.65.366-.884z\"\n    }\n  ) });\n});\nexport {\n  c as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M16 19.948h4v-7.586l-8-8-8 8v7.586h4v-3a4 4 0 1 1 8 0zm6 .75c0 .69-.56 1.25-1.25 1.25H14v-5a2 2 0 1 0-4 0v5H3.25c-.69 0-1.25-.56-1.25-1.25v-8.646c0-.332.132-.65.366-.884l8.75-8.75.095-.086a1.25 1.25 0 0 1 1.673.086l8.75 8.75c.234.234.366.552.366.884z\"\n    }\n  ) });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M15.868 20.353h4.536v-8.075L12 3.874 3.595 12.28v8.074h4.537v-3.291a3.868 3.868 0 0 1 7.736 0zm6.137.55c0 .58-.47 1.05-1.05 1.05H14.27v-4.891a2.268 2.268 0 0 0-4.538 0v4.891H3.045c-.58 0-1.05-.47-1.05-1.05v-8.851c0-.279.11-.545.308-.742l8.955-8.955.079-.073a1.05 1.05 0 0 1 1.405.073l8.955 8.955c.197.197.308.463.308.742z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-11.1-1.35v5.863c0 .138.112.25.25.25h1.715a.25.25 0 0 0 .25-.25V10.65a.25.25 0 0 0-.25-.25H11.15a.25.25 0 0 0-.25.25M12 9.9a1.15 1.15 0 1 0 0-2.3 1.15 1.15 0 0 0 0 2.3\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e$1, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M11.15 16.763a.25.25 0 0 1-.25-.25V10.65a.25.25 0 0 1 .25-.25h1.715a.25.25 0 0 1 .25.25v5.863a.25.25 0 0 1-.25.25zM13.15 8.75a1.15 1.15 0 1 1-2.3 0 1.15 1.15 0 0 1 2.3 0\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-1 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M11.75 16.754a.25.25 0 0 1-.25-.25v-5.863a.25.25 0 0 1 .25-.25h.507a.25.25 0 0 1 .25.25v5.863a.25.25 0 0 1-.25.25zm-.45-8.086c-.006-.375.316-.674.703-.668a.694.694 0 0 1 .715.668c-.006.37-.328.668-.715.668s-.709-.299-.703-.668\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-1.6 0a8.4 8.4 0 1 1-16.8 0 8.4 8.4 0 0 1 16.8 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M11.382 16.765a.25.25 0 0 1-.25-.25v-5.863a.25.25 0 0 1 .25-.25h1.234a.25.25 0 0 1 .25.25v5.863a.25.25 0 0 1-.25.25zM12.9 8.7a.9.9 0 1 1-1.8 0 .9.9 0 0 1 1.8 0\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((r, c) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: c,\n    ...r\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M12.006 3.802c2.673 0 2.99.012 4.041.058.977.043 1.505.208 1.857.344.465.18.801.4 1.149.747.352.352.567.684.746 1.15.137.35.301.882.344 1.856.047 1.055.06 1.372.06 4.041 0 2.674-.013 2.99-.06 4.042-.043.977-.207 1.504-.344 1.856-.18.465-.398.801-.746 1.15a3.1 3.1 0 0 1-1.15.746c-.35.136-.883.3-1.856.344-1.055.047-1.372.058-4.041.058-2.674 0-2.99-.011-4.042-.058-.977-.043-1.504-.207-1.856-.344a3.1 3.1 0 0 1-1.15-.747 3.1 3.1 0 0 1-.746-1.149c-.137-.352-.3-.883-.344-1.857-.047-1.055-.058-1.371-.058-4.041 0-2.673.011-2.99.058-4.041.043-.978.207-1.505.344-1.857.18-.465.399-.801.747-1.149a3.1 3.1 0 0 1 1.149-.747c.352-.136.883-.3 1.856-.344 1.052-.046 1.368-.058 4.042-.058m0-1.802c-2.717 0-3.057.012-4.124.059-1.063.047-1.794.219-2.427.465-.66.258-1.22.598-1.774 1.157a4.9 4.9 0 0 0-1.157 1.77c-.246.637-.418 1.364-.465 2.427C2.012 8.95 2 9.29 2 12.006s.012 3.056.059 4.123c.047 1.063.219 1.794.465 2.428.258.66.598 1.219 1.157 1.774a4.9 4.9 0 0 0 1.77 1.153c.637.246 1.364.418 2.427.465 1.067.047 1.408.059 4.124.059s3.056-.012 4.123-.059c1.064-.047 1.794-.219 2.428-.465a4.9 4.9 0 0 0 1.77-1.153 4.9 4.9 0 0 0 1.153-1.77c.247-.638.419-1.365.465-2.428.047-1.067.059-1.407.059-4.123s-.012-3.057-.059-4.124c-.046-1.063-.218-1.794-.465-2.427a4.7 4.7 0 0 0-1.145-1.778 4.9 4.9 0 0 0-1.77-1.153c-.638-.247-1.365-.419-2.428-.465-1.07-.051-1.41-.063-4.127-.063\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M12.006 6.866a5.14 5.14 0 0 0-5.14 5.14 5.141 5.141 0 1 0 5.14-5.14m0 8.474a3.334 3.334 0 1 1 0-6.669 3.334 3.334 0 0 1 0 6.669m6.543-8.677a1.2 1.2 0 1 1-2.4 0 1.2 1.2 0 0 1 2.4 0\"\n      }\n    )\n  ] });\n});\nexport {\n  i as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 3.6c-5.302 0-9.6 3.335-9.6 7.449 0 2.558 1.662 4.814 4.194 6.155l-1.066 3.908c-.094.345.3.62.601.42l4.67-3.095q.59.06 1.201.06c5.302 0 9.6-3.334 9.6-7.448S17.302 3.6 12 3.6\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, a) => {\n  const h = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: a,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...h, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M13 5.267V20h4.25a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25H6.75a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25H11V5.267H7.795L8.837 9.25h1.713V10a4.15 4.15 0 1 1-8.3 0v-.75h1.912l1.366-5.22a1 1 0 0 1 .367-.56 1 1 0 0 1 .605-.203H11V2.25a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25v1.017h4.5a1 1 0 0 1 .974.77l1.363 5.213h1.913V10a4.15 4.15 0 0 1-8.3 0v-.75h1.713l1.042-3.983zm-6.5 2.95.27 1.033h-.54zM17.77 9.25l-.27-1.032-.27 1.032z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((e, a) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: a,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M13 5.267V20h4.25a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25H6.75a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25H11V5.267H7.795L8.772 9H10.8v1A4.4 4.4 0 1 1 2 10V9h2.228l1.3-4.97a1 1 0 0 1 .367-.56 1 1 0 0 1 .605-.203H11V2.25a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25v1.017h4.5a1 1 0 0 1 .974.77L19.772 9H22v1a4.4 4.4 0 0 1-8.8 0V9h2.028l.977-3.733zm-6.5 2.95L6.705 9h-.41zM4.218 11a2.4 2.4 0 0 0 4.364 0zm13.487-2-.205-.782-.205.782zm-.105 3.4a2.4 2.4 0 0 1-2.182-1.4h4.364a2.4 2.4 0 0 1-2.182 1.4\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e$1, l) => {\n  const h = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: l,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...h, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M12.5 20.5V4.767h5a.5.5 0 0 0 0-1h-5V2.25a.25.25 0 0 0-.25-.25h-.5a.25.25 0 0 0-.25.25v1.517h-5a.5.5 0 0 0 0 1h5V20.5H6.75a.25.25 0 0 0-.25.25v.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-.5a.25.25 0 0 0-.25-.25z\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M6.984 4.14a.5.5 0 0 0-.968 0L4.614 9.5H2.5v.5a3.9 3.9 0 0 0 7.8 0v-.5H8.386zm.368 5.36L6.5 6.242 5.648 9.5zM6.4 12.9a2.9 2.9 0 0 1-2.857-2.4h5.714A2.9 2.9 0 0 1 6.4 12.9M17.984 4.14a.5.5 0 0 0-.968 0L15.614 9.5H13.5v.5a3.9 3.9 0 0 0 7.8 0v-.5h-1.914zM17.5 6.242l.852 3.258h-1.704zM14.543 10.5a2.9 2.9 0 0 0 5.714 0z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  v as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e$1, l) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: l,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M12.8 20.2V5.067h4.7a.8.8 0 0 0 0-1.6h-4.7V2.25a.25.25 0 0 0-.25-.25h-1.1a.25.25 0 0 0-.25.25v1.217H6.5a.8.8 0 1 0 0 1.6h4.7V20.2H6.75a.25.25 0 0 0-.25.25v1.1c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-1.1a.25.25 0 0 0-.25-.25z\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M7.274 4.064a.8.8 0 0 0-1.548 0L4.382 9.2H2.2v.8a4.2 4.2 0 0 0 8.4 0v-.8H8.618zM6.964 9.2 6.5 7.427 6.036 9.2zM6.4 12.6a2.6 2.6 0 0 1-2.475-1.8h4.95A2.6 2.6 0 0 1 6.4 12.6M18.274 4.064a.8.8 0 0 0-1.548 0L15.382 9.2H13.2v.8a4.2 4.2 0 0 0 8.4 0v-.8h-1.982zM17.5 7.427l.464 1.773h-.928zM14.925 10.8a2.601 2.601 0 0 0 4.95 0z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, t) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M19.602 5.005A1 1 0 0 1 20.5 6v12l-.005.102a1 1 0 0 1-.893.893L19.5 19h-15l-.103-.005a1 1 0 0 1-.892-.893L3.5 18V6a1 1 0 0 1 .897-.995L4.5 5h15zm-6.789 7.615a1.25 1.25 0 0 1-1.537.07l-.09-.07L5.5 7.744V17h13V7.744zM12 10.683 16.297 7H7.703z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, l) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: l,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M19.602 5.005A1 1 0 0 1 20.5 6v12l-.005.102a1 1 0 0 1-.893.893L19.5 19h-15l-.103-.005a1 1 0 0 1-.892-.893L3.5 18V6a1 1 0 0 1 .897-.995L4.5 5h15zM5.5 7v.744l5.687 4.876.09.07a1.25 1.25 0 0 0 1.537-.07L18.5 7.744V7h-2.203L12 10.683 7.703 7z\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((e, t) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M19.602 5.005A1 1 0 0 1 20.5 6v12l-.005.102a1 1 0 0 1-.893.893L19.5 19h-15l-.103-.005a1 1 0 0 1-.892-.893L3.5 18V6a1 1 0 0 1 .897-.995L4.5 5h15zM4.5 18h15V6h-.002a.5.5 0 0 1-.173.38l-6.837 5.86a.75.75 0 0 1-.865.08l-.111-.08-6.837-5.86-.07-.073A.5.5 0 0 1 4.5 6zm7.5-6.66L18.231 6H5.77z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M19.602 5.005A1 1 0 0 1 20.5 6v12l-.005.102a1 1 0 0 1-.893.893L19.5 19h-15l-.103-.005a1 1 0 0 1-.892-.893L3.5 18V6a1 1 0 0 1 .897-.995L4.5 5h15zm-6.918 7.463a1.05 1.05 0 0 1-1.291.06l-.077-.06L5.1 7.138V17.4h13.8V7.14l-6.216 5.329ZM12 10.945 17.071 6.6H6.93z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    color: e.color ?? \"#A0A0A0\",\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M20.763 12.51c.394-.52.612-1.158.612-1.822 0-1.052-.588-2.048-1.535-2.604a1.6 1.6 0 0 0-.804-.218h-5.62l.14-2.88a2.5 2.5 0 0 0-.691-1.861 2.5 2.5 0 0 0-1.826-.783c-1.219 0-2.297.82-2.62 1.995l-2.014 7.289h-.007v10.031h11.07c.216 0 .427-.042.621-.127a3.014 3.014 0 0 0 1.709-3.642 3.02 3.02 0 0 0 .485-2.688c.394-.52.611-1.158.611-1.821a3.2 3.2 0 0 0-.13-.87m-18.138-.134v8.531c0 .415.335.75.75.75h1.523V11.626H3.375a.75.75 0 0 0-.75.75\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    color: l.color ?? \"#A0A0A0\",\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M20.763 12.51c.394-.52.612-1.158.612-1.822 0-1.052-.588-2.048-1.535-2.604a1.6 1.6 0 0 0-.804-.218h-5.62l.14-2.88a2.5 2.5 0 0 0-.691-1.861 2.5 2.5 0 0 0-1.826-.783c-1.219 0-2.297.82-2.62 1.995l-2.014 7.289h-3.03a.75.75 0 0 0-.75.75v8.531c0 .415.335.75.75.75h14.093c.216 0 .427-.042.621-.127a3.014 3.014 0 0 0 1.709-3.642 3.02 3.02 0 0 0 .485-2.688c.394-.52.611-1.158.611-1.821a3.2 3.2 0 0 0-.13-.87m-16.45 7.46v-6.657H6.21v6.657zm14.915-8.274-.513.445.326.596a1.338 1.338 0 0 1-.298 1.648l-.513.445.325.595a1.338 1.338 0 0 1-.298 1.648l-.512.445.325.595a1.332 1.332 0 0 1-.626 1.854H7.712v-6.729l2.332-8.449a1.03 1.03 0 0 1 .989-.757.833.833 0 0 1 .837.872l-.225 4.65h7.368c.418.255.675.687.675 1.134 0 .387-.168.753-.459 1.008\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((e, l) => {\n  const i = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: l,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...i, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"#19191A\",\n      d: \"M12 2.505a5.82 5.82 0 0 1 5.821 5.822v.767h1.247c.518 0 .937.42.938.938v10.524c0 .518-.42.938-.938.939H4.933a.94.94 0 0 1-.939-.939V10.032c0-.518.42-.938.939-.938H6.18v-.767A5.82 5.82 0 0 1 12 2.505m-.015 9.693a.9.9 0 0 0-.9.9v1.547a.9.9 0 0 0 1.8 0v-1.547a.9.9 0 0 0-.9-.9M12 4.306c-2.22 0-4.02 1.8-4.02 4.02v.768h8.041v-.767c0-2.22-1.8-4.02-4.021-4.02\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"#19191A\",\n      d: \"M5.894 19.594h12.212v-8.6H5.894zm5.09-4.95v-1.547a1 1 0 0 1 2 0v1.547a1 1 0 0 1-2 0m4.936-6.317a3.921 3.921 0 0 0-7.84 0v.668h7.84zm2 .668h1.148c.573 0 1.038.464 1.038 1.037v10.524c0 .573-.465 1.038-1.038 1.038H4.932a1.04 1.04 0 0 1-1.038-1.038V10.032c0-.573.465-1.037 1.038-1.037H6.08v-.668a5.92 5.92 0 1 1 11.84 0z\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e, r) => {\n  const a = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...a, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"#19191A\",\n      d: \"M5.694 19.794h12.612v-9H5.694zm5.491-5.15v-1.547a.8.8 0 0 1 1.6 0v1.547a.8.8 0 1 1-1.6 0m4.936-6.317a4.121 4.121 0 0 0-8.242 0v.867h8.242zm1.6.867h1.347c.462 0 .837.375.838.838v10.524a.84.84 0 0 1-.838.838H4.932a.84.84 0 0 1-.838-.838V10.032c0-.463.376-.838.838-.838H6.28v-.867a5.721 5.721 0 0 1 11.442 0z\"\n    }\n  ) });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst c = forwardRef((e, l) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: l,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"#19191A\",\n      d: \"M12 2.548c1.924.002 3.826.952 4.876 2.771a.9.9 0 0 1-1.559.9c-.656-1.136-1.819-1.785-3.067-1.863L12 4.35A4.013 4.013 0 0 0 7.987 8.36v.885h11.07c.518 0 .939.42.94.938v10.33c0 .518-.422.938-.94.938H4.944a.94.94 0 0 1-.94-.937V10.184a.94.94 0 0 1 .94-.938h1.245v-.885A5.813 5.813 0 0 1 12 2.548m-.015 9.677a.9.9 0 0 0-.9.9v1.545a.9.9 0 0 0 1.8 0v-1.545c0-.497-.403-.9-.9-.9\"\n    }\n  ) });\n});\nexport {\n  c as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e, o) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"#19191A\",\n      d: \"M5.905 19.552h12.19v-8.406H5.905zm5.08-4.882v-1.545a1 1 0 0 1 2 0v1.545a1 1 0 0 1-2 0m9.11 5.844c0 .573-.465 1.038-1.038 1.038H4.943a1.04 1.04 0 0 1-1.038-1.038v-10.33c0-.574.465-1.038 1.038-1.038h1.143v-.785A5.913 5.913 0 0 1 12 2.448h.002l.367.012c1.828.114 3.591 1.072 4.594 2.81a1 1 0 0 1-1.732 1c-.68-1.18-1.922-1.82-3.232-1.822A3.913 3.913 0 0 0 8.087 8.36v.785h10.971c.573 0 1.038.464 1.038 1.037z\"\n    }\n  ) });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst l = forwardRef((e, r) => {\n  const a = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...a, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"#19191A\",\n      d: \"M5.705 19.752h12.59v-8.806H5.705zm5.48-5.082v-1.545a.8.8 0 0 1 1.6 0v1.545a.8.8 0 1 1-1.6 0m8.71 5.844a.84.84 0 0 1-.838.838H4.943a.84.84 0 0 1-.838-.838v-10.33c0-.463.375-.839.838-.839h1.344v-.984a5.713 5.713 0 0 1 5.712-5.713h.002c1.892.002 3.757.936 4.788 2.722a.8.8 0 1 1-1.385.8C14.729 5 13.535 4.335 12.256 4.256L12 4.248A4.114 4.114 0 0 0 7.886 8.36v.984h11.171c.463 0 .838.376.838.838z\"\n    }\n  ) });\n});\nexport {\n  l as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m0 1.6a8.4 8.4 0 1 0 0 16.8 8.4 8.4 0 0 0 0-16.8\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"m7.486 12.43.037-.13 1.179-4.119A.25.25 0 0 1 8.942 8h1.491a.25.25 0 0 1 .24.181l1.18 4.119.147.514 1.326-4.633a.25.25 0 0 1 .24-.181h1.492a.25.25 0 0 1 .24.181l1.18 4.119.68 2.381a.25.25 0 0 1-.24.319h-1.04a.25.25 0 0 1-.24-.181L14.46 10.7l-.147-.514-.147.514-1.18 4.119a.25.25 0 0 1-.24.181h-1.49a.25.25 0 0 1-.24-.181L9.834 10.7l-.147-.514-.147.514-1.18 4.119a.25.25 0 0 1-.24.181H7.08a.25.25 0 0 1-.24-.319l.645-2.25Z\"\n      }\n    )\n  ] });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, i) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: i,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", fillRule: \"evenodd\", d: \"M21 13H3v-2h18z\", clipRule: \"evenodd\" }) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", fillRule: \"evenodd\", d: \"M21 13H3v-2h18z\", clipRule: \"evenodd\" }) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, t) => {\n  const i = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...i, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", fillRule: \"evenodd\", d: \"M21 12.5H3v-1h18z\", clipRule: \"evenodd\" }) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", fillRule: \"evenodd\", d: \"M21 12.8H3v-1.6h18z\", clipRule: \"evenodd\" }) });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((t, r) => {\n  const s = {\n    viewBox: \"0 0 24 24\",\n    width: t.size ?? 24,\n    height: t.size ?? 24,\n    ref: r,\n    ...t\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...s, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        stroke: \"#fff\",\n        strokeWidth: 1.6,\n        d: \"M10.426 5.052A1 1 0 0 1 12 5.87V18.13a1 1 0 0 1-1.574.819L5.758 15.68a1 1 0 0 0-.573-.18H3.8a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1h1.385a1 1 0 0 0 .573-.182z\"\n      }\n    ),\n    /* @__PURE__ */ u(\"path\", { stroke: \"#fff\", strokeLinecap: \"round\", strokeWidth: 1.6, d: \"m16.2 9.8 5 5M21.2 9.8l-5 5\" })\n  ] });\n});\nexport {\n  h as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M12 6.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7\" }),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 2a8 8 0 0 0-6.09 13.186A8.23 8.23 0 0 1 12 14.5a8.23 8.23 0 0 1 6.089 2.686A8 8 0 0 0 12 4\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 6.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7m0 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 14.5c-1.826 0-3.47.783-4.613 2.034A7.96 7.96 0 0 0 12 20a7.96 7.96 0 0 0 4.612-1.466A6.23 6.23 0 0 0 12 16.5M12 4a8 8 0 0 0-6.09 13.186A8.23 8.23 0 0 1 12 14.5a8.23 8.23 0 0 1 6.089 2.686A8 8 0 0 0 12 4\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 6.7a3.3 3.3 0 1 1 0 6.6 3.3 3.3 0 0 1 0-6.6m0 1.6a1.7 1.7 0 1 0 0 3.4 1.7 1.7 0 0 0 0-3.4\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 2.2c5.412 0 9.8 4.388 9.8 9.8s-4.388 9.8-9.8 9.8-9.8-4.388-9.8-9.8S6.588 2.2 12 2.2m0 14.1c-1.966 0-3.724.88-4.908 2.27A8.16 8.16 0 0 0 12 20.2c1.84 0 3.539-.607 4.907-1.63A6.43 6.43 0 0 0 12 16.3m0-12.5a8.2 8.2 0 0 0-6.092 13.69A8.03 8.03 0 0 1 12 14.7a8.03 8.03 0 0 1 6.09 2.79A8.2 8.2 0 0 0 12 3.8\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M14.992 12.59 8.762 3.6H3.6v16.8h5.41v-8.992l6.228 8.992H20.4V3.6h-5.408z\" }) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M18.835 5.081a3.75 3.75 0 0 0-5.303 0l-.707.707 5.303 5.304.707-.707a3.75 3.75 0 0 0 0-5.304M16.997 12.223 11.694 6.92l-5.94 5.94a.75.75 0 0 0-.212.424l-.66 4.62a1 1 0 0 0 1.131 1.13l4.62-.659a.75.75 0 0 0 .424-.212z\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((l, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: o,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M19.012 4.904a4 4 0 0 0-5.657 0l-7.778 7.779a1 1 0 0 0-.283.566l-.66 4.62a1.25 1.25 0 0 0 1.415 1.413l4.62-.66c.211-.03.41-.128.565-.283l7.778-7.778a4 4 0 0 0 0-5.657M14.77 6.32a2 2 0 1 1 2.828 2.828l-.707.707-2.829-2.828zM12.648 8.44l-5.421 5.421-.471 3.3 3.3-.471 5.42-5.422z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, t) => {\n  const i = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...i, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M18.659 5.475a3.5 3.5 0 0 0-4.95 0L5.93 13.253a.5.5 0 0 0-.142.283l-.66 4.62a.75.75 0 0 0 .849.848l4.62-.66a.5.5 0 0 0 .282-.141l7.779-7.778a3.5 3.5 0 0 0 0-4.95m-4.243.707a2.5 2.5 0 0 1 3.535 3.536l-.707.707-3.535-3.536zm-1.414 1.414-6.246 6.246-.59 4.125 4.125-.59 6.246-6.245z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M18.87 5.046a3.8 3.8 0 0 0-5.373 0l-7.778 7.778a.8.8 0 0 0-.227.453l-.66 4.62a1.05 1.05 0 0 0 1.188 1.187l4.62-.66a.8.8 0 0 0 .453-.226l7.778-7.778a3.8 3.8 0 0 0 0-5.374m-4.242 1.131a2.2 2.2 0 0 1 3.111 3.112l-.707.707-3.111-3.112zM12.79 8.016l-5.752 5.75-.518 3.63 3.63-.518 5.75-5.751z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M3.5 2.5a1 1 0 0 0-1 1v11.289l4.877-5.527a1.5 1.5 0 0 1 2.245-.004L20.505 21.5a1 1 0 0 0 .995-1v-17a1 1 0 0 0-1-1zm12.5 8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M2.5 20.5v-2.689l6.003-6.803L17.829 21.5H3.5a1 1 0 0 1-1-1\" })\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M16 10.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3\" }),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M2.5 3.5a1 1 0 0 1 1-1h17a1 1 0 0 1 1 1v17a1 1 0 0 1-1 1h-17a1 1 0 0 1-1-1zm2 1v8.238l2.854-3.425a1.5 1.5 0 0 1 2.288-.02L18.458 19.5H19.5v-15zm0 15v-3.638l4.014-4.816 7.301 8.454z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M15.8 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2\" }),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M4 3.5a.5.5 0 0 0-.5.5v16a.5.5 0 0 0 .5.5h16a.5.5 0 0 0 .5-.5V4a.5.5 0 0 0-.5-.5zm.5 1v9.1l3.235-3.955a1 1 0 0 1 1.533-.017L17.73 19.5h1.77v-15zm0 15v-4.321l4.009-4.9 7.904 9.221z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M16.05 10a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5\" }),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M2.7 3.5a.8.8 0 0 1 .8-.8h17a.8.8 0 0 1 .8.8v17a.8.8 0 0 1-.8.8h-17a.8.8 0 0 1-.8-.8zm1.6.8v8.99l3.208-3.85a1.3 1.3 0 0 1 1.983-.017L18.366 19.7H19.7V4.3zm0 15.4v-3.91l4.21-5.053 7.742 8.963z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, r) => {\n  const f = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...f, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"#fff\", d: \"M19.519 12.852a1 1 0 0 0 0-1.703L6.525 3.139A1 1 0 0 0 5 3.992V20.01a1 1 0 0 0 1.525.851z\" }) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M13 3h-2v8H3v2h8v8h2v-8h8v-2h-8z\" }) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M13 3h-2v8H3v2h8v8h2v-8h8v-2h-8z\" }) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((t, r) => {\n  const h = {\n    viewBox: \"0 0 24 24\",\n    width: t.size ?? 24,\n    height: t.size ?? 24,\n    ref: r,\n    ...t\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...h, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M12.5 3h-1v8.5H3v1h8.5V21h1v-8.5H21v-1h-8.5z\" }) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M12.8 3h-1.6v8.2H3v1.6h8.2V21h1.6v-8.2H21v-1.6h-8.2z\" }) });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst o = forwardRef((i, f) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: i.size ?? 24,\n    height: i.size ?? 24,\n    ref: f,\n    ...i\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"circle\", { cx: 8.004, cy: 8, r: 8, fill: \"#fff\", fillOpacity: 0.5 }),\n    /* @__PURE__ */ u(\"circle\", { cx: 8.003, cy: 8, r: 2.667, fill: \"#fff\" })\n  ] });\n});\nexport {\n  o as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst c = forwardRef((l, h) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: h,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"#FF4800\",\n      d: \"M10.537 1.293c.322 0 .584.261.584.583V7.02h1.137c.545 0 .792.682.373 1.031l-5.258 4.383a.584.584 0 0 1-.747 0L1.368 8.05a.583.583 0 0 1 .374-1.031h1.136V1.876c0-.322.262-.583.584-.583zM5.315 4.411a.407.407 0 0 0-.503-.234.43.43 0 0 0-.276.498l.01.043.31.994H4.52a.42.42 0 0 0-.413.43c0 .237.185.43.413.43h.603L5.475 7.7l.015.045c.18.449.813.435.964-.043l.356-1.13h.376L7.537 7.7l.016.045c.179.449.813.435.964-.043l.355-1.13h.61l.042-.002a.424.424 0 0 0 .37-.428.424.424 0 0 0-.37-.427l-.042-.003h-.34l.314-.993a.435.435 0 0 0-.264-.542.41.41 0 0 0-.52.274l-.397 1.261h-.49l-.294-.946-.016-.045a.508.508 0 0 0-.948-.001l-.015.045-.3.947h-.49L5.33 4.453z\"\n    }\n  ) });\n});\nexport {\n  c as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, o) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-8.515-2.384c.007.794-.5 1.327-1.154 1.764q-.172.107-.334.203c-.813.483-1.437.854-1.45 2.642v.143h1.8v-.143c.012-1.001.449-1.257 1.117-1.648q.191-.11.405-.243c1-.612 1.623-1.455 1.631-2.75-.008-1.892-1.43-3.084-3.508-3.084-1.9 0-3.438 1.089-3.492 3.227h1.923c.054-1.065.792-1.574 1.554-1.574.838 0 1.515.572 1.508 1.463M12.48 15.5a1.2 1.2 0 0 0-.919-.464 1.22 1.22 0 0 0-1.2 1.224c-.004.345.133.657.355.882.217.221.517.358.845.358.365 0 .7-.181.919-.464.165-.213.266-.483.266-.776 0-.286-.1-.55-.266-.76\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16m0 2c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12.477 14.167v.285h-2.012v-.287c.007-1.005.207-1.587.546-1.994.168-.201.364-.353.573-.49a10 10 0 0 1 .322-.2q.01-.008.019-.012.155-.093.316-.195c.614-.417 1.047-.897 1.04-1.594v-.002c.006-.775-.567-1.277-1.301-1.277-.334 0-.657.113-.903.34-.243.224-.419.57-.443 1.054l-.007.138H8.5l.004-.15c.026-1.077.423-1.903 1.06-2.458.634-.552 1.494-.825 2.43-.825 1.023 0 1.897.298 2.52.846.624.55.982 1.342.986 2.301v.002c-.004.655-.161 1.202-.447 1.665-.284.46-.692.829-1.184 1.135-.137.088-.272.168-.395.241l-.193.116a2.5 2.5 0 0 0-.434.316c-.222.214-.362.496-.37 1.045m-.893.643c.692.008 1.277.609 1.277 1.337 0 .74-.583 1.353-1.279 1.353-.716 0-1.301-.61-1.294-1.353a1.32 1.32 0 0 1 1.292-1.337z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, t) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: t,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-10 9a9 9 0 1 0 0-18 9 9 0 0 0 0 18\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M10.782 14.729c.025-1.92.941-2.312 2.143-3.055.872-.542 1.382-1.185 1.382-2.103 0-1.235-1.002-2.061-2.264-2.053-1.175-.008-2.23.743-2.299 2.17H8.5C8.56 7.735 10.09 6.5 12.043 6.5 14.1 6.5 15.5 7.819 15.5 9.621c0 1.219-.588 2.07-1.728 2.788-1.107.684-1.772 1.001-1.798 2.32v.284h-1.193zm-.355 1.886c0-.492.424-.893.934-.901.5.008.915.409.915.901a.9.9 0 0 1-.915.885c-.51.008-.934-.4-.934-.885\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst c = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 20.4a8.4 8.4 0 1 0 0-16.8 8.4 8.4 0 0 0 0 16.8m0 1.6c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M10.546 14.225c.016-2.026.816-2.233 1.785-2.845.654-.437 1.161-.97 1.154-1.764.007-.89-.67-1.463-1.508-1.463-.762 0-1.5.509-1.554 1.574H8.5C8.554 7.589 10.092 6.5 11.992 6.5c2.077 0 3.5 1.192 3.508 3.084-.008 1.295-.63 2.138-1.63 2.75-.893.564-1.508.7-1.524 1.891v.143h-1.8zm-.184 2.035a1.22 1.22 0 0 1 1.2-1.224c.639.008 1.185.556 1.185 1.224 0 .684-.546 1.24-1.185 1.24-.662 0-1.208-.556-1.2-1.24\"\n      }\n    )\n  ] });\n});\nexport {\n  c as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M11.75 4.585V3l3.753 2.75L11.75 8.5V6.586a6.25 6.25 0 1 0 5.538 2.912L18.98 8.43a8.25 8.25 0 1 1-7.23-3.846\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, t) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M11.75 4.585V3l3.753 2.75L11.75 8.5V6.586a6.25 6.25 0 1 0 5.538 2.912L18.98 8.43a8.25 8.25 0 1 1-7.23-3.846\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M11.75 3v5.5l3.753-2.75z\" }),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 6.08a6.75 6.75 0 1 0 5.711 3.151l.846-.534A7.75 7.75 0 1 1 12 5.081z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M11.75 4.785V3l3.753 2.75L11.75 8.5V6.386a6.45 6.45 0 1 0 5.708 3.006l1.352-.855a8.05 8.05 0 1 1-7.06-3.752\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10M7.456 8.588l1.131-1.132 3.412 3.407 3.396-3.392 1.13 1.132-3.394 3.39 3.395 3.39-1.13 1.132-3.397-3.391-3.412 3.407-1.13-1.132 3.41-3.406z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, a) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: a,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12s4.477 10 10 10 10-4.477 10-10M8.623 7.49a1 1 0 0 1 .488.215l.076.068L12 10.586l2.813-2.813.076-.068a1 1 0 0 1 .486-.214l.02-.02.016.016a.998.998 0 0 1 1.102 1.104l.013.012-.017.017a1 1 0 0 1-.214.491l-.069.076L13.415 12l2.813 2.813.068.075a1 1 0 0 1 .212.476l.02.019-.015.014a1 1 0 0 1-1.113 1.115l-.003.003-.004-.004a1 1 0 0 1-.504-.216l-.075-.069L12 13.415l-2.812 2.813-.076.068a1 1 0 0 1-.506.216l-.02.02-.015-.016a1 1 0 0 1-1.086-1.088l-.029-.028.037-.037a1 1 0 0 1 .212-.474l.068-.075L10.586 12 7.773 9.188l-.068-.077a1 1 0 0 1-.214-.489l-.034-.034.027-.028a.997.997 0 0 1 1.075-1.076l.028-.029z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16m0 2c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M8.587 7.173 7.174 8.588l3.41 3.405-3.41 3.406 1.413 1.415 3.412-3.408 3.397 3.392 1.413-1.415-3.395-3.39 3.395-3.39-1.414-1.415L12 10.58z\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"m7.88 8.587.707-.707L12 11.287l3.396-3.392.707.708-3.395 3.39 3.395 3.39-.707.708L12 12.7l-3.412 3.407-.707-.708 3.411-3.406z\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-1 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 20.4a8.4 8.4 0 1 0 0-16.8 8.4 8.4 0 0 0 0 16.8m0 1.6c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"m8.587 7.455-1.13 1.133 3.41 3.405-3.41 3.406 1.13 1.132 3.412-3.407 3.396 3.391 1.131-1.132-3.395-3.39 3.395-3.39-1.13-1.132-3.397 3.392z\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst c = forwardRef((l, e) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: e,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M4.005 3.646c0-.349.296-.646.69-.646H19.32c.18.002.352.071.479.19a.63.63 0 0 1 .203.445v.011l-.005 16.708L20 21l-8-4.685L4 21v-.646z\"\n    }\n  ) });\n});\nexport {\n  c as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M20.003 3.682V3.67a.68.68 0 0 0-.203-.47.7.7 0 0 0-.479-.2H4.694a.683.683 0 0 0-.69.681L4 21l8-4.942L20 21l-.002-.681zM18 17.413 18.003 5H6.004l-.003 12.413L12 13.707z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 16.058 20 21l-.002-.681.005-16.637V3.67a.68.68 0 0 0-.203-.47.7.7 0 0 0-.479-.2H4.694a.683.683 0 0 0-.69.681L4 21zm-7 3.149 7-4.325 6.999 4.324L19.003 4H5.005z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 16.058 20 21l-.002-.681.005-16.637V3.67a.68.68 0 0 0-.203-.47.7.7 0 0 0-.479-.2H4.694a.683.683 0 0 0-.69.681L4 21zM5.6 18.13l6.4-3.954 6.4 3.953.003-13.53H5.604z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M15.611 10.056a5.556 5.556 0 1 0-11.112 0 5.556 5.556 0 0 0 11.112 0m2.5 0a8.02 8.02 0 0 1-1.51 4.693l5.04 5.124.085.096a1.251 1.251 0 0 1-1.773 1.744l-.095-.086-5.013-5.098a8.02 8.02 0 0 1-4.79 1.582 8.056 8.056 0 1 1 8.056-8.055\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M15.861 10.056a5.806 5.806 0 1 0-11.612 0 5.806 5.806 0 0 0 11.612 0m2 0a7.77 7.77 0 0 1-1.589 4.715l5.19 5.278.07.076a1 1 0 0 1-1.42 1.395l-.075-.069-5.167-5.255a7.77 7.77 0 0 1-4.814 1.665 7.806 7.806 0 1 1 7.805-7.805\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M14.659 4A6.659 6.659 0 1 0 18.6 16.026l2.694 2.683 1.412-1.418-2.69-2.677A6.659 6.659 0 0 0 14.659 4M10 10.659a4.659 4.659 0 1 1 9.318 0 4.659 4.659 0 0 1-9.318 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M2 5v2h5V5zM2 17v2h8v-2zM2 13v-2h5v2z\" })\n  ] });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M2 7V5h5v2zM2 19v-2h8v2zM2 13v-2h5v2zM14.659 6a4.659 4.659 0 1 0 0 9.318 4.659 4.659 0 0 0 0-9.318M8 10.659a6.659 6.659 0 1 1 12.017 3.955l2.689 2.677-1.412 1.418-2.693-2.683A6.659 6.659 0 0 1 8 10.66\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e$1, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: r,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M14.659 4.5a6.159 6.159 0 1 0 3.98 10.859l3.008 2.995.706-.708-3.006-2.993A6.159 6.159 0 0 0 14.66 4.5M9.5 10.659a5.159 5.159 0 1 1 10.318 0 5.159 5.159 0 0 1-10.318 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M2 5.5v1h5.5v-1zM2 17.5v1h8.5v-1zM2 12.5v-1h5.5v1z\" })\n  ] });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M2 6.8V5.2h4.8v1.6zM2 18.8v-1.6h8.8v1.6zM2 12.8v-1.6h4.8v1.6zM14.659 5.8a4.859 4.859 0 1 0 0 9.718 4.859 4.859 0 0 0 0-9.718M8.2 10.659a6.459 6.459 0 1 1 11.551 3.973l2.813 2.801-1.128 1.134-2.817-2.805A6.459 6.459 0 0 1 8.2 10.659\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M16.061 10.056a6.006 6.006 0 1 0-12.012 0 6.006 6.006 0 0 0 12.012 0m1.6 0c0 1.788-.62 3.433-1.653 4.731l5.312 5.402.055.061a.8.8 0 0 1-1.135 1.116l-.06-.055-5.294-5.383a7.606 7.606 0 1 1 2.775-5.872\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((l, c) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: c,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M10.387 22h3.25v-.01c.29 0 .57-.09.79-.25.24-.16.41-.39.5-.66l.55-1.591c.54-.23 1.05-.52 1.53-.85l1.76.34c.27.05.55.03.82-.09.25-.11.47-.3.61-.54l1.61-2.672c.15-.25.22-.54.19-.83-.03-.3-.16-.57-.36-.791l-1.15-1.24a7.5 7.5 0 0 0 0-1.641l1.15-1.241c.2-.21.33-.49.36-.79.03-.29-.04-.59-.19-.84l-1.61-2.672c-.15-.24-.36-.43-.62-.54q-.39-.165-.81-.09l-1.77.35c-.48-.34-.99-.62-1.53-.85l-.56-1.592c-.1-.26-.27-.49-.5-.66-.23-.16-.51-.25-.79-.25h-3.25c-.28 0-.55.08-.79.25-.23.17-.4.4-.49.66l-.55 1.591c-.54.23-1.05.52-1.53.85l-1.77-.35c-.27-.06-.55-.03-.81.09-.26.11-.47.3-.61.54l-1.62 2.672c-.15.25-.22.56-.19.85.04.29.16.57.36.781l1.15 1.23a7.5 7.5 0 0 0 0 1.641l-1.15 1.251c-.2.22-.32.49-.35.78-.03.3.04.6.19.85l1.61 2.662c.14.24.35.43.62.55.26.12.54.14.81.09l1.77-.35c.48.34.99.62 1.53.85l.56 1.602a1.365 1.365 0 0 0 1.28.91M15 11H9v2h6z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, t) => {\n  const e = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: t,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...e, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M13.637 22h-3.25c-.28 0-.55-.09-.78-.25-.23-.17-.4-.39-.5-.66l-.56-1.601a8.2 8.2 0 0 1-1.53-.85l-1.77.35c-.27.05-.55.03-.81-.09-.27-.12-.48-.31-.62-.55l-1.61-2.662c-.15-.25-.22-.55-.19-.85.03-.29.15-.56.35-.781l1.15-1.25a7.5 7.5 0 0 1 0-1.641l-1.15-1.231c-.2-.21-.32-.49-.36-.78-.03-.29.04-.6.19-.85l1.62-2.672c.14-.24.35-.43.61-.54.26-.12.54-.15.81-.09l1.77.35c.48-.33.99-.62 1.53-.85l.55-1.592c.09-.26.26-.49.49-.66.24-.17.51-.25.79-.25h3.25c.28 0 .56.09.79.25.23.17.4.4.5.66l.56 1.591c.54.23 1.05.51 1.53.85l1.77-.35q.42-.075.81.09c.26.11.47.3.62.54l1.61 2.672c.15.25.22.55.19.84-.03.3-.16.58-.36.791l-1.15 1.24a7.5 7.5 0 0 1 0 1.641l1.15 1.241c.2.22.33.49.36.79.03.29-.04.58-.19.83l-1.61 2.672c-.14.24-.36.43-.61.54-.27.12-.55.14-.82.09l-1.76-.34c-.48.33-.99.62-1.53.85l-.55 1.592c-.09.27-.26.5-.5.66-.22.16-.5.25-.79.25zm-2.8-2.001h2.34l.71-2.051.45-.16a6.7 6.7 0 0 0 1.81-1l.36-.28 2.21.43 1.13-1.871-1.48-1.601.08-.48c.11-.65.11-1.321 0-1.972l-.08-.48 1.48-1.6-1.13-1.871-2.21.43-.36-.28a6.7 6.7 0 0 0-1.81-1l-.45-.161-.71-2.041h-2.34l-.71 2.051-.45.16c-.65.24-1.26.57-1.81 1l-.36.28-2.21-.43-1.13 1.871 1.48 1.601-.08.48c-.11.65-.11 1.321 0 1.972l.08.49-1.48 1.6 1.13 1.871 2.21-.43.36.28c.55.43 1.16.76 1.81 1l.45.161.71 2.041zm3.97-7.003h-5.6v-2.001h5.6z\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst a = forwardRef((l, t) => {\n  const e = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: t,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...e, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M13.64 21.5h-3.25c-.18 0-.351-.05-.501-.16a.77.77 0 0 1-.31-.42l-.63-1.811a8.2 8.2 0 0 1-1.812-1l-1.98.39c-.17.03-.35.01-.51-.06a.83.83 0 0 1-.391-.35l-1.63-2.662a.85.85 0 0 1-.121-.54c.02-.19.1-.36.22-.49l1.31-1.412q-.135-.99 0-1.98l-1.3-1.411a.9.9 0 0 1-.23-.49c-.02-.19.02-.38.12-.54l1.61-2.672c.091-.15.221-.27.391-.34.16-.07.34-.09.52-.06l1.981.39c.56-.41 1.171-.75 1.811-1l.63-1.802c.06-.17.17-.31.31-.42.151-.11.321-.16.501-.16h3.252a.9.9 0 0 1 .5.16c.15.11.26.25.31.42l.63 1.801c.651.26 1.251.59 1.812 1l1.98-.39c.17-.03.35-.01.51.06s.301.19.391.34l1.61 2.672c.101.16.141.35.121.53-.02.19-.1.36-.23.5l-1.31 1.412q.135.99 0 1.98l1.31 1.411c.13.14.21.31.22.5a.82.82 0 0 1-.12.53l-1.61 2.672c-.091.15-.221.27-.391.34s-.34.09-.52.06l-1.981-.39c-.56.41-1.171.75-1.811 1l-.63 1.812c-.06.17-.17.31-.31.42-.141.1-.321.16-.501.16zm-3.15-1h3.05l.751-2.162.22-.08c.7-.25 1.361-.62 1.951-1.08l.18-.14 2.332.45 1.51-2.491-1.57-1.691.04-.24c.12-.71.12-1.431 0-2.142l-.04-.24 1.57-1.69-1.51-2.502-2.332.46-.18-.14c-.59-.46-1.25-.82-1.95-1.08l-.22-.08-.751-2.161h-3.052l-.75 2.16-.22.08c-.7.25-1.361.621-1.951 1.081l-.18.14-2.332-.46-1.51 2.501 1.57 1.691-.04.24c-.12.71-.12 1.431 0 2.142l.04.24-1.57 1.69 1.51 2.492 2.332-.45.18.14q.885.69 1.95 1.08l.22.08zm3.821-8.005H9.71v-1h4.602z\"\n    }\n  ) });\n});\nexport {\n  a as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, s) => {\n  const e = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: s,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...e, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M13.642 21.8h-3.254c-.24 0-.47-.07-.67-.21s-.341-.33-.421-.56l-.591-1.679a9 9 0 0 1-1.652-.91l-1.853.36c-.23.05-.47.02-.69-.08-.23-.1-.411-.26-.531-.47l-1.612-2.658c-.13-.22-.19-.47-.16-.72s.13-.48.3-.67l1.221-1.308q-.105-.885 0-1.77L2.508 9.807c-.17-.18-.28-.42-.3-.67-.03-.25.03-.51.16-.72L3.98 5.749c.12-.2.3-.36.52-.46s.461-.12.691-.08l1.853.36c.51-.36 1.061-.67 1.652-.91l.58-1.678c.08-.23.22-.42.421-.56s.43-.22.67-.22h3.255c.24 0 .47.07.67.21s.341.34.421.56l.581 1.679c.58.24 1.132.55 1.652.91l1.853-.36c.23-.05.47-.02.69.08s.4.26.531.46l1.612 2.668c.13.22.19.47.16.72s-.13.49-.31.68l-1.212 1.309q.105.884 0 1.769l1.222 1.309c.17.19.28.42.3.67.03.25-.03.5-.16.71l-1.612 2.668a1.165 1.165 0 0 1-1.221.54l-1.853-.36c-.51.37-1.071.67-1.652.91l-.58 1.678c-.08.23-.23.42-.421.56s-.43.21-.671.21zm-2.944-1.6h2.634l.73-2.088.361-.13c.67-.24 1.302-.59 1.872-1.03l.29-.22 2.264.44 1.281-2.119-1.522-1.639.06-.39q.165-1.02 0-2.038l-.07-.39 1.522-1.64-1.281-2.118-2.263.44-.29-.22a6.7 6.7 0 0 0-1.873-1.03l-.36-.13-.731-2.089h-2.624l-.73 2.09-.361.13c-.67.239-1.302.589-1.872 1.029l-.29.22-2.264-.44L3.9 8.957l1.522 1.639-.06.39q-.165 1.02 0 2.038l.06.39-1.522 1.64 1.281 2.118 2.263-.44.29.22c.561.44 1.192.79 1.873 1.03l.36.13zm3.925-7.395H9.407v-1.6h5.206v1.6z\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((l, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M16.5 2.5a3.5 3.5 0 0 0-3.34 4.547L8.523 9.576a3.5 3.5 0 1 0 0 4.849l4.635 2.528a3.5 3.5 0 1 0 .816-1.377l-4.634-2.529a3.5 3.5 0 0 0 0-2.094l4.635-2.528A3.5 3.5 0 1 0 16.5 2.5\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M16.5 2a4 4 0 0 0-3.848 5.096l-1.908 1.041-1.909 1.041a4 4 0 1 0 0 5.644l1.908 1.04 1.909 1.042A4.004 4.004 0 0 0 16.5 22a4 4 0 1 0-2.835-6.822l-1.909-1.04-1.908-1.042a4 4 0 0 0 0-2.192l1.909-1.041 1.908-1.041A4 4 0 1 0 16.5 2M4 12a2 2 0 1 1 4 0 2 2 0 0 1-4 0m10.5-6a2 2 0 1 1 4 0 2 2 0 0 1-4 0m0 12a2 2 0 1 1 4 0 2 2 0 0 1-4 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M16.5 2.5a3.5 3.5 0 0 0-3.237 4.833L10.995 8.57 8.727 9.806a3.5 3.5 0 1 0 0 4.387l2.268 1.237 2.268 1.237a3.5 3.5 0 1 0 .51-.86l-2.268-1.238-2.268-1.236c.17-.411.263-.861.263-1.333a3.5 3.5 0 0 0-.263-1.333l2.268-1.237 2.268-1.236A3.5 3.5 0 1 0 16.5 2.5M3.5 12a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0M14 6a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0m0 12a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M16.5 2.2a3.8 3.8 0 0 0-3.609 4.994L10.844 8.31 8.796 9.427a3.8 3.8 0 1 0 0 5.146l2.048 1.117 2.047 1.116a3.8 3.8 0 1 0 .812-1.38l-2.047-1.116-2.047-1.117a3.8 3.8 0 0 0 0-2.386l2.047-1.117 2.047-1.117A3.8 3.8 0 1 0 16.5 2.2M3.8 12a2.2 2.2 0 1 1 4.4 0 2.2 2.2 0 0 1-4.4 0m10.5-6a2.2 2.2 0 1 1 4.4 0 2.2 2.2 0 0 1-4.4 0m0 12a2.2 2.2 0 1 1 4.4 0 2.2 2.2 0 0 1-4.4 0\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, i) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: i,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"#fff\",\n      fillOpacity: 0.9,\n      d: \"M15.562 5.045c-.742.797-1.928 1.427-3.115 1.337-.148-1.079.433-2.225 1.112-2.933.742-.82 2.04-1.404 3.09-1.449.124 1.124-.358 2.225-1.087 3.045m1.075 1.55c-1.718-.09-3.189.888-4.005.888-.828 0-2.076-.843-3.436-.82-1.767.022-3.411.932-4.313 2.382-1.854 2.898-.482 7.19 1.31 9.55.877 1.168 1.928 2.449 3.312 2.404 1.31-.045 1.83-.775 3.412-.775 1.594 0 2.051.775 3.436.752 1.433-.022 2.336-1.168 3.213-2.337 1.001-1.325 1.41-2.617 1.434-2.685-.025-.022-2.769-.977-2.793-3.854-.025-2.404 2.163-3.55 2.261-3.617-1.235-1.663-3.164-1.843-3.831-1.888\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((l, i) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: i,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"g\", { fill: \"#fff\", fillOpacity: 0.9, children: /* @__PURE__ */ u(\"path\", { d: \"M3.82 3.313c-.202.214-.32.548-.32.98v15.414c0 .433.118.766.32.98l.05.048 8.567-8.635v-.203L3.871 3.262zM16.327 14.98l-2.853-2.88v-.203l2.856-2.88.064.038 3.382 1.94c.965.55.965 1.457 0 2.01l-3.382 1.938zM15.876 15.479l-2.92-2.944-8.617 8.689c.32.34.843.38 1.438.04zM15.876 8.518l-10.1-5.786c-.594-.336-1.116-.295-1.437.045l8.617 8.685z\" }) }) });\n});\nexport {\n  f as default\n};\n","import { jsx as u, jsxs as e } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((a, t) => {\n  const s = {\n    viewBox: \"0 0 24 24\",\n    width: a.size ?? 24,\n    height: a.size ?? 24,\n    ref: t,\n    ...a\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...s, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ e(\"g\", { fill: \"#fff\", fillOpacity: 0.9, children: [\n    /* @__PURE__ */ u(\"path\", { d: \"M12.006 3.802c2.673 0 2.99.012 4.041.058.977.043 1.505.208 1.857.344.465.18.801.4 1.149.747.352.352.567.684.746 1.15.137.35.301.882.344 1.856.047 1.055.06 1.372.06 4.041 0 2.674-.013 2.99-.06 4.042-.043.977-.207 1.504-.344 1.856-.18.465-.398.801-.746 1.15a3.1 3.1 0 0 1-1.15.746c-.35.136-.883.3-1.856.344-1.055.047-1.372.058-4.041.058-2.674 0-2.99-.011-4.042-.058-.977-.043-1.504-.207-1.856-.344a3.1 3.1 0 0 1-1.15-.747 3.1 3.1 0 0 1-.746-1.149c-.137-.352-.3-.883-.344-1.857-.047-1.055-.058-1.371-.058-4.041 0-2.673.011-2.99.058-4.041.043-.978.207-1.505.344-1.857.18-.465.399-.801.747-1.149a3.1 3.1 0 0 1 1.149-.747c.352-.136.883-.3 1.856-.344 1.052-.046 1.368-.058 4.042-.058m0-1.802c-2.717 0-3.057.012-4.124.059-1.063.047-1.794.219-2.427.465-.66.258-1.22.598-1.774 1.157a4.9 4.9 0 0 0-1.157 1.77c-.246.637-.418 1.364-.465 2.427C2.012 8.95 2 9.29 2 12.006s.012 3.056.059 4.123c.047 1.063.219 1.794.465 2.428.258.66.598 1.219 1.157 1.774a4.9 4.9 0 0 0 1.77 1.153c.637.246 1.364.418 2.427.465 1.067.047 1.408.059 4.124.059s3.056-.012 4.123-.059c1.064-.047 1.794-.219 2.428-.465a4.9 4.9 0 0 0 1.77-1.153 4.9 4.9 0 0 0 1.153-1.77c.247-.638.419-1.365.465-2.428.047-1.067.059-1.407.059-4.123s-.012-3.057-.059-4.124c-.046-1.063-.218-1.794-.465-2.427a4.7 4.7 0 0 0-1.145-1.778 4.9 4.9 0 0 0-1.77-1.153c-.638-.247-1.365-.419-2.428-.465-1.07-.051-1.41-.063-4.127-.063\" }),\n    /* @__PURE__ */ u(\"path\", { d: \"M12.006 6.866a5.14 5.14 0 0 0-5.14 5.14 5.141 5.141 0 1 0 5.14-5.14m0 8.474a3.334 3.334 0 1 1 0-6.669 3.334 3.334 0 0 1 0 6.669M18.549 6.663a1.2 1.2 0 1 1-2.4 0 1.2 1.2 0 0 1 2.4 0\" })\n  ] }) });\n});\nexport {\n  f as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst r = forwardRef((e, i) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: i,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"#fff\",\n      fillOpacity: 0.9,\n      fillRule: \"evenodd\",\n      d: \"M20.936 6.067c.31.31.533.696.646 1.119C22 8.746 22 12 22 12s0 3.254-.418 4.814a2.5 2.5 0 0 1-.646 1.119c-.31.31-.698.534-1.122.65C18.25 19 12 19 12 19s-6.25 0-7.814-.418a2.5 2.5 0 0 1-1.122-.649 2.5 2.5 0 0 1-.646-1.119C2 15.254 2 12 2 12s0-3.254.418-4.814c.113-.423.336-.809.646-1.119s.698-.534 1.122-.65C5.75 5 12 5 12 5s6.25 0 7.814.418c.424.115.811.339 1.122.649M15.182 12 9.955 9.045v5.91z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  r as default\n};\n","import { jsx as u, jsxs as e } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst t = forwardRef((e$1, s) => {\n  const a = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: s,\n    ...e$1\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...a, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"g\", { className: \"ic-29space-bold-fill\", children: /* @__PURE__ */ e(\"g\", { fill: \"currentColor\", className: \"vector\", children: [\n    /* @__PURE__ */ u(\"path\", { d: \"M14.778 14.125a.773.773 0 1 1 0-1.546.773.773 0 0 1 0 1.546\" }),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fillRule: \"evenodd\",\n        d: \"M12.802 3.297a1.19 1.19 0 0 0-1.573 0l-8.326 7.34a1.2 1.2 0 0 0-.403.892v8.282A1.19 1.19 0 0 0 3.69 21h16.65a1.19 1.19 0 0 0 1.19-1.19v-8.28a1.2 1.2 0 0 0-.403-.893zm1.412 12.198c-.992-.226-1.743-1.092-1.743-2.143 0-1.253 1.045-2.248 2.307-2.248s2.308.995 2.308 2.248c0 .431-.131.853-.377 1.208l-2.085 3.014h-1.882zm-4.189-2.298c0 .142-.054.28-.153.382l-2.614 2.749v1.247h4.302v-1.476H9.557l1.454-1.528c.352-.37.549-.863.549-1.374 0-1.168-.975-2.093-2.151-2.093s-2.151.925-2.151 2.093v.38h1.534v-.38a.617.617 0 1 1 1.233 0\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] }) }) });\n});\nexport {\n  t as default\n};\n","import { jsx as u, jsxs as e } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst t = forwardRef((l, c) => {\n  const d = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: c,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...d, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"g\", { className: \"ic-29space-bold\", children: /* @__PURE__ */ e(\"g\", { fill: \"currentColor\", className: \"vector\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fillRule: \"evenodd\",\n        d: \"M11.215 3.297a1.186 1.186 0 0 1 1.57 0l8.313 7.34c.256.225.402.55.402.892v8.282c0 .657-.532 1.189-1.188 1.189H3.689A1.19 1.19 0 0 1 2.5 19.81v-8.28c0-.342.147-.667.402-.893zM12 5.141l-7.6 6.71v7.246h15.2V11.85L12 5.14Z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\"path\", { d: \"M9.709 13.58a.56.56 0 0 0 .152-.383.616.616 0 1 0-1.23 0v.38H7.097v-.38c0-1.168.974-2.093 2.148-2.093s2.147.925 2.147 2.093c0 .511-.196 1.004-.548 1.374L9.393 16.1h2v1.476H7.098v-1.247z\" }),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fillRule: \"evenodd\",\n        d: \"M12.303 13.352c0 1.051.75 1.917 1.74 2.143l-1.469 2.08h1.878l2.082-3.015c.245-.355.376-.777.376-1.208 0-1.253-1.042-2.248-2.303-2.248s-2.304.995-2.304 2.248m1.532 0a.772.772 0 1 0 1.544.001.772.772 0 0 0-1.544 0Z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] }) }) });\n});\nexport {\n  t as default\n};\n","import { jsx as u, jsxs as e } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((l, c) => {\n  const a = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: c,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...a, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"g\", { className: \"ic-29space-light\", children: /* @__PURE__ */ e(\"g\", { fill: \"currentColor\", className: \"vector\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fillRule: \"evenodd\",\n        d: \"M12.73 13.18c0-1.085.906-1.963 2.024-1.963s2.025.878 2.025 1.962c0 .372-.114.736-.325 1.042l-2.072 2.996h-.995l1.518-2.144-.065.008a1 1 0 0 1-.137.012c-1.09 0-1.974-.857-1.974-1.914Zm.812 0a1.212 1.212 0 1 0 2.424 0 1.212 1.212 0 0 0-2.424 0\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\"path\", { d: \"M10.971 13.016c0-.994-.833-1.8-1.86-1.8s-1.861.806-1.861 1.8h.813a1.048 1.048 0 1 1 2.096 0 .98.98 0 0 1-.271.678L7.25 16.466v.75h3.721v-.75H8.334l2.17-2.281c.3-.315.467-.734.467-1.169\" }),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fillRule: \"evenodd\",\n        d: \"M12.496 2.987a.75.75 0 0 0-.992 0L2.754 10.7a.75.75 0 0 0-.254.563v8.704c0 .414.336.75.75.75h17.5a.75.75 0 0 0 .75-.75v-8.704a.75.75 0 0 0-.254-.563zM3.5 11.376 12 3.883l8.5 7.493v8.34h-17z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] }) }) });\n});\nexport {\n  h as default\n};\n","import { jsx as u, jsxs as e } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst t = forwardRef((l, a) => {\n  const c = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: a,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...c, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"g\", { className: \"ic-29space-regular\", children: /* @__PURE__ */ e(\"g\", { fill: \"currentColor\", className: \"vector\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fillRule: \"evenodd\",\n        d: \"M12.464 13.381c0 1.077.826 1.955 1.882 2.086l-1.47 2.082h1.56l2.08-3.017c.234-.338.359-.74.359-1.15 0-1.196-.995-2.152-2.206-2.152s-2.205.956-2.205 2.151m2.205.935a.934.934 0 0 1-.932-.935c0-.516.418-.935.932-.935.515 0 .933.419.933.935a.934.934 0 0 1-.933.935\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\"path\", { d: \"M9.777 13.714a.71.71 0 0 0 .196-.491.775.775 0 0 0-.774-.777.775.775 0 0 0-.773.777v.243H7.153v-.243c0-1.108.924-1.993 2.046-1.993s2.046.885 2.046 1.993c0 .485-.186.952-.52 1.303l-1.714 1.808h2.234v1.215H7.153v-1.07z\" }),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fillRule: \"evenodd\",\n        d: \"M12.673 3.255a1.016 1.016 0 0 0-1.346 0l-8.482 7.498c-.22.194-.345.472-.345.765v8.461A1.02 1.02 0 0 0 3.518 21h16.964a1.02 1.02 0 0 0 1.018-1.02v-8.462a1.02 1.02 0 0 0-.345-.765zM4.051 11.76 12 4.733l7.949 7.027v7.685H4.051z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] }) }) });\n});\nexport {\n  t as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M8.91 8.584 2 9.639l5 5.125L5.82 22 12 18.583 18.18 22 17 14.764l5-5.125-6.91-1.055L12 2z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m10.267 10.4-4.117.628 2.986 3.062-.68 4.167L12 16.297l3.543 1.96-.68-4.167 2.987-3.062-4.117-.628L12 6.707zM8.91 8.584 2 9.639l5 5.125L5.82 22 12 18.583 18.18 22 17 14.764l5-5.125-6.91-1.055L12 2z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((l, t) => {\n  const e = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: t,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...e, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\"path\", { fill: \"currentColor\", d: \"M8.91 8.584 2 9.639l5 5.125L5.82 22 12 18.583V2z\" }) });\n});\nexport {\n  f as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((r, e) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: e,\n    ...r\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"m6.15 11.028 4.117-.628L12 6.707V2L8.91 8.584 2 9.639l5 5.125L5.82 22 12 18.583v-2.285l-3.543 1.959.68-4.167z\"\n    }\n  ) });\n});\nexport {\n  f as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((t, e) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: t.size ?? 24,\n    height: t.size ?? 24,\n    ref: e,\n    ...t\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"m4.075 10.333 5.513-.841L12 4.353V2L8.91 8.584 2 9.639l5 5.125L5.82 22 12 18.583V17.44l-4.862 2.688.93-5.701z\"\n    }\n  ) });\n});\nexport {\n  f as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((r, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: t,\n    ...r\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"m5.32 10.75 4.675-.713L12 5.766V2L8.91 8.584 2 9.639l5 5.125L5.82 22 12 18.583v-1.828l-4.07 2.25.779-4.78z\"\n    }\n  ) });\n});\nexport {\n  f as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, t) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m9.588 9.492-5.513.841 3.993 4.094-.93 5.701L12 17.44l4.862 2.688-.93-5.701 3.993-4.094-5.513-.841L12 4.353zm-.678-.908L2 9.639l5 5.125L5.82 22 12 18.583 18.18 22 17 14.764l5-5.125-6.91-1.055L12 2z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"m9.995 10.037-4.675.713 3.389 3.475-.78 4.78 4.07-2.25 4.072 2.25-.78-4.78 3.39-3.475-4.676-.713L12 5.766zM8.91 8.584 2 9.639l5 5.125L5.82 22 12 18.583 18.18 22 17 14.764l5-5.125-6.91-1.055L12 2z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 14 14\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"m6.611 1.041 4.825.764c.26.041.464.245.505.505l.764 4.825a.6.6 0 0 1-.17.524L7.29 12.903a.607.607 0 0 1-.859 0L.842 7.313a.607.607 0 0 1 0-.857l5.246-5.245a.6.6 0 0 1 .523-.17m1.915 3.147a1.046 1.046 0 1 0 0 2.092 1.046 1.046 0 0 0 0-2.092\"\n    }\n  ) });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M4.25 3.5a.75.75 0 0 0-.75.75v15.5c0 .414.336.75.75.75H8.2v-17zm15.5 17a.75.75 0 0 0 .75-.75V4.25a.75.75 0 0 0-.75-.75H15.7v17zm-9.95 0v-17h4.3v17z\"\n    }\n  ) });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4.25 3.5a.75.75 0 0 0-.75.75v15.5c0 .414.336.75.75.75h15.5a.75.75 0 0 0 .75-.75V4.25a.75.75 0 0 0-.75-.75zm1.25 2v13h2.9v-13zm8.1 13h-3.2v-13h3.2zm2 0h2.9v-13h-2.9z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e, l) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: l,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4.25 3.5a.75.75 0 0 0-.75.75v15.5c0 .414.336.75.75.75h15.5a.75.75 0 0 0 .75-.75V4.25a.75.75 0 0 0-.75-.75zm.25 1v15h4.3v-15zm9.7 15H9.8v-15h4.4zm1 0h4.3v-15h-4.3z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, l) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: l,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M4.25 3.5a.75.75 0 0 0-.75.75v15.5c0 .414.336.75.75.75h15.5a.75.75 0 0 0 .75-.75V4.25a.75.75 0 0 0-.75-.75zm.85 1.6v13.8h3.4V5.1zm8.8 13.8h-3.8V5.1h3.8zm1.6 0h3.4V5.1h-3.4z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, e) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: e,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M13 2.296v.69h7.7c.166 0 .3.133.3.297v1.381a.3.3 0 0 1-.3.296H3.3a.3.3 0 0 1-.3-.296V3.283c0-.164.134-.296.3-.296H11v-.691c0-.163.134-.296.3-.296h1.4c.166 0 .3.133.3.296M9 16.702V6.144H3.821a.3.3 0 0 0-.299.316l1.059 15.264c.01.155.142.276.3.276h14.23c.157 0 .288-.12.299-.276l1.063-15.263a.3.3 0 0 0-.299-.317H15v10.558a.3.3 0 0 1-.3.296h-1.4a.3.3 0 0 1-.3-.296V6.144h-2v10.558a.3.3 0 0 1-.3.296H9.3a.3.3 0 0 1-.3-.296\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst s = forwardRef((r, a) => {\n  const c = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: a,\n    ...r\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...c, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M13 2.987v-.691A.3.3 0 0 0 12.7 2h-1.4c-.166 0-.3.133-.3.296v.69H3.3c-.166 0-.3.133-.3.297v1.381c0 .164.134.296.3.296h17.4c.166 0 .3-.132.3-.296V3.283a.3.3 0 0 0-.3-.296zM17.525 20.027 18.48 6.42a.3.3 0 0 1 .299-.276h1.394c.174 0 .311.146.3.317L19.41 21.724a.3.3 0 0 1-.3.276H4.88a.3.3 0 0 1-.299-.276L3.521 6.461a.3.3 0 0 1 .3-.317h1.394c.158 0 .289.12.3.276l.952 13.607z\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M10.7 6.144c.166 0 .3.133.3.296v10.262a.3.3 0 0 1-.3.296H9.3a.3.3 0 0 1-.3-.296V6.44c0-.163.134-.296.3-.296zM14.7 6.144c.166 0 .3.133.3.296v10.262a.3.3 0 0 1-.3.296h-1.4a.3.3 0 0 1-.3-.296V6.44c0-.163.134-.296.3-.296z\"\n      }\n    )\n  ] });\n});\nexport {\n  s as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, a) => {\n  const e = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: a,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...e, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M15.753 1.952c.524.053.934.497.934 1.035v3.067h3.928a1 1 0 1 1 0 2h-1.199l-1.031 13.04c-.043.541-.495.96-1.037.96H6.653c-.542 0-.994-.418-1.037-.96L4.585 8.055h-1.2a1 1 0 0 1 0-2h3.928V2.987a1.04 1.04 0 0 1 1.04-1.04h7.295zm-5.59 8.57a1 1 0 0 0-1 1V16l.004.102a1 1 0 0 0 1.99 0l.005-.102v-4.477a1 1 0 0 0-1-1m3.675 0a1 1 0 0 0-1 1V16l.005.102a1 1 0 0 0 1.99 0l.005-.102v-4.477a1 1 0 0 0-1-1M9.313 6.055h5.374V3.947H9.314z\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e$1, a) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: a,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"m17.993 20.775 1.002-14.442a.1.1 0 0 1 .1-.093h.798a.1.1 0 0 1 .1.107l-1.05 15.195a.25.25 0 0 1-.25.233H5.303a.25.25 0 0 1-.25-.233L4.007 6.347a.1.1 0 0 1 .1-.107h.798a.1.1 0 0 1 .1.093l.997 14.442z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M10.25 6.24a.25.25 0 0 1 .25.25v10.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25V6.49a.25.25 0 0 1 .25-.25zM14.25 6.24a.25.25 0 0 1 .25.25v10.5a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25V6.49a.25.25 0 0 1 .25-.25z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M3.2 4.74h17.6a.2.2 0 0 0 .2-.2v-.6a.2.2 0 0 0-.2-.2h-8.3V2.49a.25.25 0 0 0-.25-.25h-.5a.25.25 0 0 0-.25.25v1.25H3.2a.2.2 0 0 0-.2.2v.6c0 .11.09.2.2.2\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((a, e$1) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: a.size ?? 24,\n    height: a.size ?? 24,\n    ref: e$1,\n    ...a\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M20.8 3.27c.11 0 .2.09.2.2v1.2a.2.2 0 0 1-.2.2H3.2a.2.2 0 0 1-.2-.2v-1.2c0-.11.09-.2.2-.2h7.982v-1c0-.11.09-.2.2-.2h1.2c.11 0 .2.09.2.2v1zM18.69 6.21l-.978 14.115H6.28L5.306 6.21a.15.15 0 0 0-.15-.14H3.861a.15.15 0 0 0-.15.16l1.067 15.556a.15.15 0 0 0 .15.14h14.137a.15.15 0 0 0 .15-.14L20.298 6.23a.15.15 0 0 0-.15-.16L18.84 6.07a.15.15 0 0 0-.15.14\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M10.65 6.07a.15.15 0 0 1 .15.15v10.7a.15.15 0 0 1-.15.15h-1.3a.15.15 0 0 1-.15-.15V6.22a.15.15 0 0 1 .15-.15zM14.65 6.07a.15.15 0 0 1 .15.15v10.7a.15.15 0 0 1-.15.15h-1.3a.15.15 0 0 1-.15-.15V6.22a.15.15 0 0 1 .15-.15z\"\n      }\n    )\n  ] });\n});\nexport {\n  i as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((l, r) => {\n  const a = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: r,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...a, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M10.162 10.723a.8.8 0 0 1 .8.8V16l-.004.081a.8.8 0 0 1-1.592 0L9.362 16v-4.477a.8.8 0 0 1 .8-.8M13.838 10.723a.8.8 0 0 1 .8.8V16l-.004.081a.8.8 0 0 1-1.592 0L13.038 16v-4.477a.8.8 0 0 1 .8-.8\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M15.487 2.146c.552 0 1 .45 1 1.001v3.107h4.128a.8.8 0 1 1 0 1.6h-1.384l-1.034 13.078c-.04.52-.475.921-.997.922H6.8a1 1 0 0 1-.996-.922L4.77 7.854H3.385a.8.8 0 0 1 0-1.6h4.129V3.147a1 1 0 0 1 1-1zM7.354 20.253h9.292l.98-12.4H6.375zm1.76-14h5.773V3.748H9.113z\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((r, t) => {\n  const l = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: t,\n    ...r\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...l, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      d: \"M12.8 20.5h6.95a.75.75 0 0 0 .75-.75V4.25a.75.75 0 0 0-.75-.75H12.8zm-1.6-17H4.25a.75.75 0 0 0-.75.75v15.5c0 .414.336.75.75.75h6.95z\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst v = forwardRef((e, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: o,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M3.5 4.25a.75.75 0 0 1 .75-.75h15.5a.75.75 0 0 1 .75.75v15.5a.75.75 0 0 1-.75.75H4.25a.75.75 0 0 1-.75-.75zm2 14.25v-13H11v13zm7.5 0h5.5v-13H13z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  v as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((e, r) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M3.5 4.25a.75.75 0 0 1 .75-.75h15.5a.75.75 0 0 1 .75.75v15.5a.75.75 0 0 1-.75.75H4.25a.75.75 0 0 1-.75-.75zm1 15.25v-15h7v15zm8 0h7v-15h-7z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst h = forwardRef((e, r) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: r,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M3.5 4.25a.75.75 0 0 1 .75-.75h15.5a.75.75 0 0 1 .75.75v15.5a.75.75 0 0 1-.75.75H4.25a.75.75 0 0 1-.75-.75zM5.1 18.9V5.1h6.1v13.8zm7.7 0h6.1V5.1h-6.1z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  h as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst f = forwardRef((l, e$1) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: e$1,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M12.333 2.755A1 1 0 0 1 14 3.5v3.125l2.69-3.712a1 1 0 0 1 1.62 1.174l-13 17.936a1 1 0 1 1-1.62-1.174l3.098-4.274H3a1 1 0 0 1-1-1v-7.15a1 1 0 0 1 1-1h4.12zM14 20.5a1 1 0 0 1-1.667.745l-2.006-1.797L14 14.27zM19.593 6.384q.226.19.44.401a7.5 7.5 0 0 1-1.298 11.645 1 1 0 0 1-1.07-1.69 5.5 5.5 0 0 0 .766-8.718z\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M17.679 9.083a4.5 4.5 0 0 1-.944 6.81 1 1 0 0 1-1.07-1.69q.23-.144.434-.347a2.5 2.5 0 0 0 .367-3.063z\"\n      }\n    )\n  ] });\n});\nexport {\n  f as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((r, l) => {\n  const t = {\n    viewBox: \"0 0 24 24\",\n    width: r.size ?? 24,\n    height: r.size ?? 24,\n    ref: l,\n    ...r\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...t, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M12.333 2.755A1 1 0 0 1 14 3.5v17a1 1 0 0 1-1.667.745l-5.214-4.67H3a1 1 0 0 1-1-1v-7.15a1 1 0 0 1 1-1h4.12zM17.356 6.057a1 1 0 0 1 1.38-.31 7.5 7.5 0 0 1 0 12.684 1 1 0 0 1-1.071-1.69q.508-.32.952-.764a5.5 5.5 0 0 0-.952-8.54 1 1 0 0 1-.31-1.38\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        d: \"M15.356 8.594a1 1 0 0 1 1.38-.31q.416.263.777.622a4.5 4.5 0 0 1-.778 6.987 1 1 0 0 1-1.07-1.689q.23-.145.434-.348a2.5 2.5 0 0 0 .171-3.345l-.171-.19a2.5 2.5 0 0 0-.434-.347 1 1 0 0 1-.31-1.38\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst n = forwardRef((e$1, o) => {\n  const r = {\n    viewBox: \"0 0 24 24\",\n    width: e$1.size ?? 24,\n    height: e$1.size ?? 24,\n    ref: o,\n    ...e$1\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...r, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        stroke: \"#fff\",\n        strokeWidth: 1.6,\n        d: \"M10.426 5.052A1 1 0 0 1 12 5.87V18.13a1 1 0 0 1-1.574.819L5.758 15.68a1 1 0 0 0-.573-.18H3.8a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1h1.385a1 1 0 0 0 .573-.182z\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        stroke: \"#fff\",\n        strokeLinecap: \"round\",\n        strokeLinejoin: \"round\",\n        strokeWidth: 1.6,\n        d: \"M19.2 7.5c1.236 1.152 2 2.743 2 4.5s-.764 3.348-2 4.5M16.5 9a4.3 4.3 0 0 1 1.2 3 4.3 4.3 0 0 1-1.2 3\"\n      }\n    )\n  ] });\n});\nexport {\n  n as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, a) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: a,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10M6.831 9.313A.25.25 0 0 1 7.073 9h1.254a.25.25 0 0 1 .24.184L9.2 11.5h1.187l.632-2.316A.25.25 0 0 1 11.261 9h1.478a.25.25 0 0 1 .242.184l.632 2.316H14.8l.632-2.316A.25.25 0 0 1 15.673 9h1.254a.25.25 0 0 1 .242.313L16.6 11.5h1.15a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-1.67l-.6 2.313a.25.25 0 0 1-.242.187h-2.065a.25.25 0 0 1-.241-.184l-.633-2.316h-.598l-.633 2.316a.25.25 0 0 1-.24.184H8.761a.25.25 0 0 1-.241-.187L7.919 13.5H6.25a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25H7.4z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, o) => {\n  const a = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: o,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...a, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M18 13.25a.25.25 0 0 1-.25.25h-1.67l-.6 2.313a.25.25 0 0 1-.242.187h-2.065a.25.25 0 0 1-.241-.184l-.633-2.316h-.598l-.633 2.316a.25.25 0 0 1-.24.184H8.761a.25.25 0 0 1-.241-.187L7.919 13.5H6.25a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25H7.4L6.83 9.313A.25.25 0 0 1 7.073 9h1.254a.25.25 0 0 1 .24.184L9.2 11.5h1.187l.632-2.316A.25.25 0 0 1 11.261 9h1.478a.25.25 0 0 1 .242.184l.632 2.316H14.8l.632-2.316A.25.25 0 0 1 15.673 9h1.254a.25.25 0 0 1 .242.313L16.6 11.5h1.15a.25.25 0 0 1 .25.25zm-3.747.25h-.093l.046.171zm-4.413 0h-.093l.047.171z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  i as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, h) => {\n  const a = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: h,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...a, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18m0 1c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m6-9.25a.25.25 0 0 1-.25.25H16l-.882 2.825a.25.25 0 0 1-.239.175h-.964a.25.25 0 0 1-.238-.174L12.773 13h-1.546l-.904 2.826a.25.25 0 0 1-.238.174h-.964a.25.25 0 0 1-.239-.175L8 13H6.25a.25.25 0 0 1-.25-.25v-.5a.25.25 0 0 1 .25-.25h1.437l-.836-2.675A.25.25 0 0 1 7.09 9h.438a.25.25 0 0 1 .238.174L8.669 12h1.867l.903-2.826A.25.25 0 0 1 11.677 9h.646a.25.25 0 0 1 .238.174L13.464 12h1.867l.903-2.826A.25.25 0 0 1 16.472 9h.438a.25.25 0 0 1 .239.325L16.313 12h1.437a.25.25 0 0 1 .25.25zm-2.989.25h-1.227l.614 1.919zm-2.557-1L12 10.581 11.546 12zm-2.238 1H8.989l.613 1.919z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsxs as e, jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst d = forwardRef((l, a) => {\n  const h = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: a,\n    ...l\n  };\n  return /* @__PURE__ */ e(\"svg\", { ...h, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: [\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M18 13.05a.25.25 0 0 1-.25.25h-1.73l-.722 2.519a.25.25 0 0 1-.24.181h-1.491a.25.25 0 0 1-.24-.181l-.722-2.519h-1.21l-.721 2.519a.25.25 0 0 1-.24.181H8.941a.25.25 0 0 1-.24-.181L7.981 13.3H6.25a.25.25 0 0 1-.25-.25v-1.1a.25.25 0 0 1 .25-.25h1.273L6.84 9.319A.25.25 0 0 1 7.081 9h1.04a.25.25 0 0 1 .24.181l.722 2.519h1.21l.721-2.519a.25.25 0 0 1 .24-.181h1.492a.25.25 0 0 1 .24.181l.721 2.519h1.21l.721-2.519a.25.25 0 0 1 .24-.181h1.04a.25.25 0 0 1 .24.319l-.68 2.381h1.272a.25.25 0 0 1 .25.25zm-3.54.25h-.295l.147.514zm-2.313-1.6L12 11.186l-.147.514zm-2.312 1.6h-.294l.147.514z\",\n        clipRule: \"evenodd\"\n      }\n    ),\n    /* @__PURE__ */ u(\n      \"path\",\n      {\n        fill: \"currentColor\",\n        fillRule: \"evenodd\",\n        d: \"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-1.6a8.4 8.4 0 1 0 0-16.8 8.4 8.4 0 0 0 0 16.8\",\n        clipRule: \"evenodd\"\n      }\n    )\n  ] });\n});\nexport {\n  d as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst i = forwardRef((l, a) => {\n  const h = {\n    viewBox: \"0 0 24 24\",\n    width: l.size ?? 24,\n    height: l.size ?? 24,\n    ref: a,\n    ...l\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...h, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10M6.831 9.313A.25.25 0 0 1 7.073 9h1.254a.25.25 0 0 1 .24.184L9.2 11.5h1.187l.632-2.316A.25.25 0 0 1 11.261 9h1.478a.25.25 0 0 1 .242.184l.632 2.316H14.8l.632-2.316A.25.25 0 0 1 15.673 9h1.254a.25.25 0 0 1 .242.313L16.6 11.5h1.15a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25h-1.67l-.6 2.313a.25.25 0 0 1-.242.187h-2.065a.25.25 0 0 1-.241-.184l-.633-2.316h-.598l-.633 2.316a.25.25 0 0 1-.24.184H8.761a.25.25 0 0 1-.241-.187L7.919 13.5H6.25a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25H7.4l-.57-2.187Z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  i as default\n};\n","import { jsx as u } from \"../../../../../node_modules/.pnpm/@emotion_react@11.11.3_@types_react@18.3.0_react@18.3.0/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\";\nimport { forwardRef } from \"react\";\nconst c = forwardRef((e, t) => {\n  const o = {\n    viewBox: \"0 0 24 24\",\n    width: e.size ?? 24,\n    height: e.size ?? 24,\n    ref: t,\n    ...e\n  };\n  return /* @__PURE__ */ u(\"svg\", { ...o, xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", role: \"img\", children: /* @__PURE__ */ u(\n    \"path\",\n    {\n      fill: \"currentColor\",\n      fillRule: \"evenodd\",\n      d: \"M20.936 6.067c.31.31.533.696.646 1.119C22 8.746 22 12 22 12s0 3.254-.418 4.814a2.5 2.5 0 0 1-.646 1.119c-.31.31-.698.534-1.122.65C18.25 19 12 19 12 19s-6.25 0-7.814-.418a2.5 2.5 0 0 1-1.122-.649 2.5 2.5 0 0 1-.646-1.119C2 15.254 2 12 2 12s0-3.254.418-4.814c.113-.423.336-.809.646-1.119s.698-.534 1.122-.65C5.75 5 12 5 12 5s6.25 0 7.814.418c.424.115.811.339 1.122.649M15.182 12 9.955 9.045v5.91z\",\n      clipRule: \"evenodd\"\n    }\n  ) });\n});\nexport {\n  c as default\n};\n","import { default as default2 } from \"./components/IcAiOff.js\";\nimport { default as default3 } from \"./components/IcApple.js\";\nimport { default as default4 } from \"./components/IcArrayBoldFill.js\";\nimport { default as default5 } from \"./components/IcArrayBold.js\";\nimport { default as default6 } from \"./components/IcArrayRegular.js\";\nimport { default as default7 } from \"./components/IcArray.js\";\nimport { default as default8 } from \"./components/IcArrowLeftBoldFill.js\";\nimport { default as default9 } from \"./components/IcArrowLeftBold.js\";\nimport { default as default10 } from \"./components/IcArrowLeftLight.js\";\nimport { default as default11 } from \"./components/IcArrowLeftRegular.js\";\nimport { default as default12 } from \"./components/IcArrowRightBoldFill.js\";\nimport { default as default13 } from \"./components/IcArrowRightBold.js\";\nimport { default as default14 } from \"./components/IcArrowRightLight.js\";\nimport { default as default15 } from \"./components/IcArrowRightRegular.js\";\nimport { default as default16 } from \"./components/IcBagBoldFill.js\";\nimport { default as default17 } from \"./components/IcBagBold.js\";\nimport { default as default18 } from \"./components/IcBagRegular.js\";\nimport { default as default19 } from \"./components/IcBarsBoldFill.js\";\nimport { default as default20 } from \"./components/IcBarsBold.js\";\nimport { default as default21 } from \"./components/IcBarsLight.js\";\nimport { default as default22 } from \"./components/IcBarsRegular.js\";\nimport { default as default23 } from \"./components/IcBellBoldFill.js\";\nimport { default as default24 } from \"./components/IcBellBold.js\";\nimport { default as default25 } from \"./components/IcBellLight.js\";\nimport { default as default26 } from \"./components/IcBellRegular.js\";\nimport { default as default27 } from \"./components/IcBelloffBoldFill.js\";\nimport { default as default28 } from \"./components/IcBelloffBold.js\";\nimport { default as default29 } from \"./components/IcBelloffLight.js\";\nimport { default as default30 } from \"./components/IcBelloffRegular.js\";\nimport { default as default31 } from \"./components/IcBoxBoldFill.js\";\nimport { default as default32 } from \"./components/IcBoxBold.js\";\nimport { default as default33 } from \"./components/IcBoxLight.js\";\nimport { default as default34 } from \"./components/IcBoxRegular.js\";\nimport { default as default35 } from \"./components/IcCameraBoldFill.js\";\nimport { default as default36 } from \"./components/IcCameraBold.js\";\nimport { default as default37 } from \"./components/IcCameraLight.js\";\nimport { default as default38 } from \"./components/IcCameraRegular.js\";\nimport { default as default39 } from \"./components/IcCategoryBoldFill.js\";\nimport { default as default40 } from \"./components/IcCategoryBold.js\";\nimport { default as default41 } from \"./components/IcCategoryRegular.js\";\nimport { default as default42 } from \"./components/IcCautionBoldFill.js\";\nimport { default as default43 } from \"./components/IcCautionBold.js\";\nimport { default as default44 } from \"./components/IcCautionLight.js\";\nimport { default as default45 } from \"./components/IcCautionRegular.js\";\nimport { default as default46 } from \"./components/IcCheckBoldFill.js\";\nimport { default as default47 } from \"./components/IcCheckBold.js\";\nimport { default as default48 } from \"./components/IcCheckCalendarBoldFill.js\";\nimport { default as default49 } from \"./components/IcCheckCalendarBold.js\";\nimport { default as default50 } from \"./components/IcCheckCalendarLight.js\";\nimport { default as default51 } from \"./components/IcCheckCalendarRegular.js\";\nimport { default as default52 } from \"./components/IcCheckCircleBoldFill.js\";\nimport { default as default53 } from \"./components/IcCheckCircleBold.js\";\nimport { default as default54 } from \"./components/IcCheckCircleLight.js\";\nimport { default as default55 } from \"./components/IcCheckCircleRegular.js\";\nimport { default as default56 } from \"./components/IcCheckLight.js\";\nimport { default as default57 } from \"./components/IcCheckRegular.js\";\nimport { default as default58 } from \"./components/IcChevronDownBoldFill.js\";\nimport { default as default59 } from \"./components/IcChevronDownBold.js\";\nimport { default as default60 } from \"./components/IcChevronDownLight.js\";\nimport { default as default61 } from \"./components/IcChevronDownRegular.js\";\nimport { default as default62 } from \"./components/IcChevronLeftBoldFill.js\";\nimport { default as default63 } from \"./components/IcChevronLeftBold.js\";\nimport { default as default64 } from \"./components/IcChevronLeftLight.js\";\nimport { default as default65 } from \"./components/IcChevronLeftRegular.js\";\nimport { default as default66 } from \"./components/IcChevronRightBoldFill.js\";\nimport { default as default67 } from \"./components/IcChevronRightBold.js\";\nimport { default as default68 } from \"./components/IcChevronRightLight.js\";\nimport { default as default69 } from \"./components/IcChevronRightRegular.js\";\nimport { default as default70 } from \"./components/IcChevronUpBoldFill.js\";\nimport { default as default71 } from \"./components/IcChevronUpBold.js\";\nimport { default as default72 } from \"./components/IcChevronUpLight.js\";\nimport { default as default73 } from \"./components/IcChevronUpRegular.js\";\nimport { default as default74 } from \"./components/IcClockBoldFill.js\";\nimport { default as default75 } from \"./components/IcClockBold.js\";\nimport { default as default76 } from \"./components/IcClockLight.js\";\nimport { default as default77 } from \"./components/IcClockRegular.js\";\nimport { default as default78 } from \"./components/IcCloseBoldFill.js\";\nimport { default as default79 } from \"./components/IcCloseBold.js\";\nimport { default as default80 } from \"./components/IcCloseLight.js\";\nimport { default as default81 } from \"./components/IcCloseRegular.js\";\nimport { default as default82 } from \"./components/IcCommentBoldFill.js\";\nimport { default as default83 } from \"./components/IcCommentBold.js\";\nimport { default as default84 } from \"./components/IcCommentLight.js\";\nimport { default as default85 } from \"./components/IcCommentRegular.js\";\nimport { default as default86 } from \"./components/IcCommentRound.js\";\nimport { default as default87 } from \"./components/IcCouponBoldFill.js\";\nimport { default as default88 } from \"./components/IcCouponBold.js\";\nimport { default as default89 } from \"./components/IcCouponLight.js\";\nimport { default as default90 } from \"./components/IcCouponRegular.js\";\nimport { default as default91 } from \"./components/IcDeliveryBoldFill.js\";\nimport { default as default92 } from \"./components/IcDeliveryBold.js\";\nimport { default as default93 } from \"./components/IcDeliveryLight.js\";\nimport { default as default94 } from \"./components/IcDeliveryRegular.js\";\nimport { default as default95 } from \"./components/IcDisclosureOffBoldFill.js\";\nimport { default as default96 } from \"./components/IcDisclosureOffBold.js\";\nimport { default as default97 } from \"./components/IcDisclosureOffLight.js\";\nimport { default as default98 } from \"./components/IcDisclosureOffRegular.js\";\nimport { default as default99 } from \"./components/IcDisclosureOnBoldFill.js\";\nimport { default as default100 } from \"./components/IcDisclosureOnBold.js\";\nimport { default as default101 } from \"./components/IcDisclosureOnLight.js\";\nimport { default as default102 } from \"./components/IcDisclosureOnRegular.js\";\nimport { default as default103 } from \"./components/IcDocumentBoldFill.js\";\nimport { default as default104 } from \"./components/IcDocumentBold.js\";\nimport { default as default105 } from \"./components/IcDocumentLight.js\";\nimport { default as default106 } from \"./components/IcDocumentRegular.js\";\nimport { default as default107 } from \"./components/IcDownloadBoldFill.js\";\nimport { default as default108 } from \"./components/IcDownloadBold.js\";\nimport { default as default109 } from \"./components/IcDownloadLight.js\";\nimport { default as default110 } from \"./components/IcDownloadRegular.js\";\nimport { default as default111 } from \"./components/IcEditOutlined.js\";\nimport { default as default112 } from \"./components/IcEnlargementBoldFill.js\";\nimport { default as default113 } from \"./components/IcEnlargementBold.js\";\nimport { default as default114 } from \"./components/IcEnlargementLight.js\";\nimport { default as default115 } from \"./components/IcEnlargementRegular.js\";\nimport { default as default116 } from \"./components/IcEyeOffBoldFill.js\";\nimport { default as default117 } from \"./components/IcEyeOffBold.js\";\nimport { default as default118 } from \"./components/IcEyeOffLight.js\";\nimport { default as default119 } from \"./components/IcEyeOffRegular.js\";\nimport { default as default120 } from \"./components/IcEyeOnBoldFill.js\";\nimport { default as default121 } from \"./components/IcEyeOnBold.js\";\nimport { default as default122 } from \"./components/IcEyeOnLight.js\";\nimport { default as default123 } from \"./components/IcEyeOnRegular.js\";\nimport { default as default124 } from \"./components/IcFacebook.js\";\nimport { default as default125 } from \"./components/IcFilterBoldFill.js\";\nimport { default as default126 } from \"./components/IcFilterBold.js\";\nimport { default as default127 } from \"./components/IcFilterDotBoldFill.js\";\nimport { default as default128 } from \"./components/IcFilterDotBold.js\";\nimport { default as default129 } from \"./components/IcFilterDotLight.js\";\nimport { default as default130 } from \"./components/IcFilterDotRegular.js\";\nimport { default as default131 } from \"./components/IcFilterLight.js\";\nimport { default as default132 } from \"./components/IcFilterRegular.js\";\nimport { default as default133 } from \"./components/IcFoldChevronLeftBoldFill.js\";\nimport { default as default134 } from \"./components/IcFoldChevronLeftBold.js\";\nimport { default as default135 } from \"./components/IcFoldChevronLeftLight.js\";\nimport { default as default136 } from \"./components/IcFoldChevronLeftRegular.js\";\nimport { default as default137 } from \"./components/IcFoldChevronRightBoldFill.js\";\nimport { default as default138 } from \"./components/IcFoldChevronRightBold.js\";\nimport { default as default139 } from \"./components/IcFoldChevronRightLight.js\";\nimport { default as default140 } from \"./components/IcFoldChevronRightRegular.js\";\nimport { default as default141 } from \"./components/IcFulfillmentLogo.js\";\nimport { default as default142 } from \"./components/IcGiftBoldFill.js\";\nimport { default as default143 } from \"./components/IcGiftBold.js\";\nimport { default as default144 } from \"./components/IcGiftLight.js\";\nimport { default as default145 } from \"./components/IcGiftRegular.js\";\nimport { default as default146 } from \"./components/IcGithub.js\";\nimport { default as default147 } from \"./components/IcGoogle.js\";\nimport { default as default148 } from \"./components/IcHangerBoldFill.js\";\nimport { default as default149 } from \"./components/IcHangerBold.js\";\nimport { default as default150 } from \"./components/IcHangerLight.js\";\nimport { default as default151 } from \"./components/IcHangerRegular.js\";\nimport { default as default152 } from \"./components/IcHeartBoldFill.js\";\nimport { default as default153 } from \"./components/IcHeartBold.js\";\nimport { default as default154 } from \"./components/IcHeartRegular.js\";\nimport { default as default155 } from \"./components/IcHomeBoldFill.js\";\nimport { default as default156 } from \"./components/IcHomeBold.js\";\nimport { default as default157 } from \"./components/IcHomeLight.js\";\nimport { default as default158 } from \"./components/IcHomeRegular.js\";\nimport { default as default159 } from \"./components/IcHouseBoldFill.js\";\nimport { default as default160 } from \"./components/IcHouseBold.js\";\nimport { default as default161 } from \"./components/IcHouseRegular.js\";\nimport { default as default162 } from \"./components/IcInfoCircleBoldFill.js\";\nimport { default as default163 } from \"./components/IcInfoCircleBold.js\";\nimport { default as default164 } from \"./components/IcInfoCircleLight.js\";\nimport { default as default165 } from \"./components/IcInfoCircleRegular.js\";\nimport { default as default166 } from \"./components/IcInstagram.js\";\nimport { default as default167 } from \"./components/IcKakao.js\";\nimport { default as default168 } from \"./components/IcLawBoldFill.js\";\nimport { default as default169 } from \"./components/IcLawBold.js\";\nimport { default as default170 } from \"./components/IcLawLight.js\";\nimport { default as default171 } from \"./components/IcLawRegular.js\";\nimport { default as default172 } from \"./components/IcLetterBold.js\";\nimport { default as default173 } from \"./components/IcLetterFill.js\";\nimport { default as default174 } from \"./components/IcLetterLight.js\";\nimport { default as default175 } from \"./components/IcLetterRegular.js\";\nimport { default as default176 } from \"./components/IcLikeFilled.js\";\nimport { default as default177 } from \"./components/IcLikeOutlined.js\";\nimport { default as default178 } from \"./components/IcLockBoldFill.js\";\nimport { default as default179 } from \"./components/IcLockBold.js\";\nimport { default as default180 } from \"./components/IcLockRegular.js\";\nimport { default as default181 } from \"./components/IcLockoffBoldFill.js\";\nimport { default as default182 } from \"./components/IcLockoffBold.js\";\nimport { default as default183 } from \"./components/IcLockoffRegular.js\";\nimport { default as default184 } from \"./components/IcMil.js\";\nimport { default as default185 } from \"./components/IcMinusBoldFill.js\";\nimport { default as default186 } from \"./components/IcMinusBold.js\";\nimport { default as default187 } from \"./components/IcMinusLight.js\";\nimport { default as default188 } from \"./components/IcMinusRegular.js\";\nimport { default as default189 } from \"./components/IcMute.js\";\nimport { default as default190 } from \"./components/IcMyBoldFill.js\";\nimport { default as default191 } from \"./components/IcMyBold.js\";\nimport { default as default192 } from \"./components/IcMyRegular.js\";\nimport { default as default193 } from \"./components/IcNaver.js\";\nimport { default as default194 } from \"./components/IcPencilBoldFill.js\";\nimport { default as default195 } from \"./components/IcPencilBold.js\";\nimport { default as default196 } from \"./components/IcPencilLight.js\";\nimport { default as default197 } from \"./components/IcPencilRegular.js\";\nimport { default as default198 } from \"./components/IcPictureBoldFill.js\";\nimport { default as default199 } from \"./components/IcPictureBold.js\";\nimport { default as default200 } from \"./components/IcPictureLight.js\";\nimport { default as default201 } from \"./components/IcPictureRegular.js\";\nimport { default as default202 } from \"./components/IcPlay.js\";\nimport { default as default203 } from \"./components/IcPlusBoldFill.js\";\nimport { default as default204 } from \"./components/IcPlusBold.js\";\nimport { default as default205 } from \"./components/IcPlusLight.js\";\nimport { default as default206 } from \"./components/IcPlusRegular.js\";\nimport { default as default207 } from \"./components/IcPoint.js\";\nimport { default as default208 } from \"./components/IcPricedown.js\";\nimport { default as default209 } from \"./components/IcQuestionBoldFill.js\";\nimport { default as default210 } from \"./components/IcQuestionBold.js\";\nimport { default as default211 } from \"./components/IcQuestionLight.js\";\nimport { default as default212 } from \"./components/IcQuestionRegular.js\";\nimport { default as default213 } from \"./components/IcRedoBoldFill.js\";\nimport { default as default214 } from \"./components/IcRedoBold.js\";\nimport { default as default215 } from \"./components/IcRedoLight.js\";\nimport { default as default216 } from \"./components/IcRedoRegular.js\";\nimport { default as default217 } from \"./components/IcRemoveBoldFill.js\";\nimport { default as default218 } from \"./components/IcRemoveRoundedBoldFill.js\";\nimport { default as default219 } from \"./components/IcRemoveBold.js\";\nimport { default as default220 } from \"./components/IcRemoveLight.js\";\nimport { default as default221 } from \"./components/IcRemoveRegular.js\";\nimport { default as default222 } from \"./components/IcScrapBoldFill.js\";\nimport { default as default223 } from \"./components/IcScrapBold.js\";\nimport { default as default224 } from \"./components/IcScrapLight.js\";\nimport { default as default225 } from \"./components/IcScrapRegular.js\";\nimport { default as default226 } from \"./components/IcSearchBoldFill.js\";\nimport { default as default227 } from \"./components/IcSearchBold.js\";\nimport { default as default228 } from \"./components/IcSearchListBoldFill.js\";\nimport { default as default229 } from \"./components/IcSearchListBold.js\";\nimport { default as default230 } from \"./components/IcSearchListLight.js\";\nimport { default as default231 } from \"./components/IcSearchListRegular.js\";\nimport { default as default232 } from \"./components/IcSearchRegular.js\";\nimport { default as default233 } from \"./components/IcSettingBoldFill.js\";\nimport { default as default234 } from \"./components/IcSettingBold.js\";\nimport { default as default235 } from \"./components/IcSettingLight.js\";\nimport { default as default236 } from \"./components/IcSettingRegular.js\";\nimport { default as default237 } from \"./components/IcShareBoldFill.js\";\nimport { default as default238 } from \"./components/IcShareBold.js\";\nimport { default as default239 } from \"./components/IcShareLight.js\";\nimport { default as default240 } from \"./components/IcShareRegular.js\";\nimport { default as default241 } from \"./components/IcSocialApple.js\";\nimport { default as default242 } from \"./components/IcSocialGoogle.js\";\nimport { default as default243 } from \"./components/IcSocialInstagram.js\";\nimport { default as default244 } from \"./components/IcSocialYoutube.js\";\nimport { default as default245 } from \"./components/IcSpaceBoldFill.js\";\nimport { default as default246 } from \"./components/IcSpaceBold.js\";\nimport { default as default247 } from \"./components/IcSpaceLight.js\";\nimport { default as default248 } from \"./components/IcSpaceRegular.js\";\nimport { default as default249 } from \"./components/IcStarBoldFill.js\";\nimport { default as default250 } from \"./components/IcStarBold.js\";\nimport { default as default251 } from \"./components/IcStarHalfBoldFill.js\";\nimport { default as default252 } from \"./components/IcStarHalfBold.js\";\nimport { default as default253 } from \"./components/IcStarHalfLight.js\";\nimport { default as default254 } from \"./components/IcStarHalfRegular.js\";\nimport { default as default255 } from \"./components/IcStarLight.js\";\nimport { default as default256 } from \"./components/IcStarRegular.js\";\nimport { default as default257 } from \"./components/IcTag.js\";\nimport { default as default258 } from \"./components/IcThreeGridBoldFill.js\";\nimport { default as default259 } from \"./components/IcThreeGridBold.js\";\nimport { default as default260 } from \"./components/IcThreeGridLight.js\";\nimport { default as default261 } from \"./components/IcThreeGridRegular.js\";\nimport { default as default262 } from \"./components/IcTrashBoldFill.js\";\nimport { default as default263 } from \"./components/IcTrashBold.js\";\nimport { default as default264 } from \"./components/IcTrash.js\";\nimport { default as default265 } from \"./components/IcTrashLight.js\";\nimport { default as default266 } from \"./components/IcTrashRegular.js\";\nimport { default as default267 } from \"./components/IcTrashUnion.js\";\nimport { default as default268 } from \"./components/IcTwoGridBoldFill.js\";\nimport { default as default269 } from \"./components/IcTwoGridBold.js\";\nimport { default as default270 } from \"./components/IcTwoGridLight.js\";\nimport { default as default271 } from \"./components/IcTwoGridRegular.js\";\nimport { default as default272 } from \"./components/IcVolumeOff.js\";\nimport { default as default273 } from \"./components/IcVolumeOn.js\";\nimport { default as default274 } from \"./components/IcVolume.js\";\nimport { default as default275 } from \"./components/IcWonBoldFill.js\";\nimport { default as default276 } from \"./components/IcWonBold.js\";\nimport { default as default277 } from \"./components/IcWonLight.js\";\nimport { default as default278 } from \"./components/IcWonRegular.js\";\nimport { default as default279 } from \"./components/IcWon.js\";\nimport { default as default280 } from \"./components/IcYoutube.js\";\nexport {\n  default2 as AiOffIcon,\n  default3 as AppleIcon,\n  default4 as ArrayBoldFillIcon,\n  default5 as ArrayBoldIcon,\n  default7 as ArrayIcon,\n  default6 as ArrayRegularIcon,\n  default8 as ArrowLeftBoldFillIcon,\n  default9 as ArrowLeftBoldIcon,\n  default10 as ArrowLeftLightIcon,\n  default11 as ArrowLeftRegularIcon,\n  default12 as ArrowRightBoldFillIcon,\n  default13 as ArrowRightBoldIcon,\n  default14 as ArrowRightLightIcon,\n  default15 as ArrowRightRegularIcon,\n  default16 as BagBoldFillIcon,\n  default17 as BagBoldIcon,\n  default18 as BagRegularIcon,\n  default19 as BarsBoldFillIcon,\n  default20 as BarsBoldIcon,\n  default21 as BarsLightIcon,\n  default22 as BarsRegularIcon,\n  default23 as BellBoldFillIcon,\n  default24 as BellBoldIcon,\n  default25 as BellLightIcon,\n  default26 as BellRegularIcon,\n  default27 as BelloffBoldFillIcon,\n  default28 as BelloffBoldIcon,\n  default29 as BelloffLightIcon,\n  default30 as BelloffRegularIcon,\n  default31 as BoxBoldFillIcon,\n  default32 as BoxBoldIcon,\n  default33 as BoxLightIcon,\n  default34 as BoxRegularIcon,\n  default35 as CameraBoldFillIcon,\n  default36 as CameraBoldIcon,\n  default37 as CameraLightIcon,\n  default38 as CameraRegularIcon,\n  default39 as CategoryBoldFillIcon,\n  default40 as CategoryBoldIcon,\n  default41 as CategoryRegularIcon,\n  default42 as CautionBoldFillIcon,\n  default43 as CautionBoldIcon,\n  default44 as CautionLightIcon,\n  default45 as CautionRegularIcon,\n  default46 as CheckBoldFillIcon,\n  default47 as CheckBoldIcon,\n  default48 as CheckCalendarBoldFillIcon,\n  default49 as CheckCalendarBoldIcon,\n  default50 as CheckCalendarLightIcon,\n  default51 as CheckCalendarRegularIcon,\n  default52 as CheckCircleBoldFillIcon,\n  default53 as CheckCircleBoldIcon,\n  default54 as CheckCircleLightIcon,\n  default55 as CheckCircleRegularIcon,\n  default56 as CheckLightIcon,\n  default57 as CheckRegularIcon,\n  default58 as ChevronDownBoldFillIcon,\n  default59 as ChevronDownBoldIcon,\n  default60 as ChevronDownLightIcon,\n  default61 as ChevronDownRegularIcon,\n  default62 as ChevronLeftBoldFillIcon,\n  default63 as ChevronLeftBoldIcon,\n  default64 as ChevronLeftLightIcon,\n  default65 as ChevronLeftRegularIcon,\n  default66 as ChevronRightBoldFillIcon,\n  default67 as ChevronRightBoldIcon,\n  default68 as ChevronRightLightIcon,\n  default69 as ChevronRightRegularIcon,\n  default70 as ChevronUpBoldFillIcon,\n  default71 as ChevronUpBoldIcon,\n  default72 as ChevronUpLightIcon,\n  default73 as ChevronUpRegularIcon,\n  default74 as ClockBoldFillIcon,\n  default75 as ClockBoldIcon,\n  default76 as ClockLightIcon,\n  default77 as ClockRegularIcon,\n  default78 as CloseBoldFillIcon,\n  default79 as CloseBoldIcon,\n  default80 as CloseLightIcon,\n  default81 as CloseRegularIcon,\n  default82 as CommentBoldFillIcon,\n  default83 as CommentBoldIcon,\n  default84 as CommentLightIcon,\n  default85 as CommentRegularIcon,\n  default86 as CommentRoundIcon,\n  default87 as CouponBoldFillIcon,\n  default88 as CouponBoldIcon,\n  default89 as CouponLightIcon,\n  default90 as CouponRegularIcon,\n  default91 as DeliveryBoldFillIcon,\n  default92 as DeliveryBoldIcon,\n  default93 as DeliveryLightIcon,\n  default94 as DeliveryRegularIcon,\n  default95 as DisclosureOffBoldFillIcon,\n  default96 as DisclosureOffBoldIcon,\n  default97 as DisclosureOffLightIcon,\n  default98 as DisclosureOffRegularIcon,\n  default99 as DisclosureOnBoldFillIcon,\n  default100 as DisclosureOnBoldIcon,\n  default101 as DisclosureOnLightIcon,\n  default102 as DisclosureOnRegularIcon,\n  default103 as DocumentBoldFillIcon,\n  default104 as DocumentBoldIcon,\n  default105 as DocumentLightIcon,\n  default106 as DocumentRegularIcon,\n  default107 as DownloadBoldFillIcon,\n  default108 as DownloadBoldIcon,\n  default109 as DownloadLightIcon,\n  default110 as DownloadRegularIcon,\n  default111 as EditOutlinedIcon,\n  default112 as EnlargementBoldFillIcon,\n  default113 as EnlargementBoldIcon,\n  default114 as EnlargementLightIcon,\n  default115 as EnlargementRegularIcon,\n  default116 as EyeOffBoldFillIcon,\n  default117 as EyeOffBoldIcon,\n  default118 as EyeOffLightIcon,\n  default119 as EyeOffRegularIcon,\n  default120 as EyeOnBoldFillIcon,\n  default121 as EyeOnBoldIcon,\n  default122 as EyeOnLightIcon,\n  default123 as EyeOnRegularIcon,\n  default124 as FacebookIcon,\n  default125 as FilterBoldFillIcon,\n  default126 as FilterBoldIcon,\n  default127 as FilterDotBoldFillIcon,\n  default128 as FilterDotBoldIcon,\n  default129 as FilterDotLightIcon,\n  default130 as FilterDotRegularIcon,\n  default131 as FilterLightIcon,\n  default132 as FilterRegularIcon,\n  default133 as FoldChevronLeftBoldFillIcon,\n  default134 as FoldChevronLeftBoldIcon,\n  default135 as FoldChevronLeftLightIcon,\n  default136 as FoldChevronLeftRegularIcon,\n  default137 as FoldChevronRightBoldFillIcon,\n  default138 as FoldChevronRightBoldIcon,\n  default139 as FoldChevronRightLightIcon,\n  default140 as FoldChevronRightRegularIcon,\n  default141 as FulfillmentLogoIcon,\n  default142 as GiftBoldFillIcon,\n  default143 as GiftBoldIcon,\n  default144 as GiftLightIcon,\n  default145 as GiftRegularIcon,\n  default146 as GithubIcon,\n  default147 as GoogleIcon,\n  default148 as HangerBoldFillIcon,\n  default149 as HangerBoldIcon,\n  default150 as HangerLightIcon,\n  default151 as HangerRegularIcon,\n  default152 as HeartBoldFillIcon,\n  default153 as HeartBoldIcon,\n  default154 as HeartRegularIcon,\n  default155 as HomeBoldFillIcon,\n  default156 as HomeBoldIcon,\n  default157 as HomeLightIcon,\n  default158 as HomeRegularIcon,\n  default159 as HouseBoldFillIcon,\n  default160 as HouseBoldIcon,\n  default161 as HouseRegularIcon,\n  default162 as InfoCircleBoldFillIcon,\n  default163 as InfoCircleBoldIcon,\n  default164 as InfoCircleLightIcon,\n  default165 as InfoCircleRegularIcon,\n  default166 as InstagramIcon,\n  default167 as KakaoIcon,\n  default168 as LawBoldFillIcon,\n  default169 as LawBoldIcon,\n  default170 as LawLightIcon,\n  default171 as LawRegularIcon,\n  default172 as LetterBoldIcon,\n  default173 as LetterFillIcon,\n  default174 as LetterLightIcon,\n  default175 as LetterRegularIcon,\n  default176 as LikeFilledIcon,\n  default177 as LikeOutlinedIcon,\n  default178 as LockBoldFillIcon,\n  default179 as LockBoldIcon,\n  default180 as LockRegularIcon,\n  default181 as LockoffBoldFillIcon,\n  default182 as LockoffBoldIcon,\n  default183 as LockoffRegularIcon,\n  default184 as MilIcon,\n  default185 as MinusBoldFillIcon,\n  default186 as MinusBoldIcon,\n  default187 as MinusLightIcon,\n  default188 as MinusRegularIcon,\n  default189 as MuteIcon,\n  default190 as MyBoldFillIcon,\n  default191 as MyBoldIcon,\n  default192 as MyRegularIcon,\n  default193 as NaverIcon,\n  default194 as PencilBoldFillIcon,\n  default195 as PencilBoldIcon,\n  default196 as PencilLightIcon,\n  default197 as PencilRegularIcon,\n  default198 as PictureBoldFillIcon,\n  default199 as PictureBoldIcon,\n  default200 as PictureLightIcon,\n  default201 as PictureRegularIcon,\n  default202 as PlayIcon,\n  default203 as PlusBoldFillIcon,\n  default204 as PlusBoldIcon,\n  default205 as PlusLightIcon,\n  default206 as PlusRegularIcon,\n  default207 as PointIcon,\n  default208 as PricedownIcon,\n  default209 as QuestionBoldFillIcon,\n  default210 as QuestionBoldIcon,\n  default211 as QuestionLightIcon,\n  default212 as QuestionRegularIcon,\n  default213 as RedoBoldFillIcon,\n  default214 as RedoBoldIcon,\n  default215 as RedoLightIcon,\n  default216 as RedoRegularIcon,\n  default217 as RemoveBoldFillIcon,\n  default219 as RemoveBoldIcon,\n  default220 as RemoveLightIcon,\n  default221 as RemoveRegularIcon,\n  default218 as RemoveRoundedBoldFillIcon,\n  default222 as ScrapBoldFillIcon,\n  default223 as ScrapBoldIcon,\n  default224 as ScrapLightIcon,\n  default225 as ScrapRegularIcon,\n  default226 as SearchBoldFillIcon,\n  default227 as SearchBoldIcon,\n  default228 as SearchListBoldFillIcon,\n  default229 as SearchListBoldIcon,\n  default230 as SearchListLightIcon,\n  default231 as SearchListRegularIcon,\n  default232 as SearchRegularIcon,\n  default233 as SettingBoldFillIcon,\n  default234 as SettingBoldIcon,\n  default235 as SettingLightIcon,\n  default236 as SettingRegularIcon,\n  default237 as ShareBoldFillIcon,\n  default238 as ShareBoldIcon,\n  default239 as ShareLightIcon,\n  default240 as ShareRegularIcon,\n  default241 as SocialAppleIcon,\n  default242 as SocialGoogleIcon,\n  default243 as SocialInstagramIcon,\n  default244 as SocialYoutubeIcon,\n  default245 as SpaceBoldFillIcon,\n  default246 as SpaceBoldIcon,\n  default247 as SpaceLightIcon,\n  default248 as SpaceRegularIcon,\n  default249 as StarBoldFillIcon,\n  default250 as StarBoldIcon,\n  default251 as StarHalfBoldFillIcon,\n  default252 as StarHalfBoldIcon,\n  default253 as StarHalfLightIcon,\n  default254 as StarHalfRegularIcon,\n  default255 as StarLightIcon,\n  default256 as StarRegularIcon,\n  default257 as TagIcon,\n  default258 as ThreeGridBoldFillIcon,\n  default259 as ThreeGridBoldIcon,\n  default260 as ThreeGridLightIcon,\n  default261 as ThreeGridRegularIcon,\n  default262 as TrashBoldFillIcon,\n  default263 as TrashBoldIcon,\n  default264 as TrashIcon,\n  default265 as TrashLightIcon,\n  default266 as TrashRegularIcon,\n  default267 as TrashUnionIcon,\n  default268 as TwoGridBoldFillIcon,\n  default269 as TwoGridBoldIcon,\n  default270 as TwoGridLightIcon,\n  default271 as TwoGridRegularIcon,\n  default274 as VolumeIcon,\n  default272 as VolumeOffIcon,\n  default273 as VolumeOnIcon,\n  default275 as WonBoldFillIcon,\n  default276 as WonBoldIcon,\n  default279 as WonIcon,\n  default277 as WonLightIcon,\n  default278 as WonRegularIcon,\n  default280 as YoutubeIcon\n};\n","import * as index from \"../packages/contexts/common/icon/index.js\";\nconst s = (e) => {\n  if (!e)\n    return null;\n  const t = `${e.replace(/^ic-/, \"\").split(\"-\").map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join(\"\")}BoldIcon`;\n  return index[t] || null;\n};\nexport {\n  s as mapIconName\n};\n","const n = (e) => e.map((t) => typeof t == \"string\" ? { text: t, iconId: null } : t);\nexport {\n  n as normalizeImageBadges\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { mapIconName as s } from \"../../utils/mapIconName.js\";\nimport { normalizeImageBadges as n } from \"../../utils/normalizeImageBadges.js\";\nimport { Badge as O } from \"../Badge/Badge.js\";\nconst w = g({\n  base: \"h-full w-full rounded-0 object-cover\"\n}), z = g({\n  base: \"relative aspect-square\",\n  variants: {\n    // Figma `thumbnailUrl` 컨테이너 단위 라운드 + 클리핑(`CardPreview`·`CompactCardPreview` 와 같은 값).\n    // 데스크톱 화면은 기존 SRP(이미지 2px)를 기준으로 2px, 그 외(모바일)는 Figma 4px.\n    isRounded: {\n      true: \"overflow-hidden rounded-4 desktop:rounded-2\"\n    },\n    // 패딩(풀블리드) 지면은 모바일만 각지고 데스크톱 화면에서는 라운드한다 — 데스크톱 카드 라운드 통일.\n    isRoundedOnDesktop: {\n      true: \"desktop:overflow-hidden desktop:rounded-2\"\n    },\n    isEnded: {\n      true: \"opacity-40\"\n    }\n  }\n}), C = ({\n  imgUrl: s2,\n  itemName: l,\n  imageBadge: r,\n  href: o,\n  target: t,\n  onClick: n2,\n  rank: d,\n  isRounded: m$1,\n  isRoundedOnDesktop: u,\n  theme: p = \"light\",\n  size: x = \"small\",\n  isEnded: j = false,\n  renderImage: f = ({ className: a, src: i, alt: h }) => /* @__PURE__ */ m.jsx(\"img\", { className: a, src: i, loading: \"lazy\", alt: h })\n}) => {\n  const a = d !== void 0, i = /* @__PURE__ */ m.jsxs(m.Fragment, { children: [\n    a ? /* @__PURE__ */ m.jsx(N, { rank: d }) : null,\n    /* @__PURE__ */ m.jsxs(\"div\", { className: z({ isRounded: m$1, isRoundedOnDesktop: u, isEnded: j }), children: [\n      f({\n        className: w(),\n        src: s2,\n        alt: l\n      }),\n      r && /* @__PURE__ */ m.jsx(R, { badges: r, theme: p, size: x })\n    ] })\n  ] });\n  return o ? /* @__PURE__ */ m.jsx(\"a\", { href: o, target: t, onClick: n2, children: i }) : /* @__PURE__ */ m.jsx(\"div\", { onClick: n2, children: i });\n}, N = ({ rank: s2 }) => /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute z-content-1 inline-flex h-24 w-24 items-center justify-center rounded-0 bg-on-black\", children: /* @__PURE__ */ m.jsx(\"div\", { className: \"text-s-medium text-on-white\", children: s2 }) }), b = {\n  small: \"small\",\n  medium: \"large\"\n}, R = ({\n  badges: s$1,\n  theme: l,\n  size: r = \"small\"\n}) => {\n  if (!s$1)\n    return null;\n  const o = n(s$1);\n  return /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute bottom-10 left-10 z-content-1 space-x-2\", children: o.map((t) => {\n    const n2 = s(t.iconId);\n    return /* @__PURE__ */ m.jsx(\n      O,\n      {\n        size: b[r],\n        priority: \"primary\",\n        theme: l,\n        name: t.text,\n        className: \"flex items-center gap-2\",\n        children: n2 ? /* @__PURE__ */ m.jsx(n2, { size: 12 }) : null\n      },\n      `${t.text}-${t.iconId || \"no-icon\"}`\n    );\n  }) });\n};\nexport {\n  C as PreuserProductCardPreview,\n  w as preuserImage,\n  z as preuserThumbnail\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { mapIconName as s } from \"../../utils/mapIconName.js\";\nimport { normalizeImageBadges as n } from \"../../utils/normalizeImageBadges.js\";\nimport { Badge as O } from \"../Badge/Badge.js\";\nimport { preuserThumbnail as z$1 } from \"../PreuserProductCard/PreuserProductCardPreview.js\";\nconst z = g({\n  base: \"z-content-1 h-full w-full rounded-0 object-cover\"\n}), R = ({\n  imgUrl: n2,\n  itemName: o,\n  imageBadge: s2,\n  href: t,\n  target: r,\n  onClick: a,\n  rank: c,\n  isRounded: m$1,\n  isRoundedOnDesktop: u,\n  theme: d = \"light\",\n  isEnded: x = false,\n  renderImage: p = ({ className: l, src: i, alt: f }) => /* @__PURE__ */ m.jsx(\"img\", { className: l, src: i, loading: \"lazy\", alt: f })\n}) => {\n  const l = c !== void 0, i = /* @__PURE__ */ m.jsxs(m.Fragment, { children: [\n    l ? /* @__PURE__ */ m.jsx(b, { rank: c }) : null,\n    /* @__PURE__ */ m.jsxs(\"div\", { className: z$1({ isRounded: m$1, isRoundedOnDesktop: u, isEnded: x }), children: [\n      p({\n        className: z(),\n        src: n2,\n        alt: o\n      }),\n      s2 && /* @__PURE__ */ m.jsx(I, { badges: s2, theme: d })\n    ] })\n  ] });\n  return t ? /* @__PURE__ */ m.jsx(\"a\", { className: \"relative inline-block h-fit\", href: t, target: r, onClick: a, children: i }) : /* @__PURE__ */ m.jsx(\n    \"div\",\n    {\n      className: \"relative inline-block h-fit\",\n      onClick: a,\n      children: i\n    }\n  );\n}, b = ({ rank: n2 }) => /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute z-content-2 inline-flex h-24 w-24 items-center justify-center bg-on-black\", children: /* @__PURE__ */ m.jsx(\"div\", { className: \"text-s-medium text-on-white\", children: n2 }) }), I = ({\n  badges: n$1,\n  theme: o\n}) => {\n  if (!n$1)\n    return null;\n  const s$1 = n(n$1);\n  return /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute bottom-6 left-6 z-content-1 space-x-2\", children: s$1.map((t) => {\n    const r = s(t.iconId);\n    return /* @__PURE__ */ m.jsx(\n      O,\n      {\n        size: \"small\",\n        priority: \"primary\",\n        theme: o,\n        className: \"flex items-center gap-2\",\n        name: t.text,\n        children: r ? /* @__PURE__ */ m.jsx(r, { size: 12 }) : null\n      },\n      `${t.text}-${t.iconId || \"no-icon\"}`\n    );\n  }) });\n};\nexport {\n  R as CompactPreuserCardPreview,\n  z as compactPreuserImage\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport j from \"../PreuserProductCard/PreuserProductCardInfo.js\";\nimport { CompactPreuserCardPreview as R } from \"./CompactPreuserCardPreview.js\";\nconst N = g({\n  base: \"mb-16 flex w-full flex-col space-y-8 rounded-4\"\n}), z = forwardRef(\n  ({\n    imgUrl: c,\n    onClick: t,\n    onBrandClick: u,\n    imageBadge: i,\n    className: d,\n    renderImage: f,\n    rank: n,\n    href: m$1,\n    brandHref: l,\n    hasPadding: r,\n    isRounded: s,\n    isEnded: p,\n    theme: a,\n    ...e\n  }, x) => /* @__PURE__ */ m.jsxs(\n    \"div\",\n    {\n      className: N({\n        className: d\n      }),\n      ref: x,\n      role: \"button\",\n      children: [\n        /* @__PURE__ */ m.jsx(\n          R,\n          {\n            rank: n,\n            imgUrl: c,\n            imageBadge: i,\n            renderImage: f,\n            href: m$1,\n            onClick: t,\n            isRounded: s ?? !r,\n            isRoundedOnDesktop: s === void 0 && !!r,\n            target: e.target,\n            itemName: e.itemName,\n            theme: a,\n            isEnded: p\n          }\n        ),\n        /* @__PURE__ */ m.jsx(\n          j,\n          {\n            ...e,\n            onClick: t,\n            onClickBrandName: u,\n            href: m$1,\n            brandHref: l,\n            size: \"compact\",\n            hasPadding: r,\n            theme: a\n          }\n        )\n      ]\n    }\n  )\n);\nexport {\n  z as CompactPreuserProductCard,\n  N as compactPreuserProductCard\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nconst n = 5, x = ({ colorChipInfo: l }) => {\n  const { colors: e = [], itemCountWithoutColor: o = 0 } = l ?? {};\n  if (e.length === 0)\n    return null;\n  const a = e.slice(0, n), r = Math.max(0, e.length - n) + o;\n  return /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex items-center gap-8\", children: [\n    a.map(({ code: t, name: i }) => /* @__PURE__ */ m.jsx(\n      \"span\",\n      {\n        className: \"h-10 w-10 flex-shrink-0 rounded-[0.5rem] border border-black-alpha-200\",\n        style: { backgroundColor: t },\n        children: /* @__PURE__ */ m.jsx(\"span\", { className: \"sr-only\", children: i })\n      },\n      t\n    )),\n    r > 0 && /* @__PURE__ */ m.jsxs(\"span\", { className: \"text-xxs text-tertiary\", children: [\n      \"+\",\n      r\n    ] })\n  ] });\n};\nexport {\n  x as ColorChip\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nconst a = g({\n  slots: {\n    base: \"space-y-12 text-on-color-dark\",\n    header: \"space-y-6\",\n    requiredInfo: \"mr-10 space-y-2\",\n    brandName: \"flex items-center gap-2 align-baseline\",\n    productName: \"text-s\",\n    // a 는 inline 이라 header 의 space-y 가 먹지 않으므로 block 지정\n    priceGroup: \"block\",\n    priceInfo: \"flex items-center gap-2\",\n    // NOTE:(김홍동) framer-ruler 전용 — 강조된 가격·할인율은 V1/V2 분기 없이 항상 800(ExtraBold).\n    // 29CM 토큰에 800이 없어 font-extrabold 조합. ticketProductCardInfo 도 extend 로 함께 상속한다(프레이머 미사용).\n    discount: \"font-extrabold text-l-bold\",\n    metaDataGroup: \"block space-y-8 text-tertiary\",\n    metaData: \"flex flex-wrap gap-2\",\n    amountText: \"\"\n  },\n  variants: {\n    productNameLineClamp: {\n      1: {\n        productName: \"line-clamp-1 break-all\"\n      },\n      2: {\n        productName: \"line-clamp-2 break-all\"\n      }\n    },\n    hasPadding: {\n      true: \"mx-10\"\n    },\n    size: {\n      small: {\n        base: \"space-y-8\",\n        header: \"space-y-6\",\n        requiredInfo: \"mr-20 space-y-2\",\n        brandName: \"mb-2 text-xs-bold\",\n        productName: \"mb-2 text-s\",\n        priceInfo: \"flex gap-2 font-extrabold text-l-bold\",\n        metaDataGroup: \"space-y-8\",\n        amountText: \"text-xxs-medium\"\n      },\n      medium: {\n        base: \"space-y-10\",\n        requiredInfo: \"mr-20 space-y-2\",\n        brandName: \"mb-2 text-m-bold\",\n        productName: \"mb-6 text-l\",\n        priceInfo: \"flex gap-2 font-extrabold text-xxl-bold\",\n        metaDataGroup: \"space-y-8\",\n        amountText: \"text-xs-medium\"\n      },\n      compact: {\n        // slot 기본값(space-y-12 / mr-10) 잔존 방지용 0 명시\n        base: \"space-y-0 pt-6 pr-4 text-on-color-dark\",\n        header: \"space-y-4\",\n        requiredInfo: \"mr-0 space-y-0\",\n        brandName: \"min-h-20 w-full py-2 text-s-bold\",\n        productName: \"break-all text-m\",\n        priceInfo: \"flex gap-2 font-extrabold text-m-bold\",\n        discount: \"font-extrabold text-m-bold\",\n        // header(space-y-4) + 2px = Figma summarySection ↔ productMeta 간격 6px\n        metaDataGroup: \"space-y-10 pt-2 text-xxs\",\n        amountText: \"text-xxs\"\n      }\n    },\n    theme: {\n      light: {\n        productName: \"text-primary\",\n        discount: \"text-accent\",\n        priceInfo: \"text-primary\",\n        amountText: \"text-tertiary\"\n      },\n      dark: {\n        productName: \"text-primary-dark\",\n        discount: \"text-accent-dark\",\n        priceInfo: \"text-primary-dark\",\n        // NOTE:(김홍동) text-tertiary-dark 색상이 프레이머에 적용된 dark 색상과 다르기에 커스텀 색상을 적용.\n        amountText: \"text-[#474747]\"\n      }\n    },\n    soldOut: {\n      true: {}\n    }\n  },\n  compoundVariants: [\n    {\n      size: \"compact\",\n      theme: \"dark\",\n      class: {\n        // NOTE:(김홍동) framer-ruler 전용 — 기획전 모듈 시안 dark 보정. Compact 카드 상품명은 text/primary(#F4F4F4) 80%.\n        productName: \"text-[#f4f4f4cc]\"\n      }\n    },\n    {\n      soldOut: true,\n      theme: \"light\",\n      class: {\n        discount: \"text-disabled\",\n        priceInfo: \"text-disabled\"\n      }\n    },\n    {\n      soldOut: true,\n      theme: \"dark\",\n      class: {\n        // NOTE:(김홍동) text-disabled-dark 색상이 프레이머에 적용된 dark 색상과 다르기에 커스텀 색상을 적용.\n        discount: \"text-[rgba(244,244,244,0.54)]\",\n        priceInfo: \"text-[rgba(244,244,244,0.54)]\"\n      }\n    }\n  ],\n  defaultVariants: {\n    size: \"small\",\n    theme: \"light\",\n    soldOut: false\n  }\n});\nexport {\n  a as productCardInfo\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport s from \"../../packages/contexts/common/icon/components/IcHeartBoldFill.js\";\nimport n from \"../../packages/contexts/common/icon/components/IcStarBoldFill.js\";\nimport { commaizeNumber as i } from \"../../packages/contexts/common/utils/src/numbers/commaizeNumber.js\";\nimport { formatNumberWithKoreanUnit as i$1 } from \"../../packages/contexts/common/utils/src/numbers/formatNumberWithKoreanUnit.js\";\nimport { Badge as O } from \"../Badge/Badge.js\";\nimport { TextButton as E } from \"../TextButton/TextButton.js\";\nimport { ColorChip as x } from \"./ColorChip.js\";\nimport { OptionFees as y } from \"./OptionFee.js\";\nimport { productCardInfo as a } from \"./ProductCardInfo.style.js\";\nconst f = ({\n  href: o,\n  target: a2,\n  onClick: p,\n  className: m$1,\n  children: t\n}) => o ? /* @__PURE__ */ m.jsx(\"a\", { className: m$1, href: o, target: a2, onClick: p, children: t }) : /* @__PURE__ */ m.jsx(\"div\", { className: m$1, onClick: p, children: t }), sp = ({\n  discount: o,\n  price: a$1,\n  brandName: p,\n  onClickBrandName: m$1,\n  size: t = \"small\",\n  theme: i$12 = \"light\",\n  productName: l,\n  likeAmount: D,\n  reviewAmount: G,\n  badges: e,\n  hasPadding: z,\n  productNameLineClamp: B = 1,\n  soldOut: N = false,\n  showMeta: F = true,\n  showMetaGroup: S = true,\n  reviewRate: T,\n  brandHref: n2,\n  productHref: x$1,\n  target: c,\n  freeShippingBadge: d,\n  optionFees: C,\n  colorChipInfo: M,\n  onClick: u\n}) => {\n  const s2 = a({\n    size: t,\n    hasPadding: z,\n    productNameLineClamp: B,\n    soldOut: N,\n    theme: i$12\n  }), j = t === \"compact\", v = F ? /* @__PURE__ */ m.jsx(\n    W,\n    {\n      likeAmount: D,\n      reviewAmount: G,\n      reviewRate: T,\n      size: t,\n      theme: i$12\n    }\n  ) : null, R = e != null && e.length || d ? /* @__PURE__ */ m.jsxs(\"div\", { className: \"space-y-10\", children: [\n    /* @__PURE__ */ m.jsx(U, { badges: e, soldOut: N, theme: i$12 }),\n    d && /* @__PURE__ */ m.jsx(\"div\", { className: \"flex\", children: d })\n  ] }) : null;\n  return /* @__PURE__ */ m.jsx(\"div\", { className: s2.base(), children: /* @__PURE__ */ m.jsxs(\"div\", { className: s2.header(), children: [\n    /* @__PURE__ */ m.jsx(x, { colorChipInfo: M }),\n    /* @__PURE__ */ m.jsxs(\"div\", { className: s2.requiredInfo(), children: [\n      p ? /* @__PURE__ */ m.jsx(\n        E,\n        {\n          priority: \"primary\",\n          size: \"xSmall\",\n          isBold: true,\n          as: n2 || m$1 ? \"a\" : \"span\",\n          onClick: m$1,\n          label: p,\n          postfixIcon: t !== \"compact\" && (n2 || m$1) ? \"ChevronRightBoldIcon\" : void 0,\n          href: n2,\n          target: c,\n          className: s2.brandName({\n            // TODO:(신다혜) - 디자인 플랫폼에 TextButton 관련 추가 스펙 확인하기\n            className: \"[&>span]:truncate\"\n          }),\n          theme: i$12\n        }\n      ) : null,\n      /* @__PURE__ */ m.jsx(f, { className: s2.productName(), onClick: u, href: x$1, target: c, children: l })\n    ] }),\n    /* @__PURE__ */ m.jsxs(f, { onClick: u, href: x$1, target: c, className: s2.priceGroup(), children: [\n      /* @__PURE__ */ m.jsxs(\"div\", { className: s2.priceInfo(), children: [\n        o ? /* @__PURE__ */ m.jsxs(\"p\", { className: s2.discount(), children: [\n          o,\n          \"%\"\n        ] }) : null,\n        /* @__PURE__ */ m.jsx(\"p\", { children: i(a$1) })\n      ] }),\n      /* @__PURE__ */ m.jsx(y, { optionFees: C, theme: i$12, className: j ? \"text-xxs\" : void 0 })\n    ] }),\n    S && /* @__PURE__ */ m.jsxs(f, { onClick: u, href: x$1, target: c, className: s2.metaDataGroup(), children: [\n      j ? v : null,\n      R,\n      j ? null : v\n    ] })\n  ] }) });\n}, U = ({\n  badges: o,\n  soldOut: a$1,\n  theme: p = \"light\",\n  text: m$1 = \"품절\"\n}) => {\n  const t = a();\n  return !o || o.length === 0 ? null : a$1 ? /* @__PURE__ */ m.jsx(\"div\", { className: t.metaData(), children: /* @__PURE__ */ m.jsx(O, { size: \"small\", priority: \"tertiary\", theme: p, children: m$1 }) }) : /* @__PURE__ */ m.jsx(\"div\", { className: t.metaData(), children: o.map(({ name: i2, priority: l = \"secondary\" }) => /* @__PURE__ */ m.jsx(O, { size: \"small\", theme: p, priority: l, children: i2 }, i2)) });\n}, W = ({\n  likeAmount: o = 0,\n  reviewAmount: a$1 = 0,\n  reviewRate: p = 0,\n  size: m$1,\n  theme: t\n}) => {\n  const i2 = a({\n    size: m$1,\n    theme: t\n  }), l = m$1 === \"compact\" ? 11 : 12;\n  return /* @__PURE__ */ m.jsxs(\"div\", { className: i2.metaData(), children: [\n    /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex items-center gap-2\", children: [\n      /* @__PURE__ */ m.jsx(s, { size: l }),\n      /* @__PURE__ */ m.jsx(\"span\", { className: i2.amountText(), children: i$1(o) })\n    ] }),\n    /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex items-center gap-2\", children: [\n      /* @__PURE__ */ m.jsx(n, { size: l }),\n      /* @__PURE__ */ m.jsxs(\"span\", { className: i2.amountText(), children: [\n        p,\n        \" (\",\n        i$1(a$1),\n        \")\"\n      ] })\n    ] })\n  ] });\n};\nexport {\n  W as AmountMetaData,\n  U as BadgeGroup,\n  sp as default\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport { IconButton as k } from \"../IconButton/IconButton.js\";\nconst c = g({\n  variants: {\n    selected: {\n      true: \"[&_div]:text-accent \"\n    }\n  }\n}), x = forwardRef(\n  ({ selected: t = false, size: r = \"medium\", className: o, ...i }, e) => /* @__PURE__ */ m.jsx(\n    k,\n    {\n      ...i,\n      className: c({ selected: t, className: o }),\n      ref: e,\n      icon: t ? \"HeartBoldFillIcon\" : \"HeartRegularIcon\",\n      size: r,\n      priority: t ? \"tertiary\" : \"primary\"\n    }\n  )\n);\nexport {\n  x as LikeButton\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { useCallback } from \"react\";\nimport { mapIconName as s } from \"../../utils/mapIconName.js\";\nimport { normalizeImageBadges as n } from \"../../utils/normalizeImageBadges.js\";\nimport { Badge as O$1 } from \"../Badge/Badge.js\";\nimport { LikeButton as x } from \"../LikeButton/LikeButton.js\";\nconst O = g({\n  base: \"h-full w-full object-cover\",\n  variants: {\n    soldOut: {\n      true: \"opacity-60\"\n    }\n  }\n}), C = g({\n  base: \"relative overflow-hidden\",\n  variants: {\n    // 데스크톱 화면은 기존 SRP(이미지 2px)를 기준으로 2px, 그 외(모바일)는 Figma 4px.\n    isRounded: {\n      true: \"rounded-4 desktop:rounded-2\",\n      false: \"rounded-0\"\n    },\n    // 패딩(풀블리드) 지면은 모바일만 각지고 데스크톱 화면에서는 라운드한다 — 데스크톱 카드 라운드 통일.\n    isRoundedOnDesktop: {\n      true: \"desktop:rounded-2\"\n    },\n    // 이미지(object-cover)가 컨테이너를 채우므로 종횡비는 여기서만 결정한다.\n    ratio: {\n      \"1:1\": \"aspect-square\",\n      \"5:6\": \"aspect-[5/6]\"\n    }\n  },\n  // thumbnail 직접 호출용 기본값 — 컴포넌트 경로는 항상 boolean 을 넘기므로 미적용\n  defaultVariants: {\n    isRounded: true,\n    ratio: \"1:1\"\n  }\n}), h = \"relative inline-block h-fit overflow-hidden\", A = ({\n  onHeart: t = false,\n  onHeartClick: s2,\n  imgUrl: n2,\n  extraBadge: o,\n  imageBadge: l,\n  productHref: m$1,\n  target: j,\n  onClick: d,\n  rank: c,\n  soldOut: g2,\n  hasPadding: u,\n  isRounded: p,\n  ratio: b,\n  theme: N = \"light\",\n  renderImage: w = ({ className: r, src: a, alt: i }) => /* @__PURE__ */ m.jsx(\"img\", { className: r, src: a, loading: \"lazy\", alt: i })\n}) => {\n  const r = useCallback(\n    (x2) => {\n      x2.preventDefault(), x2.stopPropagation(), s2 == null || s2();\n    },\n    [s2]\n  ), a = c !== void 0, i = [...o ? [o] : [], ...l || []].filter(Boolean), y = p ?? !u, I = p === void 0 && !!u, f = /* @__PURE__ */ m.jsxs(m.Fragment, { children: [\n    /* @__PURE__ */ m.jsxs(\"div\", { className: C({ isRounded: y, isRoundedOnDesktop: I, ratio: b }), children: [\n      w({\n        className: O({ soldOut: g2 }),\n        src: n2\n      }),\n      N === \"light\" && /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute inset-0 bg-[#f7f7f7] mix-blend-multiply\" }),\n      a ? /* @__PURE__ */ m.jsx($, { rank: c }) : null,\n      i.length > 0 && /* @__PURE__ */ m.jsx(q, { badges: i })\n    ] }),\n    /* @__PURE__ */ m.jsx(\n      x,\n      {\n        className: \"absolute -top-4 -right-4\",\n        size: \"medium\",\n        transparent: true,\n        isWhite: true,\n        selected: t,\n        onClick: r\n      }\n    )\n  ] });\n  return m$1 ? /* @__PURE__ */ m.jsx(\"a\", { className: h, href: m$1, target: j, onClick: d, children: f }) : /* @__PURE__ */ m.jsx(\"div\", { className: h, onClick: d, children: f });\n}, $ = ({ rank: t }) => /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute top-0 left-0 inline-flex h-24 w-24 items-center justify-center bg-on-black\", children: /* @__PURE__ */ m.jsx(\"div\", { className: \"text-on-white text-s-medium\", children: t }) }), q = ({ badges: t }) => {\n  if (!t)\n    return null;\n  const s$1 = n(t);\n  return /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute bottom-8 left-8 flex gap-2\", children: s$1.map((n2) => {\n    const o = s(n2.iconId);\n    return /* @__PURE__ */ m.jsx(\n      O$1,\n      {\n        size: \"small\",\n        priority: \"primary\",\n        name: n2.text,\n        className: \"flex min-h-16 items-center gap-2 px-4 py-0\",\n        children: o ? /* @__PURE__ */ m.jsx(o, { size: 12 }) : null\n      },\n      `${n2.text}-${n2.iconId || \"no-icon\"}`\n    );\n  }) });\n};\nexport {\n  A as CompactCardPreview,\n  O as image,\n  C as thumbnail\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport sp from \"../ProductCard/ProductCardInfo.js\";\nimport { CompactCardPreview as A } from \"./CompactCardPreview.js\";\nconst O = g({\n  base: \"flex w-full flex-col rounded-4\"\n}), N = forwardRef(\n  ({\n    imgUrl: f,\n    onHeart: u,\n    onHeartClick: a,\n    onClick: e,\n    extraBadge: m$1,\n    imageBadge: l,\n    className: s,\n    renderImage: i,\n    rank: n,\n    href: t,\n    hasPadding: c,\n    isRounded: x,\n    ratio: p,\n    showMeta: H = false,\n    productNameLineClamp: j = 2,\n    theme: d,\n    ...r\n  }, C) => /* @__PURE__ */ m.jsxs(\"div\", { className: O({ className: s }), ref: C, role: \"button\", children: [\n    /* @__PURE__ */ m.jsx(\n      A,\n      {\n        rank: n,\n        imgUrl: f,\n        onHeart: u,\n        onHeartClick: a,\n        extraBadge: m$1,\n        imageBadge: l,\n        renderImage: i,\n        productHref: r.productHref ?? t,\n        onClick: e,\n        soldOut: r.soldOut,\n        hasPadding: c,\n        isRounded: x,\n        ratio: p,\n        target: r.target,\n        theme: d\n      }\n    ),\n    /* @__PURE__ */ m.jsx(\n      sp,\n      {\n        ...r,\n        onClick: e,\n        productHref: r.productHref ?? t,\n        brandHref: r.productHref ?? t,\n        size: \"compact\",\n        productNameLineClamp: j,\n        showMeta: H,\n        hasPadding: c,\n        theme: d\n      }\n    )\n  ] })\n);\nexport {\n  N as CompactProductCard,\n  O as compactProductCard\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nconst a = g({\n  variants: {\n    size: {\n      small: \"mb-20 space-y-12\",\n      medium: \"mb-40 space-y-12\"\n    }\n  },\n  defaultVariants: {\n    size: \"small\"\n  }\n});\nexport {\n  a as preuserProductCard\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { forwardRef } from \"react\";\nimport { preuserProductCard as a } from \"./PreuserProductCard.style.js\";\nimport j from \"./PreuserProductCardInfo.js\";\nimport { PreuserProductCardPreview as C } from \"./PreuserProductCardPreview.js\";\nconst _ = forwardRef(\n  ({\n    imgUrl: f,\n    itemName: t,\n    onClick: u,\n    onBrandClick: i,\n    size: r,\n    imageBadge: p,\n    className: x,\n    renderImage: P,\n    target: s = \"_self\",\n    hasPadding: o,\n    isRounded: d,\n    rank: j$1,\n    href: m$1,\n    brandHref: l,\n    brandName: a$1,\n    recruitEndAt: A,\n    isEnded: C$1,\n    timeText: v,\n    theme: c,\n    ...n\n  }, R) => /* @__PURE__ */ m.jsxs(\n    \"div\",\n    {\n      className: a({\n        size: r,\n        className: x\n      }),\n      ref: R,\n      role: \"button\",\n      children: [\n        /* @__PURE__ */ m.jsx(\n          C,\n          {\n            imgUrl: f,\n            itemName: t,\n            onClick: u,\n            imageBadge: p,\n            renderImage: P,\n            target: s,\n            isRounded: d ?? !o,\n            isRoundedOnDesktop: d === void 0 && !!o,\n            rank: j$1,\n            href: m$1,\n            theme: c,\n            size: r,\n            isEnded: C$1,\n            ...n\n          }\n        ),\n        /* @__PURE__ */ m.jsx(\n          j,\n          {\n            itemName: t,\n            onClick: u,\n            onClickBrandName: i,\n            size: r,\n            target: s,\n            hasPadding: o,\n            brandName: a$1,\n            brandHref: l,\n            href: m$1,\n            timeText: v,\n            theme: c,\n            ...n\n          }\n        )\n      ]\n    }\n  )\n);\nexport {\n  _ as PreuserProductCard\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport s from \"../../packages/contexts/common/icon/components/IcHeartBoldFill.js\";\nimport s$1 from \"../../packages/contexts/common/icon/components/IcHeartBold.js\";\nimport { useCallback } from \"react\";\nimport { mapIconName as s$2 } from \"../../utils/mapIconName.js\";\nimport { normalizeImageBadges as n } from \"../../utils/normalizeImageBadges.js\";\nimport { Badge as O$1 } from \"../Badge/Badge.js\";\nimport { LikeButton as x } from \"../LikeButton/LikeButton.js\";\nconst O = g({\n  base: \"h-full w-full rounded-0 object-cover\",\n  variants: {\n    // 품절·판매종료는 썸네일을 흐린다 — 컴팩트(`CompactCardPreview`)·가로형 티켓 카드(`closed`)와 같은 값.\n    soldOut: {\n      true: \"opacity-60\"\n    }\n  }\n}), P = g({\n  base: \"relative\",\n  variants: {\n    ratio: {\n      \"1:1\": \"aspect-square\",\n      \"5:6\": \"aspect-[5/6]\"\n    },\n    // 신규 티켓 카드의 좋아요 버튼은 썸네일 밖(-4px)으로 나간다. 그대로 두면 캐러셀·그리드에서\n    // 가로 스크롤을 만들므로 클리핑한다(`CompactCardPreview` 와 같은 이유). 아이콘은 44px 버튼\n    // 가운데(안쪽 11px)에 있어 잘리지 않는다.\n    enhanced: {\n      true: \"overflow-hidden\"\n    },\n    // Figma `thumbnailUrl` 은 컨테이너 단위 4px 라운드 + 클리핑이라 이미지뿐 아니라 썸네일 위\n    // 오버레이·뱃지까지 함께 잘리도록 컨테이너에 건다(`CompactCardPreview` 와 같은 값).\n    // 데스크톱 화면은 기존 SRP(이미지 2px)를 기준으로 2px, 그 외(모바일)는 Figma 4px.\n    isRounded: {\n      true: \"overflow-hidden rounded-4 desktop:rounded-2\"\n    },\n    // 패딩(풀블리드) 지면은 모바일만 각지고 데스크톱 화면에서는 라운드한다 — 데스크톱 카드 라운드 통일.\n    isRoundedOnDesktop: {\n      true: \"desktop:overflow-hidden desktop:rounded-2\"\n    }\n  },\n  defaultVariants: {\n    ratio: \"1:1\"\n  }\n}), Zm = ({\n  onHeart: o = false,\n  onHeartClick: r,\n  imgUrl: i,\n  extraBadge: m$1,\n  imageBadge: a,\n  productHref: n2,\n  target: h,\n  onClick: l,\n  rank: d,\n  isRounded: v,\n  isRoundedOnDesktop: j,\n  ratio: g2,\n  enhanced: c = false,\n  soldOut: b = false,\n  hasLiked: N = true,\n  renderImage: w = ({ className: p, src: s2, alt: e }) => /* @__PURE__ */ m.jsx(\"img\", { className: p, src: s2, loading: \"lazy\", alt: e })\n}) => {\n  const p = useCallback(\n    (x2) => {\n      x2.preventDefault(), x2.stopPropagation(), r == null || r();\n    },\n    [r]\n  ), s$22 = d !== void 0, e = [...m$1 ? [m$1] : [], ...a || []].filter(Boolean), u = /* @__PURE__ */ m.jsxs(\"div\", { className: P({ ratio: g2, enhanced: c, isRounded: v, isRoundedOnDesktop: j }), children: [\n    w({\n      className: O({ soldOut: b }),\n      src: i\n    }),\n    /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute inset-x-0 bottom-0\", children: e && /* @__PURE__ */ m.jsx($, { badges: e }) }),\n    N && (c ? (\n      // 신규 티켓 카드는 Figma `likeButton` 의 기본 상태(medium=44×44 · 아이콘 22×22 · white·transparent)를\n      // 우측 상단 -4px 에 붙인다(QAT-43072). `CompactCardPreview` 와 같은 배치다.\n      /* @__PURE__ */ m.jsx(\n        x,\n        {\n          className: \"absolute -top-4 -right-4\",\n          size: \"medium\",\n          transparent: true,\n          isWhite: true,\n          selected: o,\n          onClick: p\n        }\n      )\n    ) : (\n      // TODO:(신다혜) - 기존 카드도 `LikeButton` 으로 교체가 필요합니다.\n      /* @__PURE__ */ m.jsx(\"button\", { className: \"absolute bottom-10 right-10 drop-shadow-100\", onClick: p, children: o ? /* @__PURE__ */ m.jsx(s, { className: \"text-accent\", size: 24 }) : /* @__PURE__ */ m.jsx(s$1, { className: \"text-on-white\", size: 24 }) })\n    )),\n    s$22 ? /* @__PURE__ */ m.jsx(S, { rank: d }) : null\n  ] });\n  return n2 ? /* @__PURE__ */ m.jsx(\"a\", { href: n2, target: h, onClick: l, children: u }) : /* @__PURE__ */ m.jsx(\"div\", { onClick: l, children: u });\n}, S = ({ rank: o }) => /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute top-0 left-0 inline-flex h-24 w-24 items-center justify-center rounded-0 bg-on-black\", children: /* @__PURE__ */ m.jsx(\"div\", { className: \"text-s-medium text-on-white\", children: o }) }), $ = ({ badges: o }) => {\n  if (!o)\n    return null;\n  const r = n(o);\n  return /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute bottom-10 left-10 space-x-2\", children: r.map((i) => {\n    const m$1 = s$2(i.iconId);\n    return /* @__PURE__ */ m.jsx(\n      O$1,\n      {\n        size: \"large\",\n        priority: \"primary\",\n        name: i.text,\n        className: \"flex items-center gap-2\",\n        children: m$1 ? /* @__PURE__ */ m.jsx(m$1, { size: 12 }) : null\n      },\n      `${i.text}-${i.iconId || \"no-icon\"}`\n    );\n  }) });\n};\nexport {\n  Zm as Preview,\n  O as image,\n  P as previewRatio\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nconst e = g({\n  variants: {\n    size: {\n      small: \"mb-20 space-y-12\",\n      medium: \"mb-40 space-y-12\"\n    }\n  },\n  defaultVariants: {\n    size: \"small\"\n  }\n});\nexport {\n  e as productCard\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { forwardRef } from \"react\";\nimport { Preview as Zm } from \"./CardPreview.js\";\nimport { productCard as e } from \"./ProductCard.style.js\";\nimport sp from \"./ProductCardInfo.js\";\nconst N = forwardRef(\n  ({\n    imgUrl: d,\n    onHeart: i,\n    onHeartClick: u,\n    onClick: t,\n    size: e$1,\n    extraBadge: p,\n    className: c,\n    renderImage: n,\n    target: m$1 = \"_self\",\n    hasPadding: r,\n    isRounded: s,\n    rank: x,\n    ratio: j,\n    ...f\n  }, l) => /* @__PURE__ */ m.jsxs(\"div\", { className: e({ size: e$1, className: c }), ref: l, role: \"button\", children: [\n    /* @__PURE__ */ m.jsx(\n      Zm,\n      {\n        imgUrl: d,\n        onHeart: i,\n        onClick: t,\n        onHeartClick: u,\n        extraBadge: p,\n        renderImage: n,\n        target: m$1,\n        isRounded: s ?? !r,\n        isRoundedOnDesktop: s === void 0 && !!r,\n        rank: x,\n        ratio: j,\n        ...f\n      }\n    ),\n    /* @__PURE__ */ m.jsx(sp, { onClick: t, size: e$1, target: m$1, hasPadding: r, ...f })\n  ] })\n);\nexport {\n  N as ProductCard\n};\n","import { isWebview } from \"./device.js\";\nconst sendAppSchemeMessage = (key, message) => {\n  var _a;\n  if (!isWebview()) {\n    return;\n  }\n  let url = \"app29cm://webappif/\";\n  if (key) {\n    url += key;\n  }\n  if (message) {\n    url += `?${message}`;\n  }\n  let iframe = document.createElement(\"iframe\");\n  iframe.setAttribute(\"src\", url);\n  document.documentElement.appendChild(iframe);\n  (_a = iframe.parentNode) == null ? void 0 : _a.removeChild(iframe);\n  iframe = null;\n};\nexport {\n  sendAppSchemeMessage\n};\n","import { redirectLogin } from \"../utils/redirectLogin.js\";\nimport { alertDialog } from \"../containers/AlertDialogContainer/AlertDialogContainer.js\";\nconst useRedirectLoginDialog = () => {\n  const showRedirectLoginDialog = (content) => alertDialog.show({\n    title: content ?? \"로그인이 필요합니다. 로그인 하시겠습니까?\",\n    description: \"\",\n    primaryAction: {\n      label: \"확인\",\n      onClick: () => {\n        redirectLogin();\n      }\n    },\n    secondaryAction: {\n      label: \"취소\"\n    }\n  });\n  return {\n    showRedirectLoginDialog\n  };\n};\nexport {\n  useRedirectLoginDialog\n};\n","import { postMessage } from \"../utils/postMessage.js\";\nimport { getImageUrl } from \"../utils/image/getImageUrl.js\";\nconst REQUEST_TYPE = \"showSelectionEntryPoint\";\nconst useShowSelectionEntryPoint = () => {\n  const showSelectionEntryPoint = ({\n    productId,\n    imageUrl,\n    toastTheme = \"dark\",\n    currentScreen = \"view_component_content\"\n  }) => {\n    postMessage(REQUEST_TYPE, {\n      productImageURL: getImageUrl(imageUrl),\n      productID: productId,\n      toastTheme,\n      currentScreen\n    });\n  };\n  return {\n    showSelectionEntryPoint\n  };\n};\nexport {\n  useShowSelectionEntryPoint\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nvar HeartType = /* @__PURE__ */ ((HeartType2) => {\n  HeartType2[\"FILL\"] = \"fill\";\n  HeartType2[\"OUTLINE_SHADOW\"] = \"outlineShadow\";\n  HeartType2[\"OUTLINE_NONE_SHADOW\"] = \"outlineNoneShadow\";\n  return HeartType2;\n})(HeartType || {});\nconst HeartIcon = ({\n  type,\n  size = 24,\n  color = \"#fff\",\n  ...rest\n}) => {\n  if (type === \"fill\") {\n    return /* @__PURE__ */ jsx(\"svg\", { width: size, height: size, viewBox: \"0 0 24 24\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ...rest, children: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.0001 6.41677C11.1926 4.696 9.48906 3.5 7.5 3.5C4.72132 3.5 2.5 5.83496 2.5 8.672C2.5 9.79894 2.96136 10.8146 3.39443 11.5251C3.61364 11.8847 3.83255 12.1775 3.99731 12.3812C4.07986 12.4832 4.14931 12.5635 4.19906 12.6193C4.22395 12.6472 4.24396 12.669 4.25826 12.6844L4.27534 12.7025L4.2805 12.708L4.28219 12.7097L12 20.7207L19.7169 12.7106L19.7178 12.7097L19.7195 12.708L19.7246 12.7026L19.7417 12.6844C19.756 12.669 19.776 12.6472 19.8009 12.6193C19.8507 12.5635 19.9201 12.4832 20.0027 12.3812C20.1674 12.1775 20.3864 11.8847 20.6056 11.5251C21.0386 10.8146 21.5 9.79895 21.5 8.672C21.5 5.83395 19.2786 3.5 16.5 3.5C14.5111 3.5 12.8077 4.69631 12.0001 6.41677Z\", fill: color }) }) });\n  }\n  if (type === \"outlineNoneShadow\") {\n    return /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: size, height: size, viewBox: \"0 0 21 21\", ...rest, children: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.74992 4.25008C4.9239 4.25008 3.41659 5.79291 3.41659 7.72675C3.41659 8.44802 3.71659 9.1397 4.04017 9.67057C4.19973 9.93234 4.35954 10.1461 4.47892 10.2936C4.53846 10.3673 4.58754 10.4239 4.62094 10.4614C4.63763 10.4801 4.65037 10.4939 4.65851 10.5027L4.66716 10.5119L4.66839 10.5132L10.4999 16.5662L16.3309 10.5137L16.3327 10.5119L16.3413 10.5027C16.3495 10.4939 16.3622 10.4801 16.3789 10.4614C16.4123 10.4239 16.4614 10.3673 16.5209 10.2936C16.6403 10.1461 16.8001 9.93234 16.9597 9.67057C17.2832 9.1397 17.5833 8.44802 17.5833 7.72675C17.5833 5.79218 16.076 4.25008 14.2499 4.25008C12.4239 4.25008 10.9166 5.79291 10.9166 7.72675H10.0833C10.0833 5.79218 8.57599 4.25008 6.74992 4.25008ZM10.5 5.84739C9.82707 4.41342 8.40747 3.41675 6.74992 3.41675C4.43435 3.41675 2.58325 5.36254 2.58325 7.72675C2.58325 8.66587 2.96772 9.51223 3.32861 10.1043C3.51128 10.404 3.69371 10.648 3.83101 10.8177C3.8998 10.9028 3.95767 10.9697 3.99914 11.0162C4.01988 11.0394 4.03655 11.0576 4.04847 11.0704L4.0627 11.0855L4.067 11.09L4.06841 11.0915L10.4999 17.7673L16.9307 11.0923L16.9314 11.0915L16.9328 11.09L16.9371 11.0855L16.9514 11.0704C16.9633 11.0576 16.9799 11.0394 17.0007 11.0162C17.0421 10.9697 17.1 10.9028 17.1688 10.8177C17.3061 10.648 17.4885 10.404 17.6712 10.1043C18.0321 9.51223 18.4166 8.66587 18.4166 7.72675C18.4166 5.3617 16.5654 3.41675 14.2499 3.41675C12.5925 3.41675 11.173 4.41368 10.5 5.84739Z\", fill: color }) });\n  }\n  return /* @__PURE__ */ jsxs(\"svg\", { width: size, height: size, viewBox: \"0 0 24 24\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ...rest, children: [\n    /* @__PURE__ */ jsx(\"g\", { filter: \"url(#a)\", children: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.5 4.8c-2.015 0-3.7 1.706-3.7 3.872 0 .787.33 1.561.704 2.176a6.68 6.68 0 0 0 .706.95l.008.01h.001L12 18.848l6.78-7.038.002-.001.008-.01.04-.044a6.688 6.688 0 0 0 .665-.905c.375-.616.705-1.39.705-2.177 0-2.166-1.685-3.872-3.7-3.872s-3.7 1.706-3.7 3.872h-1.6C11.2 6.506 9.515 4.8 7.5 4.8Zm4.5.982C11.07 4.238 9.412 3.2 7.5 3.2c-2.955 0-5.3 2.48-5.3 5.472 0 1.205.492 2.277.938 3.01a8.271 8.271 0 0 0 .837 1.137l.064.07.019.02.006.006.002.003L12 21.153l7.933-8.234v-.001l.003-.002.006-.007.02-.02.063-.07a8.28 8.28 0 0 0 .837-1.138c.446-.732.938-1.804.938-3.009 0-2.993-2.345-5.472-5.3-5.472-1.912 0-3.569 1.038-4.5 2.582Z\", fill: color }) }),\n    /* @__PURE__ */ jsx(\"defs\", { children: /* @__PURE__ */ jsxs(\"filter\", { id: \"a\", x: \".2\", y: \"1.2\", width: \"23.6\", height: \"21.953\", filterUnits: \"userSpaceOnUse\", colorInterpolationFilters: \"sRGB\", children: [\n      /* @__PURE__ */ jsx(\"feFlood\", { floodOpacity: \"0\", result: \"BackgroundImageFix\" }),\n      /* @__PURE__ */ jsx(\"feColorMatrix\", { in: \"SourceAlpha\", values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\", result: \"hardAlpha\" }),\n      /* @__PURE__ */ jsx(\"feOffset\", {}),\n      /* @__PURE__ */ jsx(\"feGaussianBlur\", { stdDeviation: \"1\" }),\n      /* @__PURE__ */ jsx(\"feComposite\", { in2: \"hardAlpha\", operator: \"out\" }),\n      /* @__PURE__ */ jsx(\"feColorMatrix\", { values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.28 0\" }),\n      /* @__PURE__ */ jsx(\"feBlend\", { in2: \"BackgroundImageFix\", result: \"effect1_dropShadow_8463_207\" }),\n      /* @__PURE__ */ jsx(\"feBlend\", { in: \"SourceGraphic\", in2: \"effect1_dropShadow_8463_207\", result: \"shape\" })\n    ] }) })\n  ] });\n};\nexport {\n  HeartIcon,\n  HeartType\n};\n","import { toDate } from \"./toDate.js\";\nfunction isPast(date) {\n  return +toDate(date) < Date.now();\n}\nexport {\n  isPast as default,\n  isPast\n};\n","import { HeartType } from \"./HeartIcon.js\";\nimport { ProductCardType } from \"./ProductCard.types.js\";\nimport { entries } from \"../../../utils/entries.js\";\nimport { isPast } from \"../../../node_modules/date-fns/isPast.js\";\nimport { parseISO } from \"../../../node_modules/date-fns/parseISO.js\";\nconst getHeartIconType = (isHeartOn, type) => {\n  if (isHeartOn === \"ON\") {\n    return HeartType.FILL;\n  }\n  if (type === ProductCardType.CARD || type === ProductCardType.CARD_DETAILED) {\n    return HeartType.OUTLINE_SHADOW;\n  }\n  return HeartType.OUTLINE_NONE_SHADOW;\n};\nconst getHeartIconColor = (isHeartOn, type) => {\n  if (isHeartOn === \"ON\") {\n    return \"#ff4801\";\n  }\n  if (type === ProductCardType.CARD || type === ProductCardType.CARD_DETAILED) {\n    return \"#fff\";\n  }\n  return \"#474747\";\n};\nconst getProductBadges = (product, type) => {\n  const {\n    isCoupon,\n    isFreeShipping,\n    isNew,\n    isSoldOut\n  } = product;\n  const badges = entries({\n    isCoupon,\n    isFreeShipping,\n    isNew,\n    isSoldOut\n  }).filter(([, condition]) => condition);\n  if (type === ProductCardType.BAR && badges.map(([value]) => value).includes(\"isSoldOut\")) {\n    return [[\"isSoldOut\", true]];\n  }\n  return badges;\n};\nconst getRulerProductBadges = (product, type) => {\n  const baseBadges = getProductBadges(product, type);\n  const badgeValue = {\n    isCoupon: {\n      name: \"쿠폰\",\n      type: \"secondary\"\n    },\n    isFreeShipping: {\n      name: \"무료배송\",\n      type: \"secondary\"\n    },\n    isNew: {\n      name: \"신상품\",\n      type: \"secondary\"\n    },\n    isSoldOut: {\n      name: \"일시품절\",\n      type: \"tertiary\"\n    }\n  };\n  return baseBadges.map(([value]) => ({\n    name: badgeValue[value].name,\n    priority: badgeValue[value].type\n  }));\n};\nconst isPreuserRecruitEnded = (recruitEndAt) => {\n  if (!recruitEndAt) {\n    return true;\n  }\n  const endDate = parseISO(recruitEndAt);\n  return isPast(endDate);\n};\nexport {\n  getHeartIconColor,\n  getHeartIconType,\n  getProductBadges,\n  getRulerProductBadges,\n  isPreuserRecruitEnded\n};\n","const createProductEventProperties = (product) => ({\n  brand_name: product.frontBrand.nameKor,\n  brand_no: String(product.frontBrand.frontBrandId),\n  item_name: product.productName,\n  item_no: String(product.productId),\n  like_count: String(product.heartCount),\n  price: product.lastSalePrice,\n  sold_out: product.isSoldOut,\n  discount_rate: product.lastSalePercent\n});\nexport {\n  createProductEventProperties\n};\n","function head(array) {\n  return array && array.length ? array[0] : void 0;\n}\nexport {\n  head as default\n};\n","import { getRoundingMethod } from \"./_lib/getRoundingMethod.js\";\nimport { millisecondsInHour } from \"./constants.js\";\nimport { differenceInMilliseconds } from \"./differenceInMilliseconds.js\";\nfunction differenceInHours(dateLeft, dateRight, options) {\n  const diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInHour;\n  return getRoundingMethod(options == null ? void 0 : options.roundingMethod)(diff);\n}\nexport {\n  differenceInHours as default,\n  differenceInHours\n};\n","import { isPreuserRecruitEnded } from \"../../components/@shared/ProductCard/ProductCard.utils.js\";\nimport { useAnalytics } from \"../analytics/useAnalytics.js\";\nimport { useTrackSnowplowEvent } from \"../snowplow/useTrackSnowplowEvent.js\";\nimport { createContentEventProperties } from \"../../utils/event-properties/content.js\";\nimport { createProductEventProperties } from \"../../utils/event-properties/product.js\";\nimport head from \"../../node_modules/lodash-es/head.js\";\nimport { differenceInHours } from \"../../node_modules/date-fns/differenceInHours.js\";\nconst useTrackClickProduct = ({\n  product,\n  isProductGroup,\n  componentName,\n  positionNo,\n  maxPositionNo,\n  tagValue\n}) => {\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const trackClickProduct = (extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      ...createProductEventProperties(product),\n      is_product_group: isProductGroup.toString(),\n      component: componentName,\n      position_no: positionNo ? `${positionNo}` : void 0,\n      max_position_no: maxPositionNo ? `${maxPositionNo}` : void 0,\n      ...extra\n    };\n    const snowplowProperties = createSnowplowProductEventProperties(product, componentName, positionNo ?? 1);\n    trackSnowplowEvent(\"click_item\", {\n      ...snowplowProperties,\n      item_position: positionNo ?? 1,\n      tag_value: tagValue\n    });\n    trackFirebase(\"click_item_content\", properties);\n    trackAmplitude(\"click_item\", properties);\n  };\n  const trackClickPreuserProduct = () => {\n    trackSnowplowEvent(\"click_content\", {\n      ...createSnowplowPreuserEventProperties(product, componentName, positionNo ?? 1),\n      position: -1\n    });\n  };\n  return {\n    trackClickProduct,\n    trackClickPreuserProduct\n  };\n};\nconst useTrackViewProduct = ({\n  product,\n  isProductGroup,\n  componentName,\n  positionNo,\n  maxPositionNo\n}) => {\n  const {\n    trackFirebase\n  } = useAnalytics();\n  const trackViewProduct = (extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      ...createProductEventProperties(product),\n      is_product_group: isProductGroup.toString(),\n      component: componentName,\n      position_no: positionNo ? `${positionNo}` : void 0,\n      max_position_no: maxPositionNo ? `${maxPositionNo}` : void 0,\n      ...extra\n    };\n    trackFirebase(\"view_item_content\", properties);\n  };\n  return {\n    trackViewProduct\n  };\n};\nconst useTrackImpProduct = ({\n  product,\n  isProductGroup,\n  componentName,\n  positionNo,\n  maxPositionNo,\n  tagValue\n}) => {\n  const {\n    trackFirebase\n  } = useAnalytics();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const trackImpProduct = (extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      ...createProductEventProperties(product),\n      is_product_group: isProductGroup.toString(),\n      component: componentName,\n      position_no: positionNo ? `${positionNo}` : void 0,\n      max_position_no: maxPositionNo ? `${maxPositionNo}` : void 0,\n      ...extra\n    };\n    const snowplowProperties = createSnowplowProductEventProperties(product, componentName, positionNo ?? 1);\n    trackSnowplowEvent(\"impression_item\", {\n      ...snowplowProperties,\n      item_position: positionNo ?? 1,\n      tag_value: tagValue\n    });\n    trackFirebase(\"imp_item_content\", properties);\n  };\n  const trackImpPreuserProduct = () => {\n    trackSnowplowEvent(\"impression_content\", {\n      ...createSnowplowPreuserEventProperties(product, componentName, positionNo ?? 1),\n      position: -1\n    });\n  };\n  return {\n    trackImpProduct,\n    trackImpPreuserProduct\n  };\n};\nconst useTrackClickProductHeart = () => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const trackClickProductHeartOn = (product, extra = {}) => {\n    const properties = {\n      ...createProductEventProperties(product),\n      ...extra\n    };\n    trackSnowplowEvent(\"like_item\", createSnowplowLikeEventProperties(product));\n    trackAmplitude(\"like_item\", properties);\n    trackFirebase(\"like_item\", properties);\n  };\n  const trackClickProductHeartOff = (product, extra = {}) => {\n    const properties = {\n      item_no: product.productId,\n      ...extra\n    };\n    trackSnowplowEvent(\"unlike_item\", createSnowplowLikeEventProperties(product));\n    trackAmplitude(\"unlike_item\", properties);\n    trackFirebase(\"unlike_item\", properties);\n  };\n  return {\n    trackClickProductHeartOn,\n    trackClickProductHeartOff\n  };\n};\nconst createSnowplowProductEventProperties = (product, componentName, positionNo) => {\n  const category = head(product.frontCategories);\n  return {\n    section_name: componentName,\n    section_title: componentName,\n    is_soldout: product.isSoldOut,\n    discount_rate: product.lastSalePercent,\n    price: product.lastSalePrice,\n    item_position: positionNo,\n    brand_no: product.frontBrand.frontBrandId,\n    brand_name: product.frontBrand.nameKor,\n    item_no: product.productId,\n    item_name: product.productName,\n    large_category_no: category == null ? void 0 : category.largeCategoryCode,\n    large_category_name: category == null ? void 0 : category.largeCategoryName,\n    middle_category_no: category == null ? void 0 : category.mediumCategoryCode,\n    middle_category_name: category == null ? void 0 : category.mediumCategoryName,\n    small_category_no: category == null ? void 0 : category.smallCategoryCode,\n    small_category_name: category == null ? void 0 : category.smallCategoryName\n  };\n};\nconst createSnowplowLikeEventProperties = (product) => ({\n  item_no: product.productId,\n  item_name: product.productName,\n  brand_no: product.frontBrand.frontBrandId,\n  brand_name: product.frontBrand.nameKor,\n  price: product.lastSalePrice,\n  is_soldout: product.isSoldOut\n});\nconst createSnowplowPreuserEventProperties = (product, componentName, positionNo) => {\n  const remainingHours = differenceInHours(new Date(product.recruitEndAt ?? \"\"), /* @__PURE__ */ new Date());\n  return {\n    section_name: componentName,\n    section_title: componentName,\n    layout_id: product.preuserEventKey,\n    item_no: product.productId,\n    item_name: product.productName,\n    brand_no: product.frontBrand.frontBrandId,\n    brand_name: product.frontBrand.nameKor,\n    layout_position: positionNo,\n    is_open: !isPreuserRecruitEnded(product.recruitEndAt),\n    remaining_hours: remainingHours < 0 ? null : remainingHours\n  };\n};\nexport {\n  useTrackClickProduct,\n  useTrackClickProductHeart,\n  useTrackImpProduct,\n  useTrackViewProduct\n};\n","import { useState } from \"react\";\nimport { productApi } from \"../../apis/product/ProductApiService.js\";\nimport { sendAppSchemeMessage } from \"../../utils/sendAppSchemeMessage.js\";\nimport \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../useCurrentUser.js\";\nimport \"framer\";\nimport \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../apis/framer/FramerApiService.js\";\nimport \"../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../config/index.js\";\nimport \"../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../apis/user/UserApiService.js\";\nimport \"../../apis/preuser/PreuserApiService.js\";\nimport \"../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../node_modules/swr/mutation/dist/index.js\";\nimport { GENERAL_ERROR } from \"../../constants/error.js\";\nimport \"../stores/content/content.store.js\";\nimport \"../stores/dialog/dialog.store.js\";\nimport \"../stores/global-layout/global-layout.store.js\";\nimport \"../stores/toast/toast.store.js\";\nimport \"../../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../components/systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../useFeatureFlag.js\";\nimport { useRedirectLoginDialog } from \"../useRedirectLoginDialog.js\";\nimport { useShowSelectionEntryPoint } from \"../useShowSelectionEntryPoint.js\";\nimport \"../../utils/event-properties/source.js\";\nimport { useTrackClickProductHeart } from \"./useEvent.js\";\nimport { alertDialog } from \"../../containers/AlertDialogContainer/AlertDialogContainer.js\";\nconst useProductHeart = (product, isHeartOn, onHeartOn, onHeartOff, extraEventTrackingProperties = {}) => {\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    showRedirectLoginDialog\n  } = useRedirectLoginDialog();\n  const {\n    showSelectionEntryPoint\n  } = useShowSelectionEntryPoint();\n  const {\n    trackClickProductHeartOn,\n    trackClickProductHeartOff\n  } = useTrackClickProductHeart();\n  const [heartCount, setHeartCount] = useState(product.heartCount);\n  const handleLikeOn = () => {\n    onHeartOn(product.productId);\n    setHeartCount((prev) => prev + 1);\n    trackClickProductHeartOn(product, extraEventTrackingProperties);\n    showSelectionEntryPoint(product);\n    sendAppSchemeMessage(\"heart/set\", `type=product&item_no=${product.productId}&set=1`);\n  };\n  const handleLikeOff = () => {\n    onHeartOff(product.productId);\n    setHeartCount((prev) => prev - 1);\n    trackClickProductHeartOff(product, extraEventTrackingProperties);\n    sendAppSchemeMessage(\"heart/set\", `type=product&item_no=${product.productId}&set=0`);\n  };\n  const handleToggleLike = async () => {\n    if (!logged) {\n      showRedirectLoginDialog();\n      return;\n    }\n    const isPrevHeartOff = isHeartOn === \"OFF\";\n    const action = isPrevHeartOff ? \"set\" : \"unset\";\n    try {\n      await productApi.toggleHeart(product.productId, action).catch((err) => {\n        alertDialog.show({\n          title: GENERAL_ERROR,\n          description: \"\",\n          primaryAction: {\n            label: \"확인\"\n          }\n        });\n        throw err;\n      });\n      if (isPrevHeartOff) {\n        handleLikeOn();\n      } else {\n        handleLikeOff();\n      }\n    } catch (err) {\n      console.error(err);\n    }\n  };\n  return {\n    heartCount,\n    handleToggleLike\n  };\n};\nexport {\n  useProductHeart\n};\n","var Scene = /* @__PURE__ */ ((Scene2) => {\n  Scene2[\"MAIN\"] = \"MAIN\";\n  Scene2[\"BOTTOM_SHEET\"] = \"BOTTOM_SHEET\";\n  return Scene2;\n})(Scene || {});\nexport {\n  Scene\n};\n","import { create } from \"../../../node_modules/zustand/esm/index.js\";\nimport { Scene } from \"./global-scene-stack.types.js\";\nconst initialState = {\n  sceneStack: [Scene.MAIN]\n};\nconst useGlobalSceneStackStore = create((set) => ({\n  ...initialState,\n  dispatchPushSceneStack: (scene) => set(({\n    sceneStack\n  }) => ({\n    sceneStack: [...sceneStack, scene]\n  })),\n  dispatchPopSceneStack: () => set(({\n    sceneStack\n  }) => {\n    const copied = [...sceneStack];\n    copied.pop();\n    return {\n      sceneStack: copied\n    };\n  })\n}));\nexport {\n  useGlobalSceneStackStore\n};\n","function _toConsumableArray(arr) {\n  if (Array.isArray(arr)) {\n    for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n      arr2[i] = arr[i];\n    }\n    return arr2;\n  } else {\n    return Array.from(arr);\n  }\n}\nvar hasPassiveEvents = false;\nif (typeof window !== \"undefined\") {\n  var passiveTestOptions = {\n    get passive() {\n      hasPassiveEvents = true;\n      return void 0;\n    }\n  };\n  window.addEventListener(\"testPassive\", null, passiveTestOptions);\n  window.removeEventListener(\"testPassive\", null, passiveTestOptions);\n}\nvar isIosDevice = typeof window !== \"undefined\" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === \"MacIntel\" && window.navigator.maxTouchPoints > 1);\nvar locks = [];\nvar documentListenerAdded = false;\nvar initialClientY = -1;\nvar previousBodyOverflowSetting = void 0;\nvar previousBodyPaddingRight = void 0;\nvar allowTouchMove = function allowTouchMove2(el) {\n  return locks.some(function(lock) {\n    if (lock.options.allowTouchMove && lock.options.allowTouchMove(el)) {\n      return true;\n    }\n    return false;\n  });\n};\nvar preventDefault = function preventDefault2(rawEvent) {\n  var e = rawEvent || window.event;\n  if (allowTouchMove(e.target)) {\n    return true;\n  }\n  if (e.touches.length > 1)\n    return true;\n  if (e.preventDefault)\n    e.preventDefault();\n  return false;\n};\nvar setOverflowHidden = function setOverflowHidden2(options) {\n  if (previousBodyPaddingRight === void 0) {\n    var _reserveScrollBarGap = !!options && options.reserveScrollBarGap === true;\n    var scrollBarGap = window.innerWidth - document.documentElement.clientWidth;\n    if (_reserveScrollBarGap && scrollBarGap > 0) {\n      previousBodyPaddingRight = document.body.style.paddingRight;\n      document.body.style.paddingRight = scrollBarGap + \"px\";\n    }\n  }\n  if (previousBodyOverflowSetting === void 0) {\n    previousBodyOverflowSetting = document.body.style.overflow;\n    document.body.style.overflow = \"hidden\";\n  }\n};\nvar restoreOverflowSetting = function restoreOverflowSetting2() {\n  if (previousBodyPaddingRight !== void 0) {\n    document.body.style.paddingRight = previousBodyPaddingRight;\n    previousBodyPaddingRight = void 0;\n  }\n  if (previousBodyOverflowSetting !== void 0) {\n    document.body.style.overflow = previousBodyOverflowSetting;\n    previousBodyOverflowSetting = void 0;\n  }\n};\nvar isTargetElementTotallyScrolled = function isTargetElementTotallyScrolled2(targetElement) {\n  return targetElement ? targetElement.scrollHeight - targetElement.scrollTop <= targetElement.clientHeight : false;\n};\nvar handleScroll = function handleScroll2(event, targetElement) {\n  var clientY = event.targetTouches[0].clientY - initialClientY;\n  if (allowTouchMove(event.target)) {\n    return false;\n  }\n  if (targetElement && targetElement.scrollTop === 0 && clientY > 0) {\n    return preventDefault(event);\n  }\n  if (isTargetElementTotallyScrolled(targetElement) && clientY < 0) {\n    return preventDefault(event);\n  }\n  event.stopPropagation();\n  return true;\n};\nvar disableBodyScroll = function disableBodyScroll2(targetElement, options) {\n  if (!targetElement) {\n    console.error(\"disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.\");\n    return;\n  }\n  if (locks.some(function(lock2) {\n    return lock2.targetElement === targetElement;\n  })) {\n    return;\n  }\n  var lock = {\n    targetElement,\n    options: options || {}\n  };\n  locks = [].concat(_toConsumableArray(locks), [lock]);\n  if (isIosDevice) {\n    targetElement.ontouchstart = function(event) {\n      if (event.targetTouches.length === 1) {\n        initialClientY = event.targetTouches[0].clientY;\n      }\n    };\n    targetElement.ontouchmove = function(event) {\n      if (event.targetTouches.length === 1) {\n        handleScroll(event, targetElement);\n      }\n    };\n    if (!documentListenerAdded) {\n      document.addEventListener(\"touchmove\", preventDefault, hasPassiveEvents ? { passive: false } : void 0);\n      documentListenerAdded = true;\n    }\n  } else {\n    setOverflowHidden(options);\n  }\n};\nvar enableBodyScroll = function enableBodyScroll2(targetElement) {\n  if (!targetElement) {\n    console.error(\"enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.\");\n    return;\n  }\n  locks = locks.filter(function(lock) {\n    return lock.targetElement !== targetElement;\n  });\n  if (isIosDevice) {\n    targetElement.ontouchstart = null;\n    targetElement.ontouchmove = null;\n    if (documentListenerAdded && locks.length === 0) {\n      document.removeEventListener(\"touchmove\", preventDefault, hasPassiveEvents ? { passive: false } : void 0);\n      documentListenerAdded = false;\n    }\n  } else if (!locks.length) {\n    restoreOverflowSetting();\n  }\n};\nexport {\n  disableBodyScroll,\n  enableBodyScroll\n};\n","import { disableBodyScroll, enableBodyScroll } from \"../node_modules/body-scroll-lock/lib/bodyScrollLock.esm.js\";\nimport { useIsomorphicLayoutEffect } from \"framer-motion\";\nfunction useBodyScrollLock(isLocked, targetElementRef) {\n  useIsomorphicLayoutEffect(() => {\n    const targetElement = targetElementRef.current;\n    if (isLocked && targetElement !== null) {\n      disableBodyScroll(targetElement);\n      return () => enableBodyScroll(targetElement);\n    }\n  }, [isLocked, targetElementRef]);\n}\nexport {\n  useBodyScrollLock\n};\n","import { useEffect } from \"react\";\nimport { useGlobalSceneStackStore } from \"./stores/global-scene-stack/global-scene-stack.store.js\";\nimport { shallow as shallow$1 } from \"../node_modules/zustand/esm/shallow.js\";\nconst useGlobalSceneStack = (isOpen, scene) => {\n  const [dispatchPushSceneStack, dispatchPopSceneStack] = useGlobalSceneStackStore((state) => [state.dispatchPushSceneStack, state.dispatchPopSceneStack], shallow$1);\n  useEffect(() => {\n    if (isOpen) {\n      dispatchPushSceneStack(scene);\n      return () => dispatchPopSceneStack();\n    }\n  }, [isOpen, scene, dispatchPushSceneStack, dispatchPopSceneStack]);\n};\nexport {\n  useGlobalSceneStack\n};\n","import { useMemo } from \"react\";\nimport { getAppBuildNumber, isIos, isAndroid } from \"../utils/device.js\";\nconst useTargetAppVersion = ({\n  minIosVersion,\n  minAndroidVersion,\n  maxIosVersion,\n  maxAndroidVersion\n}) => {\n  const isTargetAppVersion = useMemo(() => {\n    const buildNumber = getAppBuildNumber();\n    const isAdhocVersion = isIos() && Number.isNaN(buildNumber);\n    if (isAdhocVersion) {\n      return true;\n    }\n    if (isIos()) {\n      const canCheckIosVersion = minIosVersion || maxIosVersion;\n      const min = minIosVersion ?? -1;\n      const max = maxIosVersion ?? Infinity;\n      const isTargetIosVersion = buildNumber >= min && buildNumber <= max;\n      return canCheckIosVersion ? isTargetIosVersion : false;\n    }\n    if (isAndroid()) {\n      const canCheckAndroidVersion = minAndroidVersion || maxAndroidVersion;\n      const min = minAndroidVersion ?? -1;\n      const max = maxAndroidVersion ?? Infinity;\n      const isTargetAndroidVersion = buildNumber >= min && buildNumber <= max;\n      return canCheckAndroidVersion ? isTargetAndroidVersion : false;\n    }\n    return false;\n  }, [maxAndroidVersion, maxIosVersion, minAndroidVersion, minIosVersion]);\n  return {\n    isTargetAppVersion\n  };\n};\nexport {\n  useTargetAppVersion\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useDragControls, MotionConfig, motion } from \"framer-motion\";\nimport { useRef } from \"react\";\nimport \"../../../../hooks/stores/global-scene-stack/global-scene-stack.store.js\";\nimport { Scene } from \"../../../../hooks/stores/global-scene-stack/global-scene-stack.types.js\";\nimport { useBodyScrollLock } from \"../../../../hooks/useBodyScrollLock.js\";\nimport { useGlobalSceneStack } from \"../../../../hooks/useGlobalSceneStack.js\";\nimport { useTargetAppVersion } from \"../../../../hooks/useTargetAppVersion.js\";\nimport { getStyle } from \"../../../../styles/getStyle.js\";\nimport \"framer\";\nimport { isTabView } from \"../../../../utils/custom-tab/isTabView.js\";\nconst overlayStyles = {\n  base: {\n    position: \"fixed\",\n    top: 0,\n    left: 0,\n    right: 0,\n    bottom: 0,\n    backgroundColor: \"rgba(0, 0, 0, 0.8)\",\n    zIndex: 999,\n    cursor: \"pointer\"\n  }\n};\nconst contentStyles = (detent) => ({\n  base: {\n    position: \"fixed\",\n    left: 0,\n    right: 0,\n    bottom: 0,\n    height: detent === \"full-height\" ? \"calc(100% - 40px)\" : \"auto\",\n    borderRadius: \"20px 20px 0 0\",\n    boxShadow: \"0px -2px 5px rgba(0, 0, 0, 0.6)\",\n    backgroundColor: \"#ffffff\",\n    overflow: \"hidden\",\n    zIndex: 3100,\n    display: \"flex\",\n    flexDirection: \"column\"\n  }\n});\nconst handlebarContainerStyles = {\n  base: {\n    cursor: \"grab\",\n    position: \"sticky\",\n    top: 0,\n    backgroundColor: \"#ffffff\",\n    zIndex: 100,\n    /* 터치스크린 드래그 제스처 지원 */\n    /* https://www.framer.com/motion/use-drag-controls/#touch-support */\n    touchAction: \"none\",\n    display: \"flex\",\n    alignItems: \"center\",\n    justifyContent: \"center\",\n    height: 24\n  }\n};\nconst handlebarStyles = {\n  base: {\n    backgroundColor: \"#e4e4e4\",\n    width: 40,\n    height: 4,\n    borderRadius: 2\n  }\n};\nconst childrenContainer = {\n  base: {\n    flex: 1,\n    overflow: \"auto\"\n  }\n};\nconst transitionIn = {\n  type: \"spring\",\n  stiffness: 800,\n  damping: 60,\n  mass: 1\n};\nconst transitionOut = {\n  type: \"spring\",\n  stiffness: 1200,\n  damping: 60,\n  mass: 1\n};\nconst BottomSheet = ({\n  isOpen,\n  onClose,\n  children,\n  detent = \"full-height\",\n  draggable = true,\n  closeOnOverlayClick = true\n}) => {\n  const contentRef = useRef(null);\n  const dragControls = useDragControls();\n  useBodyScrollLock(isOpen, contentRef);\n  useGlobalSceneStack(isOpen, Scene.BOTTOM_SHEET);\n  const {\n    isTargetAppVersion\n  } = useTargetAppVersion({\n    minIosVersion: 1417,\n    maxIosVersion: 1426\n  });\n  return /* @__PURE__ */ jsxs(MotionConfig, { transition: isOpen ? transitionIn : transitionOut, children: [\n    /* @__PURE__ */ jsx(motion.div, { style: getStyle(overlayStyles), onClick: closeOnOverlayClick ? () => onClose() : void 0, variants: {\n      open: {\n        opacity: 1,\n        pointerEvents: \"initial\"\n      },\n      close: {\n        opacity: 0,\n        pointerEvents: \"none\"\n      }\n    }, initial: \"close\", animate: isOpen ? \"open\" : \"close\" }),\n    /* @__PURE__ */ jsxs(motion.div, { style: getStyle(contentStyles(detent)), variants: {\n      open: {\n        y: \"0%\"\n      },\n      close: {\n        y: \"105%\"\n      }\n    }, initial: \"close\", animate: isOpen ? \"open\" : \"close\", drag: draggable ? \"y\" : false, dragListener: false, dragControls, dragConstraints: {\n      top: 0\n    }, dragElastic: 0.1, dragSnapToOrigin: true, onDragEnd: (_, info) => {\n      if (info.offset.y > 200) {\n        onClose();\n      }\n    }, children: [\n      /* @__PURE__ */ jsx(\"div\", { style: getStyle(handlebarContainerStyles), onPointerDown: (event) => dragControls.start(event), children: /* @__PURE__ */ jsx(\"div\", { style: getStyle(handlebarStyles) }) }),\n      /* @__PURE__ */ jsxs(\"div\", { ref: contentRef, style: getStyle(childrenContainer), children: [\n        children,\n        isTargetAppVersion && isTabView() && /* @__PURE__ */ jsx(\"div\", { style: {\n          height: 86\n        } })\n      ] })\n    ] })\n  ] });\n};\nexport {\n  BottomSheet\n};\n","import { useState, useEffect } from \"react\";\nimport { isTabView } from \"../utils/custom-tab/isTabView.js\";\nimport { isMobile, isWebview, isIos, isAndroid } from \"../utils/device.js\";\nconst useDeviceInfo = () => {\n  const [isMobile$1, setIsMobile] = useState(false);\n  const [isWebview$1, setIsWebview] = useState(false);\n  const [isIos$1, setIsIos] = useState(false);\n  const [isAndroid$1, setIsAndroid] = useState(false);\n  const [isTabView$1, setIsTabView] = useState(false);\n  useEffect(() => {\n    setIsMobile(isMobile());\n    setIsWebview(isWebview());\n    setIsIos(isIos());\n    setIsAndroid(isAndroid());\n    setIsTabView(isTabView());\n  }, []);\n  return {\n    isMobile: isMobile$1,\n    isWebview: isWebview$1,\n    isIos: isIos$1,\n    isAndroid: isAndroid$1,\n    isTabView: isTabView$1\n  };\n};\nexport {\n  useDeviceInfo\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._childrenContainer_czkfq_1 > div {\\n  width: 100% !important;\\n}\\n\\n.hide-scroll-bar {\\n  -ms-overflow-style: none !important; /* Internet Explorer 10+ */\\n  scrollbar-width: none !important; /* Firefox */\\n}\\n\\n.hide-scroll-bar::-webkit-scrollbar {\\n  display: none !important; /* Safari and Chrome */\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst childrenContainer = \"_childrenContainer_czkfq_1\";\nconst css = {\n  childrenContainer\n};\nexport {\n  childrenContainer,\n  css as default\n};\n","import { createUseStyles } from \"../../../styles/createUseStyle.js\";\nconst createUseStylesForResponsiveSplitView = createUseStyles({\n  [\"split-view\"]: 780,\n  [\"split-view-small\"]: 615,\n  [\"unified-view\"]: 0\n});\nexport {\n  createUseStylesForResponsiveSplitView\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useScroll, useSpring, useTransform, motion } from \"framer-motion\";\nimport { useState, useEffect } from \"react\";\nimport { BottomSheet } from \"../../@shared/bottom-sheets/BottomSheet/BottomSheet.js\";\nimport { useTrackClickComponent } from \"../../canvas/ComponentEventTracker/ComponentEventTracker.hooks.event.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport { useGlobalLayoutStore } from \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useDeviceInfo } from \"../../../hooks/useDeviceInfo.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport { ShareButton } from \"../ShareButton/ShareButton.js\";\nimport css from \"./ResponsiveSplitView.module.css.js\";\nimport { createUseStylesForResponsiveSplitView } from \"./styles.js\";\nimport { Button as Default } from \"../../@shared/Button/Button.js\";\nconst useStyles = createUseStylesForResponsiveSplitView({\n  container: {\n    \"base\": {\n      minHeight: 400,\n      display: \"flex\"\n    },\n    \"unified-view\": {\n      height: \"auto\",\n      maxWidth: 615\n    }\n  },\n  mainContent: {\n    \"split-view\": {\n      width: 540\n    },\n    \"split-view-small\": {\n      flex: 1\n    }\n  },\n  sideContent: {\n    \"base\": {\n      position: \"sticky\",\n      top: 0,\n      backgroundColor: \"#ffffff\",\n      height: \"100vh\",\n      overflow: \"auto\"\n    },\n    \"split-view\": {\n      flex: 1\n    },\n    \"split-view-small\": {\n      width: 240\n    }\n  },\n  progressBarContainer: {\n    \"base\": {\n      position: \"fixed\",\n      top: 0,\n      left: 0,\n      width: \"\",\n      height: 2,\n      zIndex: 20,\n      backgroundColor: \"transparent\"\n    },\n    \"split-view\": {\n      width: 540\n    },\n    \"split-view-small\": {\n      width: \"calc(100% - 240px)\"\n    }\n  },\n  progressBar: {\n    base: {\n      width: \"100%\",\n      height: \"100%\",\n      backgroundColor: \"#FF4800\"\n    }\n  },\n  bottomSheetButtonContainer: {\n    base: {\n      position: \"fixed\",\n      right: \"calc(env(safe-area-inset-right) + 20px)\",\n      bottom: \"calc(env(safe-area-inset-bottom) + 12px)\",\n      left: \"calc(env(safe-area-inset-left) + 20px)\",\n      zIndex: 3e3,\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: 20\n    }\n  },\n  shareButtonContainer: {\n    \"base\": {\n      position: \"fixed\",\n      bottom: 20,\n      zIndex: 3e3,\n      paddingRight: 20\n    },\n    \"split-view\": {\n      right: \"calc(100% - 540px)\"\n    },\n    \"split-view-small\": {\n      right: 240\n    }\n  }\n});\nconst BASE_INSET_BOTTOM = 12;\nconst SAFE_AREA_INSET_BOTTOM = 35;\nconst ResponsiveSplitView = ({\n  style,\n  mainContent,\n  sideContent,\n  isCustomBottomSheetButton,\n  buttonTitle,\n  buttonTheme,\n  customBottomSheetButton,\n  buttonVisibilityThresholdVh\n}) => {\n  const {\n    breakpoint,\n    styles\n  } = useStyles();\n  const [isSideDrawerOpen, setIsSideDrawerOpen] = useState(false);\n  const isSplitView = breakpoint !== \"unified-view\";\n  const {\n    dispatchSetGlobalLayout\n  } = useGlobalLayoutStore();\n  const {\n    isWebview,\n    isTabView,\n    isIos\n  } = useDeviceInfo();\n  const {\n    scrollY,\n    scrollYProgress\n  } = useScroll();\n  const springScrollYProgress = useSpring(scrollYProgress, {\n    bounce: 0\n  });\n  const progressBarX = useTransform(springScrollYProgress, [0, 1], [\"-100%\", \"0%\"]);\n  const [isButtonVisble, setIsButtonVisible] = useState(false);\n  const {\n    trackClickComponent\n  } = useTrackClickComponent();\n  useEffect(() => {\n    scrollY.on(\"change\", (value) => {\n      setIsButtonVisible(value >= ((window == null ? void 0 : window.innerHeight) ?? 900) * buttonVisibilityThresholdVh / 100);\n    });\n  }, [buttonVisibilityThresholdVh, scrollY]);\n  useEffect(() => {\n    dispatchSetGlobalLayout(\"responsive-split-view\");\n    return () => dispatchSetGlobalLayout(\"default\");\n  }, [dispatchSetGlobalLayout]);\n  useEffect(() => {\n    if (breakpoint === \"split-view\" || breakpoint === \"split-view-small\") {\n      document.documentElement.classList.add(\"hide-scroll-bar\");\n      document.body.classList.add(\"hide-scroll-bar\");\n      return () => {\n        document.documentElement.classList.remove(\"hide-scroll-bar\");\n        document.body.classList.remove(\"hide-scroll-bar\");\n      };\n    }\n  }, [breakpoint]);\n  if (isSplitView) {\n    return /* @__PURE__ */ jsxs(\"div\", { style: {\n      ...styles.container,\n      width: style == null ? void 0 : style.width,\n      // NOTE: 반응형으로 다른 높이를 적용하기 위해 height는 코드에서 관리한다\n      height: isCanvas() ? 900 : void 0\n    }, children: [\n      /* @__PURE__ */ jsx(\"div\", { className: css.childrenContainer, style: styles.mainContent, children: mainContent }),\n      /* @__PURE__ */ jsx(\"div\", { className: css.childrenContainer, style: styles.sideContent, children: sideContent }),\n      isCanvas() ? null : /* @__PURE__ */ jsx(\"div\", { style: styles.progressBarContainer, children: /* @__PURE__ */ jsx(motion.div, { style: {\n        ...styles.progressBar,\n        x: progressBarX\n      } }) }),\n      /* @__PURE__ */ jsx(\"div\", { style: styles.shareButtonContainer, children: /* @__PURE__ */ jsx(ShareButton, {}) })\n    ] });\n  }\n  const toggleBottomSheet = () => {\n    trackClickComponent(\"BottomSheetButton\");\n    setIsSideDrawerOpen((isOpen) => !isOpen);\n  };\n  const getBottom = () => {\n    if (isTabView) {\n      return BASE_INSET_BOTTOM;\n    }\n    if (isWebview && isIos) {\n      return SAFE_AREA_INSET_BOTTOM + BASE_INSET_BOTTOM;\n    }\n    return `calc(env(safe-area-inset-bottom) + ${BASE_INSET_BOTTOM}px)`;\n  };\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...styles.container,\n    width: style == null ? void 0 : style.width\n    // NOTE: 반응형으로 다른 높이를 적용하기 위해 height는 코드에서 관리한다\n  }, children: [\n    /* @__PURE__ */ jsx(\"div\", { className: css.childrenContainer, children: mainContent }),\n    /* @__PURE__ */ jsxs(motion.div, { style: {\n      ...styles.bottomSheetButtonContainer,\n      bottom: getBottom()\n    }, initial: {\n      opacity: 0\n    }, animate: {\n      opacity: isButtonVisble ? 1 : 0,\n      pointerEvents: isButtonVisble ? void 0 : \"none\"\n    }, children: [\n      /* @__PURE__ */ jsx(ShareButton, { style: {\n        alignSelf: \"flex-end\"\n      } }),\n      isCustomBottomSheetButton ? /* @__PURE__ */ jsx(\"div\", { className: css.childrenContainer, onClick: toggleBottomSheet, children: customBottomSheetButton }) : /* @__PURE__ */ jsx(motion.div, { onClick: toggleBottomSheet, initial: {\n        boxShadow: \"1px 1px 8px rgba(0, 0, 0, 0.3)\"\n      }, whileHover: {\n        y: -1,\n        boxShadow: \"2px 2px 12px rgba(0, 0, 0, 0.5)\"\n      }, whileTap: {\n        y: 0\n      }, children: /* @__PURE__ */ jsx(Default, { variant: \"primary\", theme: buttonTheme === \"dark\" ? \"light\" : \"dark\", fill: true, size: \"small\", children: buttonTitle }) })\n    ] }),\n    /* @__PURE__ */ jsx(BottomSheet, { isOpen: isSideDrawerOpen, onClose: () => setIsSideDrawerOpen(false), children: /* @__PURE__ */ jsx(\"div\", { className: css.childrenContainer, children: sideContent }) })\n  ] });\n};\naddPropertyControls(ResponsiveSplitView, {\n  mainContent: {\n    title: \"메인 콘텐츠\",\n    type: ControlType.ComponentInstance\n  },\n  sideContent: {\n    title: \"사이드 콘텐츠\",\n    type: ControlType.ComponentInstance\n  },\n  isCustomBottomSheetButton: {\n    title: \"모바일 버튼\",\n    type: ControlType.Enum,\n    displaySegmentedControl: true,\n    options: [false, true],\n    optionTitles: [\"기본\", \"커스텀\"],\n    defaultValue: false\n  },\n  buttonTitle: {\n    title: \"버튼 텍스트\",\n    type: ControlType.String,\n    defaultValue: \"텍스트를 입력해 주세요.\",\n    hidden: (props) => props.isCustomBottomSheetButton === true\n  },\n  buttonTheme: {\n    title: \"버튼 색상\",\n    type: ControlType.Enum,\n    displaySegmentedControl: true,\n    options: [\"dark\", \"light\"],\n    optionTitles: [\"검은색\", \"하얀색\"],\n    defaultValue: \"dark\",\n    hidden: (props) => props.isCustomBottomSheetButton === true\n  },\n  customBottomSheetButton: {\n    title: \"커스텀 버튼 프레임\",\n    type: ControlType.ComponentInstance,\n    hidden: (props) => (props.isCustomBottomSheetButton ?? false) === false\n  },\n  buttonVisibilityThresholdVh: {\n    title: \"버튼 등장 시점\",\n    type: ControlType.Number,\n    displayStepper: true,\n    defaultValue: 300,\n    unit: \"vh\"\n  }\n});\nexport {\n  ResponsiveSplitView\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._childrenContainer_754pp_1 {\\n  display: flex;\\n  align-items: center;\\n  justify-content: center;\\n}\\n\\n/* 아래 스타일들은 유튜브 비디오 컴포넌트의 비율을 커스텀하기 위한 스타일입니다. */\\n\\n._childrenContainer_754pp_1 > div {\\n  position: relative;\\n  width: 100% !important;\\n  height: 0 !important;\\n  padding-bottom: min(90vh, 150%); /* aspect-ratio: 2/3 */\\n}\\n\\n._childrenContainer_754pp_1 article {\\n  position: absolute !important;\\n  top: 0;\\n  left: 0;\\n  width: 100% !important;\\n  height: 100% !important;\\n}\\n\\n._childrenContainer_754pp_1 iframe {\\n  width: 100% !important;\\n  height: 100% !important;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst childrenContainer = \"_childrenContainer_754pp_1\";\nconst css = {\n  childrenContainer\n};\nexport {\n  childrenContainer,\n  css as default\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useRef, useState } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { useEffectOnce } from \"../../../hooks/react/useEffectOnce.js\";\nimport { useBodyScrollLock } from \"../../../hooks/useBodyScrollLock.js\";\nimport { createUseStylesForResponsiveSplitView } from \"../ResponsiveSplitView/styles.js\";\nimport css from \"./ResponsiveSplitViewOverlayButton.module.css.js\";\nconst useStyles = createUseStylesForResponsiveSplitView({\n  overlay: {\n    \"base\": {\n      position: \"fixed\",\n      top: 0,\n      left: 0,\n      backgroundColor: \"rgba(0,0,0,0.8)\",\n      zIndex: 6e3\n    },\n    \"split-view\": {\n      width: 540,\n      height: \"100vh\"\n    },\n    \"split-view-small\": {\n      width: \"calc(100% - 240px)\",\n      height: \"100vh\"\n    },\n    \"unified-view\": {\n      width: \"100vw\",\n      height: \"100vh\"\n    }\n  }\n});\nconst ResponsiveSplitViewOverlayButton = ({\n  style,\n  buttonElement,\n  overlayElement\n}) => {\n  const overlayRef = useRef(null);\n  const {\n    styles\n  } = useStyles();\n  const [isOpen, setIsOpen] = useState(false);\n  const [isRendered, setIsRendered] = useState(false);\n  useEffectOnce(() => setIsRendered(true));\n  useBodyScrollLock(isRendered && isOpen, overlayRef);\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"div\", { style, onClick: () => setIsOpen(true), children: buttonElement }),\n    isRendered && createPortal(isOpen && /* @__PURE__ */ jsx(\"div\", { ref: overlayRef, style: styles.overlay, className: css.childrenContainer, onClick: (event) => {\n      if (event.target === event.currentTarget) {\n        setIsOpen(false);\n      }\n    }, children: overlayElement }), document == null ? void 0 : document.body)\n  ] });\n};\naddPropertyControls(ResponsiveSplitViewOverlayButton, {\n  buttonElement: {\n    title: \"버튼 프레임\",\n    type: ControlType.ComponentInstance\n  },\n  overlayElement: {\n    title: \"오버레이 프레임\",\n    type: ControlType.ComponentInstance\n  }\n});\nexport {\n  ResponsiveSplitViewOverlayButton\n};\n","import { useAnalytics } from \"../../../hooks/analytics/useAnalytics.js\";\nimport { useContentStore } from \"../../../hooks/stores/content/content.store.js\";\nconst useTrackClickTabBarContentEvent = () => {\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const trackClickTabBarContentEvent = (position, item) => {\n    const {\n      summary\n    } = useContentStore.getState();\n    const {\n      contentId,\n      series\n    } = summary;\n    const properties = {\n      tab_title: item.label,\n      position,\n      content_type: series,\n      format_type: \"FRAMER\",\n      content_no: contentId\n    };\n    trackAmplitude(\"click_tabbar_content\", properties);\n    trackFirebase(\"click_tabbar_content\", properties);\n  };\n  return {\n    trackClickTabBarContentEvent\n  };\n};\nexport {\n  useTrackClickTabBarContentEvent\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext, useContext, useState, useMemo } from \"react\";\nconst TabBarContext = createContext({});\nconst TabBarContextProvider = ({\n  selectedIndex,\n  onSelectedIndexChange,\n  children\n}) => {\n  return /* @__PURE__ */ jsx(TabBarContext.Provider, { value: {\n    selectedIndex,\n    onSelectedIndexChange\n  }, children });\n};\nconst useTabBarContext = () => {\n  const context = useContext(TabBarContext);\n  const [selectedIndex, setSelectedIndex] = useState(0);\n  const state = useMemo(() => {\n    return {\n      selectedIndex: context.selectedIndex ?? selectedIndex,\n      onSelectedIndexChange: context.onSelectedIndexChange ?? setSelectedIndex\n    };\n  }, [context.onSelectedIndexChange, context.selectedIndex, selectedIndex]);\n  return state;\n};\nexport {\n  TabBarContext,\n  TabBarContextProvider,\n  useTabBarContext\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { motion } from \"framer-motion\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport \"react\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBarItem, {\n  container: css`\n    & {\n      position: relative;\n      flex: 1 0 auto;\n      text-decoration: none;\n    }\n  `,\n  label: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      padding: 0 12px;\n\n      height: 100%;\n      transition: color 250ms ease-in-out;\n    }\n  `,\n  indicator: css`\n    & {\n      position: absolute;\n      left: 0;\n      right: 0;\n      bottom: 0;\n      height: 2px;\n      background-color: white;\n    }\n  `\n});\nconst TabBarItem = withStyle(({\n  id,\n  layoutId,\n  item,\n  selected,\n  onClick\n}) => {\n  const hash = `#${item.sectionId}`;\n  return /* @__PURE__ */ jsxs(\"a\", { className: classNames.container, id, href: hash, onClick: (event) => {\n    event.preventDefault();\n    history.replaceState(\"\", \"\", hash);\n    onClick(item);\n  }, children: [\n    /* @__PURE__ */ jsx(\"div\", { className: classNames.label, style: {\n      color: selected ? \"#ffffff\" : \"#474747\"\n    }, children: item.label }),\n    selected && /* @__PURE__ */ jsx(motion.div, { className: classNames.indicator, layoutId, layout: true })\n  ] });\n});\nexport {\n  TabBarItem\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useScroll, useMotionValueEvent, animate, MotionConfig, motion } from \"framer-motion\";\nimport { useRef, useState, useMemo, useEffect } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport { useEffectOnce } from \"../../../hooks/react/useEffectOnce.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { typographyCSS } from \"../../../styles/typography.js\";\nimport { useTrackClickTabBarContentEvent } from \"./TabBar.hooks.event.js\";\nimport { useTabBarContext } from \"./TabBarContext.js\";\nimport { TabBarItem } from \"./TabBarItem.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBar, {\n  wrapper: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      background-color: #000000;\n    }\n  `,\n  container: css`\n    & {\n      ${typographyCSS(14, 700, 1.3)}\n      letter-spacing: 0.02;\n      position: relative;\n      display: flex;\n      gap: 10px;\n      height: 50px;\n      width: 100%;\n      overflow: auto;\n      background-color: #000000;\n\n      /* Hide scrollbar for IE, Edge and Firefox */\n      -ms-overflow-style: none;\n      scrollbar-width: none;\n\n      @media (min-width: 540px) {\n        ${typographyCSS(16, 700, 1.4)}\n      }\n    }\n\n    /* Hide scrollbar for Chrome, Safari and Opera */\n    &::-webkit-scrollbar {\n      display: none;\n    }\n  `,\n  containerSmTypography: css`\n    ${typographyCSS(14, 700, 1.3)}\n  `\n});\nconst transition = {\n  type: \"spring\",\n  bounce: 0\n};\nconst TabBar = withStyle(({\n  style,\n  items,\n  padding = 0,\n  isMixed = false,\n  paddingTop = padding,\n  paddingRight = padding,\n  paddingBottom = padding,\n  paddingLeft = padding,\n  toggleMaxWidth = false,\n  maxWidth = 1114,\n  tabBarHeight = 50,\n  useSmallTypography = false\n}) => {\n  const containerRef = useRef(null);\n  const {\n    selectedIndex,\n    onSelectedIndexChange\n  } = useTabBarContext();\n  const [isInitialTabReady, setIsInitialTabReady] = useState(false);\n  const sectionElementsRef = useRef();\n  const {\n    scrollY\n  } = useScroll();\n  const {\n    trackClickTabBarContentEvent\n  } = useTrackClickTabBarContentEvent();\n  const uniqueId = useMemo(() => items.map((item) => item.sectionId).join(\"-\"), [items]);\n  useEffectOnce(() => {\n    const [hash] = window.location.hash.split(\"?\");\n    const initialItemIndex = items.findIndex((item) => `#${item.sectionId}` === hash);\n    if (initialItemIndex < 0) {\n      setIsInitialTabReady(true);\n      return;\n    }\n    setTimeout(() => {\n      setIsInitialTabReady(true);\n      requestAnimationFrame(() => {\n        selectItem(initialItemIndex, {\n          tabBarAnimation: false\n        });\n        scrollToSectionByIndex(initialItemIndex);\n      });\n    }, 500);\n  });\n  useEffect(() => {\n    if (!isInitialTabReady) {\n      return;\n    }\n    if (sectionElementsRef.current !== void 0) {\n      return;\n    }\n    sectionElementsRef.current = items.map((item) => document.getElementById(item.sectionId));\n  }, [isInitialTabReady]);\n  useMotionValueEvent(scrollY, \"change\", (latest) => {\n    if (!isInitialTabReady) {\n      return;\n    }\n    const clientHeight = (document.documentElement.clientHeight ?? 0) * 0.3;\n    const elementOffsetTops = [...(sectionElementsRef.current ?? []).map((element) => element ? getAbsoluteOffsetTop(element) : 0), Infinity];\n    const foundIndex = Math.max(-1, elementOffsetTops.findIndex((offsetY) => latest + tabBarHeight + clientHeight <= offsetY) - 1);\n    if (foundIndex !== selectedIndex) {\n      selectItem(foundIndex);\n    }\n  });\n  const getItemIdForIndex = (index) => `tab-bar__${uniqueId}__${index}`;\n  const selectItem = (index, {\n    tabBarAnimation = true\n  } = {}) => {\n    onSelectedIndexChange(index);\n    focusTabByIndex(index, tabBarAnimation);\n  };\n  const scrollToSectionByIndex = (index) => {\n    var _a;\n    const element = ((_a = sectionElementsRef.current) == null ? void 0 : _a[index]) ?? void 0;\n    if (element !== void 0) {\n      window.scrollTo({\n        top: getAbsoluteOffsetTop(element) - tabBarHeight\n      });\n    }\n  };\n  const focusTabByIndex = (index, withAnimation) => {\n    const itemElement = document.getElementById(getItemIdForIndex(index));\n    const containerElement = containerRef.current;\n    if (itemElement === null || containerElement === null) {\n      return;\n    }\n    const centerPosition = itemElement.offsetLeft - containerElement.offsetWidth / 2 + itemElement.offsetWidth / 2;\n    if (!withAnimation) {\n      containerElement.scrollTo({\n        left: centerPosition\n      });\n      return;\n    }\n    animate(containerElement.scrollLeft, centerPosition, {\n      ...transition,\n      onUpdate: (latest) => {\n        containerElement.scrollTo({\n          left: latest\n        });\n      }\n    });\n  };\n  const handleClick = (index, item) => () => {\n    scrollToSectionByIndex(index);\n    trackClickTabBarContentEvent(index + 1, item);\n  };\n  const tabBarPadding = isMixed ? `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px` : `${padding}px`;\n  const tabBarMaxWidth = toggleMaxWidth ? `${maxWidth}px` : void 0;\n  return /* @__PURE__ */ jsx(MotionConfig, { transition, children: /* @__PURE__ */ jsx(\"div\", { className: classNames.wrapper, style: {\n    ...style,\n    height: tabBarHeight\n  }, children: /* @__PURE__ */ jsx(motion.div, { className: `${classNames.container} ${useSmallTypography ? classNames.containerSmTypography : \"\"}`, ref: containerRef, layout: true, layoutRoot: true, style: {\n    padding: tabBarPadding,\n    maxWidth: tabBarMaxWidth\n  }, children: items.map((item, index) => /* @__PURE__ */ jsx(\n    TabBarItem,\n    {\n      id: getItemIdForIndex(index),\n      layoutId: uniqueId,\n      item,\n      selected: Math.max(0, selectedIndex) === index,\n      onClick: handleClick(index, item)\n    },\n    index\n  )) }) }) });\n});\nconst getAbsoluteOffsetTop = (element) => {\n  return Math.round(element.getBoundingClientRect().top + window.scrollY);\n};\naddPropertyControls(TabBar, {\n  items: {\n    title: \"탭\",\n    type: ControlType.Array,\n    control: {\n      type: ControlType.Object,\n      controls: {\n        label: {\n          title: \"탭 이름\",\n          type: ControlType.String,\n          defaultValue: \"탭\"\n        },\n        sectionId: {\n          title: \"스크롤 섹션 ID\",\n          type: ControlType.String\n        }\n      }\n    },\n    defaultValue: [{\n      label: \"Chapter 1\",\n      sectionId: \"chapter1\"\n    }, {\n      label: \"Chapter 2\",\n      sectionId: \"chapter2\"\n    }, {\n      label: \"Chapter 3\",\n      sectionId: \"chapter3\"\n    }]\n  },\n  padding: {\n    type: ControlType.FusedNumber,\n    title: \"Padding\",\n    defaultValue: 0,\n    toggleKey: \"isMixed\",\n    toggleTitles: [\"All\", \"Individual\"],\n    valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n    valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n    min: 0\n  },\n  toggleMaxWidth: {\n    type: ControlType.Boolean,\n    title: \"MaxWidth\",\n    enabledTitle: \"SET\",\n    disabledTitle: \"UNSET\",\n    defaultValue: false\n  },\n  maxWidth: {\n    type: ControlType.Number,\n    defaultValue: 1114,\n    min: 50,\n    unit: \"px\",\n    step: 1,\n    displayStepper: true,\n    hidden(props) {\n      return props.toggleMaxWidth === false;\n    }\n  }\n});\nexport {\n  TabBar\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._bar_1sd3d_1 {\\n  height: 6px;\\n}\\n\\n._text_1sd3d_5 {\\n  font-size: 16px;\\n}\\n\\n@media (max-width: 1023px) {\\n  ._bar_1sd3d_1 {\\n    height: 2px;\\n  }\\n\\n  ._text_1sd3d_5 {\\n    font-size: 12px;\\n  }\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst bar = \"_bar_1sd3d_1\";\nconst text = \"_text_1sd3d_5\";\nconst styles = {\n  bar,\n  text\n};\nexport {\n  bar,\n  styles as default,\n  text\n};\n","import { getRoundingMethod } from \"./_lib/getRoundingMethod.js\";\nimport { millisecondsInMinute } from \"./constants.js\";\nimport { differenceInMilliseconds } from \"./differenceInMilliseconds.js\";\nfunction differenceInMinutes(dateLeft, dateRight, options) {\n  const diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInMinute;\n  return getRoundingMethod(options == null ? void 0 : options.roundingMethod)(diff);\n}\nexport {\n  differenceInMinutes as default,\n  differenceInMinutes\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport styles from \"./TimeProgressBar.module.css.js\";\nimport { differenceInMinutes } from \"../../../node_modules/date-fns/differenceInMinutes.js\";\nimport { parseISO } from \"../../../node_modules/date-fns/parseISO.js\";\nimport { differenceInCalendarDays } from \"../../../node_modules/date-fns/differenceInCalendarDays.js\";\nconst TimeProgressBar = ({\n  style = {},\n  startDateString,\n  startTimeString,\n  endDateString,\n  endTimeString,\n  isDDayEnabled,\n  backgroundColor,\n  fillColor,\n  textColor\n}) => {\n  const startDate = parseISO(`${startDateString.slice(0, 10)}T${startTimeString}+09:00`);\n  const endDate = parseISO(`${endDateString.slice(0, 10)}T${endTimeString}+09:00`);\n  const today = /* @__PURE__ */ new Date();\n  const duration = Math.max(1, differenceInMinutes(endDate, startDate));\n  const remainder = Math.max(0, differenceInMinutes(endDate, today));\n  const progress = Math.max(5, (1 - remainder / duration) * 100);\n  const remainderDays = Math.max(0, differenceInCalendarDays(endDate, today));\n  const {\n    height: _,\n    ...styleWithoutHeight\n  } = style;\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...styleWithoutHeight\n  }, children: [\n    isDDayEnabled && /* @__PURE__ */ jsx(\"div\", { style: {\n      transform: `translateX(${Math.min(95, progress)}%)`,\n      marginBottom: 11\n    }, children: /* @__PURE__ */ jsxs(\"div\", { className: styles.text, style: {\n      display: \"inline-block\",\n      transform: \"translateX(-50%)\",\n      fontWeight: 700,\n      lineHeight: 1.2,\n      backgroundColor: fillColor,\n      color: textColor,\n      padding: \"4px 6px\"\n    }, children: [\n      \"D-\",\n      remainderDays === 0 ? \"DAY\" : remainderDays,\n      /* @__PURE__ */ jsx(\"div\", { style: {\n        position: \"absolute\",\n        top: \"100%\",\n        left: \"50%\",\n        transform: \"translateX(-50%)\",\n        width: 0,\n        height: 0,\n        borderLeft: \"5px solid transparent\",\n        borderRight: \"5px solid transparent\",\n        borderTop: `5px solid ${fillColor}`\n      } })\n    ] }) }),\n    /* @__PURE__ */ jsx(\"div\", { style: {\n      overflow: \"hidden\",\n      backgroundColor\n    }, children: /* @__PURE__ */ jsx(\"div\", { className: styles.bar, style: {\n      backgroundColor: fillColor,\n      transform: `translateX(${-100 + progress}%)`\n    } }) })\n  ] });\n};\naddPropertyControls(TimeProgressBar, {\n  startDateString: {\n    title: \"시작 날짜\",\n    type: ControlType.Date,\n    defaultValue: \"2024-01-25\"\n  },\n  startTimeString: {\n    title: \"시작 시간\",\n    description: \"예: 13:00:00 (시:분:초)\",\n    type: ControlType.String,\n    placeholder: \"13:00:00\",\n    defaultValue: \"00:00:00\"\n  },\n  endDateString: {\n    title: \"종료 날짜\",\n    type: ControlType.Date,\n    defaultValue: \"2024-02-25\"\n  },\n  endTimeString: {\n    title: \"종료 시간\",\n    description: \"예: 13:00:00 (시:분:초)\",\n    type: ControlType.String,\n    placeholder: \"13:00:00\",\n    defaultValue: \"00:00:00\"\n  },\n  isDDayEnabled: {\n    title: \"디데이 표시\",\n    type: ControlType.Boolean,\n    enabledTitle: \"표시\",\n    disabledTitle: \"숨김\",\n    defaultValue: false\n  },\n  backgroundColor: {\n    title: \"배경 색상\",\n    type: ControlType.Color,\n    defaultValue: \"#F4F4F4\"\n  },\n  fillColor: {\n    title: \"바 색상\",\n    type: ControlType.Color,\n    defaultValue: \"#FF4800\"\n  },\n  textColor: {\n    title: \"텍스트 색상\",\n    type: ControlType.Color,\n    defaultValue: \"#FFFFFF\",\n    hidden: (props) => !props.isDDayEnabled\n  }\n});\nexport {\n  TimeProgressBar\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_12171_1 > div {\\n  width: 100% !important;\\n  height: 100% !important;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_12171_1\";\nconst styles = {\n  container\n};\nexport {\n  container,\n  styles as default\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport styles from \"./ViewportContainer.module.css.js\";\nconst ViewportContainer = ({\n  style,\n  viewportHeight,\n  children\n}) => {\n  return /* @__PURE__ */ jsx(\"div\", { className: styles.container, style: {\n    width: style == null ? void 0 : style.width,\n    height: isCanvas() ? 9 * viewportHeight : `${viewportHeight}vh`\n  }, children });\n};\naddPropertyControls(ViewportContainer, {\n  viewportHeight: {\n    title: \"vh\",\n    type: ControlType.Number,\n    unit: \"vh\",\n    defaultValue: 100\n  },\n  children: {\n    type: ControlType.ComponentInstance\n  }\n});\nexport {\n  ViewportContainer\n};\n","import { isFramerPreview } from \"../../../utils/framer/isFramerPreview.js\";\nconst toRGBA = (color, opacity) => {\n  const matched = color.match(/\\d+/g);\n  if (!matched) {\n    return color;\n  }\n  const [r, g, b] = matched;\n  return `rgba(${r}, ${g}, ${b}, ${opacity})`;\n};\nconst shouldShowTabItem = (item, segmentState, logged) => {\n  if (isFramerPreview()) {\n    return true;\n  }\n  if (!item.segment || item.segment.length === 0) {\n    return true;\n  }\n  if (item.segment.some((segment) => segment.type === \"\")) {\n    return true;\n  }\n  return item.segment.every((segment) => {\n    switch (segment.type) {\n      case \"login\":\n        return segmentState.isLogin;\n      case \"guest\":\n        return segmentState.guest;\n      case \"newBuyer\":\n        return !logged ? true : segmentState.isNewBuyer;\n      case \"categoryNewBuyerProduct\":\n        if (segment.groupId) {\n          return !logged ? true : segmentState.categoryNewBuyerStates[segment.groupId] ?? false;\n        }\n        return !logged ? true : Object.values(segmentState.categoryNewBuyerStates).some(Boolean);\n      case \"categoryNewBuyerCoupon\":\n        if (segment.couponId) {\n          return !logged ? true : segmentState.categoryNewBuyerStates[segment.couponId] ?? false;\n        }\n        return !logged ? true : Object.values(segmentState.categoryNewBuyerStates).some(Boolean);\n      default:\n        return true;\n    }\n  });\n};\nconst filterVisibleTabItems = (items, segmentState, logged) => {\n  return items.filter((item) => shouldShowTabItem(item, segmentState, logged));\n};\nexport {\n  filterVisibleTabItems,\n  shouldShowTabItem,\n  toRGBA\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { motion } from \"framer-motion\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport \"react\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { toRGBA } from \"./TabBarV2.utils.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBarItem, {\n  container: css`\n    & {\n      position: relative;\n      flex: 1 0 auto;\n      text-decoration: none;\n    }\n  `,\n  label: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      padding: 0 12px;\n\n      height: 100%;\n      transition: color 250ms ease-in-out;\n    }\n  `,\n  indicator: css`\n    & {\n      position: absolute;\n      left: 0;\n      right: 0;\n      bottom: 0;\n      height: 2px;\n    }\n  `\n});\nconst TabBarItem = withStyle(({\n  id,\n  layoutId,\n  item,\n  selected,\n  color,\n  onClick\n}) => {\n  const hash = `#${item.sectionId}`;\n  return /* @__PURE__ */ jsxs(\"a\", { className: classNames.container, id, href: hash, onClick: (event) => {\n    event.preventDefault();\n    history.replaceState(\"\", \"\", hash);\n    onClick(item);\n  }, children: [\n    /* @__PURE__ */ jsx(\"div\", { className: classNames.label, style: {\n      color: selected ? color : toRGBA(color, 0.5)\n    }, children: item.label }),\n    selected && /* @__PURE__ */ jsx(motion.div, { className: classNames.indicator, style: {\n      backgroundColor: color\n    }, layoutId, layout: true })\n  ] });\n});\nexport {\n  TabBarItem\n};\n","import { postMessage } from \"./postMessage.js\";\nconst DURATION_BY_INTENSITY = {\n  [\n    \"heavy\"\n    /* HEAVY */\n  ]: 100,\n  [\n    \"medium\"\n    /* MEDIUM */\n  ]: 50,\n  [\n    \"light\"\n    /* LIGHT */\n  ]: 30,\n  [\n    \"soft\"\n    /* SOFT */\n  ]: 20,\n  [\n    \"rigid\"\n    /* RIGID */\n  ]: 5\n};\nconst playHaptic = (intensity) => {\n  postMessage(\"playHaptic\", {\n    type: intensity,\n    duration: DURATION_BY_INTENSITY[intensity]\n  });\n};\nexport {\n  playHaptic\n};\n","import { useMemo } from \"react\";\nimport { useCurrentUser } from \"../../../hooks/code-overrides/useCurrentUser.js\";\nimport { useUserFirstOrderSegment } from \"../../../hooks/code-overrides/useUserTargetSegment.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport { useCategoryNewBuyerProduct } from \"../../../hooks/fetchers/useCategoryNewBuyerProduct.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport { isFramerPreview } from \"../../../utils/framer/isFramerPreview.js\";\nconst extractRequiredSegments = (items) => {\n  const segments = /* @__PURE__ */ new Set();\n  const groupIds = /* @__PURE__ */ new Set();\n  items.forEach((item) => {\n    var _a;\n    (_a = item.segment) == null ? void 0 : _a.forEach((seg) => {\n      segments.add(seg.type);\n      if (seg.type === \"categoryNewBuyerProduct\" && seg.groupId) {\n        groupIds.add(seg.groupId);\n      }\n      if (seg.type === \"categoryNewBuyerCoupon\" && seg.couponId) {\n        groupIds.add(seg.couponId);\n      }\n    });\n  });\n  return {\n    segments,\n    groupIds\n  };\n};\nconst createCanvasSegmentState = (groupIds) => {\n  const categoryNewBuyerStates = {};\n  groupIds.forEach((groupId) => {\n    categoryNewBuyerStates[groupId] = true;\n  });\n  return {\n    isLogin: true,\n    guest: true,\n    isNewBuyer: true,\n    categoryNewBuyerStates\n  };\n};\nconst createRealSegmentState = (logged, userSegmentData, categoryQueries, groupIds) => {\n  var _a;\n  const categoryNewBuyerStates = {};\n  if (logged) {\n    categoryQueries.forEach(({\n      groupId,\n      data\n    }) => {\n      var _a2;\n      categoryNewBuyerStates[groupId] = ((_a2 = data == null ? void 0 : data.data) == null ? void 0 : _a2.isOrderable) ?? false;\n    });\n  } else {\n    groupIds.forEach((groupId) => {\n      categoryNewBuyerStates[groupId] = false;\n    });\n  }\n  return {\n    isLogin: logged,\n    guest: !logged,\n    isNewBuyer: logged ? ((_a = userSegmentData == null ? void 0 : userSegmentData.data) == null ? void 0 : _a.isFirstOrder) ?? false : false,\n    categoryNewBuyerStates\n  };\n};\nconst useTabBarSegments = (items) => {\n  const requiredSegments = useMemo(() => extractRequiredSegments(items), [items]);\n  const {\n    logged\n  } = useCurrentUser();\n  const needsUserSegment = requiredSegments.segments.has(\"login\") || requiredSegments.segments.has(\"guest\") || requiredSegments.segments.has(\"newBuyer\");\n  const {\n    data: userSegmentData,\n    isLoading: isUserSegmentLoading\n  } = useUserFirstOrderSegment(needsUserSegment && logged);\n  const needsCategoryFirstOrder = requiredSegments.segments.has(\"categoryNewBuyerProduct\") && logged;\n  const groupIdsToQuery = needsCategoryFirstOrder ? Array.from(requiredSegments.groupIds) : [];\n  const categoryQueries = groupIdsToQuery.map((groupId) => {\n    const {\n      data,\n      isLoading: isCategoryLoading\n    } = useCategoryNewBuyerProduct(groupId);\n    return {\n      groupId,\n      data,\n      isLoading: isCategoryLoading\n    };\n  });\n  const allCategoryQueries = Array.from(requiredSegments.groupIds).map((groupId) => {\n    const existingQuery = categoryQueries.find((q) => q.groupId === groupId);\n    return existingQuery || {\n      groupId,\n      data: void 0,\n      isLoading: false\n    };\n  });\n  const segmentState = useMemo(() => {\n    if (isFramerPreview()) {\n      return createCanvasSegmentState(requiredSegments.groupIds);\n    }\n    return createRealSegmentState(logged, userSegmentData, allCategoryQueries, requiredSegments.groupIds);\n  }, [logged, userSegmentData, allCategoryQueries, requiredSegments.groupIds]);\n  const isLoading = useMemo(() => {\n    const userLoading = needsUserSegment && logged && isUserSegmentLoading;\n    const categoryLoading = needsCategoryFirstOrder && categoryQueries.some(({\n      isLoading: isCategoryLoading\n    }) => isCategoryLoading);\n    return userLoading || categoryLoading;\n  }, [needsUserSegment, logged, isUserSegmentLoading, needsCategoryFirstOrder, categoryQueries]);\n  return {\n    segmentState,\n    isLoading\n  };\n};\nexport {\n  useTabBarSegments\n};\n","import { useLayoutEffect, useEffect } from \"react\";\nimport { isBrowser } from \"./misc/util.js\";\nvar useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;\nexport {\n  useIsomorphicLayoutEffect as default\n};\n","import { useState, useMemo } from \"react\";\nimport useIsomorphicLayoutEffect from \"./useIsomorphicLayoutEffect.js\";\nimport { isBrowser, noop } from \"./misc/util.js\";\nvar defaultState = {\n  x: 0,\n  y: 0,\n  width: 0,\n  height: 0,\n  top: 0,\n  left: 0,\n  bottom: 0,\n  right: 0\n};\nfunction useMeasure() {\n  var _a = useState(null), element = _a[0], ref = _a[1];\n  var _b = useState(defaultState), rect = _b[0], setRect = _b[1];\n  var observer = useMemo(function() {\n    return new window.ResizeObserver(function(entries) {\n      if (entries[0]) {\n        var _a2 = entries[0].contentRect, x = _a2.x, y = _a2.y, width = _a2.width, height = _a2.height, top_1 = _a2.top, left = _a2.left, bottom = _a2.bottom, right = _a2.right;\n        setRect({ x, y, width, height, top: top_1, left, bottom, right });\n      }\n    });\n  }, []);\n  useIsomorphicLayoutEffect(function() {\n    if (!element)\n      return;\n    observer.observe(element);\n    return function() {\n      observer.disconnect();\n    };\n  }, [element]);\n  return [ref, rect];\n}\nconst useMeasure$1 = isBrowser && typeof window.ResizeObserver !== \"undefined\" ? useMeasure : function() {\n  return [noop, defaultState];\n};\nexport {\n  useMeasure$1 as default\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useScroll, useMotionValue, useMotionValueEvent, animate, MotionConfig, motion } from \"framer-motion\";\nimport { useState, useRef, useMemo, useEffect } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../hooks/useCurrentUser.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport { useEffectOnce } from \"../../../hooks/react/useEffectOnce.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { typographyCSS } from \"../../../styles/typography.js\";\nimport { useTrackClickTabBarContentEvent } from \"../TabBar/TabBar.hooks.event.js\";\nimport { useTabBarContext } from \"../TabBar/TabBarContext.js\";\nimport { TabBarItem } from \"./TabBarItem.js\";\nimport { filterVisibleTabItems, toRGBA } from \"./TabBarV2.utils.js\";\nimport { playHaptic } from \"../../../utils/playHaptic.js\";\nimport { useTabBarSegments } from \"./useTabBarSegments.js\";\nimport useMeasure from \"../../../node_modules/react-use/esm/useMeasure.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBar, {\n  wrapper: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n    }\n  `,\n  container: css`\n    & {\n      ${typographyCSS(14, 700, 1.3)}\n      letter-spacing: 0.02;\n      position: relative;\n      display: flex;\n      gap: 10px;\n      height: 50px;\n      width: 100%;\n      overflow: auto;\n\n      /* Hide scrollbar for IE, Edge and Firefox */\n      -ms-overflow-style: none;\n      scrollbar-width: none;\n\n      @media (min-width: 540px) {\n        ${typographyCSS(16, 700, 1.4)}\n      }\n    }\n\n    /* Hide scrollbar for Chrome, Safari and Opera */\n    &::-webkit-scrollbar {\n      display: none;\n    }\n  `,\n  containerSmTypography: css`\n    ${typographyCSS(14, 700, 1.3)}\n  `\n});\nconst transition = {\n  type: \"spring\",\n  bounce: 0\n};\nconst TabBarV2 = withStyle(({\n  style,\n  theme,\n  fadeInOut,\n  items,\n  padding = 0,\n  isMixed = false,\n  paddingTop = padding,\n  paddingRight = padding,\n  paddingBottom = padding,\n  paddingLeft = padding,\n  toggleMaxWidth = false,\n  maxWidth = 1114,\n  tabBarHeight = 50,\n  useSmallTypography = false\n}) => {\n  const {\n    selectedIndex,\n    onSelectedIndexChange\n  } = useTabBarContext();\n  const [isInitialTabReady, setIsInitialTabReady] = useState(false);\n  const {\n    scrollY\n  } = useScroll();\n  const wrapperRef = useRef(null);\n  const containerRef = useRef(null);\n  const sectionElementsRef = useRef();\n  const [ref, {\n    width: tabBarWidth\n  }] = useMeasure();\n  const {\n    segmentState,\n    isLoading: isSegmentLoading\n  } = useTabBarSegments(items);\n  const {\n    logged\n  } = useCurrentUser();\n  const visibleItems = useMemo(() => {\n    if (isSegmentLoading) {\n      return [];\n    }\n    return filterVisibleTabItems(items, segmentState, logged);\n  }, [items, segmentState, isSegmentLoading, logged]);\n  const initialBackgroundColor = backgroundColorByTheme[theme];\n  const initialTextColor = textColorByTheme[theme];\n  const position = useMotionValue(\"relative\");\n  const backgroundColor = useMotionValue(toRGBA(initialBackgroundColor, fadeInOut ? 0 : 1));\n  const {\n    trackClickTabBarContentEvent\n  } = useTrackClickTabBarContentEvent();\n  const uniqueId = useMemo(() => visibleItems.map((item) => item.sectionId).join(\"-\"), [visibleItems]);\n  useEffect(() => {\n    backgroundColor.set(toRGBA(initialBackgroundColor, fadeInOut ? 0 : 1));\n  }, [initialBackgroundColor, fadeInOut]);\n  useEffectOnce(() => {\n    const [hash] = window.location.hash.split(\"?\");\n    const initialItemIndex = visibleItems.findIndex((item) => `#${item.sectionId}` === hash);\n    if (initialItemIndex < 0) {\n      setIsInitialTabReady(true);\n      return;\n    }\n    const handleLayoutDone = () => {\n      setIsInitialTabReady(true);\n      requestAnimationFrame(() => {\n        selectItem(initialItemIndex, {\n          tabBarAnimation: false\n        });\n        scrollToSectionByIndex(initialItemIndex);\n      });\n    };\n    setTimeout(() => {\n      handleLayoutDone();\n    }, 500);\n    window.addEventListener(\"layoutDone\", handleLayoutDone);\n    return () => {\n      window.removeEventListener(\"layoutDone\", handleLayoutDone);\n    };\n  });\n  useEffect(() => {\n    if (!isInitialTabReady || isSegmentLoading) {\n      return;\n    }\n    if (sectionElementsRef.current !== void 0) {\n      return;\n    }\n    sectionElementsRef.current = visibleItems.map((item) => document.getElementById(item.sectionId));\n  }, [isInitialTabReady, isSegmentLoading]);\n  useMotionValueEvent(scrollY, \"change\", (latest) => {\n    if (wrapperRef.current === null) {\n      return;\n    }\n    const top = getAbsoluteOffsetTop(wrapperRef.current);\n    const isPassed = latest >= top;\n    const opacity = fadeInOut ? clamp((latest - top) / tabBarHeight, 0, 1) : 1;\n    backgroundColor.set(toRGBA(initialBackgroundColor, opacity));\n    position.set(isPassed ? \"fixed\" : \"relative\");\n  });\n  useMotionValueEvent(scrollY, \"change\", (latest) => {\n    if (!isInitialTabReady) {\n      return;\n    }\n    const clientHeight = (document.documentElement.clientHeight ?? 0) * 0.3;\n    const elementOffsetTops = [...(sectionElementsRef.current ?? []).map((element) => element ? getAbsoluteOffsetTop(element) : 0), Infinity];\n    const foundIndex = Math.max(-1, elementOffsetTops.findIndex((offsetY) => latest + tabBarHeight + clientHeight <= offsetY) - 1);\n    if (foundIndex !== selectedIndex) {\n      selectItem(foundIndex);\n    }\n  });\n  const getItemIdForIndex = (index) => `tab-bar__${uniqueId}__${index}`;\n  const selectItem = (index, {\n    tabBarAnimation = true\n  } = {}) => {\n    onSelectedIndexChange(index);\n    focusTabByIndex(index, tabBarAnimation);\n  };\n  const scrollToSectionByIndex = (index) => {\n    var _a;\n    const element = ((_a = sectionElementsRef.current) == null ? void 0 : _a[index]) ?? void 0;\n    if (element !== void 0) {\n      window.scrollTo({\n        top: getAbsoluteOffsetTop(element) - tabBarHeight\n      });\n    }\n  };\n  const focusTabByIndex = (index, withAnimation) => {\n    const itemElement = document.getElementById(getItemIdForIndex(index));\n    const containerElement = containerRef.current;\n    if (itemElement === null || containerElement === null) {\n      return;\n    }\n    const centerPosition = itemElement.offsetLeft - containerElement.offsetWidth / 2 + itemElement.offsetWidth / 2;\n    if (!withAnimation) {\n      containerElement.scrollTo({\n        left: centerPosition\n      });\n      return;\n    }\n    animate(containerElement.scrollLeft, centerPosition, {\n      ...transition,\n      onUpdate: (latest) => {\n        containerElement.scrollTo({\n          left: latest\n        });\n      }\n    });\n  };\n  const handleClick = (index, item) => () => {\n    playHaptic(\"rigid\");\n    scrollToSectionByIndex(index);\n    trackClickTabBarContentEvent(index + 1, item);\n  };\n  const tabBarPadding = isMixed ? `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px` : `${padding}px`;\n  const tabBarMaxWidth = toggleMaxWidth ? `${maxWidth}px` : void 0;\n  return /* @__PURE__ */ jsx(MotionConfig, { transition, children: /* @__PURE__ */ jsx(\"div\", { ref: mergeRefs([wrapperRef, ref]), style: {\n    height: tabBarHeight\n  }, children: /* @__PURE__ */ jsx(motion.div, { className: classNames.wrapper, style: {\n    ...style,\n    width: tabBarWidth || \"100%\",\n    height: tabBarHeight,\n    position,\n    zIndex: 10,\n    top: 0,\n    left: 0,\n    right: 0,\n    backgroundColor\n  }, children: /* @__PURE__ */ jsx(motion.div, { className: `${classNames.container} ${useSmallTypography ? classNames.containerSmTypography : \"\"}`, ref: containerRef, layout: true, layoutRoot: true, style: {\n    padding: tabBarPadding,\n    maxWidth: tabBarMaxWidth,\n    backgroundColor\n  }, children: visibleItems.map((item, index) => /* @__PURE__ */ jsx(\n    TabBarItem,\n    {\n      id: getItemIdForIndex(index),\n      layoutId: uniqueId,\n      item,\n      selected: Math.max(0, selectedIndex) === index,\n      color: initialTextColor,\n      onClick: handleClick(index, item)\n    },\n    index\n  )) }) }) }) });\n});\nconst backgroundColorByTheme = {\n  default: \"rgb(0,0,0)\",\n  negative: \"rgb(255, 255, 255)\"\n};\nconst textColorByTheme = {\n  default: \"rgb(255, 255, 255)\",\n  negative: \"rgb(0,0,0)\"\n};\nconst getAbsoluteOffsetTop = (element) => {\n  return Math.round(element.getBoundingClientRect().top + window.scrollY);\n};\nconst clamp = (value, lower, upper) => {\n  return Math.min(upper, Math.max(lower, value));\n};\naddPropertyControls(TabBarV2, {\n  theme: {\n    type: ControlType.Enum,\n    title: \"테마\",\n    options: [\"default\", \"negative\"],\n    optionTitles: [\"기본\", \"반전\"],\n    defaultValue: \"default\",\n    displaySegmentedControl: true\n  },\n  fadeInOut: {\n    type: ControlType.Boolean,\n    title: \"배경색 페이드 인/아웃\",\n    description: \"활성화 시 탭바가 상단에 붙은 상태로 스크롤되면 배경색의 투명도가 서서히 증감합니다.\",\n    defaultValue: false\n  },\n  items: {\n    title: \"탭\",\n    type: ControlType.Array,\n    control: {\n      type: ControlType.Object,\n      controls: {\n        label: {\n          title: \"탭 이름\",\n          type: ControlType.String,\n          defaultValue: \"탭\"\n        },\n        sectionId: {\n          title: \"스크롤 섹션 ID\",\n          type: ControlType.String\n        },\n        segment: {\n          title: \"세그먼트\",\n          type: ControlType.Array,\n          description: \"세그먼트 조건에 맞는 탭만 표시됩니다.\",\n          control: {\n            type: ControlType.Object,\n            controls: {\n              type: {\n                type: ControlType.Enum,\n                title: \"타입\",\n                options: [\"login\", \"guest\", \"newBuyer\", \"categoryNewBuyer\"],\n                optionTitles: [\"로그인\", \"미로그인\", \"생애 첫구매\", \"카테고리 첫구매\"],\n                defaultValue: \"\"\n              },\n              groupId: {\n                hidden: ({\n                  type\n                }) => type !== \"categoryNewBuyer\",\n                type: ControlType.String,\n                title: \"그룹 ID\",\n                description: \"categoryNewBuyer 타입일 때 사용할 그룹 ID\",\n                defaultValue: \"\"\n              }\n            }\n          }\n        }\n      }\n    },\n    defaultValue: [{\n      label: \"Chapter 1\",\n      sectionId: \"chapter1\",\n      segment: [{\n        type: \"\"\n      }]\n    }, {\n      label: \"Chapter 2\",\n      sectionId: \"chapter2\",\n      segment: [{\n        type: \"\"\n      }]\n    }, {\n      label: \"Chapter 3\",\n      sectionId: \"chapter3\",\n      segment: [{\n        type: \"\"\n      }]\n    }]\n  },\n  padding: {\n    type: ControlType.FusedNumber,\n    title: \"Padding\",\n    defaultValue: 0,\n    toggleKey: \"isMixed\",\n    toggleTitles: [\"All\", \"Individual\"],\n    valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n    valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n    min: 0\n  },\n  toggleMaxWidth: {\n    type: ControlType.Boolean,\n    title: \"MaxWidth\",\n    enabledTitle: \"SET\",\n    disabledTitle: \"UNSET\",\n    defaultValue: false\n  },\n  maxWidth: {\n    type: ControlType.Number,\n    defaultValue: 1114,\n    min: 50,\n    unit: \"px\",\n    step: 1,\n    displayStepper: true,\n    hidden(props) {\n      return props.toggleMaxWidth === false;\n    }\n  }\n});\nexport {\n  TabBarV2\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { motion } from \"framer-motion\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport \"react\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBarItem, {\n  container: css`\n    & {\n      position: relative;\n      flex: 1 0 auto;\n      display: flex;\n      flex-direction: column;\n      align-items: center;\n      padding-top: 6px;\n      text-decoration: none;\n      cursor: pointer;\n      outline: none;\n\n      &:focus-visible {\n        outline: 2px solid #007aff;\n        outline-offset: -2px;\n      }\n\n      @media (min-width: 540px) {\n        padding-top: 7px;\n      }\n    }\n  `,\n  content: css`\n    & {\n      display: flex;\n      flex-direction: column;\n      align-items: stretch;\n      width: fit-content;\n      max-width: 100%;\n      height: 100%;\n    }\n  `,\n  tabItem: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      height: 32px;\n      padding: 0 4px;\n      border-radius: 2px;\n      transition: color 250ms ease-in-out;\n    }\n  `,\n  indicatorWrapper: css`\n    & {\n      display: flex;\n      width: 100%;\n      height: 2.5px;\n      padding: 0 4px;\n      box-sizing: border-box;\n      margin-top: auto;\n    }\n  `,\n  indicatorBar: css`\n    & {\n      width: 100%;\n      height: 100%;\n      border-radius: 9999px;\n    }\n  `\n});\nconst TabBarItem = withStyle(({\n  id,\n  layoutId,\n  item,\n  selected,\n  color,\n  unselectedColor,\n  onClick,\n  tabIndex = 0\n}) => {\n  const hash = `#${item.sectionId}`;\n  const handleKeyDown = (event) => {\n    if (event.key === \"Enter\" || event.key === \" \") {\n      event.preventDefault();\n      history.replaceState(\"\", \"\", hash);\n      onClick(item);\n    }\n  };\n  const handleClick = (event) => {\n    event.preventDefault();\n    history.replaceState(\"\", \"\", hash);\n    onClick(item);\n  };\n  return /* @__PURE__ */ jsx(\"a\", { className: classNames.container, id, href: hash, role: \"tab\", \"aria-selected\": selected, \"aria-controls\": item.sectionId, tabIndex: selected ? tabIndex : -1, onClick: handleClick, onKeyDown: handleKeyDown, children: /* @__PURE__ */ jsxs(\"div\", { className: classNames.content, children: [\n    /* @__PURE__ */ jsx(\"div\", { className: classNames.tabItem, style: {\n      color: selected ? color : unselectedColor,\n      fontWeight: selected ? 600 : 400\n    }, children: item.label }),\n    /* @__PURE__ */ jsx(\"div\", { className: classNames.indicatorWrapper, \"aria-hidden\": \"true\", children: selected && /* @__PURE__ */ jsx(motion.div, { className: classNames.indicatorBar, style: {\n      backgroundColor: color\n    }, layoutId, layout: true }) })\n  ] }) });\n});\nexport {\n  TabBarItem\n};\n","import \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport { isFramerPreview } from \"../../../utils/framer/isFramerPreview.js\";\nimport \"react\";\nconst toRGBA = (color, opacity) => {\n  const matched = color.match(/\\d+/g);\n  if (!matched) {\n    return color;\n  }\n  const [r, g, b] = matched;\n  return `rgba(${r}, ${g}, ${b}, ${opacity})`;\n};\nconst shouldShowTabItem = (item, segmentState, logged) => {\n  if (isCanvas() || isFramerPreview()) {\n    return true;\n  }\n  if (!item.segment || item.segment.length === 0) {\n    return true;\n  }\n  if (item.segment.some((segment) => segment.type === \"\")) {\n    return true;\n  }\n  return item.segment.every((segment) => {\n    switch (segment.type) {\n      case \"login\":\n        return segmentState.isLogin;\n      case \"guest\":\n        return segmentState.guest;\n      case \"newBuyer\":\n        return !logged ? true : segmentState.isNewBuyer;\n      case \"categoryNewBuyerProduct\":\n        if (segment.groupId) {\n          return !logged ? true : segmentState.categoryNewBuyerStates[segment.groupId] ?? false;\n        }\n        return !logged ? true : Object.values(segmentState.categoryNewBuyerStates).some(Boolean);\n      case \"categoryNewBuyerCoupon\":\n        if (segment.couponId) {\n          if (!logged) {\n            return true;\n          }\n          const parsedCouponIds = segment.couponId.split(\",\").map((id) => id.trim()).filter(Boolean);\n          return parsedCouponIds.some((id) => segmentState.categoryNewBuyerCouponStates[id] ?? false);\n        }\n        return !logged ? true : Object.values(segmentState.categoryNewBuyerCouponStates).some(Boolean);\n      case \"gender\": {\n        if (!segment.gender) {\n          return false;\n        }\n        return !logged ? true : segmentState.userGender !== null && segmentState.userGender === segment.gender;\n      }\n      default:\n        return true;\n    }\n  });\n};\nconst filterVisibleTabItems = (items, segmentState, logged) => {\n  return items.filter((item) => shouldShowTabItem(item, segmentState, logged));\n};\nexport {\n  filterVisibleTabItems,\n  shouldShowTabItem,\n  toRGBA\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { categoryFirstOrderApi } from \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nconst CATEGORY_COUPON_FIRST_ORDER_SEGMENT_LIST_FETCHER_KEY = \"category-coupon-first-order-segment-list\";\nconst useCategoryNewBuyerCoupons = (couponIds) => {\n  return useSWR(couponIds.length > 0 ? [CATEGORY_COUPON_FIRST_ORDER_SEGMENT_LIST_FETCHER_KEY, ...couponIds] : null, () => categoryFirstOrderApi.getCategoryCouponFirstOrderableList(couponIds));\n};\nexport {\n  useCategoryNewBuyerCoupons\n};\n","import { useMemo } from \"react\";\nimport { useCurrentUser } from \"../../../hooks/code-overrides/useCurrentUser.js\";\nimport { useUserFirstOrderSegment } from \"../../../hooks/code-overrides/useUserTargetSegment.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport { useCategoryNewBuyerCoupons } from \"../../../hooks/fetchers/useCategoryNewBuyerCoupons.js\";\nimport { useCategoryNewBuyerProduct } from \"../../../hooks/fetchers/useCategoryNewBuyerProduct.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport { isFramerPreview } from \"../../../utils/framer/isFramerPreview.js\";\nconst extractRequiredSegments = (items) => {\n  const segments = /* @__PURE__ */ new Set();\n  const groupIds = /* @__PURE__ */ new Set();\n  const couponIds = /* @__PURE__ */ new Set();\n  items.forEach((item) => {\n    var _a;\n    (_a = item.segment) == null ? void 0 : _a.forEach((seg) => {\n      segments.add(seg.type);\n      if (seg.type === \"categoryNewBuyerProduct\" && seg.groupId) {\n        groupIds.add(seg.groupId);\n      }\n      if (seg.type === \"categoryNewBuyerCoupon\" && seg.couponId) {\n        seg.couponId.split(\",\").map((id) => id.trim()).filter(Boolean).forEach((id) => couponIds.add(id));\n      }\n    });\n  });\n  return {\n    segments,\n    groupIds,\n    couponIds\n  };\n};\nconst createCanvasSegmentState = (groupIds, couponIds) => {\n  const categoryNewBuyerStates = {};\n  groupIds.forEach((groupId) => {\n    categoryNewBuyerStates[groupId] = true;\n  });\n  const categoryNewBuyerCouponStates = {};\n  couponIds.forEach((couponId) => {\n    categoryNewBuyerCouponStates[couponId] = true;\n  });\n  return {\n    isLogin: true,\n    guest: true,\n    isNewBuyer: true,\n    categoryNewBuyerStates,\n    categoryNewBuyerCouponStates,\n    userGender: null\n  };\n};\nconst createRealSegmentState = (logged, userGender, userSegmentData, categoryQueries, couponListData, groupIds, couponIds) => {\n  var _a, _b;\n  const categoryNewBuyerStates = {};\n  if (logged) {\n    categoryQueries.forEach(({\n      groupId,\n      data\n    }) => {\n      var _a2;\n      categoryNewBuyerStates[groupId] = ((_a2 = data == null ? void 0 : data.data) == null ? void 0 : _a2.isOrderable) ?? false;\n    });\n  } else {\n    groupIds.forEach((groupId) => {\n      categoryNewBuyerStates[groupId] = false;\n    });\n  }\n  const categoryNewBuyerCouponStates = {};\n  if (logged) {\n    couponIds.forEach((couponId) => {\n      categoryNewBuyerCouponStates[couponId] = false;\n    });\n    (_a = couponListData == null ? void 0 : couponListData.data) == null ? void 0 : _a.forEach(({\n      couponId,\n      isOrderable\n    }) => {\n      categoryNewBuyerCouponStates[String(couponId)] = isOrderable;\n    });\n  } else {\n    couponIds.forEach((couponId) => {\n      categoryNewBuyerCouponStates[couponId] = false;\n    });\n  }\n  return {\n    isLogin: logged,\n    guest: !logged,\n    isNewBuyer: logged ? ((_b = userSegmentData == null ? void 0 : userSegmentData.data) == null ? void 0 : _b.isFirstOrder) ?? false : false,\n    categoryNewBuyerStates,\n    categoryNewBuyerCouponStates,\n    userGender: userGender ?? null\n  };\n};\nconst useTabBarSegments = (items) => {\n  const requiredSegments = useMemo(() => extractRequiredSegments(items), [items]);\n  const {\n    logged,\n    gender: userGender\n  } = useCurrentUser();\n  const needsUserSegment = requiredSegments.segments.has(\"login\") || requiredSegments.segments.has(\"guest\") || requiredSegments.segments.has(\"newBuyer\");\n  const {\n    data: userSegmentData,\n    isLoading: isUserSegmentLoading\n  } = useUserFirstOrderSegment(needsUserSegment && logged);\n  const needsCategoryNewBuyerProduct = requiredSegments.segments.has(\"categoryNewBuyerProduct\") && logged;\n  const groupIdsToQuery = needsCategoryNewBuyerProduct ? Array.from(requiredSegments.groupIds) : [];\n  const needsCategoryNewBuyerCoupon = requiredSegments.segments.has(\"categoryNewBuyerCoupon\") && logged;\n  const couponIdsToQuery = useMemo(() => needsCategoryNewBuyerCoupon ? Array.from(requiredSegments.couponIds).map(Number) : [], [needsCategoryNewBuyerCoupon, requiredSegments.couponIds]);\n  const categoryQueries = groupIdsToQuery.map((groupId) => {\n    const {\n      data,\n      isLoading: isCategoryNewBuyerProductLoading\n    } = useCategoryNewBuyerProduct(groupId);\n    return {\n      groupId,\n      data,\n      isLoading: isCategoryNewBuyerProductLoading\n    };\n  });\n  const {\n    data: couponListData,\n    isLoading: isCouponListLoading\n  } = useCategoryNewBuyerCoupons(couponIdsToQuery);\n  const allCategoryQueries = Array.from(requiredSegments.groupIds).map((groupId) => {\n    const existingQuery = categoryQueries.find((q) => q.groupId === groupId);\n    return existingQuery || {\n      groupId,\n      data: void 0,\n      isLoading: false\n    };\n  });\n  const segmentState = useMemo(() => {\n    if (isFramerPreview()) {\n      return createCanvasSegmentState(requiredSegments.groupIds, requiredSegments.couponIds);\n    }\n    return createRealSegmentState(logged, userGender, userSegmentData, allCategoryQueries, couponListData, requiredSegments.groupIds, requiredSegments.couponIds);\n  }, [logged, userGender, userSegmentData, allCategoryQueries, couponListData, requiredSegments.groupIds, requiredSegments.couponIds]);\n  const isLoading = useMemo(() => {\n    const userLoading = needsUserSegment && logged && isUserSegmentLoading;\n    const categoryNewBuyerProductLoading = needsCategoryNewBuyerProduct && categoryQueries.some(({\n      isLoading: isCategoryNewBuyerProductLoading\n    }) => isCategoryNewBuyerProductLoading);\n    const categoryNewBuyerCouponLoading = needsCategoryNewBuyerCoupon && isCouponListLoading;\n    return userLoading || categoryNewBuyerProductLoading || categoryNewBuyerCouponLoading;\n  }, [needsUserSegment, logged, isUserSegmentLoading, needsCategoryNewBuyerProduct, needsCategoryNewBuyerCoupon, categoryQueries, isCouponListLoading]);\n  return {\n    segmentState,\n    isLoading\n  };\n};\nexport {\n  useTabBarSegments\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useScroll, useMotionValue, animate, useMotionValueEvent, MotionConfig, motion } from \"framer-motion\";\nimport { useState, useRef, useMemo, useCallback, useEffect } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../hooks/useCurrentUser.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { typographyCSS } from \"../../../styles/typography.js\";\nimport { playHaptic } from \"../../../utils/playHaptic.js\";\nimport { useTrackClickTabBarContentEvent } from \"../TabBar/TabBar.hooks.event.js\";\nimport { useTabBarContext } from \"../TabBar/TabBarContext.js\";\nimport { TabBarItem } from \"./TabBarItem.js\";\nimport { filterVisibleTabItems, toRGBA } from \"./TabBarV3.utils.js\";\nimport { useTabBarSegments } from \"./useTabBarSegments.js\";\nimport useMeasure from \"../../../node_modules/react-use/esm/useMeasure.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBar, {\n  wrapper: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n    }\n  `,\n  container: css`\n    & {\n      ${typographyCSS(14, 400, 1.4)}\n      letter-spacing: 0;\n      position: relative;\n      display: flex;\n      gap: 8px;\n      height: 100%;\n      width: 100%;\n      overflow: auto;\n\n      /* Hide scrollbar for IE, Edge and Firefox */\n      -ms-overflow-style: none;\n      scrollbar-width: none;\n\n      @media (min-width: 540px) {\n        ${typographyCSS(16, 400, 1.4)}\n      }\n    }\n\n    /* Hide scrollbar for Chrome, Safari and Opera */\n    &::-webkit-scrollbar {\n      display: none;\n    }\n  `,\n  containerSmTypography: css`\n    ${typographyCSS(14, 400, 1.4)}\n  `\n});\nconst transition = {\n  type: \"spring\",\n  bounce: 0\n};\nconst backgroundColorByTheme = {\n  default: \"rgb(0,0,0)\",\n  negative: \"rgb(255, 255, 255)\"\n};\nconst textColorByTheme = {\n  default: \"rgb(244, 244, 244)\",\n  negative: \"rgb(31, 31, 31)\"\n};\nconst unselectedTextColorByTheme = {\n  default: \"rgba(255, 255, 255, 0.38)\",\n  negative: \"rgb(138, 138, 138)\"\n};\nconst stickyBorderColorByTheme = {\n  default: \"rgba(255, 255, 255, 0.14)\",\n  negative: \"rgba(0, 0, 0, 0.06)\"\n};\nconst getAbsoluteOffsetTop = (element) => {\n  return Math.round(element.getBoundingClientRect().top + window.scrollY);\n};\nconst clamp = (value, lower, upper) => {\n  return Math.min(upper, Math.max(lower, value));\n};\nconst TabBarV3 = withStyle(({\n  style,\n  theme,\n  fadeInOut,\n  items,\n  padding = 0,\n  isMixed = false,\n  paddingTop = padding,\n  paddingRight = padding,\n  paddingBottom = padding,\n  paddingLeft = padding,\n  toggleMaxWidth = false,\n  maxWidth = 1114,\n  tabBarHeight = 44,\n  useSmallTypography = false\n}) => {\n  const {\n    selectedIndex,\n    onSelectedIndexChange\n  } = useTabBarContext();\n  const {\n    scrollY\n  } = useScroll();\n  const {\n    segmentState,\n    isLoading: isSegmentLoading\n  } = useTabBarSegments(items);\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    trackClickTabBarContentEvent\n  } = useTrackClickTabBarContentEvent();\n  const [isInitialTabReady, setIsInitialTabReady] = useState(false);\n  const [hasProcessedInitialHash, setHasProcessedInitialHash] = useState(false);\n  const wrapperRef = useRef(null);\n  const containerRef = useRef(null);\n  const sectionElementsRef = useRef();\n  const [ref, {\n    width: tabBarWidth\n  }] = useMeasure();\n  const couponIdExceedsLimit = useMemo(() => {\n    if (!isCanvas()) {\n      return false;\n    }\n    return items.some((item) => {\n      var _a;\n      return (_a = item.segment) == null ? void 0 : _a.some((seg) => {\n        if (seg.type !== \"categoryNewBuyerCoupon\" || !seg.couponId) {\n          return false;\n        }\n        const ids = seg.couponId.split(\",\").map((id) => id.trim()).filter(Boolean);\n        return ids.length > 10;\n      });\n    });\n  }, [items]);\n  const visibleItems = useMemo(() => {\n    if (isSegmentLoading) {\n      return items;\n    }\n    return filterVisibleTabItems(items, segmentState, logged);\n  }, [items, segmentState, isSegmentLoading, logged]);\n  const initialBackgroundColor = backgroundColorByTheme[theme];\n  const initialTextColor = textColorByTheme[theme];\n  const initialUnselectedTextColor = unselectedTextColorByTheme[theme];\n  const initialStickyBorderColor = stickyBorderColorByTheme[theme];\n  const stableBackgroundColor = useMemo(() => toRGBA(initialBackgroundColor, fadeInOut ? 0 : 1), [initialBackgroundColor, fadeInOut]);\n  const position = useMotionValue(\"relative\");\n  const backgroundColor = useMotionValue(stableBackgroundColor);\n  const borderTopColor = useMotionValue(\"transparent\");\n  const uniqueId = useMemo(() => items.map((item) => item.sectionId).join(\"-\"), [items]);\n  const indicatorLayoutId = `indicator-${uniqueId}`;\n  const getItemIdForIndex = useCallback((index) => `tab-bar__${uniqueId}__${index}`, [uniqueId]);\n  const focusTabByIndex = useCallback((index, withAnimation) => {\n    const itemElement = document.getElementById(getItemIdForIndex(index));\n    const containerElement = containerRef.current;\n    if (itemElement === null || containerElement === null) {\n      return;\n    }\n    const centerPosition = itemElement.offsetLeft - containerElement.offsetWidth / 2 + itemElement.offsetWidth / 2;\n    if (!withAnimation) {\n      containerElement.scrollTo({\n        left: centerPosition\n      });\n      return;\n    }\n    animate(containerElement.scrollLeft, centerPosition, {\n      ...transition,\n      onUpdate: (latest) => {\n        containerElement.scrollTo({\n          left: latest\n        });\n      }\n    });\n  }, [getItemIdForIndex]);\n  const selectItem = useCallback((index, {\n    tabBarAnimation = true\n  } = {}) => {\n    onSelectedIndexChange(index);\n    focusTabByIndex(index, tabBarAnimation);\n  }, [onSelectedIndexChange, focusTabByIndex]);\n  const scrollToSectionByIndex = useCallback((index) => {\n    var _a;\n    const element = (_a = sectionElementsRef.current) == null ? void 0 : _a[index];\n    if (!element) {\n      return;\n    }\n    try {\n      const rect = element.getBoundingClientRect();\n      const scrollTop = rect.top + window.scrollY - tabBarHeight;\n      if (scrollTop < 0) {\n        window.scrollTo({\n          top: 0\n        });\n        return;\n      }\n      const maxScroll = document.documentElement.scrollHeight - window.innerHeight;\n      if (scrollTop > maxScroll) {\n        window.scrollTo({\n          top: maxScroll\n        });\n        return;\n      }\n      window.scrollTo({\n        top: scrollTop\n      });\n    } catch {\n      return;\n    }\n  }, [tabBarHeight]);\n  const updateSectionElements = useCallback(() => {\n    if (isSegmentLoading || visibleItems.length === 0) {\n      return;\n    }\n    requestAnimationFrame(() => {\n      sectionElementsRef.current = visibleItems.map((item) => document.getElementById(item.sectionId));\n    });\n  }, [visibleItems, isSegmentLoading]);\n  useEffect(() => {\n    updateSectionElements();\n  }, [updateSectionElements]);\n  useEffect(() => {\n    backgroundColor.set(stableBackgroundColor);\n  }, [backgroundColor, stableBackgroundColor]);\n  useEffect(() => {\n    if (hasProcessedInitialHash) {\n      return;\n    }\n    const hash = window.location.hash;\n    if (!hash) {\n      setHasProcessedInitialHash(true);\n      setIsInitialTabReady(true);\n      return;\n    }\n    const targetId = hash.replace(\"#\", \"\");\n    let retryCount = 0;\n    let isUserInteracted = false;\n    const MAX_RETRIES = 30;\n    const scrollToHash = () => {\n      if (isUserInteracted) {\n        return;\n      }\n      const element = document.getElementById(targetId);\n      if (element) {\n        const rect = element.getBoundingClientRect();\n        const scrollTop = rect.top + window.scrollY - tabBarHeight;\n        window.scrollTo({\n          top: Math.max(0, scrollTop),\n          behavior: \"instant\"\n        });\n        const itemIndex = visibleItems.findIndex((item) => item.sectionId === targetId);\n        if (itemIndex >= 0) {\n          selectItem(itemIndex, {\n            tabBarAnimation: false\n          });\n        }\n      }\n    };\n    const handleUserInteraction = () => {\n      if (isUserInteracted) {\n        return;\n      }\n      isUserInteracted = true;\n      observer.disconnect();\n      clearTimeout(initialTimeout);\n      clearTimeout(forceCleanup);\n      setHasProcessedInitialHash(true);\n      setIsInitialTabReady(true);\n    };\n    const observer = new MutationObserver(() => {\n      if (isUserInteracted) {\n        observer.disconnect();\n        return;\n      }\n      if (retryCount++ < MAX_RETRIES) {\n        scrollToHash();\n      } else {\n        observer.disconnect();\n        setHasProcessedInitialHash(true);\n        setIsInitialTabReady(true);\n      }\n    });\n    observer.observe(document.body, {\n      childList: true,\n      subtree: true\n    });\n    const initialTimeout = setTimeout(() => {\n      scrollToHash();\n    }, 500);\n    window.addEventListener(\"wheel\", handleUserInteraction, {\n      passive: true\n    });\n    window.addEventListener(\"touchstart\", handleUserInteraction, {\n      passive: true\n    });\n    window.addEventListener(\"touchmove\", handleUserInteraction, {\n      passive: true\n    });\n    window.addEventListener(\"mousedown\", handleUserInteraction);\n    const forceCleanup = setTimeout(() => {\n      observer.disconnect();\n      setHasProcessedInitialHash(true);\n      setIsInitialTabReady(true);\n    }, 1e4);\n    return () => {\n      clearTimeout(initialTimeout);\n      clearTimeout(forceCleanup);\n      observer.disconnect();\n      window.removeEventListener(\"wheel\", handleUserInteraction);\n      window.removeEventListener(\"touchstart\", handleUserInteraction);\n      window.removeEventListener(\"touchmove\", handleUserInteraction);\n      window.removeEventListener(\"mousedown\", handleUserInteraction);\n    };\n  }, [hasProcessedInitialHash, visibleItems, tabBarHeight, selectItem]);\n  useEffect(() => {\n    const hash = window.location.hash;\n    if (hash) {\n      return;\n    }\n    if (hasProcessedInitialHash || isSegmentLoading || visibleItems.length === 0) {\n      return;\n    }\n    const [hashFromUrl] = window.location.hash.split(\"?\");\n    const initialItemIndex = visibleItems.findIndex((item) => `#${item.sectionId}` === hashFromUrl);\n    setHasProcessedInitialHash(true);\n    if (initialItemIndex >= 0) {\n      requestAnimationFrame(() => {\n        selectItem(initialItemIndex, {\n          tabBarAnimation: false\n        });\n      });\n    }\n    setIsInitialTabReady(true);\n  }, [hasProcessedInitialHash, isSegmentLoading, visibleItems, selectItem]);\n  useMotionValueEvent(scrollY, \"change\", (latest) => {\n    if (wrapperRef.current === null) {\n      return;\n    }\n    const top = getAbsoluteOffsetTop(wrapperRef.current);\n    const isPassed = latest >= top;\n    const opacity = fadeInOut ? clamp((latest - top) / tabBarHeight, 0, 1) : 1;\n    backgroundColor.set(toRGBA(initialBackgroundColor, opacity));\n    position.set(isPassed ? \"fixed\" : \"relative\");\n    borderTopColor.set(isPassed ? initialStickyBorderColor : \"transparent\");\n  });\n  useMotionValueEvent(scrollY, \"change\", (latest) => {\n    if (!isInitialTabReady) {\n      return;\n    }\n    const viewportHeight = document.documentElement.clientHeight ?? 0;\n    const lastIndex = visibleItems.length - 1;\n    const elementOffsetTops = [...(sectionElementsRef.current ?? []).map((element) => element ? getAbsoluteOffsetTop(element) : 0), Infinity];\n    const calcIndexByProbePercent = (probePercent) => {\n      const probePosition = latest + tabBarHeight + viewportHeight * probePercent;\n      return Math.max(-1, elementOffsetTops.findIndex((offsetY) => probePosition <= offsetY) - 1);\n    };\n    const indexAt20 = calcIndexByProbePercent(0.2);\n    const indexAt50 = calcIndexByProbePercent(0.5);\n    const foundIndex = indexAt50 === lastIndex ? lastIndex : Math.min(indexAt20, Math.max(lastIndex - 1, -1));\n    if (foundIndex !== selectedIndex) {\n      selectItem(foundIndex);\n    }\n  });\n  const handleClick = useCallback((index, item) => () => {\n    playHaptic(\"rigid\");\n    scrollToSectionByIndex(index);\n    trackClickTabBarContentEvent(index + 1, item);\n  }, [scrollToSectionByIndex, trackClickTabBarContentEvent]);\n  const handleKeyDown = useCallback((event) => {\n    const currentIndex = selectedIndex;\n    let newIndex = currentIndex;\n    switch (event.key) {\n      case \"ArrowLeft\":\n        newIndex = Math.max(0, currentIndex - 1);\n        break;\n      case \"ArrowRight\":\n        newIndex = Math.min(visibleItems.length - 1, currentIndex + 1);\n        break;\n      case \"Home\":\n        newIndex = 0;\n        break;\n      case \"End\":\n        newIndex = visibleItems.length - 1;\n        break;\n      default:\n        return;\n    }\n    if (newIndex !== currentIndex) {\n      event.preventDefault();\n      selectItem(newIndex);\n      scrollToSectionByIndex(newIndex);\n    }\n  }, [selectedIndex, visibleItems.length, selectItem, scrollToSectionByIndex]);\n  const tabBarPadding = isMixed ? `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px` : `${padding}px`;\n  const tabBarMaxWidth = toggleMaxWidth ? `${maxWidth}px` : void 0;\n  if (couponIdExceedsLimit) {\n    return /* @__PURE__ */ jsx(\"div\", { style: {\n      padding: \"12px 16px\",\n      backgroundColor: \"#fee2e2\",\n      color: \"#dc2626\",\n      fontSize: \"13px\",\n      fontWeight: 600,\n      borderRadius: \"8px\",\n      textAlign: \"center\"\n    }, children: \"쿠폰 ID는 최대 10개까지 입력할 수 있습니다.\" });\n  }\n  return /* @__PURE__ */ jsx(MotionConfig, { transition, children: /* @__PURE__ */ jsx(\"div\", { ref: mergeRefs([wrapperRef, ref]), style: {\n    height: tabBarHeight\n  }, children: /* @__PURE__ */ jsx(motion.div, { className: classNames.wrapper, style: {\n    ...style,\n    width: tabBarWidth || \"100%\",\n    height: tabBarHeight,\n    position,\n    zIndex: 20,\n    top: 0,\n    left: 0,\n    right: 0,\n    backgroundColor,\n    borderTopWidth: 1,\n    borderTopStyle: \"solid\",\n    borderTopColor,\n    boxSizing: \"border-box\"\n  }, children: /* @__PURE__ */ jsx(motion.div, { className: `${classNames.container} ${useSmallTypography ? classNames.containerSmTypography : \"\"}`, ref: containerRef, layout: true, layoutRoot: true, role: \"tablist\", \"aria-orientation\": \"horizontal\", onKeyDown: handleKeyDown, style: {\n    padding: tabBarPadding,\n    maxWidth: tabBarMaxWidth,\n    backgroundColor\n  }, children: useMemo(() => visibleItems.map((item, index) => /* @__PURE__ */ jsx(TabBarItem, { id: getItemIdForIndex(index), layoutId: indicatorLayoutId, item, selected: Math.max(0, selectedIndex) === index, color: initialTextColor, unselectedColor: initialUnselectedTextColor, onClick: handleClick(index, item), tabIndex: selectedIndex === index ? 0 : -1 }, item.sectionId)), [visibleItems, getItemIdForIndex, indicatorLayoutId, selectedIndex, initialTextColor, initialUnselectedTextColor, handleClick]) }) }) }) });\n});\naddPropertyControls(TabBarV3, {\n  theme: {\n    type: ControlType.Enum,\n    title: \"테마\",\n    options: [\"default\", \"negative\"],\n    optionTitles: [\"기본\", \"반전\"],\n    defaultValue: \"default\",\n    displaySegmentedControl: true\n  },\n  fadeInOut: {\n    type: ControlType.Boolean,\n    title: \"배경색 페이드 인/아웃\",\n    description: \"활성화 시 탭바가 상단에 붙은 상태로 스크롤되면 배경색의 투명도가 서서히 증감합니다.\",\n    defaultValue: false\n  },\n  items: {\n    title: \"탭\",\n    type: ControlType.Array,\n    control: {\n      type: ControlType.Object,\n      controls: {\n        label: {\n          title: \"탭 이름\",\n          type: ControlType.String,\n          defaultValue: \"탭\"\n        },\n        sectionId: {\n          title: \"스크롤 섹션 ID\",\n          type: ControlType.String\n        },\n        segment: {\n          title: \"세그먼트\",\n          type: ControlType.Array,\n          description: \"세그먼트 조건에 맞는 탭만 표시됩니다.\",\n          control: {\n            type: ControlType.Object,\n            controls: {\n              type: {\n                type: ControlType.Enum,\n                title: \"타입\",\n                options: [\"login\", \"guest\", \"newBuyer\", \"categoryNewBuyerProduct\", \"categoryNewBuyerCoupon\", \"gender\"],\n                optionTitles: [\"로그인\", \"미로그인\", \"생애 첫구매\", \"카테고리 첫구매 상품\", \"카테고리 첫구매 쿠폰\", \"성별\"],\n                defaultValue: \"\"\n              },\n              groupId: {\n                hidden: ({\n                  type\n                }) => type !== \"categoryNewBuyerProduct\",\n                type: ControlType.String,\n                title: \"그룹 ID\",\n                description: \"categoryNewBuyerProduct 타입일 때 사용할 그룹 ID\",\n                defaultValue: \"\"\n              },\n              couponId: {\n                hidden: ({\n                  type\n                }) => type !== \"categoryNewBuyerCoupon\",\n                type: ControlType.String,\n                title: \"쿠폰 IDs\",\n                description: \"최대 10개, 복수 id를 , 로 구분해서 입력\",\n                defaultValue: \"\"\n              },\n              gender: {\n                hidden: ({\n                  type\n                }) => type !== \"gender\",\n                type: ControlType.Enum,\n                title: \"성별\",\n                description: \"선택한 성별의 유저에게만 노출됩니다. 미로그인 유저에게는 항상 노출됩니다.\",\n                options: [\"M\", \"F\"],\n                optionTitles: [\"남성\", \"여성\"],\n                defaultValue: \"M\"\n              }\n            }\n          }\n        }\n      }\n    },\n    defaultValue: [{\n      label: \"Chapter 1\",\n      sectionId: \"chapter1\",\n      segment: [{\n        type: \"\"\n      }]\n    }, {\n      label: \"Chapter 2\",\n      sectionId: \"chapter2\",\n      segment: [{\n        type: \"\"\n      }]\n    }, {\n      label: \"Chapter 3\",\n      sectionId: \"chapter3\",\n      segment: [{\n        type: \"\"\n      }]\n    }]\n  },\n  padding: {\n    type: ControlType.FusedNumber,\n    title: \"Padding\",\n    defaultValue: 0,\n    toggleKey: \"isMixed\",\n    toggleTitles: [\"All\", \"Individual\"],\n    valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n    valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n    min: 0\n  },\n  toggleMaxWidth: {\n    type: ControlType.Boolean,\n    title: \"MaxWidth\",\n    enabledTitle: \"SET\",\n    disabledTitle: \"UNSET\",\n    defaultValue: false\n  },\n  maxWidth: {\n    type: ControlType.Number,\n    defaultValue: 1114,\n    min: 50,\n    unit: \"px\",\n    step: 1,\n    displayStepper: true,\n    hidden(props) {\n      return props.toggleMaxWidth === false;\n    }\n  }\n});\nexport {\n  TabBarV3\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { motion } from \"framer-motion\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport \"react\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBarV4Item, {\n  container: css`\n    & {\n      position: relative;\n      flex: 1 0 auto;\n      display: flex;\n      flex-direction: column;\n      align-items: center;\n      padding-top: 6px;\n      text-decoration: none;\n      cursor: pointer;\n      outline: none;\n\n      &:focus-visible {\n        outline: 2px solid #007aff;\n        outline-offset: -2px;\n      }\n\n      @media (min-width: 540px) {\n        padding-top: 7px;\n      }\n    }\n  `,\n  content: css`\n    & {\n      display: flex;\n      flex-direction: column;\n      align-items: stretch;\n      width: fit-content;\n      max-width: 100%;\n      height: 100%;\n    }\n  `,\n  tabItem: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      height: 32px;\n      padding: 0 4px;\n      border-radius: 2px;\n      transition: color 250ms ease-in-out;\n    }\n  `,\n  indicatorWrapper: css`\n    & {\n      display: flex;\n      width: 100%;\n      height: 2.5px;\n      padding: 0 4px;\n      box-sizing: border-box;\n      margin-top: auto;\n    }\n  `,\n  indicatorBar: css`\n    & {\n      width: 100%;\n      height: 100%;\n      border-radius: 9999px;\n    }\n  `\n});\nconst TabBarItem = withStyle(({\n  id,\n  layoutId,\n  item,\n  selected,\n  color,\n  unselectedColor,\n  onClick,\n  tabIndex = 0\n}) => {\n  const hash = `#${item.sectionId}`;\n  const handleKeyDown = (event) => {\n    if (event.key === \"Enter\" || event.key === \" \") {\n      event.preventDefault();\n      history.replaceState(\"\", \"\", hash);\n      onClick(item);\n    }\n  };\n  const handleClick = (event) => {\n    event.preventDefault();\n    history.replaceState(\"\", \"\", hash);\n    onClick(item);\n  };\n  return /* @__PURE__ */ jsx(\"a\", { className: classNames.container, id, href: hash, role: \"tab\", \"aria-selected\": selected, \"aria-controls\": item.sectionId, tabIndex: selected ? tabIndex : -1, onClick: handleClick, onKeyDown: handleKeyDown, children: /* @__PURE__ */ jsxs(\"div\", { className: classNames.content, children: [\n    /* @__PURE__ */ jsx(\"div\", { className: classNames.tabItem, style: {\n      color: selected ? color : unselectedColor,\n      fontWeight: selected ? 600 : 400\n    }, children: item.label }),\n    /* @__PURE__ */ jsx(\"div\", { className: classNames.indicatorWrapper, \"aria-hidden\": \"true\", children: selected && /* @__PURE__ */ jsx(motion.div, { className: classNames.indicatorBar, style: {\n      backgroundColor: color\n    }, layoutId, layout: true }) })\n  ] }) });\n});\nexport {\n  TabBarItem\n};\n","import \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport { isFramerPreview } from \"../../../utils/framer/isFramerPreview.js\";\nimport \"react\";\nconst toRGBA = (color, opacity) => {\n  const matched = color.match(/\\d+/g);\n  if (!matched) {\n    return color;\n  }\n  const [r, g, b] = matched;\n  return `rgba(${r}, ${g}, ${b}, ${opacity})`;\n};\nconst shouldShowTabItem = (item, segmentState, logged) => {\n  if (isCanvas() || isFramerPreview()) {\n    return true;\n  }\n  if (!item.segment || item.segment.length === 0) {\n    return true;\n  }\n  if (item.segment.some((segment) => segment.type === \"\")) {\n    return true;\n  }\n  return item.segment.every((segment) => {\n    switch (segment.type) {\n      case \"login\":\n        return segmentState.isLogin;\n      case \"guest\":\n        return segmentState.guest;\n      case \"newBuyer\":\n        return !logged ? true : segmentState.isNewBuyer;\n      case \"categoryNewBuyerProduct\":\n        if (segment.groupId) {\n          return !logged ? true : segmentState.categoryNewBuyerStates[segment.groupId] ?? false;\n        }\n        return !logged ? true : Object.values(segmentState.categoryNewBuyerStates).some(Boolean);\n      case \"categoryNewBuyerCoupon\":\n        if (segment.couponId) {\n          if (!logged) {\n            return true;\n          }\n          const parsedCouponIds = segment.couponId.split(\",\").map((id) => id.trim()).filter(Boolean);\n          return parsedCouponIds.some((id) => segmentState.categoryNewBuyerCouponStates[id] ?? false);\n        }\n        return !logged ? true : Object.values(segmentState.categoryNewBuyerCouponStates).some(Boolean);\n      case \"gender\": {\n        if (!segment.gender) {\n          return false;\n        }\n        return !logged ? true : segmentState.userGender !== null && segmentState.userGender === segment.gender;\n      }\n      default:\n        return true;\n    }\n  });\n};\nconst filterVisibleTabItems = (items, segmentState, logged) => {\n  return items.filter((item) => shouldShowTabItem(item, segmentState, logged));\n};\nexport {\n  filterVisibleTabItems,\n  shouldShowTabItem,\n  toRGBA\n};\n","import { useState, useRef } from \"react\";\nimport useIsomorphicLayoutEffect from \"../../../node_modules/react-use/esm/useIsomorphicLayoutEffect.js\";\nconst TOLERANCE = 0.5;\nconst MAX_LOCK_DURATION = 5e3;\nconst STABLE_FRAME_THRESHOLD = 6;\nconst STUCK_FRAME_THRESHOLD = 30;\nconst INTERACTION_EVENTS = [\"wheel\", \"touchstart\", \"touchmove\", \"mousedown\"];\nconst SCROLL_INTENT_KEYS = /* @__PURE__ */ new Set([\n  \"ArrowUp\",\n  \"ArrowDown\",\n  \"ArrowLeft\",\n  \"ArrowRight\",\n  \"PageUp\",\n  \"PageDown\",\n  \"Home\",\n  \"End\",\n  \"Enter\",\n  \" \",\n  \"Spacebar\"\n  // Space의 구형 브라우저 표기\n]);\nlet scrollAnchoringSuppressorCount = 0;\nlet overflowAnchorBeforeSuppress = \"\";\nconst suppressNativeScrollAnchoring = () => {\n  if (scrollAnchoringSuppressorCount === 0) {\n    overflowAnchorBeforeSuppress = document.documentElement.style.getPropertyValue(\"overflow-anchor\");\n    document.documentElement.style.setProperty(\"overflow-anchor\", \"none\");\n  }\n  scrollAnchoringSuppressorCount += 1;\n};\nconst restoreNativeScrollAnchoring = () => {\n  scrollAnchoringSuppressorCount = Math.max(0, scrollAnchoringSuppressorCount - 1);\n  if (scrollAnchoringSuppressorCount > 0) {\n    return;\n  }\n  if (overflowAnchorBeforeSuppress === \"\") {\n    document.documentElement.style.removeProperty(\"overflow-anchor\");\n  } else {\n    document.documentElement.style.setProperty(\"overflow-anchor\", overflowAnchorBeforeSuppress);\n  }\n};\nconst getHashTargetId = () => {\n  const [hash] = window.location.hash.split(\"?\");\n  const targetId = hash.replace(/^#/, \"\");\n  return targetId === \"\" ? null : targetId;\n};\nconst startAnchorLock = ({\n  targetId,\n  getOffset,\n  onRelease,\n  onResolved\n}) => {\n  var _a;\n  const html = document.documentElement;\n  suppressNativeScrollAnchoring();\n  const startedAt = performance.now();\n  let isReleased = false;\n  let rafId = 0;\n  let cachedTarget = null;\n  let stableFrames = 0;\n  let stuckFrames = 0;\n  let hasMarkedResolved = false;\n  const markResolved = () => {\n    if (hasMarkedResolved) {\n      return;\n    }\n    hasMarkedResolved = true;\n    onResolved();\n  };\n  const getTarget = () => {\n    if (cachedTarget == null ? void 0 : cachedTarget.isConnected) {\n      return cachedTarget;\n    }\n    cachedTarget = document.getElementById(targetId);\n    return cachedTarget;\n  };\n  const adjust = () => {\n    if (isReleased) {\n      return \"stable\";\n    }\n    const target = getTarget();\n    if (target === null) {\n      return \"no-target\";\n    }\n    const delta = target.getBoundingClientRect().top - getOffset();\n    if (Math.abs(delta) <= TOLERANCE) {\n      return \"stable\";\n    }\n    const maxScrollTop = Math.max(0, html.scrollHeight - window.innerHeight);\n    const nextScrollTop = Math.min(Math.max(window.scrollY + delta, 0), maxScrollTop);\n    if (Math.abs(nextScrollTop - window.scrollY) <= TOLERANCE) {\n      return \"blocked\";\n    }\n    window.scrollTo({\n      top: nextScrollTop,\n      behavior: \"instant\"\n    });\n    return \"corrected\";\n  };\n  const resizeObserver = new ResizeObserver(adjust);\n  resizeObserver.observe(html);\n  resizeObserver.observe(document.body);\n  const release = (reason) => {\n    if (isReleased) {\n      return;\n    }\n    isReleased = true;\n    cancelAnimationFrame(rafId);\n    clearTimeout(maxDurationTimer);\n    resizeObserver.disconnect();\n    window.removeEventListener(\"load\", adjust);\n    window.removeEventListener(\"keydown\", releaseByScrollIntentKey);\n    INTERACTION_EVENTS.forEach((eventName) => window.removeEventListener(eventName, releaseByInteraction));\n    restoreNativeScrollAnchoring();\n    markResolved();\n    onRelease(reason);\n  };\n  const releaseByInteraction = () => release(\"interaction\");\n  const releaseByScrollIntentKey = (event) => {\n    if (!SCROLL_INTENT_KEYS.has(event.key)) {\n      return;\n    }\n    release(\"interaction\");\n  };\n  const maxDurationTimer = setTimeout(() => release(\"timeout\"), MAX_LOCK_DURATION);\n  const tick = () => {\n    if (isReleased) {\n      return;\n    }\n    const result = adjust();\n    stableFrames = result === \"stable\" ? stableFrames + 1 : 0;\n    stuckFrames = result === \"no-target\" || result === \"blocked\" ? stuckFrames + 1 : 0;\n    if (stableFrames >= STABLE_FRAME_THRESHOLD || stuckFrames >= STUCK_FRAME_THRESHOLD) {\n      markResolved();\n    }\n    if (performance.now() - startedAt >= MAX_LOCK_DURATION) {\n      release(\"timeout\");\n      return;\n    }\n    rafId = requestAnimationFrame(tick);\n  };\n  window.addEventListener(\"load\", adjust);\n  (_a = document.fonts) == null ? void 0 : _a.ready.then(adjust).catch(() => void 0);\n  window.addEventListener(\"keydown\", releaseByScrollIntentKey, {\n    passive: true\n  });\n  INTERACTION_EVENTS.forEach((eventName) => window.addEventListener(eventName, releaseByInteraction, {\n    passive: true\n  }));\n  adjust();\n  rafId = requestAnimationFrame(tick);\n  return () => release(\"unmount\");\n};\nconst useHashAnchorLock = ({\n  offset\n}) => {\n  const [targetId, setTargetId] = useState(null);\n  const [isSettled, setIsSettled] = useState(false);\n  const [isReleasedByInteraction, setIsReleasedByInteraction] = useState(false);\n  const [isResolved, setIsResolved] = useState(true);\n  const offsetRef = useRef(offset);\n  offsetRef.current = offset;\n  useIsomorphicLayoutEffect(() => {\n    const hashTargetId = getHashTargetId();\n    if (hashTargetId === null) {\n      setIsSettled(true);\n      return;\n    }\n    setTargetId(hashTargetId);\n    setIsSettled(false);\n    setIsResolved(false);\n    return startAnchorLock({\n      targetId: hashTargetId,\n      getOffset: () => offsetRef.current,\n      onRelease: (reason) => {\n        setIsSettled(true);\n        if (reason === \"interaction\") {\n          setIsReleasedByInteraction(true);\n        }\n      },\n      onResolved: () => setIsResolved(true)\n    });\n  }, []);\n  return {\n    targetId,\n    isSettled,\n    isReleasedByInteraction,\n    isResolved\n  };\n};\nexport {\n  INTERACTION_EVENTS,\n  SCROLL_INTENT_KEYS,\n  useHashAnchorLock\n};\n","import { useMemo } from \"react\";\nimport { useCurrentUser } from \"../../../hooks/code-overrides/useCurrentUser.js\";\nimport { useUserFirstOrderSegment } from \"../../../hooks/code-overrides/useUserTargetSegment.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport { useCategoryNewBuyerCoupons } from \"../../../hooks/fetchers/useCategoryNewBuyerCoupons.js\";\nimport { useCategoryNewBuyerProduct } from \"../../../hooks/fetchers/useCategoryNewBuyerProduct.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport { isFramerPreview } from \"../../../utils/framer/isFramerPreview.js\";\nconst extractRequiredSegments = (items) => {\n  const segments = /* @__PURE__ */ new Set();\n  const groupIds = /* @__PURE__ */ new Set();\n  const couponIds = /* @__PURE__ */ new Set();\n  items.forEach((item) => {\n    var _a;\n    (_a = item.segment) == null ? void 0 : _a.forEach((seg) => {\n      segments.add(seg.type);\n      if (seg.type === \"categoryNewBuyerProduct\" && seg.groupId) {\n        groupIds.add(seg.groupId);\n      }\n      if (seg.type === \"categoryNewBuyerCoupon\" && seg.couponId) {\n        seg.couponId.split(\",\").map((id) => id.trim()).filter(Boolean).forEach((id) => couponIds.add(id));\n      }\n    });\n  });\n  return {\n    segments,\n    groupIds,\n    couponIds\n  };\n};\nconst createCanvasSegmentState = (groupIds, couponIds) => {\n  const categoryNewBuyerStates = {};\n  groupIds.forEach((groupId) => {\n    categoryNewBuyerStates[groupId] = true;\n  });\n  const categoryNewBuyerCouponStates = {};\n  couponIds.forEach((couponId) => {\n    categoryNewBuyerCouponStates[couponId] = true;\n  });\n  return {\n    isLogin: true,\n    guest: true,\n    isNewBuyer: true,\n    categoryNewBuyerStates,\n    categoryNewBuyerCouponStates,\n    userGender: null\n  };\n};\nconst createRealSegmentState = (logged, userGender, userSegmentData, categoryQueries, couponListData, groupIds, couponIds) => {\n  var _a, _b;\n  const categoryNewBuyerStates = {};\n  if (logged) {\n    categoryQueries.forEach(({\n      groupId,\n      data\n    }) => {\n      var _a2;\n      categoryNewBuyerStates[groupId] = ((_a2 = data == null ? void 0 : data.data) == null ? void 0 : _a2.isOrderable) ?? false;\n    });\n  } else {\n    groupIds.forEach((groupId) => {\n      categoryNewBuyerStates[groupId] = false;\n    });\n  }\n  const categoryNewBuyerCouponStates = {};\n  if (logged) {\n    couponIds.forEach((couponId) => {\n      categoryNewBuyerCouponStates[couponId] = false;\n    });\n    (_a = couponListData == null ? void 0 : couponListData.data) == null ? void 0 : _a.forEach(({\n      couponId,\n      isOrderable\n    }) => {\n      categoryNewBuyerCouponStates[String(couponId)] = isOrderable;\n    });\n  } else {\n    couponIds.forEach((couponId) => {\n      categoryNewBuyerCouponStates[couponId] = false;\n    });\n  }\n  return {\n    isLogin: logged,\n    guest: !logged,\n    isNewBuyer: logged ? ((_b = userSegmentData == null ? void 0 : userSegmentData.data) == null ? void 0 : _b.isFirstOrder) ?? false : false,\n    categoryNewBuyerStates,\n    categoryNewBuyerCouponStates,\n    userGender: userGender ?? null\n  };\n};\nconst useTabBarSegments = (items) => {\n  const requiredSegments = useMemo(() => extractRequiredSegments(items), [items]);\n  const {\n    logged,\n    gender: userGender\n  } = useCurrentUser();\n  const needsUserSegment = requiredSegments.segments.has(\"login\") || requiredSegments.segments.has(\"guest\") || requiredSegments.segments.has(\"newBuyer\");\n  const {\n    data: userSegmentData,\n    isLoading: isUserSegmentLoading\n  } = useUserFirstOrderSegment(needsUserSegment && logged);\n  const needsCategoryNewBuyerProduct = requiredSegments.segments.has(\"categoryNewBuyerProduct\") && logged;\n  const groupIdsToQuery = needsCategoryNewBuyerProduct ? Array.from(requiredSegments.groupIds) : [];\n  const needsCategoryNewBuyerCoupon = requiredSegments.segments.has(\"categoryNewBuyerCoupon\") && logged;\n  const couponIdsToQuery = useMemo(() => needsCategoryNewBuyerCoupon ? Array.from(requiredSegments.couponIds).map(Number) : [], [needsCategoryNewBuyerCoupon, requiredSegments.couponIds]);\n  const categoryQueries = groupIdsToQuery.map((groupId) => {\n    const {\n      data,\n      isLoading: isCategoryNewBuyerProductLoading\n    } = useCategoryNewBuyerProduct(groupId);\n    return {\n      groupId,\n      data,\n      isLoading: isCategoryNewBuyerProductLoading\n    };\n  });\n  const {\n    data: couponListData,\n    isLoading: isCouponListLoading\n  } = useCategoryNewBuyerCoupons(couponIdsToQuery);\n  const allCategoryQueries = Array.from(requiredSegments.groupIds).map((groupId) => {\n    const existingQuery = categoryQueries.find((q) => q.groupId === groupId);\n    return existingQuery || {\n      groupId,\n      data: void 0,\n      isLoading: false\n    };\n  });\n  const segmentState = useMemo(() => {\n    if (isFramerPreview()) {\n      return createCanvasSegmentState(requiredSegments.groupIds, requiredSegments.couponIds);\n    }\n    return createRealSegmentState(logged, userGender, userSegmentData, allCategoryQueries, couponListData, requiredSegments.groupIds, requiredSegments.couponIds);\n  }, [logged, userGender, userSegmentData, allCategoryQueries, couponListData, requiredSegments.groupIds, requiredSegments.couponIds]);\n  const isLoading = useMemo(() => {\n    const userLoading = needsUserSegment && logged && isUserSegmentLoading;\n    const categoryNewBuyerProductLoading = needsCategoryNewBuyerProduct && categoryQueries.some(({\n      isLoading: isCategoryNewBuyerProductLoading\n    }) => isCategoryNewBuyerProductLoading);\n    const categoryNewBuyerCouponLoading = needsCategoryNewBuyerCoupon && isCouponListLoading;\n    return userLoading || categoryNewBuyerProductLoading || categoryNewBuyerCouponLoading;\n  }, [needsUserSegment, logged, isUserSegmentLoading, needsCategoryNewBuyerProduct, needsCategoryNewBuyerCoupon, categoryQueries, isCouponListLoading]);\n  return {\n    segmentState,\n    isLoading\n  };\n};\nexport {\n  useTabBarSegments\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useScroll, useMotionValue, animate, useMotionValueEvent, MotionConfig, motion } from \"framer-motion\";\nimport { useRef, useMemo, useCallback, useEffect } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../hooks/useCurrentUser.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { typographyCSS } from \"../../../styles/typography.js\";\nimport { playHaptic } from \"../../../utils/playHaptic.js\";\nimport { useTrackClickTabBarContentEvent } from \"../TabBar/TabBar.hooks.event.js\";\nimport { useTabBarContext } from \"../TabBar/TabBarContext.js\";\nimport { TabBarItem } from \"./TabBarItem.js\";\nimport { filterVisibleTabItems, toRGBA } from \"./TabBarV4.utils.js\";\nimport { useHashAnchorLock, INTERACTION_EVENTS, SCROLL_INTENT_KEYS } from \"./useHashAnchorLock.js\";\nimport { useTabBarSegments } from \"./useTabBarSegments.js\";\nimport useMeasure from \"../../../node_modules/react-use/esm/useMeasure.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBarV4, {\n  wrapper: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n    }\n  `,\n  container: css`\n    & {\n      ${typographyCSS(14, 400, 1.4)}\n      letter-spacing: 0;\n      position: relative;\n      display: flex;\n      gap: 8px;\n      height: 100%;\n      width: 100%;\n      overflow: auto;\n\n      /* Hide scrollbar for IE, Edge and Firefox */\n      -ms-overflow-style: none;\n      scrollbar-width: none;\n\n      @media (min-width: 540px) {\n        ${typographyCSS(16, 400, 1.4)}\n      }\n    }\n\n    /* Hide scrollbar for Chrome, Safari and Opera */\n    &::-webkit-scrollbar {\n      display: none;\n    }\n  `,\n  containerSmTypography: css`\n    ${typographyCSS(14, 400, 1.4)}\n  `\n});\nconst transition = {\n  type: \"spring\",\n  bounce: 0\n};\nconst backgroundColorByTheme = {\n  default: \"rgb(0,0,0)\",\n  negative: \"rgb(255, 255, 255)\"\n};\nconst textColorByTheme = {\n  default: \"rgb(244, 244, 244)\",\n  negative: \"rgb(31, 31, 31)\"\n};\nconst unselectedTextColorByTheme = {\n  default: \"rgba(255, 255, 255, 0.38)\",\n  negative: \"rgb(138, 138, 138)\"\n};\nconst stickyBorderColorByTheme = {\n  default: \"rgba(255, 255, 255, 0.14)\",\n  negative: \"rgba(0, 0, 0, 0.06)\"\n};\nconst getAbsoluteOffsetTop = (element) => {\n  return Math.round(element.getBoundingClientRect().top + window.scrollY);\n};\nconst clamp = (value, lower, upper) => {\n  return Math.min(upper, Math.max(lower, value));\n};\nconst TabBarV4 = withStyle(({\n  style,\n  theme,\n  fadeInOut,\n  items,\n  padding = 0,\n  isMixed = false,\n  paddingTop = padding,\n  paddingRight = padding,\n  paddingBottom = padding,\n  paddingLeft = padding,\n  toggleMaxWidth = false,\n  maxWidth = 1114,\n  tabBarHeight = 44,\n  useSmallTypography = false\n}) => {\n  const {\n    selectedIndex,\n    onSelectedIndexChange\n  } = useTabBarContext();\n  const {\n    scrollY\n  } = useScroll();\n  const {\n    segmentState,\n    isLoading: isSegmentLoading\n  } = useTabBarSegments(items);\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    trackClickTabBarContentEvent\n  } = useTrackClickTabBarContentEvent();\n  const {\n    targetId: hashTargetId,\n    isSettled: isAnchorSettled,\n    isReleasedByInteraction,\n    isResolved: isAnchorResolved\n  } = useHashAnchorLock({\n    offset: tabBarHeight\n  });\n  const isRevealed = isAnchorResolved;\n  const wrapperRef = useRef(null);\n  const containerRef = useRef(null);\n  const sectionElementsRef = useRef();\n  const hasSyncedHashTabRef = useRef(false);\n  const isSelectionPinnedRef = useRef(false);\n  const [ref, {\n    width: tabBarWidth\n  }] = useMeasure();\n  const couponIdExceedsLimit = useMemo(() => {\n    if (!isCanvas()) {\n      return false;\n    }\n    return items.some((item) => {\n      var _a;\n      return (_a = item.segment) == null ? void 0 : _a.some((seg) => {\n        if (seg.type !== \"categoryNewBuyerCoupon\" || !seg.couponId) {\n          return false;\n        }\n        const ids = seg.couponId.split(\",\").map((id) => id.trim()).filter(Boolean);\n        return ids.length > 10;\n      });\n    });\n  }, [items]);\n  const visibleItems = useMemo(() => {\n    if (isSegmentLoading) {\n      return items;\n    }\n    return filterVisibleTabItems(items, segmentState, logged);\n  }, [items, segmentState, isSegmentLoading, logged]);\n  const initialBackgroundColor = backgroundColorByTheme[theme];\n  const initialTextColor = textColorByTheme[theme];\n  const initialUnselectedTextColor = unselectedTextColorByTheme[theme];\n  const initialStickyBorderColor = stickyBorderColorByTheme[theme];\n  const stableBackgroundColor = useMemo(() => toRGBA(initialBackgroundColor, fadeInOut ? 0 : 1), [initialBackgroundColor, fadeInOut]);\n  const position = useMotionValue(\"relative\");\n  const backgroundColor = useMotionValue(stableBackgroundColor);\n  const borderTopColor = useMotionValue(\"transparent\");\n  const uniqueId = useMemo(() => items.map((item) => item.sectionId).join(\"-\"), [items]);\n  const indicatorLayoutId = `indicator-${uniqueId}`;\n  const getItemIdForIndex = useCallback((index) => `tab-bar__${uniqueId}__${index}`, [uniqueId]);\n  const focusTabByIndex = useCallback((index, withAnimation) => {\n    const itemElement = document.getElementById(getItemIdForIndex(index));\n    const containerElement = containerRef.current;\n    if (itemElement === null || containerElement === null) {\n      return;\n    }\n    const centerPosition = itemElement.offsetLeft - containerElement.offsetWidth / 2 + itemElement.offsetWidth / 2;\n    if (!withAnimation) {\n      containerElement.scrollTo({\n        left: centerPosition\n      });\n      return;\n    }\n    animate(containerElement.scrollLeft, centerPosition, {\n      ...transition,\n      onUpdate: (latest) => {\n        containerElement.scrollTo({\n          left: latest\n        });\n      }\n    });\n  }, [getItemIdForIndex]);\n  const selectItem = useCallback((index, {\n    tabBarAnimation = true\n  } = {}) => {\n    onSelectedIndexChange(index);\n    focusTabByIndex(index, tabBarAnimation);\n  }, [onSelectedIndexChange, focusTabByIndex]);\n  const scrollToSectionByIndex = useCallback((index) => {\n    var _a;\n    const element = (_a = sectionElementsRef.current) == null ? void 0 : _a[index];\n    if (!element) {\n      return;\n    }\n    try {\n      const rect = element.getBoundingClientRect();\n      const scrollTop = rect.top + window.scrollY - tabBarHeight;\n      if (scrollTop < 0) {\n        window.scrollTo({\n          top: 0\n        });\n        return;\n      }\n      const maxScroll = document.documentElement.scrollHeight - window.innerHeight;\n      if (scrollTop > maxScroll) {\n        window.scrollTo({\n          top: maxScroll\n        });\n        return;\n      }\n      window.scrollTo({\n        top: scrollTop\n      });\n    } catch {\n      return;\n    }\n  }, [tabBarHeight]);\n  const updateSectionElements = useCallback(() => {\n    if (isSegmentLoading || visibleItems.length === 0) {\n      return;\n    }\n    requestAnimationFrame(() => {\n      sectionElementsRef.current = visibleItems.map((item) => document.getElementById(item.sectionId));\n    });\n  }, [visibleItems, isSegmentLoading]);\n  useEffect(() => {\n    updateSectionElements();\n  }, [updateSectionElements]);\n  useEffect(() => {\n    backgroundColor.set(stableBackgroundColor);\n  }, [backgroundColor, stableBackgroundColor]);\n  useEffect(() => {\n    const unpin = () => {\n      isSelectionPinnedRef.current = false;\n    };\n    const unpinByScrollIntentKey = (event) => {\n      if (event.defaultPrevented || !SCROLL_INTENT_KEYS.has(event.key)) {\n        return;\n      }\n      unpin();\n    };\n    INTERACTION_EVENTS.forEach((eventName) => window.addEventListener(eventName, unpin, {\n      passive: true\n    }));\n    window.addEventListener(\"keydown\", unpinByScrollIntentKey, {\n      passive: true\n    });\n    return () => {\n      INTERACTION_EVENTS.forEach((eventName) => window.removeEventListener(eventName, unpin));\n      window.removeEventListener(\"keydown\", unpinByScrollIntentKey);\n    };\n  }, []);\n  useEffect(() => {\n    if (hashTargetId === null || hasSyncedHashTabRef.current) {\n      return;\n    }\n    if (isReleasedByInteraction) {\n      hasSyncedHashTabRef.current = true;\n      return;\n    }\n    const targetIndex = visibleItems.findIndex((item) => item.sectionId === hashTargetId);\n    if (targetIndex >= 0) {\n      isSelectionPinnedRef.current = true;\n    }\n    if (targetIndex >= 0 && targetIndex !== selectedIndex) {\n      selectItem(targetIndex, {\n        tabBarAnimation: false\n      });\n    }\n    if (!isSegmentLoading && isAnchorSettled) {\n      hasSyncedHashTabRef.current = true;\n    }\n  }, [hashTargetId, isAnchorSettled, isReleasedByInteraction, isSegmentLoading, visibleItems, selectedIndex, selectItem]);\n  useMotionValueEvent(scrollY, \"change\", (latest) => {\n    if (wrapperRef.current === null) {\n      return;\n    }\n    const top = getAbsoluteOffsetTop(wrapperRef.current);\n    const isPassed = latest >= top;\n    const opacity = fadeInOut ? clamp((latest - top) / tabBarHeight, 0, 1) : 1;\n    backgroundColor.set(toRGBA(initialBackgroundColor, opacity));\n    position.set(isPassed ? \"fixed\" : \"relative\");\n    borderTopColor.set(isPassed ? initialStickyBorderColor : \"transparent\");\n  });\n  useMotionValueEvent(scrollY, \"change\", (latest) => {\n    if (!isAnchorSettled || isSelectionPinnedRef.current) {\n      return;\n    }\n    const viewportHeight = document.documentElement.clientHeight ?? 0;\n    const lastIndex = visibleItems.length - 1;\n    const elementOffsetTops = [...(sectionElementsRef.current ?? []).map((element) => element ? getAbsoluteOffsetTop(element) : 0), Infinity];\n    const calcIndexByProbePercent = (probePercent) => {\n      const probePosition = latest + tabBarHeight + viewportHeight * probePercent;\n      return Math.max(-1, elementOffsetTops.findIndex((offsetY) => probePosition <= offsetY) - 1);\n    };\n    const indexAt20 = calcIndexByProbePercent(0.2);\n    const indexAt50 = calcIndexByProbePercent(0.5);\n    const foundIndex = indexAt50 === lastIndex ? lastIndex : Math.min(indexAt20, Math.max(lastIndex - 1, -1));\n    if (foundIndex !== selectedIndex) {\n      selectItem(foundIndex);\n    }\n  });\n  const handleClick = useCallback((index, item) => () => {\n    playHaptic(\"rigid\");\n    isSelectionPinnedRef.current = true;\n    selectItem(index);\n    scrollToSectionByIndex(index);\n    trackClickTabBarContentEvent(index + 1, item);\n  }, [selectItem, scrollToSectionByIndex, trackClickTabBarContentEvent]);\n  const handleKeyDown = useCallback((event) => {\n    const currentIndex = selectedIndex;\n    let newIndex = currentIndex;\n    switch (event.key) {\n      case \"ArrowLeft\":\n        newIndex = Math.max(0, currentIndex - 1);\n        break;\n      case \"ArrowRight\":\n        newIndex = Math.min(visibleItems.length - 1, currentIndex + 1);\n        break;\n      case \"Home\":\n        newIndex = 0;\n        break;\n      case \"End\":\n        newIndex = visibleItems.length - 1;\n        break;\n      default:\n        return;\n    }\n    if (newIndex !== currentIndex) {\n      event.preventDefault();\n      isSelectionPinnedRef.current = true;\n      selectItem(newIndex);\n      scrollToSectionByIndex(newIndex);\n    }\n  }, [selectedIndex, visibleItems.length, selectItem, scrollToSectionByIndex]);\n  const tabBarPadding = isMixed ? `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px` : `${padding}px`;\n  const tabBarMaxWidth = toggleMaxWidth ? `${maxWidth}px` : void 0;\n  if (couponIdExceedsLimit) {\n    return /* @__PURE__ */ jsx(\"div\", { style: {\n      padding: \"12px 16px\",\n      backgroundColor: \"#fee2e2\",\n      color: \"#dc2626\",\n      fontSize: \"13px\",\n      fontWeight: 600,\n      borderRadius: \"8px\",\n      textAlign: \"center\"\n    }, children: \"쿠폰 ID는 최대 10개까지 입력할 수 있습니다.\" });\n  }\n  return /* @__PURE__ */ jsx(MotionConfig, { transition, children: /* @__PURE__ */ jsx(\"div\", { ref: mergeRefs([wrapperRef, ref]), style: {\n    height: tabBarHeight\n  }, children: /* @__PURE__ */ jsx(motion.div, { className: classNames.wrapper, style: {\n    ...style,\n    /**\n     * 레이아웃은 그대로 두고 보이기만 감춘다.\n     *\n     * 자리를 차지해야 앵커 락이 계산하는 위치와 어긋나지 않는다.\n     * visibility를 쓰면 포커스 이동과 스크린리더 노출까지 브라우저가 함께 막아준다.\n     */\n    visibility: isRevealed ? \"visible\" : \"hidden\",\n    opacity: isRevealed ? 1 : 0,\n    transition: \"opacity 200ms ease-out\",\n    width: tabBarWidth || \"100%\",\n    height: tabBarHeight,\n    position,\n    zIndex: 20,\n    top: 0,\n    left: 0,\n    right: 0,\n    backgroundColor,\n    borderTopWidth: 1,\n    borderTopStyle: \"solid\",\n    borderTopColor,\n    boxSizing: \"border-box\"\n  }, children: /* @__PURE__ */ jsx(motion.div, { className: `${classNames.container} ${useSmallTypography ? classNames.containerSmTypography : \"\"}`, ref: containerRef, layout: true, layoutRoot: true, role: \"tablist\", \"aria-orientation\": \"horizontal\", onKeyDown: handleKeyDown, style: {\n    padding: tabBarPadding,\n    maxWidth: tabBarMaxWidth,\n    backgroundColor\n  }, children: useMemo(() => visibleItems.map((item, index) => /* @__PURE__ */ jsx(TabBarItem, { id: getItemIdForIndex(index), layoutId: indicatorLayoutId, item, selected: Math.max(0, selectedIndex) === index, color: initialTextColor, unselectedColor: initialUnselectedTextColor, onClick: handleClick(index, item), tabIndex: selectedIndex === index ? 0 : -1 }, item.sectionId)), [visibleItems, getItemIdForIndex, indicatorLayoutId, selectedIndex, initialTextColor, initialUnselectedTextColor, handleClick]) }) }) }) });\n});\naddPropertyControls(TabBarV4, {\n  theme: {\n    type: ControlType.Enum,\n    title: \"테마\",\n    options: [\"default\", \"negative\"],\n    optionTitles: [\"기본\", \"반전\"],\n    defaultValue: \"default\",\n    displaySegmentedControl: true\n  },\n  fadeInOut: {\n    type: ControlType.Boolean,\n    title: \"배경색 페이드 인/아웃\",\n    description: \"활성화 시 탭바가 상단에 붙은 상태로 스크롤되면 배경색의 투명도가 서서히 증감합니다.\",\n    defaultValue: false\n  },\n  items: {\n    title: \"탭\",\n    type: ControlType.Array,\n    control: {\n      type: ControlType.Object,\n      controls: {\n        label: {\n          title: \"탭 이름\",\n          type: ControlType.String,\n          defaultValue: \"탭\"\n        },\n        sectionId: {\n          title: \"스크롤 섹션 ID\",\n          type: ControlType.String\n        },\n        segment: {\n          title: \"세그먼트\",\n          type: ControlType.Array,\n          description: \"세그먼트 조건에 맞는 탭만 표시됩니다.\",\n          control: {\n            type: ControlType.Object,\n            controls: {\n              type: {\n                type: ControlType.Enum,\n                title: \"타입\",\n                options: [\"login\", \"guest\", \"newBuyer\", \"categoryNewBuyerProduct\", \"categoryNewBuyerCoupon\", \"gender\"],\n                optionTitles: [\"로그인\", \"미로그인\", \"생애 첫구매\", \"카테고리 첫구매 상품\", \"카테고리 첫구매 쿠폰\", \"성별\"],\n                defaultValue: \"\"\n              },\n              groupId: {\n                hidden: ({\n                  type\n                }) => type !== \"categoryNewBuyerProduct\",\n                type: ControlType.String,\n                title: \"그룹 ID\",\n                description: \"categoryNewBuyerProduct 타입일 때 사용할 그룹 ID\",\n                defaultValue: \"\"\n              },\n              couponId: {\n                hidden: ({\n                  type\n                }) => type !== \"categoryNewBuyerCoupon\",\n                type: ControlType.String,\n                title: \"쿠폰 IDs\",\n                description: \"최대 10개, 복수 id를 , 로 구분해서 입력\",\n                defaultValue: \"\"\n              },\n              gender: {\n                hidden: ({\n                  type\n                }) => type !== \"gender\",\n                type: ControlType.Enum,\n                title: \"성별\",\n                description: \"선택한 성별의 유저에게만 노출됩니다. 미로그인 유저에게는 항상 노출됩니다.\",\n                options: [\"M\", \"F\"],\n                optionTitles: [\"남성\", \"여성\"],\n                defaultValue: \"M\"\n              }\n            }\n          }\n        }\n      }\n    },\n    defaultValue: [{\n      label: \"Chapter 1\",\n      sectionId: \"chapter1\",\n      segment: [{\n        type: \"\"\n      }]\n    }, {\n      label: \"Chapter 2\",\n      sectionId: \"chapter2\",\n      segment: [{\n        type: \"\"\n      }]\n    }, {\n      label: \"Chapter 3\",\n      sectionId: \"chapter3\",\n      segment: [{\n        type: \"\"\n      }]\n    }]\n  },\n  padding: {\n    type: ControlType.FusedNumber,\n    title: \"Padding\",\n    defaultValue: 0,\n    toggleKey: \"isMixed\",\n    toggleTitles: [\"All\", \"Individual\"],\n    valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n    valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n    min: 0\n  },\n  toggleMaxWidth: {\n    type: ControlType.Boolean,\n    title: \"MaxWidth\",\n    enabledTitle: \"SET\",\n    disabledTitle: \"UNSET\",\n    defaultValue: false\n  },\n  maxWidth: {\n    type: ControlType.Number,\n    defaultValue: 1114,\n    min: 50,\n    unit: \"px\",\n    step: 1,\n    displayStepper: true,\n    hidden(props) {\n      return props.toggleMaxWidth === false;\n    }\n  }\n});\nexport {\n  TabBarV4\n};\n","const callMolocoTracker = (trackerUrl) => {\n  if (!trackerUrl) {\n    return;\n  }\n  fetch(trackerUrl, {\n    method: \"GET\",\n    cache: \"no-store\",\n    mode: \"no-cors\"\n  }).catch(() => {\n  });\n};\nexport {\n  callMolocoTracker\n};\n","import { useInView } from \"framer-motion\";\nimport { useEffect } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport { conditional } from \"../../../utils/function.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../providers/ThemeProvider/ThemeProvider.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { useTrackClickProduct, useTrackViewProduct, useTrackImpProduct } from \"../../../hooks/product/useEvent.js\";\nimport { callMolocoTracker } from \"../../../utils/moloco-tracker.js\";\nconst useTrackProductEvents = ({\n  ref,\n  eventProperties,\n  extraEventProperties,\n  variant\n}) => {\n  var _a, _b, _c, _d, _e, _f;\n  const {\n    trackClickProduct,\n    trackClickPreuserProduct\n  } = useTrackClickProduct(eventProperties);\n  const {\n    trackViewProduct\n  } = useTrackViewProduct(eventProperties);\n  const {\n    trackImpProduct,\n    trackImpPreuserProduct\n  } = useTrackImpProduct(eventProperties);\n  const molocoImpressionUrl = (_c = (_b = (_a = eventProperties.product.itemEvent) == null ? void 0 : _a.impression) == null ? void 0 : _b.moloco) == null ? void 0 : _c.trackerUrl;\n  const molocoClickUrl = (_f = (_e = (_d = eventProperties.product.itemEvent) == null ? void 0 : _d.onClick) == null ? void 0 : _e.moloco) == null ? void 0 : _f.trackerUrl;\n  const isInView = useInView(ref, {\n    amount: 0.5\n  });\n  const isAllInView = useInView(ref, {\n    amount: 0.99\n  });\n  const trackClickProductEvent = () => {\n    conditional(!isInView, () => trackViewProduct(extraEventProperties))();\n    conditional(!isAllInView, () => trackImpProduct(extraEventProperties))();\n    trackClickProduct(extraEventProperties);\n    callMolocoTracker(molocoClickUrl);\n  };\n  const trackClickPreuserProductEvent = () => {\n    conditional(!isInView, () => trackViewProduct(extraEventProperties))();\n    conditional(!isAllInView, () => trackImpPreuserProduct())();\n    trackClickPreuserProduct();\n  };\n  useEffect(() => conditional(isInView, () => trackViewProduct(extraEventProperties))(), [isInView]);\n  useEffect(\n    () => conditional(isAllInView, () => {\n      if (variant === \"preuser\") {\n        trackImpPreuserProduct();\n      } else {\n        trackImpProduct(extraEventProperties);\n      }\n      callMolocoTracker(molocoImpressionUrl);\n    })(),\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [isAllInView, variant]\n  );\n  return {\n    trackClickProductEvent,\n    trackClickPreuserProductEvent\n  };\n};\nexport {\n  useTrackProductEvents\n};\n","const commonStyle = {\n  productContainer: {\n    justifySelf: \"start\",\n    flex: \"1\",\n    display: \"flex\",\n    flexDirection: \"column\",\n    gap: \"6px\"\n  },\n  productName: {\n    fontWeight: 500,\n    fontSize: \"12px\",\n    lineHeight: \"1.2em\"\n  },\n  productTitleWrapper: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    gap: \"2px\"\n  },\n  ellipsis: {\n    overflow: \"hidden\",\n    display: \"-webkit-box\",\n    wordWrap: \"break-word\",\n    wordBreak: \"break-all\",\n    whiteSpace: \"normal\",\n    WebkitBoxOrient: \"vertical\",\n    WebkitLineClamp: 1\n  }\n};\nconst commonStyleByTheme = {\n  light: {\n    brandName: {\n      base: {\n        color: \"#000000\"\n      }\n    },\n    productName: {\n      base: {\n        color: \"#000000\"\n      }\n    },\n    salePercent: {\n      base: {\n        color: \"#ff4800\"\n      },\n      soldout: {\n        color: \"#c4c4c4\"\n      }\n    },\n    price: {\n      base: {\n        color: \"#000000\"\n      },\n      soldout: {\n        color: \"#c4c4c4\"\n      }\n    }\n  },\n  dark: {\n    brandName: {\n      base: {\n        color: \"#ffffff\"\n      }\n    },\n    productName: {\n      base: {\n        color: \"#ffffff\"\n      }\n    },\n    salePercent: {\n      base: {\n        color: \"#d53e00\"\n      },\n      soldout: {\n        color: \"#303033\"\n      }\n    },\n    price: {\n      base: {\n        color: \"#ffffff\"\n      },\n      soldout: {\n        color: \"#303033\"\n      }\n    }\n  }\n};\nconst barStyle = {\n  layout: {\n    display: \"flex\",\n    flexDirection: \"row\",\n    alignItems: \"center\",\n    gap: \"8px\",\n    width: \"100%\",\n    cursor: \"pointer\"\n  },\n  heartContainer: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    alignItems: \"center\",\n    width: \"42px\"\n  },\n  heartCount: {\n    small: {\n      fontSize: \"11px\",\n      color: \"#474747\"\n    },\n    medium: {\n      fontSize: \"12px\",\n      color: \"#474747\"\n    }\n  },\n  heartIcon: {\n    justifySelf: \"flex-end\"\n  },\n  preview: {\n    small: {\n      position: \"relative\",\n      width: \"56px\",\n      height: \"56px\",\n      aspectRatio: \"1 / 1\"\n    },\n    medium: {\n      position: \"relative\",\n      width: \"80px\",\n      height: \"80px\",\n      aspectRatio: \"1 / 1\"\n    }\n  },\n  productSaleWrapper: {\n    display: \"flex\",\n    gap: \"2px\",\n    marginTop: \"2px\",\n    fontSize: \"13px\",\n    fontWeight: 700,\n    lineHeight: \"1.2em\"\n  }\n};\nconst cardStyle = {\n  layout: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    gap: \"10px\",\n    width: \"100%\",\n    cursor: \"pointer\"\n  },\n  preview: {\n    position: \"relative\",\n    maxWidth: \"100%\",\n    maxHeight: \"100%\",\n    aspectRatio: \"1 / 1\"\n  },\n  heartIcon: {\n    position: \"absolute\",\n    top: \"7px\",\n    right: \"7px\"\n  },\n  heartClickArea: {\n    position: \"absolute\",\n    top: \"0px\",\n    right: \"0px\",\n    width: \"38px\",\n    height: \"38px\"\n  },\n  productSaleWrapper: {\n    display: \"flex\",\n    gap: \"2px\",\n    marginTop: \"4px\",\n    fontSize: \"14px\",\n    fontWeight: 700,\n    lineHeight: \"1.2em\"\n  }\n};\nexport {\n  barStyle,\n  cardStyle,\n  commonStyle,\n  commonStyleByTheme\n};\n","import { differenceInCalendarDays } from \"./differenceInCalendarDays.js\";\nimport { toDate } from \"./toDate.js\";\nfunction differenceInDays(dateLeft, dateRight) {\n  const _dateLeft = toDate(dateLeft);\n  const _dateRight = toDate(dateRight);\n  const sign = compareLocalAsc(_dateLeft, _dateRight);\n  const difference = Math.abs(differenceInCalendarDays(_dateLeft, _dateRight));\n  _dateLeft.setDate(_dateLeft.getDate() - sign * difference);\n  const isLastDayNotFull = Number(\n    compareLocalAsc(_dateLeft, _dateRight) === -sign\n  );\n  const result = sign * (difference - isLastDayNotFull);\n  return result === 0 ? 0 : result;\n}\nfunction compareLocalAsc(dateLeft, dateRight) {\n  const diff = dateLeft.getFullYear() - dateRight.getFullYear() || dateLeft.getMonth() - dateRight.getMonth() || dateLeft.getDate() - dateRight.getDate() || dateLeft.getHours() - dateRight.getHours() || dateLeft.getMinutes() - dateRight.getMinutes() || dateLeft.getSeconds() - dateRight.getSeconds() || dateLeft.getMilliseconds() - dateRight.getMilliseconds();\n  if (diff < 0) {\n    return -1;\n  } else if (diff > 0) {\n    return 1;\n  } else {\n    return diff;\n  }\n}\nexport {\n  differenceInDays as default,\n  differenceInDays\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { ProductHorizontalCard as O } from \"../../../node_modules/@29cm/ruler-ui/dist/components/ProductHorizontalCard/ProductHorizontalCard.js\";\nimport { CompactPreuserProductCard as z } from \"../../../node_modules/@29cm/ruler-ui/dist/components/CompactPreuserProductCard/CompactPreuserProductCard.js\";\nimport { CompactProductCard as N$1 } from \"../../../node_modules/@29cm/ruler-ui/dist/components/CompactProductCard/CompactProductCard.js\";\nimport { PreuserProductCard as _ } from \"../../../node_modules/@29cm/ruler-ui/dist/components/PreuserProductCard/PreuserProductCard.js\";\nimport { ProductCard as N } from \"../../../node_modules/@29cm/ruler-ui/dist/components/ProductCard/ProductCard.js\";\nimport React__default, { useRef, useMemo } from \"react\";\nimport { Countdown } from \"../../systems/Countdown/Countdown.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../systems/Expandable/Expandable.js\";\nimport \"../../systems/FixedScrollProgressBar/FixedScrollProgressBar.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { isWebview } from \"../../../utils/device.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport { env } from \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../providers/ThemeProvider/ThemeProvider.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport \"../../systems/ShareButtonWithReferralEvent/ShareButtonWithReferralEvent.js\";\nimport { useTrackSnowplowEvent } from \"../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport \"../../systems/Products/Products.js\";\nimport { useProductHeart } from \"../../../hooks/product/useProductHeart.js\";\nimport { getProductBadges, getRulerProductBadges, isPreuserRecruitEnded } from \"./ProductCard.utils.js\";\nimport \"../../systems/ResponsiveSplitView/ResponsiveSplitView.js\";\nimport \"../../systems/ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.js\";\nimport \"../../systems/RollingNumber/RollingNumber.js\";\nimport \"../../systems/TabBar/TabBar.js\";\nimport \"../../systems/TimeProgressBar/TimeProgressBar.js\";\nimport \"../../systems/ViewportContainer/ViewportContainer.js\";\nimport \"../../systems/TabBarV2/TabBarV2.js\";\nimport \"../../systems/TabBarV3/TabBarV3.js\";\nimport \"../../systems/TabBarV4/TabBarV4.js\";\nimport { useTrackProductEvents } from \"./ProductCard.hooks.event.js\";\nimport { cardStyle, barStyle } from \"./ProductCard.styles.js\";\nimport { ProductCardType } from \"./ProductCard.types.js\";\nimport { differenceInDays } from \"../../../node_modules/date-fns/differenceInDays.js\";\nimport { parseISO } from \"../../../node_modules/date-fns/parseISO.js\";\nimport { isPast } from \"../../../node_modules/date-fns/isPast.js\";\nimport { formatDate as format } from \"../../../node_modules/date-fns/format.js\";\nconst ProductCard = React__default.memo(({\n  style,\n  type = ProductCardType.CARD,\n  variant = \"default\",\n  isHeartOn = \"OFF\",\n  positionNo = 0,\n  hasRank = false,\n  hasName = true,\n  hasBrandName = true,\n  hasBadges = true,\n  hasHeart = true,\n  hasHeartCount = true,\n  hasPrice = true,\n  hasSoldOutBadge = true,\n  hasMetaGroup = true,\n  product,\n  onHeartOn,\n  onHeartOff,\n  eventProperties,\n  extraEventProperties = {},\n  size = \"medium\",\n  theme = \"light\"\n}) => {\n  var _a;\n  const ref = useRef(null);\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const {\n    heartCount,\n    handleToggleLike\n  } = useProductHeart(product, isHeartOn, onHeartOn, onHeartOff, extraEventProperties);\n  const {\n    trackClickProductEvent,\n    trackClickPreuserProductEvent\n  } = useTrackProductEvents({\n    ref,\n    eventProperties,\n    extraEventProperties,\n    variant\n  });\n  const handleBrandNameClick = (event) => {\n    event.stopPropagation();\n    trackClickProductEvent();\n    trackSnowplowEvent(\"click_brand\", {\n      brand_no: product.frontBrand.frontBrandId,\n      brand_name: product.frontBrand.nameKor\n    });\n  };\n  const handleHeartClick = () => {\n    handleToggleLike();\n  };\n  const brandHomeUrl = `${env.workspace.shop}/brand/${(_a = product == null ? void 0 : product.frontBrand) == null ? void 0 : _a.frontBrandId}`;\n  const badges = useMemo(() => getProductBadges(product, type), [product, type]);\n  const rulerBadges = useMemo(() => getRulerProductBadges(product, type), [product, type]);\n  const shouldRenderBadges = useMemo(() => {\n    if (hasSoldOutBadge && type === ProductCardType.BAR && badges.map(([value]) => value).includes(\"isSoldOut\")) {\n      return true;\n    }\n    return hasBadges && badges.length > 0;\n  }, [type, hasBadges, badges, hasSoldOutBadge]);\n  const horizontalCardPostfix = hasHeart ? hasHeartCount ? {\n    type: \"likeCountButton\",\n    onHeart: isHeartOn === \"ON\",\n    likeAmount: heartCount,\n    onClick: handleHeartClick\n  } : {\n    type: \"iconButton\",\n    icon: isHeartOn === \"ON\" ? \"HeartBoldFillIcon\" : \"HeartRegularIcon\",\n    onClick: handleHeartClick\n  } : void 0;\n  const imgUrl = product.imageUrl.includes(\"https://\") ? product.imageUrl : `https://img.29cm.co.kr/${product.imageUrl}`;\n  const queryParams = `?width=408&format=webp`;\n  const imgFullUrl = `${imgUrl}${queryParams}`;\n  const productHref = isWebview() ? `app29cm://product/${product.productId}` : `${env.workspace.product}/catalog/${product.productId}`;\n  if (variant === \"preuser\") {\n    const isEnded = isPreuserRecruitEnded(product.recruitEndAt);\n    const preuserHref = isWebview() ? `app29cm://web/${env.workspace.legacy.home}/preuser/event/${product.preuserEventKey}` : `${env.workspace.legacy.home}/preuser/event/${product.preuserEventKey}`;\n    return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n      ...cardStyle.layout,\n      ...style\n    }, children: /* @__PURE__ */ jsx(\"a\", { href: preuserHref, target: \"_blank\", rel: \"noreferrer\", onClick: trackClickPreuserProductEvent, children: type === ProductCardType.CARD ? /* @__PURE__ */ jsx(\"div\", { style: {\n      position: \"relative\"\n    }, children: /* @__PURE__ */ jsx(z, { className: \"mb-0 pb-0\", isRounded: true, imgUrl: imgFullUrl, itemName: hasName ? product.productName : \"\", brandName: hasBrandName ? product.frontBrand.nameKor : void 0, brandHref: brandHomeUrl, href: preuserHref, imageBadge: [`${product.totalWinnerLimit}명 모집 중`], isEnded, timeText: timeTextComponent(product.recruitEndAt, type), target: \"_blank\", theme }) }) : /* @__PURE__ */ jsx(\"div\", { style: {\n      position: \"relative\"\n    }, children: /* @__PURE__ */ jsx(\n      _,\n      {\n        className: \"mb-0 pb-0\",\n        isRounded: true,\n        imgUrl: imgFullUrl,\n        itemName: hasName ? product.productName : \"\",\n        brandName: hasBrandName ? product.frontBrand.nameKor : void 0,\n        brandHref: brandHomeUrl,\n        href: preuserHref,\n        imageBadge: [`${product.totalWinnerLimit}명 모집 중`],\n        isEnded,\n        timeText: timeTextComponent(product.recruitEndAt, type),\n        target: \"_blank\",\n        theme,\n        ...size && {\n          size\n        }\n      }\n    ) }) }) });\n  }\n  if (type === ProductCardType.BAR) {\n    return /* @__PURE__ */ jsx(\"a\", { href: productHref, target: \"_blank\", rel: \"noreferrer\", onClick: trackClickProductEvent, style: {\n      width: \"100%\",\n      overflow: \"hidden\"\n    }, children: /* @__PURE__ */ jsx(\"div\", { ref, style: {\n      ...barStyle.layout,\n      ...style\n    }, children: /* @__PURE__ */ jsx(O, { className: \"mb-0 w-full\", imgUrl: imgFullUrl, productName: hasName ? product.productName : \"\", price: hasPrice ? product.lastSalePrice : void 0, postfix: horizontalCardPostfix, brandName: hasBrandName ? product.frontBrand.nameKor : void 0, discount: hasPrice ? product.lastSalePercent : void 0, soldOut: product.isSoldOut, theme, size }) }) });\n  }\n  if (type === ProductCardType.CARD_DETAILED) {\n    return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n      ...cardStyle.layout,\n      ...style\n    }, children: /* @__PURE__ */ jsx(N, { className: \"mb-0\", imgUrl: imgFullUrl, productName: hasName ? product.productName : \"\", price: product.lastSalePrice, onHeart: isHeartOn === \"ON\", brandName: hasBrandName ? product.frontBrand.nameKor : void 0, discount: product.lastSalePercent, rank: hasRank ? positionNo : void 0, badges: shouldRenderBadges ? rulerBadges : void 0, productHref, soldOut: product.isSoldOut, brandHref: brandHomeUrl, target: \"_blank\", likeAmount: heartCount, reviewAmount: product.reviewCount, reviewRate: product.reviewAveragePoint, onClickBrandName: handleBrandNameClick, onClick: trackClickProductEvent, onHeartClick: handleHeartClick, size, theme }) });\n  }\n  return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    ...cardStyle.layout,\n    ...style\n  }, children: /* @__PURE__ */ jsx(N$1, { className: \"mb-0 pb-0\", isRounded: true, imgUrl: imgFullUrl, productName: hasName ? product.productName : \"\", price: product.lastSalePrice, onHeart: isHeartOn === \"ON\", brandName: hasBrandName ? product.frontBrand.nameKor : void 0, discount: product.lastSalePercent, rank: hasRank ? positionNo : void 0, badges: shouldRenderBadges ? rulerBadges : void 0, productHref, target: \"_blank\", onClick: trackClickProductEvent, soldOut: product.isSoldOut, onHeartClick: handleHeartClick, showMetaGroup: hasMetaGroup, theme }) });\n});\nconst timeTextComponent = (recruitEndAt, type) => {\n  if (!recruitEndAt) {\n    return /* @__PURE__ */ jsx(\"span\", { children: \"모집 종료\" });\n  }\n  const targetDate = parseISO(recruitEndAt);\n  const now = /* @__PURE__ */ new Date();\n  if (isPast(targetDate)) {\n    return /* @__PURE__ */ jsx(\"span\", { children: \"모집 종료\" });\n  }\n  const diffDays = differenceInDays(targetDate, now);\n  const targetDateString = format(targetDate, \"yyyy-MM-dd\");\n  const targetTimeString = format(targetDate, \"HH:mm:ss\");\n  if (diffDays <= 1) {\n    return /* @__PURE__ */ jsx(\"span\", { className: \"flex items-center gap-2\", children: /* @__PURE__ */ jsx(Countdown, { dateDisplayFormat: \"none\", timeDisplayFormat: \"H:mm:ss\", targetDateString, targetTimeString, fontSize: type === ProductCardType.CARD ? 13 : 16, color: \"inherit\" }) });\n  }\n  return /* @__PURE__ */ jsxs(\"span\", { className: \"flex items-center gap-2\", children: [\n    /* @__PURE__ */ jsx(Countdown, { dateDisplayFormat: \"D일\", timeDisplayFormat: \"none\", targetDateString, targetTimeString, fontSize: type === ProductCardType.CARD ? 13 : 16, color: \"inherit\" }),\n    /* @__PURE__ */ jsx(\"span\", { children: \"남음\" })\n  ] });\n};\nexport {\n  ProductCard\n};\n","var ProductsType = /* @__PURE__ */ ((ProductsType2) => {\n  ProductsType2[ProductsType2[\"PRODUCTS_NUMBERS\"] = 0] = \"PRODUCTS_NUMBERS\";\n  return ProductsType2;\n})(ProductsType || {});\nvar Breakpoint = /* @__PURE__ */ ((Breakpoint2) => {\n  Breakpoint2[Breakpoint2[\"DESKTOP\"] = 0] = \"DESKTOP\";\n  Breakpoint2[Breakpoint2[\"TABLET\"] = 1] = \"TABLET\";\n  Breakpoint2[Breakpoint2[\"MOBILE\"] = 2] = \"MOBILE\";\n  return Breakpoint2;\n})(Breakpoint || {});\nexport {\n  Breakpoint,\n  ProductsType\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { Breakpoint } from \"../Products.type.js\";\nimport { ComponentName } from \"../../../../styles/ComponentName.js\";\nimport \"react\";\nimport { createWithStyle } from \"../../../../styles/createWithStyle.js\";\nimport { css } from \"../../../../styles/css.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.ProductsLayout, {\n  responsive: css`\n    & {\n      @media (max-width: 614px) {\n        grid-template-columns: repeat(2, 1fr) !important;\n      }\n    }\n  `\n});\nconst ProductsLayout = withStyle(({\n  layout,\n  breakpoint,\n  children\n}) => {\n  const isCanvasMobileResponsive = isCanvas() && breakpoint === Breakpoint.MOBILE;\n  const layoutStyle = {\n    ...layoutBaseStyle,\n    ...layoutStyleByLayout(layout, isCanvasMobileResponsive),\n    ...layoutStyleByBreakpoint[breakpoint]\n  };\n  const layoutClassName = layout.isResponsive ? classNames.responsive : void 0;\n  return /* @__PURE__ */ jsx(\"ul\", { style: layoutStyle, className: layoutClassName, children });\n});\nconst layoutBaseStyle = {\n  width: \"100%\",\n  display: \"grid\",\n  overflow: \"hidden\",\n  margin: 0,\n  padding: 0\n};\nconst layoutStyleByLayout = (layout, isCanvasMobileResponsive) => !layout.isResponsive ? {\n  gridTemplateColumns: `repeat(${layout.column}, minmax(100px, 1fr))`\n} : isCanvasMobileResponsive ? {\n  gridTemplateColumns: `repeat(2, minmax(100px, 1fr))`\n} : {\n  gridTemplateColumns: `repeat(auto-fill, minmax(185px, 1fr))`\n};\nconst layoutStyleByBreakpoint = {\n  [Breakpoint.DESKTOP]: {\n    columnGap: 20,\n    rowGap: 20\n  },\n  [Breakpoint.TABLET]: {\n    columnGap: 20,\n    rowGap: 20\n  },\n  [Breakpoint.MOBILE]: {\n    columnGap: 8,\n    rowGap: 16,\n    padding: \"0px 20px\"\n  }\n};\nexport {\n  ProductsLayout\n};\n","import { useTrackSnowplowEvent } from \"../snowplow/useTrackSnowplowEvent.js\";\nimport { definedOnly } from \"../../utils/definedOnly.js\";\nconst useTrackClickButtonContentEvent = () => {\n  const tackSnowplowEvent = useTrackSnowplowEvent();\n  const trackClickButtonContentEvent = (component, buttonProps) => {\n    tackSnowplowEvent(\"click_button_content\", {\n      section_name: component,\n      // NOTE: (김홍동) 컴포넌트의 순서를 알 수 없기 때문에 현재는 1로 대응(데이터 팀과 언라인 완료)\n      position: 1,\n      ...definedOnly(buttonProps)\n    });\n  };\n  return {\n    trackClickButtonContentEvent\n  };\n};\nexport {\n  useTrackClickButtonContentEvent\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { Breakpoint } from \"../Products.type.js\";\nimport { Button as Default } from \"../../../@shared/Button/Button.js\";\nimport { useTrackClickButtonContentEvent } from \"../../../../hooks/events/useTrackClickButtonContentEvent.js\";\nconst ExpandButton = ({\n  button,\n  buttonText,\n  breakpoint,\n  componentName,\n  expand\n}) => {\n  const {\n    trackClickButtonContentEvent\n  } = useTrackClickButtonContentEvent();\n  const handleClickExpandButton = () => {\n    expand();\n    trackClickButtonContentEvent(componentName, {\n      button_type: \"more\",\n      button_value: buttonText\n    });\n  };\n  const buttonLayoutStyle = {\n    ...baseButtonLayoutStyle,\n    ...buttonLayoutStyleByBreakpoint[breakpoint]\n  };\n  return /* @__PURE__ */ jsx(\"div\", { style: buttonLayoutStyle, children: /* @__PURE__ */ jsx(Default, { ...button, postfixIcon: button.hasIcon ? \"chevronDown\" : void 0, prefixIcon: void 0, onClick: handleClickExpandButton, children: buttonText }) });\n};\nconst baseButtonLayoutStyle = {\n  gridColumn: \"1/-1\",\n  display: \"flex\",\n  justifyContent: \"center\"\n};\nconst buttonLayoutStyleByBreakpoint = {\n  [Breakpoint.DESKTOP]: {\n    marginTop: \"42px\"\n  },\n  [Breakpoint.TABLET]: {\n    marginTop: \"42px\"\n  },\n  [Breakpoint.MOBILE]: {\n    marginTop: \"16px\"\n  }\n};\nexport {\n  ExpandButton\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useRef, useEffect } from \"react\";\nimport { useInView } from \"framer-motion\";\nconst Intersection = ({\n  threshold,\n  once,\n  margin,\n  root,\n  children,\n  onView,\n  ...rest\n}) => {\n  const ref = useRef(null);\n  const isInView = useInView(ref, {\n    amount: threshold,\n    once,\n    margin,\n    root\n  });\n  useEffect(() => {\n    if (!isInView) {\n      return;\n    }\n    onView == null ? void 0 : onView();\n  }, [isInView]);\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, children });\n};\nexport {\n  Intersection\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Skeleton } from \"../../../@shared/Skeleton/Skeleton.js\";\nconst ProductLoading = forwardRef((_, ref) => {\n  return /* @__PURE__ */ jsxs(\"li\", { style: productLayoutStyle, ref, children: [\n    /* @__PURE__ */ jsx(Skeleton, { style: imageStyle }),\n    /* @__PURE__ */ jsxs(\"div\", { style: textSkeletonLayoutStyle, children: [\n      /* @__PURE__ */ jsx(Skeleton, { style: textSkeletonStyle(\"60%\", \"13px\") }),\n      /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...textSkeletonStyle(\"80%\", \"12px\"),\n        marginTop: 4\n      } }),\n      /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...textSkeletonStyle(\"50%\", \"17px\"),\n        marginTop: 4\n      } }),\n      /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...textSkeletonStyle(\"30%\", \"16px\"),\n        marginTop: 6\n      } })\n    ] })\n  ] });\n});\nconst productLayoutStyle = {\n  display: \"flex\",\n  flexDirection: \"column\",\n  gap: \"10px\",\n  width: \"100%\",\n  margin: \"0 auto\"\n};\nconst imageStyle = {\n  color: \"transparent\",\n  borderRadius: \"2px\",\n  background: \"linear-gradient(-90deg, #dee2e6, #f0f0f0, #dee2e6, #f0f0f0)\",\n  backgroundSize: \"400%\",\n  width: \"100%\",\n  aspectRatio: \"1 / 1\"\n};\nconst textSkeletonLayoutStyle = {\n  flex: \"1\",\n  display: \"flex\",\n  flexDirection: \"column\"\n};\nconst textSkeletonStyle = (width, height) => ({\n  color: \"transparent\",\n  borderRadius: \"6px\",\n  background: \"linear-gradient(-90deg, #dee2e6, #f0f0f0, #dee2e6, #f0f0f0)\",\n  backgroundSize: \"400%\",\n  width,\n  height\n});\nexport {\n  ProductLoading\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { framerApi } from \"../../apis/framer/FramerApiService.js\";\nconst PRODUCT_LIST_FETCHER_QUERY_KEY = \"product-list\";\nconst useFetchProductList = (productIdList, isInView = true, extraQueryKey = []) => {\n  const hasProductIdList = productIdList.length > 0;\n  const enabled = isInView && hasProductIdList;\n  const {\n    data: productList,\n    mutate,\n    isLoading\n  } = useSWR(enabled ? [PRODUCT_LIST_FETCHER_QUERY_KEY, productIdList, ...extraQueryKey] : null, () => framerApi.getFramerProductList(productIdList), {\n    revalidateOnFocus: false\n  });\n  return {\n    isLoading: isLoading || !enabled,\n    productList: productList ?? [],\n    mutate\n  };\n};\nconst useFetchProductListV2 = (productIdList, isInView = true, extraQueryKey = []) => {\n  const hasProductIdList = productIdList.length > 0;\n  const enabled = isInView && hasProductIdList;\n  const {\n    data: productList,\n    mutate,\n    isLoading\n  } = useSWR(enabled ? [PRODUCT_LIST_FETCHER_QUERY_KEY, productIdList, ...extraQueryKey] : null, () => framerApi.getFramerProductListV2(productIdList), {\n    revalidateOnFocus: false\n  });\n  return {\n    isLoading: isLoading || !enabled,\n    productList: productList ?? [],\n    mutate\n  };\n};\nexport {\n  PRODUCT_LIST_FETCHER_QUERY_KEY,\n  useFetchProductList,\n  useFetchProductListV2\n};\n","import { useState, useEffect } from \"react\";\nimport { useFetchProductListV2 } from \"../../../hooks/fetchers/useFetchProductList.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nconst SAFE_PRODUCTS_RATE = 1.2;\nconst useProducts = (productIdList, count, isInView) => {\n  const [products, setProducts] = useState([]);\n  const [page, setPage] = useState(0);\n  const [isLastPage, setIsLastPage] = useState(false);\n  const [startIndex, setStartIndex] = useState(0);\n  const lastIndex = startIndex + Math.floor(count * SAFE_PRODUCTS_RATE);\n  const {\n    isLoading,\n    productList\n  } = useFetchProductListV2(\n    productIdList.slice(startIndex, lastIndex),\n    isInView,\n    // ! 캔버스일 때, 상품 수가 달라질 경우 fetching을 다시 하여 상품을 갱신합니다. 이는 43~49번째 줄과 연관있습니다.\n    isCanvas() ? [count] : []\n  );\n  const appendedProductList = productList.slice(0, count);\n  const getNextStartIndex = () => {\n    if (appendedProductList.length === 0) {\n      return lastIndex + 1;\n    }\n    const lastProductId = appendedProductList[appendedProductList.length - 1].productId;\n    return productIdList.findIndex((id) => id === lastProductId) + 1;\n  };\n  const updateNextStartIndex = () => {\n    if (isLastPage) {\n      return;\n    }\n    setPage((prev) => prev + 1);\n    setStartIndex(getNextStartIndex());\n  };\n  useEffect(() => {\n    setProducts([]);\n    setStartIndex(0);\n    setPage(0);\n    setIsLastPage(false);\n  }, [count, productIdList.join(\",\")]);\n  useEffect(() => {\n    if (isLoading) {\n      return;\n    }\n    if (productIdList.length <= getNextStartIndex()) {\n      setIsLastPage(true);\n    }\n    setProducts((prev) => [...prev, ...appendedProductList]);\n  }, [isLoading, productList]);\n  return {\n    isLoading,\n    products,\n    isLastPage,\n    page,\n    updateNextStartIndex\n  };\n};\nexport {\n  useProducts\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { useSendProductIds } from \"../../../hooks/product/useSendProductIds.js\";\nimport { useProductGroupHeart } from \"../../../hooks/product/useProductGroupHeart.js\";\nimport { useRef } from \"react\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport { addPropertyControls, ControlType, useInView } from \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { ProductCardType } from \"../../@shared/ProductCard/ProductCard.types.js\";\nimport \"../../../constants/snowplow/snowplowSchema.js\";\nimport { ProductCard } from \"../../@shared/ProductCard/ProductCard.js\";\nimport { ButtonVariant, ButtonTheme, ButtonSize } from \"../../@shared/Button/Button.types.js\";\nimport { ProductsType, Breakpoint } from \"./Products.type.js\";\nimport { ProductsLayout } from \"./ProductsLayout/ProductsLayout.js\";\nimport { ExpandButton } from \"./ExpandButton/ExpandButton.js\";\nimport { Intersection } from \"../../@shared/Intersection/Intersection.js\";\nimport \"../../@shared/Icon/Icon.js\";\nimport { ProductLoading } from \"./ProductLoading/ProductLoading.js\";\nimport { useProducts } from \"./Products.hooks.js\";\nimport { splitToNumberArray } from \"../../../utils/splitToNumberArray.js\";\nconst PRODUCTS_PER_REQUEST = 20;\nconst ProductsInner = ({\n  layout,\n  breakpoint,\n  productIdList: productIdListString = \"\",\n  hasButton,\n  button,\n  name = \"Products\"\n}) => {\n  const ref = useRef(null);\n  const isRenderButton = hasButton && !layout.isResponsive;\n  const productIdListArray = [...new Set(splitToNumberArray(productIdListString))];\n  const count = !isRenderButton ? Math.min(productIdListArray.length, PRODUCTS_PER_REQUEST) : layout.column * layout.row;\n  const isInView = useInView(ref, {\n    once: true,\n    margin: \"200px 0px\"\n  });\n  const {\n    isLoading,\n    products,\n    isLastPage,\n    page,\n    updateNextStartIndex\n  } = useProducts(productIdListArray, count, isInView);\n  const shouldRenderSkeleton = products.length === 0 || isLoading;\n  const shouldRenderButton = isRenderButton && button && page <= 1 && !isLastPage && !isLoading;\n  const shouldRenderIntersection = (!isRenderButton || page >= 2) && !isLastPage && !isLoading;\n  const buttonText = (button == null ? void 0 : button.texts[page]) ?? \"\";\n  const {\n    isHeartOn,\n    handleHeartOn,\n    handleHeartOff\n  } = useProductGroupHeart();\n  const maxPositionNo = productIdListArray.length - 1;\n  useSendProductIds(productIdListArray.join(\",\"));\n  return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    width: \"100%\"\n  }, children: /* @__PURE__ */ jsxs(ProductsLayout, { layout, breakpoint, children: [\n    products.map((product, index) => {\n      return /* @__PURE__ */ jsx(ProductCard, { type: ProductCardType.CARD, product, hasBadges: true, isHeartOn: isHeartOn(product.productId), onHeartOn: handleHeartOn, onHeartOff: handleHeartOff, eventProperties: {\n        product,\n        isProductGroup: true,\n        componentName: name,\n        positionNo: index + 1,\n        maxPositionNo\n      } }, product.productId);\n    }),\n    shouldRenderSkeleton ? (\n      // eslint-disable-next-line react/no-array-index-key\n      Array.from({\n        length: count\n      }).map((_, index) => /* @__PURE__ */ jsx(ProductLoading, {}, index))\n    ) : null,\n    shouldRenderButton ? /* @__PURE__ */ jsx(ExpandButton, { button, buttonText, breakpoint, expand: updateNextStartIndex, componentName: name }) : null,\n    shouldRenderIntersection ? /* @__PURE__ */ jsx(Intersection, { onView: updateNextStartIndex, margin: \"200px 0px\" }) : null\n  ] }) });\n};\nconst Products = (props) => {\n  return /* @__PURE__ */ jsx(ProductsInner, { ...props }, props.productIdList);\n};\naddPropertyControls(Products, {\n  productsType: {\n    title: \"상품 목록 유형\",\n    type: ControlType.Enum,\n    options: [ProductsType.PRODUCTS_NUMBERS],\n    optionTitles: [\"상품 번호\"]\n  },\n  productIdList: {\n    title: \"상품 번호\",\n    type: ControlType.String,\n    hidden: ({\n      productsType\n    }) => productsType !== ProductsType.PRODUCTS_NUMBERS\n  },\n  breakpoint: {\n    type: ControlType.Enum,\n    title: \"분기점\",\n    options: [Breakpoint.DESKTOP, Breakpoint.TABLET, Breakpoint.MOBILE],\n    optionTitles: [\"PC\", \"Tablet\", \"Mobile\"],\n    displaySegmentedControl: true\n  },\n  layout: {\n    title: \"레이아웃\",\n    type: ControlType.Object,\n    controls: {\n      isResponsive: {\n        type: ControlType.Boolean,\n        title: \"반응형\",\n        defaultValue: false\n      },\n      column: {\n        type: ControlType.Number,\n        title: \"column\",\n        defaultValue: 6,\n        min: 1,\n        max: 6,\n        hidden: ({\n          isResponsive\n        }) => isResponsive\n      },\n      row: {\n        type: ControlType.Number,\n        title: \"row\",\n        defaultValue: 4,\n        min: 1,\n        max: 50,\n        hidden: ({\n          isResponsive\n        }, {\n          hasButton\n        }) => isResponsive || !hasButton\n      }\n    }\n  },\n  hasButton: {\n    type: ControlType.Boolean,\n    title: \"더보기 버튼 유무\",\n    defaultValue: false,\n    hidden: ({\n      layout\n    }) => !!(layout == null ? void 0 : layout.isResponsive)\n  },\n  button: {\n    title: \"더보기 버튼\",\n    type: ControlType.Object,\n    description: \"상품 개수에 따라 자동으로 더보기 버튼이 생성됩니다.\",\n    hidden: ({\n      hasButton,\n      layout\n    }) => !hasButton || !!(layout == null ? void 0 : layout.isResponsive),\n    controls: {\n      variant: {\n        type: ControlType.Enum,\n        title: \"변형\",\n        options: [ButtonVariant.PRIMARY, ButtonVariant.SECONDARY, ButtonVariant.TERTIARY],\n        optionTitles: [\"primary\", \"secondary\", \"tertiary\"]\n      },\n      theme: {\n        type: ControlType.Enum,\n        title: \"테마\",\n        options: [ButtonTheme.LIGHT, ButtonTheme.DARK],\n        optionTitles: [\"light\", \"dark\"],\n        defaultValue: ButtonTheme.LIGHT,\n        displaySegmentedControl: true\n      },\n      size: {\n        type: ControlType.Enum,\n        title: \"크기\",\n        options: [ButtonSize.LARGE, ButtonSize.MEDIUM, ButtonSize.SMALL],\n        optionTitles: [\"large\", \"medium\", \"small\"],\n        defaultValue: ButtonSize.MEDIUM\n      },\n      fill: {\n        type: ControlType.Boolean,\n        title: \"채우기\",\n        defaultValue: false\n      },\n      texts: {\n        type: ControlType.Array,\n        title: \"버튼 타이틀\",\n        defaultValue: [\"첫 번째 버튼\", \"두 번째 버튼\"],\n        control: {\n          type: ControlType.String\n        }\n      },\n      hasIcon: {\n        type: ControlType.Boolean,\n        title: \"아이콘 유무\",\n        defaultValue: false\n      }\n    }\n  }\n});\nexport {\n  PRODUCTS_PER_REQUEST,\n  Products\n};\n","import ReactDOM__default from \"react-dom\";\nconst Portal = ({\n  children\n}) => {\n  return ReactDOM__default.createPortal(children, document.body);\n};\nexport {\n  Portal\n};\n","import { useEffect } from \"react\";\nconst usePreventBodyScroll = (open) => {\n  const {\n    body\n  } = document;\n  const {\n    pageYOffset\n  } = window;\n  useEffect(() => {\n    if (!open) {\n      return;\n    }\n    body.style.position = \"fixed\";\n    body.style.top = `-${pageYOffset}px`;\n    body.style.left = \"0\";\n    body.style.right = \"0\";\n    return () => {\n      body.style.removeProperty(\"position\");\n      body.style.removeProperty(\"top\");\n      body.style.removeProperty(\"left\");\n      body.style.removeProperty(\"right\");\n      window.scrollTo(0, pageYOffset);\n    };\n  }, [open]);\n};\nexport {\n  usePreventBodyScroll\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { Portal } from \"../../@shared/Portal/Portal.js\";\nimport { usePreventBodyScroll } from \"./Dialog.hooks.js\";\nimport styles from \"./Dialog.module.css.js\";\nimport { motion } from \"framer-motion\";\nconst Dialog = ({\n  open,\n  title,\n  content,\n  primaryButtonText = \"확인\",\n  secondaryButtonText,\n  responsiveFullSize = false,\n  hideButtons = false,\n  onPrimaryButtonClick,\n  onSecondaryButtonClick,\n  onClose\n}) => {\n  usePreventBodyScroll(open);\n  if (!open) {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(\"div\", { className: styles.container, children: /* @__PURE__ */ jsxs(\"div\", { className: styles.wrapper, children: [\n    /* @__PURE__ */ jsx(motion.div, { className: styles.overlay, onTap: onClose }),\n    /* @__PURE__ */ jsxs(\"div\", { className: styles.frame, \"data-responsive-full-size\": responsiveFullSize, children: [\n      /* @__PURE__ */ jsxs(\"div\", { className: styles.body, \"data-responsive-full-size\": responsiveFullSize, children: [\n        title ? /* @__PURE__ */ jsx(\"div\", { className: styles.title, children: title }) : null,\n        /* @__PURE__ */ jsx(\"div\", { className: styles.content, children: content })\n      ] }),\n      hideButtons ? null : /* @__PURE__ */ jsxs(\"div\", { className: styles.buttonArea, children: [\n        secondaryButtonText ? /* @__PURE__ */ jsx(\"button\", { className: `${styles.button} ${styles.secondary}`, type: \"button\", onClick: onSecondaryButtonClick, children: secondaryButtonText }) : null,\n        /* @__PURE__ */ jsx(\"button\", { className: `${styles.button} ${styles.primary}`, type: \"button\", onClick: onPrimaryButtonClick, children: primaryButtonText })\n      ] })\n    ] })\n  ] }) }) });\n};\nexport {\n  Dialog\n};\n","import { useEffect } from \"react\";\nimport { useDialogStore } from \"../../hooks/stores/dialog/dialog.store.js\";\nimport shallow from \"../../node_modules/zustand/esm/shallow.js\";\nimport { emitter, Events } from \"./DialogContainer.emitter.js\";\nconst useDialogEventEmitter = () => {\n  const [dispatchInit, dispatchShow, dispatchHide, dispatchRemove] = useDialogStore((state) => [state.dispatchInit, state.dispatchShow, state.dispatchHide, state.dispatchRemove], shallow);\n  useEffect(() => {\n    emitter.on(Events.SHOW, (dialog) => {\n      dispatchInit(dialog);\n      dispatchShow(dialog.id);\n    });\n    emitter.on(Events.HIDE, (id) => {\n      dispatchHide(id);\n      dispatchRemove(id);\n    });\n    return () => {\n      emitter.off();\n    };\n  }, []);\n};\nconst toDialogEventEmitterParams = ({\n  id,\n  ...restProps\n}) => {\n  return {\n    ...restProps,\n    id: id ?? Math.random().toString(36).substr(2, 10),\n    open: false\n  };\n};\nexport {\n  toDialogEventEmitterParams,\n  useDialogEventEmitter\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useDialogStore } from \"../../hooks/stores/dialog/dialog.store.js\";\nimport { Dialog } from \"../../components/systems/Dialog/Dialog.js\";\nimport { emitter, Events } from \"./DialogContainer.emitter.js\";\nimport { useDialogEventEmitter, toDialogEventEmitterParams } from \"./DialogContainer.hooks.js\";\nconst DialogContainer = () => {\n  const dialogs = useDialogStore((state) => state.dialogs);\n  useDialogEventEmitter();\n  return dialogs.map(({\n    id,\n    ...rest\n  }) => /* @__PURE__ */ jsx(Dialog, { ...rest }, id));\n};\nconst dialog = {\n  /**\n   * @deprecated '~containers/AlertDialogContainer'의 alertDialog.show()를 대신 사용하세요\n   */\n  show(params) {\n    emitter.emit(Events.SHOW, toDialogEventEmitterParams(params));\n  },\n  /**\n   * @deprecated '~containers/AlertDialogContainer'의 alertDialog.hide()를 대신 사용하세요\n   */\n  hide(id) {\n    emitter.emit(Events.HIDE, id);\n  }\n};\nexport {\n  DialogContainer,\n  dialog\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { BottomSheet } from \"../../components/@shared/bottom-sheets/BottomSheet/BottomSheet.js\";\nimport { useBottomSheetStore } from \"../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../../hooks/stores/global-scene-stack/global-scene-stack.store.js\";\nimport { Scene } from \"../../hooks/stores/global-scene-stack/global-scene-stack.types.js\";\nimport { useBottomSheet } from \"../../hooks/useBottomSheet.js\";\nimport { useGlobalSceneStack } from \"../../hooks/useGlobalSceneStack.js\";\nconst BottomSheetContainer = () => {\n  const {\n    isOpen,\n    content,\n    detent,\n    onClose\n  } = useBottomSheetStore();\n  const bottomSheet = useBottomSheet();\n  useGlobalSceneStack(isOpen, Scene.BOTTOM_SHEET);\n  const handleClose = () => {\n    onClose == null ? void 0 : onClose();\n    bottomSheet.hide();\n  };\n  return /* @__PURE__ */ jsx(BottomSheet, { isOpen, onClose: handleClose, detent, children: content });\n};\nexport {\n  BottomSheetContainer\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nclass UIManager {\n  constructor() {\n    __publicField(this, \"items\", []);\n    __publicField(this, \"listeners\", /* @__PURE__ */ new Set());\n  }\n  subscribe(listener) {\n    this.listeners.add(listener);\n    return () => {\n      this.listeners.delete(listener);\n    };\n  }\n  showComponent(component, props, options = {}) {\n    const id = options.id || Math.random().toString(36).substr(2, 10);\n    const newItem = {\n      id,\n      component,\n      props\n    };\n    this.items = [...this.items, newItem];\n    this.notify();\n    return id;\n  }\n  hide(id) {\n    this.items = this.items.filter((item) => item.id !== id);\n    this.notify();\n  }\n  notify() {\n    this.listeners.forEach((listener) => listener(this.items));\n  }\n}\nconst uiManager = new UIManager();\nexport {\n  uiManager\n};\n","import { useFloating, useClick, useDismiss, useInteractions } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { useMemo } from \"react\";\nimport { useRulerStack as S } from \"../../contexts/RulerStackContext.js\";\nimport { COMPONENT_ID as e } from \"../../contexts/constants.js\";\nconst D = 80, F = (e2) => {\n  const t = e2.target;\n  return t instanceof Element && t.closest(\"[data-ruler-snackbar]\") != null;\n};\nfunction M({ open: e$1, onOpenChange: t, overlayEnabled: n = true }) {\n  const c = useFloating({\n    open: e$1,\n    onOpenChange: t\n  }), r = c.context, { state: o } = S(), f = useMemo(() => {\n    var m;\n    const s = (o == null ? void 0 : o.stack) ?? [];\n    return s.length === 0 || s.length > 0 && ((m = s[s.length - 1]) == null ? void 0 : m.id) === e.BottomSheet ? n : false;\n  }, [o, n]), S$1 = useClick(r), d = useDismiss(r, {\n    outsidePressEvent: \"mousedown\",\n    enabled: f,\n    // SnackBar 노드 위 press 는 dismiss 대상에서 제외한다(BG-3700 방어).\n    outsidePress: (s) => !F(s)\n  }), i = useInteractions([S$1, d]), u = (s, a) => {\n    a.offset.y > D && t(false);\n  };\n  return useMemo(\n    () => ({\n      open: e$1,\n      setOpen: t,\n      handleDragEnd: u,\n      ...i,\n      ...c\n    }),\n    [e$1, t, u, i, c]\n  );\n}\nexport {\n  M as useBottomSheet\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { layer as a } from \"../../styles/layer.style.js\";\nconst r = g({\n  slots: {\n    overlay: \"fixed left-0 top-0 z-mask h-screen w-screen touch-none overscroll-none bg-dimmed\",\n    container: \"fixed bottom-0 left-0 right-0 z-popup flex max-h-[calc(100dvh-20px)] w-full flex-col overflow-visible rounded-t-20 bg-white pb-[max(var(--safe-area-inset-bottom),12px)] pt-24\",\n    content: \"flex\",\n    resizeIndicator: \"absolute top-6 grid h-6 w-36 flex-1 cursor-pointer rounded-[2.5px] bg-gray-200 align-baseline\",\n    title: \"whitespace-pre-wrap break-words px-20 pb-8 pr-40 text-left text-title-m-bold\",\n    description: \"whitespace-pre-wrap px-20 pb-16 text-left text-xxl\",\n    buttonContainer: \"flex w-full justify-between gap-8 px-20\",\n    button: \"h-52 w-full\",\n    closeButton: \"absolute right-10 top-12 p-10\",\n    childrenContainer: \"\"\n  },\n  variants: {\n    isFullHeight: {\n      true: {\n        container: \"h-[100dvh] max-h-[100dvh]\"\n      }\n    },\n    slotPosition: {\n      top: {\n        content: \"flex-col-reverse\"\n      },\n      bottom: {\n        content: \"flex-col\"\n      }\n    },\n    isScrollable: {\n      true: {\n        childrenContainer: \"overflow-y-auto\"\n      }\n    }\n  },\n  defaultVariants: {\n    isFullHeight: false,\n    slotPosition: \"bottom\",\n    isScrollable: false\n  },\n  extend: a\n});\nexport {\n  r as style\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { FloatingPortal } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { AnimatePresence, motion } from \"framer-motion\";\nimport { forwardRef } from \"react\";\nimport { useEffectDisableScroll as S } from \"../../hooks/useEffectDisableScroll.js\";\nimport { TextButton as E } from \"../TextButton/TextButton.js\";\nimport { useBottomSheet as M } from \"./BottomSheet.hooks.js\";\nimport { style as r } from \"./BottomSheet.style.js\";\nimport { Button as H } from \"../Button/Button.js\";\nconst k = {\n  hidden: { y: \"100%\" },\n  visible: { y: 0 },\n  exit: { y: \"100%\" }\n}, w = { type: \"spring\", stiffness: 400, damping: 50 }, G = forwardRef(\n  function(i, h) {\n    var c, m$1;\n    const {\n      title: o,\n      description: r$1,\n      primaryAction: n,\n      secondaryAction: a,\n      tertiaryAction: p,\n      slotPosition: x = \"bottom\",\n      id: u = \"bottom-sheet\",\n      isFullHeight: f,\n      stackLayer: y,\n      isDragEnabled: l = true,\n      isScrollable: g = false,\n      onExitComplete: j\n    } = i, s = M(i), e = r({ isFullHeight: f, slotPosition: x, stackLayer: y, isScrollable: g });\n    return S(s.open), /* @__PURE__ */ m.jsx(AnimatePresence, { onExitComplete: j, children: s.open && /* @__PURE__ */ m.jsxs(FloatingPortal, { id: u, children: [\n      /* @__PURE__ */ m.jsx(\"div\", { className: e.overlay() }),\n      /* @__PURE__ */ m.jsxs(\n        motion.div,\n        {\n          ...s.getFloatingProps(),\n          drag: \"y\",\n          ref: h,\n          transition: w,\n          className: e.container(),\n          variants: k,\n          initial: [\"hidden\"],\n          animate: \"visible\",\n          exit: \"exit\",\n          dragConstraints: { top: 0 },\n          dragElastic: false,\n          onDragEnd: s.handleDragEnd,\n          dragSnapToOrigin: true,\n          onClick: (b) => b.stopPropagation(),\n          dragListener: l,\n          children: [\n            l && /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute top-6 grid w-full place-items-center\", children: /* @__PURE__ */ m.jsx(\"div\", { className: \"h-6 w-36 rounded-[2.5px] bg-gray-200\" }) }),\n            /* @__PURE__ */ m.jsxs(\"div\", { className: e.content(), children: [\n              /* @__PURE__ */ m.jsxs(\"div\", { children: [\n                o && /* @__PURE__ */ m.jsx(\"h2\", { className: e.title(), children: o }),\n                r$1 && /* @__PURE__ */ m.jsx(\"p\", { className: e.description(), children: r$1 })\n              ] }),\n              /* @__PURE__ */ m.jsx(\"div\", { className: e.childrenContainer(), children: i.children })\n            ] }),\n            /* @__PURE__ */ m.jsxs(\"div\", { className: \"mt-auto\", children: [\n              n && /* @__PURE__ */ m.jsxs(\"div\", { className: e.buttonContainer(), children: [\n                a && /* @__PURE__ */ m.jsx(\n                  H,\n                  {\n                    ...a,\n                    priority: \"secondary\",\n                    size: \"medium\",\n                    className: e.button()\n                  }\n                ),\n                /* @__PURE__ */ m.jsx(H, { ...n, priority: \"primary\", size: \"medium\", className: e.button() })\n              ] }),\n              p && /* @__PURE__ */ m.jsx(\n                E,\n                {\n                  className: \"flex w-full justify-center pt-10\",\n                  priority: \"secondary\",\n                  size: \"small\",\n                  onClick: (c = i.tertiaryAction) == null ? void 0 : c.onClick,\n                  label: (m$1 = i.tertiaryAction) == null ? void 0 : m$1.label,\n                  isBold: true\n                }\n              )\n            ] })\n          ]\n        }\n      )\n    ] }) });\n  }\n);\nexport {\n  G as BottomSheet\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useRef, useEffect } from \"react\";\nimport { BottomSheet as G } from \"../../node_modules/@29cm/ruler-ui/dist/components/BottomSheet/BottomSheet.js\";\nimport { mergeRefs } from \"../../utils/react/mergeRefs.js\";\nimport { useTargetAppVersion } from \"../../hooks/useTargetAppVersion.js\";\nimport { isTabView } from \"../../utils/custom-tab/isTabView.js\";\nconst AppCompatBottomSheet = forwardRef(({\n  children,\n  ...props\n}, ref) => {\n  const innerRef = useRef(null);\n  const {\n    isTargetAppVersion\n  } = useTargetAppVersion({\n    minIosVersion: 1417,\n    maxIosVersion: 1426\n  });\n  useEffect(() => {\n    if (!isTargetAppVersion || !isTabView() || !props.open) {\n      return;\n    }\n    let currentElement = null;\n    let originalPaddingBottom = \"\";\n    const timeoutId = setTimeout(() => {\n      if (!innerRef.current) {\n        return;\n      }\n      currentElement = innerRef.current;\n      originalPaddingBottom = currentElement.style.paddingBottom;\n      currentElement.style.paddingBottom = \"98px\";\n    }, 0);\n    return () => {\n      clearTimeout(timeoutId);\n      if (currentElement) {\n        currentElement.style.paddingBottom = originalPaddingBottom;\n      }\n    };\n  }, [isTargetAppVersion, props.open]);\n  return /* @__PURE__ */ jsx(G, { ref: mergeRefs([ref, innerRef]), ...props, children });\n});\nexport {\n  AppCompatBottomSheet\n};\n","import { Dialog as M } from \"../../node_modules/@29cm/ruler-ui/dist/components/Dialog/Dialog.js\";\nimport { uiManager } from \"./UIManager.js\";\nimport { AppCompatBottomSheet } from \"./AppCompatBottomSheet.js\";\nconst ui = {\n  /**\n   * 간단한 다이얼로그 - 자동으로 열림/닫힘 처리됨\n   * @example ui.showDialog({ title: '확인', primaryAction: { label: '확인' } })\n   */\n  showDialog: (props, options = {}) => {\n    const id = options.id || Math.random().toString(36).substr(2, 10);\n    return uiManager.showComponent(M, {\n      ...props,\n      open: true,\n      onOpenChange: (open) => {\n        var _a;\n        if (!open) {\n          (_a = options.onClose) == null ? void 0 : _a.call(options);\n          uiManager.hide(id);\n        }\n      }\n    }, {\n      id\n    });\n  },\n  /**\n   * 간단한 바텀시트 - 자동으로 열림/닫힘 처리됨\n   * @example ui.showBottomSheet({ title: '확인', primaryAction: { label: '확인' } })\n   */\n  showBottomSheet: (props, options = {}) => {\n    const id = options.id || Math.random().toString(36).substr(2, 10);\n    return uiManager.showComponent(AppCompatBottomSheet, {\n      ...props,\n      open: true,\n      onOpenChange: (open) => {\n        var _a;\n        if (!open) {\n          (_a = options.onClose) == null ? void 0 : _a.call(options);\n          uiManager.hide(id);\n        }\n      }\n    }, {\n      id\n    });\n  },\n  /**\n   * 복잡한 컴포넌트 - onClose 직접 처리 필요\n   * @example ui.showComponent(MyDialog, { onClose: () => ui.hide(id) })\n   */\n  showComponent: (component, props, options = {}) => uiManager.showComponent(component, props, options),\n  /**\n   * 컴포넌트 제거\n   * @example ui.hide('dialog-id')\n   */\n  hide: (id) => uiManager.hide(id)\n};\nexport {\n  ui\n};\n","import { jsx, Fragment } from \"react/jsx-runtime\";\nimport { useState, useEffect } from \"react\";\nimport { uiManager } from \"./UIManager.js\";\nimport { ui } from \"./ui.js\";\nconst UIContainer = () => {\n  const [items, setItems] = useState([]);\n  useEffect(() => {\n    return uiManager.subscribe(setItems);\n  }, []);\n  return /* @__PURE__ */ jsx(Fragment, { children: items.map((item) => {\n    const Component = item.component;\n    return /* @__PURE__ */ jsx(Component, { ...item.props }, item.id);\n  }) });\n};\nexport {\n  UIContainer,\n  ui\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_14jhu_1 {\\n  position: fixed;\\n  top: auto;\\n  right: 0;\\n  bottom: 0;\\n  left: 0;\\n\\n  width: 100%;\\n  padding: 0 16px calc(env(safe-area-inset-bottom) + 16px);\\n  z-index: 5001;\\n}\\n\\n._animate_14jhu_13 {\\n  display: flex;\\n  align-items: center;\\n  width: 100%;\\n  background-color: transparent;\\n}\\n\\n._content_14jhu_20 {\\n  display: flex;\\n  justify-content: flex-start;\\n  align-items: center;\\n\\n  padding: 14px 20px;\\n\\n  width: 100%;\\n  min-height: 48px;\\n  border-radius: 2px;\\n  background-color: rgba(0, 0, 0, 0.9);\\n  color: #fff;\\n}\\n\\n._text_14jhu_34 {\\n  width: 100%;\\n  font-weight: 400;\\n  font-size: 14px;\\n  line-height: 20px;\\n  color: #fff;\\n  text-align: start;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_14jhu_1\";\nconst animate = \"_animate_14jhu_13\";\nconst content = \"_content_14jhu_20\";\nconst text = \"_text_14jhu_34\";\nconst styles = {\n  container,\n  animate,\n  content,\n  text\n};\nexport {\n  animate,\n  container,\n  content,\n  styles as default,\n  text\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { AnimatePresence, motion } from \"framer-motion\";\nimport { useToastStore } from \"../../hooks/stores/toast/toast.store.js\";\nimport styles from \"./ToastContainer.module.css.js\";\nconst ToastContainer = () => {\n  const {\n    isOpen,\n    content\n  } = useToastStore();\n  return /* @__PURE__ */ jsx(AnimatePresence, { children: isOpen ? /* @__PURE__ */ jsx(\"div\", { className: styles.container, children: /* @__PURE__ */ jsx(motion.div, { className: styles.animate, transition: {\n    transitionease: \"easeOut\"\n  }, variants, initial: \"initial\", animate: \"animate\", exit: \"exit\", children: /* @__PURE__ */ jsx(\"div\", { className: styles.content, children: /* @__PURE__ */ jsx(\"div\", { className: styles.text, children: content }) }) }) }) : null });\n};\nconst variants = {\n  initial: {\n    opacity: 1,\n    y: 150\n  },\n  animate: {\n    opacity: 1,\n    y: 0\n  },\n  exit: {\n    opacity: 0,\n    y: 0,\n    transition: {\n      duration: 0.3\n    }\n  }\n};\nexport {\n  ToastContainer\n};\n","var extendStatics = function(d, b) {\n  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n    d2.__proto__ = b2;\n  } || function(d2, b2) {\n    for (var p in b2)\n      if (Object.prototype.hasOwnProperty.call(b2, p))\n        d2[p] = b2[p];\n  };\n  return extendStatics(d, b);\n};\nfunction __extends(d, b) {\n  if (typeof b !== \"function\" && b !== null)\n    throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n  extendStatics(d, b);\n  function __() {\n    this.constructor = d;\n  }\n  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nvar __assign = function() {\n  __assign = Object.assign || function __assign2(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s)\n        if (Object.prototype.hasOwnProperty.call(s, p))\n          t[p] = s[p];\n    }\n    return t;\n  };\n  return __assign.apply(this, arguments);\n};\nfunction __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function(resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = Promise))(function(resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\nfunction __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() {\n    if (t[0] & 1)\n      throw t[1];\n    return t[1];\n  }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n  return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n    return this;\n  }), g;\n  function verb(n) {\n    return function(v) {\n      return step([n, v]);\n    };\n  }\n  function step(op) {\n    if (f)\n      throw new TypeError(\"Generator is already executing.\");\n    while (g && (g = 0, op[0] && (_ = 0)), _)\n      try {\n        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n          return t;\n        if (y = 0, t)\n          op = [op[0] & 2, t.value];\n        switch (op[0]) {\n          case 0:\n          case 1:\n            t = op;\n            break;\n          case 4:\n            _.label++;\n            return { value: op[1], done: false };\n          case 5:\n            _.label++;\n            y = op[1];\n            op = [0];\n            continue;\n          case 7:\n            op = _.ops.pop();\n            _.trys.pop();\n            continue;\n          default:\n            if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n              _ = 0;\n              continue;\n            }\n            if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n              _.label = op[1];\n              break;\n            }\n            if (op[0] === 6 && _.label < t[1]) {\n              _.label = t[1];\n              t = op;\n              break;\n            }\n            if (t && _.label < t[2]) {\n              _.label = t[2];\n              _.ops.push(op);\n              break;\n            }\n            if (t[2])\n              _.ops.pop();\n            _.trys.pop();\n            continue;\n        }\n        op = body.call(thisArg, _);\n      } catch (e) {\n        op = [6, e];\n        y = 0;\n      } finally {\n        f = t = 0;\n      }\n    if (op[0] & 5)\n      throw op[1];\n    return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\nfunction __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m)\n    return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n    while ((n === void 0 || n-- > 0) && !(r = i.next()).done)\n      ar.push(r.value);\n  } catch (error) {\n    e = { error };\n  } finally {\n    try {\n      if (r && !r.done && (m = i[\"return\"]))\n        m.call(i);\n    } finally {\n      if (e)\n        throw e.error;\n    }\n  }\n  return ar;\n}\ntypeof SuppressedError === \"function\" ? SuppressedError : function(error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nexport {\n  __assign,\n  __awaiter,\n  __extends,\n  __generator,\n  __read\n};\n","var runQueuedFunctions = function(instance, queue) {\n  convertProxyObjectToRealObject(instance, queue);\n};\nvar convertProxyObjectToRealObject = function(instance, queue) {\n  for (var i = 0; i < queue.length; i++) {\n    var _a = queue[i], name_1 = _a.name, args = _a.args, resolve = _a.resolve;\n    var fn = instance && instance[name_1];\n    if (typeof fn === \"function\") {\n      var result = fn.apply(instance, args);\n      if (typeof resolve === \"function\") {\n        resolve(result === null || result === void 0 ? void 0 : result.promise);\n      }\n    }\n  }\n  return instance;\n};\nvar isInstanceProxy = function(instance) {\n  var instanceProxy = instance;\n  return instanceProxy && instanceProxy._q !== void 0;\n};\nexport {\n  convertProxyObjectToRealObject,\n  isInstanceProxy,\n  runQueuedFunctions\n};\n","var VERSION = \"2.11.1\";\nexport {\n  VERSION\n};\n","var getLanguage = function() {\n  var _a, _b, _c, _d;\n  if (typeof navigator === \"undefined\")\n    return \"\";\n  var userLanguage = navigator.userLanguage;\n  return (_d = (_c = (_b = (_a = navigator.languages) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : navigator.language) !== null && _c !== void 0 ? _c : userLanguage) !== null && _d !== void 0 ? _d : \"\";\n};\nexport {\n  getLanguage\n};\n","var UUID = function(a) {\n  return a ? (\n    // a random number from 0 to 15\n    (a ^ // unless b is 8,\n    Math.random() * // in which case\n    16 >> // a random number from\n    a / 4).toString(16)\n  ) : (\n    // or otherwise a concatenated string:\n    (String(1e7) + // 10000000 +\n    String(-1e3) + // -1000 +\n    String(-4e3) + // -4000 +\n    String(-8e3) + // -80000000 +\n    String(-1e11)).replace(\n      // replacing\n      /[018]/g,\n      // zeroes, ones, and eights with\n      UUID\n    )\n  );\n};\nexport {\n  UUID\n};\n","import { __awaiter, __generator, __assign } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { VERSION } from \"../version.js\";\nimport { getLanguage } from \"../../../../analytics-client-common/lib/esm/language.js\";\nimport { UUID } from \"../../../../analytics-core/lib/esm/utils/uuid.js\";\nvar BROWSER_PLATFORM = \"Web\";\nvar IP_ADDRESS = \"$remote\";\nvar Context = (\n  /** @class */\n  function() {\n    function Context2() {\n      this.name = \"@amplitude/plugin-context-browser\";\n      this.type = \"before\";\n      this.library = \"amplitude-ts/\".concat(VERSION);\n      if (typeof navigator !== \"undefined\") {\n        this.userAgent = navigator.userAgent;\n      }\n    }\n    Context2.prototype.setup = function(config) {\n      this.config = config;\n      return Promise.resolve(void 0);\n    };\n    Context2.prototype.execute = function(context) {\n      var _a, _b;\n      return __awaiter(this, void 0, void 0, function() {\n        var time, lastEventId, nextEventId, event;\n        return __generator(this, function(_c) {\n          time = (/* @__PURE__ */ new Date()).getTime();\n          lastEventId = (_a = this.config.lastEventId) !== null && _a !== void 0 ? _a : -1;\n          nextEventId = (_b = context.event_id) !== null && _b !== void 0 ? _b : lastEventId + 1;\n          this.config.lastEventId = nextEventId;\n          if (!context.time) {\n            this.config.lastEventTime = time;\n          }\n          event = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ user_id: this.config.userId, device_id: this.config.deviceId, session_id: this.config.sessionId, time }, this.config.appVersion && { app_version: this.config.appVersion }), this.config.trackingOptions.platform && { platform: BROWSER_PLATFORM }), this.config.trackingOptions.language && { language: getLanguage() }), this.config.trackingOptions.ipAddress && { ip: IP_ADDRESS }), { insert_id: UUID(), partner_id: this.config.partnerId, plan: this.config.plan }), this.config.ingestionMetadata && {\n            ingestion_metadata: {\n              source_name: this.config.ingestionMetadata.sourceName,\n              source_version: this.config.ingestionMetadata.sourceVersion\n            }\n          }), context), { event_id: nextEventId, library: this.library, user_agent: this.userAgent });\n          return [2, event];\n        });\n      });\n    };\n    return Context2;\n  }()\n);\nexport {\n  Context\n};\n","import { __awaiter, __generator } from \"../../../node_modules/tslib/tslib.es6.js\";\nvar BrowserStorage = (\n  /** @class */\n  function() {\n    function BrowserStorage2(storage) {\n      this.storage = storage;\n    }\n    BrowserStorage2.prototype.isEnabled = function() {\n      return __awaiter(this, void 0, void 0, function() {\n        var random, testStorage, testKey, value;\n        return __generator(this, function(_b) {\n          switch (_b.label) {\n            case 0:\n              if (!this.storage) {\n                return [2, false];\n              }\n              random = String(Date.now());\n              testStorage = new BrowserStorage2(this.storage);\n              testKey = \"AMP_TEST\";\n              _b.label = 1;\n            case 1:\n              _b.trys.push([1, 4, 5, 7]);\n              return [4, testStorage.set(testKey, random)];\n            case 2:\n              _b.sent();\n              return [4, testStorage.get(testKey)];\n            case 3:\n              value = _b.sent();\n              return [2, value === random];\n            case 4:\n              _b.sent();\n              return [2, false];\n            case 5:\n              return [4, testStorage.remove(testKey)];\n            case 6:\n              _b.sent();\n              return [\n                7\n                /*endfinally*/\n              ];\n            case 7:\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    BrowserStorage2.prototype.get = function(key) {\n      return __awaiter(this, void 0, void 0, function() {\n        var value;\n        return __generator(this, function(_b) {\n          switch (_b.label) {\n            case 0:\n              _b.trys.push([0, 2, , 3]);\n              return [4, this.getRaw(key)];\n            case 1:\n              value = _b.sent();\n              if (!value) {\n                return [2, void 0];\n              }\n              return [2, JSON.parse(value)];\n            case 2:\n              _b.sent();\n              console.error(\"[Amplitude] Error: Could not get value from storage\");\n              return [2, void 0];\n            case 3:\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    BrowserStorage2.prototype.getRaw = function(key) {\n      var _a;\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_b) {\n          return [2, ((_a = this.storage) === null || _a === void 0 ? void 0 : _a.getItem(key)) || void 0];\n        });\n      });\n    };\n    BrowserStorage2.prototype.set = function(key, value) {\n      var _a;\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_b) {\n          try {\n            (_a = this.storage) === null || _a === void 0 ? void 0 : _a.setItem(key, JSON.stringify(value));\n          } catch (_c) {\n          }\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    BrowserStorage2.prototype.remove = function(key) {\n      var _a;\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_b) {\n          try {\n            (_a = this.storage) === null || _a === void 0 ? void 0 : _a.removeItem(key);\n          } catch (_c) {\n          }\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    BrowserStorage2.prototype.reset = function() {\n      var _a;\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_b) {\n          try {\n            (_a = this.storage) === null || _a === void 0 ? void 0 : _a.clear();\n          } catch (_c) {\n          }\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    return BrowserStorage2;\n  }()\n);\nexport {\n  BrowserStorage\n};\n","import global from \"../../../../vite-plugin-node-polyfills/shims/global/dist/index.js\";\nvar getGlobalScope = function() {\n  var ampIntegrationContextName = \"ampIntegrationContext\";\n  if (typeof globalThis !== \"undefined\" && typeof globalThis[ampIntegrationContextName] !== \"undefined\") {\n    return globalThis[ampIntegrationContextName];\n  }\n  if (typeof globalThis !== \"undefined\") {\n    return globalThis;\n  }\n  if (typeof window !== \"undefined\") {\n    return window;\n  }\n  if (typeof self !== \"undefined\") {\n    return self;\n  }\n  if (typeof global !== \"undefined\") {\n    return global;\n  }\n  return void 0;\n};\nexport {\n  getGlobalScope\n};\n","import { __extends, __awaiter, __generator } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { BrowserStorage } from \"./browser-storage.js\";\nimport { getGlobalScope } from \"../../../../analytics-client-common/lib/esm/global-scope.js\";\nvar MAX_ARRAY_LENGTH = 1e3;\nvar LocalStorage = (\n  /** @class */\n  function(_super) {\n    __extends(LocalStorage2, _super);\n    function LocalStorage2(config) {\n      var _this = this;\n      var _a;\n      _this = _super.call(this, (_a = getGlobalScope()) === null || _a === void 0 ? void 0 : _a.localStorage) || this;\n      _this.loggerProvider = config === null || config === void 0 ? void 0 : config.loggerProvider;\n      return _this;\n    }\n    LocalStorage2.prototype.set = function(key, value) {\n      var _a;\n      return __awaiter(this, void 0, void 0, function() {\n        var droppedEventsCount;\n        return __generator(this, function(_b) {\n          switch (_b.label) {\n            case 0:\n              if (!(Array.isArray(value) && value.length > MAX_ARRAY_LENGTH))\n                return [3, 2];\n              droppedEventsCount = value.length - MAX_ARRAY_LENGTH;\n              return [4, _super.prototype.set.call(this, key, value.slice(0, MAX_ARRAY_LENGTH))];\n            case 1:\n              _b.sent();\n              (_a = this.loggerProvider) === null || _a === void 0 ? void 0 : _a.error(\"Failed to save \".concat(droppedEventsCount, \" events because the queue length exceeded \").concat(MAX_ARRAY_LENGTH, \".\"));\n              return [3, 4];\n            case 2:\n              return [4, _super.prototype.set.call(this, key, value)];\n            case 3:\n              _b.sent();\n              _b.label = 4;\n            case 4:\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    return LocalStorage2;\n  }(BrowserStorage)\n);\nexport {\n  LocalStorage\n};\n","import { __extends } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { BrowserStorage } from \"./browser-storage.js\";\nimport { getGlobalScope } from \"../../../../analytics-client-common/lib/esm/global-scope.js\";\nvar SessionStorage = (\n  /** @class */\n  function(_super) {\n    __extends(SessionStorage2, _super);\n    function SessionStorage2() {\n      var _a;\n      return _super.call(this, (_a = getGlobalScope()) === null || _a === void 0 ? void 0 : _a.sessionStorage) || this;\n    }\n    return SessionStorage2;\n  }(BrowserStorage)\n);\nexport {\n  SessionStorage\n};\n","var Status;\n(function(Status2) {\n  Status2[\"Unknown\"] = \"unknown\";\n  Status2[\"Skipped\"] = \"skipped\";\n  Status2[\"Success\"] = \"success\";\n  Status2[\"RateLimit\"] = \"rate_limit\";\n  Status2[\"PayloadTooLarge\"] = \"payload_too_large\";\n  Status2[\"Invalid\"] = \"invalid\";\n  Status2[\"Failed\"] = \"failed\";\n  Status2[\"Timeout\"] = \"Timeout\";\n  Status2[\"SystemError\"] = \"SystemError\";\n})(Status || (Status = {}));\nexport {\n  Status\n};\n","import { Status } from \"../../../../analytics-types/lib/esm/status.js\";\nvar BaseTransport = (\n  /** @class */\n  function() {\n    function BaseTransport2() {\n    }\n    BaseTransport2.prototype.send = function(_serverUrl, _payload) {\n      return Promise.resolve(null);\n    };\n    BaseTransport2.prototype.buildResponse = function(responseJSON) {\n      var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;\n      if (typeof responseJSON !== \"object\") {\n        return null;\n      }\n      var statusCode = responseJSON.code || 0;\n      var status = this.buildStatus(statusCode);\n      switch (status) {\n        case Status.Success:\n          return {\n            status,\n            statusCode,\n            body: {\n              eventsIngested: (_a = responseJSON.events_ingested) !== null && _a !== void 0 ? _a : 0,\n              payloadSizeBytes: (_b = responseJSON.payload_size_bytes) !== null && _b !== void 0 ? _b : 0,\n              serverUploadTime: (_c = responseJSON.server_upload_time) !== null && _c !== void 0 ? _c : 0\n            }\n          };\n        case Status.Invalid:\n          return {\n            status,\n            statusCode,\n            body: {\n              error: (_d = responseJSON.error) !== null && _d !== void 0 ? _d : \"\",\n              missingField: (_e = responseJSON.missing_field) !== null && _e !== void 0 ? _e : \"\",\n              eventsWithInvalidFields: (_f = responseJSON.events_with_invalid_fields) !== null && _f !== void 0 ? _f : {},\n              eventsWithMissingFields: (_g = responseJSON.events_with_missing_fields) !== null && _g !== void 0 ? _g : {},\n              eventsWithInvalidIdLengths: (_h = responseJSON.events_with_invalid_id_lengths) !== null && _h !== void 0 ? _h : {},\n              epsThreshold: (_j = responseJSON.eps_threshold) !== null && _j !== void 0 ? _j : 0,\n              exceededDailyQuotaDevices: (_k = responseJSON.exceeded_daily_quota_devices) !== null && _k !== void 0 ? _k : {},\n              silencedDevices: (_l = responseJSON.silenced_devices) !== null && _l !== void 0 ? _l : [],\n              silencedEvents: (_m = responseJSON.silenced_events) !== null && _m !== void 0 ? _m : [],\n              throttledDevices: (_o = responseJSON.throttled_devices) !== null && _o !== void 0 ? _o : {},\n              throttledEvents: (_p = responseJSON.throttled_events) !== null && _p !== void 0 ? _p : []\n            }\n          };\n        case Status.PayloadTooLarge:\n          return {\n            status,\n            statusCode,\n            body: {\n              error: (_q = responseJSON.error) !== null && _q !== void 0 ? _q : \"\"\n            }\n          };\n        case Status.RateLimit:\n          return {\n            status,\n            statusCode,\n            body: {\n              error: (_r = responseJSON.error) !== null && _r !== void 0 ? _r : \"\",\n              epsThreshold: (_s = responseJSON.eps_threshold) !== null && _s !== void 0 ? _s : 0,\n              throttledDevices: (_t = responseJSON.throttled_devices) !== null && _t !== void 0 ? _t : {},\n              throttledUsers: (_u = responseJSON.throttled_users) !== null && _u !== void 0 ? _u : {},\n              exceededDailyQuotaDevices: (_v = responseJSON.exceeded_daily_quota_devices) !== null && _v !== void 0 ? _v : {},\n              exceededDailyQuotaUsers: (_w = responseJSON.exceeded_daily_quota_users) !== null && _w !== void 0 ? _w : {},\n              throttledEvents: (_x = responseJSON.throttled_events) !== null && _x !== void 0 ? _x : []\n            }\n          };\n        case Status.Timeout:\n        default:\n          return {\n            status,\n            statusCode\n          };\n      }\n    };\n    BaseTransport2.prototype.buildStatus = function(code) {\n      if (code >= 200 && code < 300) {\n        return Status.Success;\n      }\n      if (code === 429) {\n        return Status.RateLimit;\n      }\n      if (code === 413) {\n        return Status.PayloadTooLarge;\n      }\n      if (code === 408) {\n        return Status.Timeout;\n      }\n      if (code >= 400 && code < 500) {\n        return Status.Invalid;\n      }\n      if (code >= 500) {\n        return Status.Failed;\n      }\n      return Status.Unknown;\n    };\n    return BaseTransport2;\n  }()\n);\nexport {\n  BaseTransport\n};\n","import { __extends, __awaiter, __generator } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { BaseTransport } from \"../../../../analytics-core/lib/esm/transports/base.js\";\nvar XHRTransport = (\n  /** @class */\n  function(_super) {\n    __extends(XHRTransport2, _super);\n    function XHRTransport2() {\n      var _this = _super !== null && _super.apply(this, arguments) || this;\n      _this.state = {\n        done: 4\n      };\n      return _this;\n    }\n    XHRTransport2.prototype.send = function(serverUrl, payload) {\n      return __awaiter(this, void 0, void 0, function() {\n        var _this = this;\n        return __generator(this, function(_a) {\n          return [2, new Promise(function(resolve, reject) {\n            if (typeof XMLHttpRequest === \"undefined\") {\n              reject(new Error(\"XHRTransport is not supported.\"));\n            }\n            var xhr = new XMLHttpRequest();\n            xhr.open(\"POST\", serverUrl, true);\n            xhr.onreadystatechange = function() {\n              if (xhr.readyState === _this.state.done) {\n                var responseText = xhr.responseText;\n                try {\n                  resolve(_this.buildResponse(JSON.parse(responseText)));\n                } catch (_a2) {\n                  resolve(_this.buildResponse({ code: xhr.status }));\n                }\n              }\n            };\n            xhr.setRequestHeader(\"Content-Type\", \"application/json\");\n            xhr.setRequestHeader(\"Accept\", \"*/*\");\n            xhr.send(JSON.stringify(payload));\n          })];\n        });\n      });\n    };\n    return XHRTransport2;\n  }(BaseTransport)\n);\nexport {\n  XHRTransport\n};\n","import { __extends, __awaiter, __generator } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { BaseTransport } from \"../../../../analytics-core/lib/esm/transports/base.js\";\nimport { getGlobalScope } from \"../../../../analytics-client-common/lib/esm/global-scope.js\";\nvar SendBeaconTransport = (\n  /** @class */\n  function(_super) {\n    __extends(SendBeaconTransport2, _super);\n    function SendBeaconTransport2() {\n      return _super !== null && _super.apply(this, arguments) || this;\n    }\n    SendBeaconTransport2.prototype.send = function(serverUrl, payload) {\n      return __awaiter(this, void 0, void 0, function() {\n        var _this = this;\n        return __generator(this, function(_a) {\n          return [2, new Promise(function(resolve, reject) {\n            var globalScope = getGlobalScope();\n            if (!(globalScope === null || globalScope === void 0 ? void 0 : globalScope.navigator.sendBeacon)) {\n              throw new Error(\"SendBeaconTransport is not supported\");\n            }\n            try {\n              var data = JSON.stringify(payload);\n              var success = globalScope.navigator.sendBeacon(serverUrl, JSON.stringify(payload));\n              if (success) {\n                return resolve(_this.buildResponse({\n                  code: 200,\n                  events_ingested: payload.events.length,\n                  payload_size_bytes: data.length,\n                  server_upload_time: Date.now()\n                }));\n              }\n              return resolve(_this.buildResponse({ code: 500 }));\n            } catch (e) {\n              reject(e);\n            }\n          })];\n        });\n      });\n    };\n    return SendBeaconTransport2;\n  }(BaseTransport)\n);\nexport {\n  SendBeaconTransport\n};\n","var UNSET_VALUE = \"-\";\nvar AMPLITUDE_PREFIX = \"AMP\";\nvar STORAGE_PREFIX = \"\".concat(AMPLITUDE_PREFIX, \"_unsent\");\nvar AMPLITUDE_SERVER_URL = \"https://api2.amplitude.com/2/httpapi\";\nvar EU_AMPLITUDE_SERVER_URL = \"https://api.eu.amplitude.com/2/httpapi\";\nvar AMPLITUDE_BATCH_SERVER_URL = \"https://api2.amplitude.com/batch\";\nvar EU_AMPLITUDE_BATCH_SERVER_URL = \"https://api.eu.amplitude.com/batch\";\nexport {\n  AMPLITUDE_BATCH_SERVER_URL,\n  AMPLITUDE_PREFIX,\n  AMPLITUDE_SERVER_URL,\n  EU_AMPLITUDE_BATCH_SERVER_URL,\n  EU_AMPLITUDE_SERVER_URL,\n  STORAGE_PREFIX,\n  UNSET_VALUE\n};\n","import { AMPLITUDE_PREFIX } from \"../../../analytics-core/lib/esm/constants.js\";\nvar getCookieName = function(apiKey, postKey, limit) {\n  if (postKey === void 0) {\n    postKey = \"\";\n  }\n  if (limit === void 0) {\n    limit = 10;\n  }\n  return [AMPLITUDE_PREFIX, postKey, apiKey.substring(0, limit)].filter(Boolean).join(\"_\");\n};\nvar getOldCookieName = function(apiKey) {\n  return \"\".concat(AMPLITUDE_PREFIX.toLowerCase(), \"_\").concat(apiKey.substring(0, 6));\n};\nexport {\n  getCookieName,\n  getOldCookieName\n};\n","import { __awaiter, __generator, __read } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { getOldCookieName } from \"../../../../analytics-client-common/lib/esm/cookie-name.js\";\nvar parseLegacyCookies = function(apiKey, cookieStorage, deleteLegacyCookies) {\n  if (deleteLegacyCookies === void 0) {\n    deleteLegacyCookies = true;\n  }\n  return __awaiter(void 0, void 0, void 0, function() {\n    var cookieName, cookies, _a, deviceId, userId, optOut, sessionId, lastEventTime, lastEventId;\n    return __generator(this, function(_b) {\n      switch (_b.label) {\n        case 0:\n          cookieName = getOldCookieName(apiKey);\n          return [4, cookieStorage.getRaw(cookieName)];\n        case 1:\n          cookies = _b.sent();\n          if (!cookies) {\n            return [2, {\n              optOut: false\n            }];\n          }\n          if (!deleteLegacyCookies)\n            return [3, 3];\n          return [4, cookieStorage.remove(cookieName)];\n        case 2:\n          _b.sent();\n          _b.label = 3;\n        case 3:\n          _a = __read(cookies.split(\".\"), 6), deviceId = _a[0], userId = _a[1], optOut = _a[2], sessionId = _a[3], lastEventTime = _a[4], lastEventId = _a[5];\n          return [2, {\n            deviceId,\n            userId: decode(userId),\n            sessionId: parseTime(sessionId),\n            lastEventId: parseTime(lastEventId),\n            lastEventTime: parseTime(lastEventTime),\n            optOut: Boolean(optOut)\n          }];\n      }\n    });\n  });\n};\nvar parseTime = function(num) {\n  var integer = parseInt(num, 32);\n  if (isNaN(integer)) {\n    return void 0;\n  }\n  return integer;\n};\nvar decode = function(value) {\n  if (!atob || !escape || !value) {\n    return void 0;\n  }\n  try {\n    return decodeURIComponent(escape(atob(value)));\n  } catch (_a) {\n    return void 0;\n  }\n};\nexport {\n  decode,\n  parseLegacyCookies,\n  parseTime\n};\n","var DEFAULT_EVENT_PREFIX = \"[Amplitude]\";\nvar DEFAULT_FORM_START_EVENT = \"\".concat(DEFAULT_EVENT_PREFIX, \" Form Started\");\nvar DEFAULT_FORM_SUBMIT_EVENT = \"\".concat(DEFAULT_EVENT_PREFIX, \" Form Submitted\");\nvar DEFAULT_FILE_DOWNLOAD_EVENT = \"\".concat(DEFAULT_EVENT_PREFIX, \" File Downloaded\");\nvar DEFAULT_SESSION_START_EVENT = \"session_start\";\nvar DEFAULT_SESSION_END_EVENT = \"session_end\";\nvar FILE_EXTENSION = \"\".concat(DEFAULT_EVENT_PREFIX, \" File Extension\");\nvar FILE_NAME = \"\".concat(DEFAULT_EVENT_PREFIX, \" File Name\");\nvar LINK_ID = \"\".concat(DEFAULT_EVENT_PREFIX, \" Link ID\");\nvar LINK_TEXT = \"\".concat(DEFAULT_EVENT_PREFIX, \" Link Text\");\nvar LINK_URL = \"\".concat(DEFAULT_EVENT_PREFIX, \" Link URL\");\nvar FORM_ID = \"\".concat(DEFAULT_EVENT_PREFIX, \" Form ID\");\nvar FORM_NAME = \"\".concat(DEFAULT_EVENT_PREFIX, \" Form Name\");\nvar FORM_DESTINATION = \"\".concat(DEFAULT_EVENT_PREFIX, \" Form Destination\");\nvar DEFAULT_IDENTITY_STORAGE = \"cookie\";\nvar DEFAULT_SERVER_ZONE = \"US\";\nexport {\n  DEFAULT_EVENT_PREFIX,\n  DEFAULT_FILE_DOWNLOAD_EVENT,\n  DEFAULT_FORM_START_EVENT,\n  DEFAULT_FORM_SUBMIT_EVENT,\n  DEFAULT_IDENTITY_STORAGE,\n  DEFAULT_SERVER_ZONE,\n  DEFAULT_SESSION_END_EVENT,\n  DEFAULT_SESSION_START_EVENT,\n  FILE_EXTENSION,\n  FILE_NAME,\n  FORM_DESTINATION,\n  FORM_ID,\n  FORM_NAME,\n  LINK_ID,\n  LINK_TEXT,\n  LINK_URL\n};\n","var LogLevel;\n(function(LogLevel2) {\n  LogLevel2[LogLevel2[\"None\"] = 0] = \"None\";\n  LogLevel2[LogLevel2[\"Error\"] = 1] = \"Error\";\n  LogLevel2[LogLevel2[\"Warn\"] = 2] = \"Warn\";\n  LogLevel2[LogLevel2[\"Verbose\"] = 3] = \"Verbose\";\n  LogLevel2[LogLevel2[\"Debug\"] = 4] = \"Debug\";\n})(LogLevel || (LogLevel = {}));\nexport {\n  LogLevel\n};\n","import { LogLevel } from \"../../../analytics-types/lib/esm/logger.js\";\nvar PREFIX = \"Amplitude Logger \";\nvar Logger = (\n  /** @class */\n  function() {\n    function Logger2() {\n      this.logLevel = LogLevel.None;\n    }\n    Logger2.prototype.disable = function() {\n      this.logLevel = LogLevel.None;\n    };\n    Logger2.prototype.enable = function(logLevel) {\n      if (logLevel === void 0) {\n        logLevel = LogLevel.Warn;\n      }\n      this.logLevel = logLevel;\n    };\n    Logger2.prototype.log = function() {\n      var args = [];\n      for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n      }\n      if (this.logLevel < LogLevel.Verbose) {\n        return;\n      }\n      console.log(\"\".concat(PREFIX, \"[Log]: \").concat(args.join(\" \")));\n    };\n    Logger2.prototype.warn = function() {\n      var args = [];\n      for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n      }\n      if (this.logLevel < LogLevel.Warn) {\n        return;\n      }\n      console.warn(\"\".concat(PREFIX, \"[Warn]: \").concat(args.join(\" \")));\n    };\n    Logger2.prototype.error = function() {\n      var args = [];\n      for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n      }\n      if (this.logLevel < LogLevel.Error) {\n        return;\n      }\n      console.error(\"\".concat(PREFIX, \"[Error]: \").concat(args.join(\" \")));\n    };\n    Logger2.prototype.debug = function() {\n      var args = [];\n      for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n      }\n      if (this.logLevel < LogLevel.Debug) {\n        return;\n      }\n      console.log(\"\".concat(PREFIX, \"[Debug]: \").concat(args.join(\" \")));\n    };\n    return Logger2;\n  }()\n);\nexport {\n  Logger\n};\n","import { AMPLITUDE_SERVER_URL, EU_AMPLITUDE_BATCH_SERVER_URL, EU_AMPLITUDE_SERVER_URL, AMPLITUDE_BATCH_SERVER_URL } from \"./constants.js\";\nimport { Logger } from \"./logger.js\";\nimport { LogLevel } from \"../../../analytics-types/lib/esm/logger.js\";\nvar getDefaultConfig = function() {\n  return {\n    flushMaxRetries: 12,\n    flushQueueSize: 200,\n    flushIntervalMillis: 1e4,\n    instanceName: \"$default_instance\",\n    logLevel: LogLevel.Warn,\n    loggerProvider: new Logger(),\n    offline: false,\n    optOut: false,\n    serverUrl: AMPLITUDE_SERVER_URL,\n    serverZone: \"US\",\n    useBatch: false\n  };\n};\nvar Config = (\n  /** @class */\n  function() {\n    function Config2(options) {\n      var _a, _b, _c, _d;\n      this._optOut = false;\n      var defaultConfig = getDefaultConfig();\n      this.apiKey = options.apiKey;\n      this.flushIntervalMillis = (_a = options.flushIntervalMillis) !== null && _a !== void 0 ? _a : defaultConfig.flushIntervalMillis;\n      this.flushMaxRetries = options.flushMaxRetries || defaultConfig.flushMaxRetries;\n      this.flushQueueSize = options.flushQueueSize || defaultConfig.flushQueueSize;\n      this.instanceName = options.instanceName || defaultConfig.instanceName;\n      this.loggerProvider = options.loggerProvider || defaultConfig.loggerProvider;\n      this.logLevel = (_b = options.logLevel) !== null && _b !== void 0 ? _b : defaultConfig.logLevel;\n      this.minIdLength = options.minIdLength;\n      this.plan = options.plan;\n      this.ingestionMetadata = options.ingestionMetadata;\n      this.offline = options.offline !== void 0 ? options.offline : defaultConfig.offline;\n      this.optOut = (_c = options.optOut) !== null && _c !== void 0 ? _c : defaultConfig.optOut;\n      this.serverUrl = options.serverUrl;\n      this.serverZone = options.serverZone || defaultConfig.serverZone;\n      this.storageProvider = options.storageProvider;\n      this.transportProvider = options.transportProvider;\n      this.useBatch = (_d = options.useBatch) !== null && _d !== void 0 ? _d : defaultConfig.useBatch;\n      this.loggerProvider.enable(this.logLevel);\n      var serverConfig = createServerConfig(options.serverUrl, options.serverZone, options.useBatch);\n      this.serverZone = serverConfig.serverZone;\n      this.serverUrl = serverConfig.serverUrl;\n    }\n    Object.defineProperty(Config2.prototype, \"optOut\", {\n      get: function() {\n        return this._optOut;\n      },\n      set: function(optOut) {\n        this._optOut = optOut;\n      },\n      enumerable: false,\n      configurable: true\n    });\n    return Config2;\n  }()\n);\nvar getServerUrl = function(serverZone, useBatch) {\n  if (serverZone === \"EU\") {\n    return useBatch ? EU_AMPLITUDE_BATCH_SERVER_URL : EU_AMPLITUDE_SERVER_URL;\n  }\n  return useBatch ? AMPLITUDE_BATCH_SERVER_URL : AMPLITUDE_SERVER_URL;\n};\nvar createServerConfig = function(serverUrl, serverZone, useBatch) {\n  if (serverUrl === void 0) {\n    serverUrl = \"\";\n  }\n  if (serverZone === void 0) {\n    serverZone = getDefaultConfig().serverZone;\n  }\n  if (useBatch === void 0) {\n    useBatch = getDefaultConfig().useBatch;\n  }\n  if (serverUrl) {\n    return { serverUrl, serverZone: void 0 };\n  }\n  var _serverZone = [\"US\", \"EU\"].includes(serverZone) ? serverZone : getDefaultConfig().serverZone;\n  return {\n    serverZone: _serverZone,\n    serverUrl: getServerUrl(_serverZone, useBatch)\n  };\n};\nvar RequestMetadata = (\n  /** @class */\n  function() {\n    function RequestMetadata2() {\n      this.sdk = {\n        metrics: {\n          histogram: {}\n        }\n      };\n    }\n    RequestMetadata2.prototype.recordHistogram = function(key, value) {\n      this.sdk.metrics.histogram[key] = value;\n    };\n    return RequestMetadata2;\n  }()\n);\nexport {\n  Config,\n  RequestMetadata,\n  createServerConfig,\n  getDefaultConfig,\n  getServerUrl\n};\n","var extendStatics = function(d, b) {\n  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {\n    d2.__proto__ = b2;\n  } || function(d2, b2) {\n    for (var p in b2)\n      if (Object.prototype.hasOwnProperty.call(b2, p))\n        d2[p] = b2[p];\n  };\n  return extendStatics(d, b);\n};\nfunction __extends(d, b) {\n  if (typeof b !== \"function\" && b !== null)\n    throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n  extendStatics(d, b);\n  function __() {\n    this.constructor = d;\n  }\n  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nvar __assign = function() {\n  __assign = Object.assign || function __assign2(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s)\n        if (Object.prototype.hasOwnProperty.call(s, p))\n          t[p] = s[p];\n    }\n    return t;\n  };\n  return __assign.apply(this, arguments);\n};\nfunction __rest(s, e) {\n  var t = {};\n  for (var p in s)\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n      t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n    for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n      if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n        t[p[i]] = s[p[i]];\n    }\n  return t;\n}\nfunction __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function(resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = Promise))(function(resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\nfunction __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() {\n    if (t[0] & 1)\n      throw t[1];\n    return t[1];\n  }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n  return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n    return this;\n  }), g;\n  function verb(n) {\n    return function(v) {\n      return step([n, v]);\n    };\n  }\n  function step(op) {\n    if (f)\n      throw new TypeError(\"Generator is already executing.\");\n    while (g && (g = 0, op[0] && (_ = 0)), _)\n      try {\n        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n          return t;\n        if (y = 0, t)\n          op = [op[0] & 2, t.value];\n        switch (op[0]) {\n          case 0:\n          case 1:\n            t = op;\n            break;\n          case 4:\n            _.label++;\n            return { value: op[1], done: false };\n          case 5:\n            _.label++;\n            y = op[1];\n            op = [0];\n            continue;\n          case 7:\n            op = _.ops.pop();\n            _.trys.pop();\n            continue;\n          default:\n            if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n              _ = 0;\n              continue;\n            }\n            if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n              _.label = op[1];\n              break;\n            }\n            if (op[0] === 6 && _.label < t[1]) {\n              _.label = t[1];\n              t = op;\n              break;\n            }\n            if (t && _.label < t[2]) {\n              _.label = t[2];\n              _.ops.push(op);\n              break;\n            }\n            if (t[2])\n              _.ops.pop();\n            _.trys.pop();\n            continue;\n        }\n        op = body.call(thisArg, _);\n      } catch (e) {\n        op = [6, e];\n        y = 0;\n      } finally {\n        f = t = 0;\n      }\n    if (op[0] & 5)\n      throw op[1];\n    return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\nfunction __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m)\n    return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n    while ((n === void 0 || n-- > 0) && !(r = i.next()).done)\n      ar.push(r.value);\n  } catch (error) {\n    e = { error };\n  } finally {\n    try {\n      if (r && !r.done && (m = i[\"return\"]))\n        m.call(i);\n    } finally {\n      if (e)\n        throw e.error;\n    }\n  }\n  return ar;\n}\ntypeof SuppressedError === \"function\" ? SuppressedError : function(error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nexport {\n  __assign,\n  __awaiter,\n  __extends,\n  __generator,\n  __read,\n  __rest\n};\n","import { __extends, __awaiter, __generator } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { BaseTransport } from \"../../../../analytics-core/lib/esm/transports/base.js\";\nvar FetchTransport = (\n  /** @class */\n  function(_super) {\n    __extends(FetchTransport2, _super);\n    function FetchTransport2() {\n      return _super !== null && _super.apply(this, arguments) || this;\n    }\n    FetchTransport2.prototype.send = function(serverUrl, payload) {\n      return __awaiter(this, void 0, void 0, function() {\n        var options, response, responseText;\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              if (typeof fetch === \"undefined\") {\n                throw new Error(\"FetchTransport is not supported\");\n              }\n              options = {\n                headers: {\n                  \"Content-Type\": \"application/json\",\n                  Accept: \"*/*\"\n                },\n                body: JSON.stringify(payload),\n                method: \"POST\"\n              };\n              return [4, fetch(serverUrl, options)];\n            case 1:\n              response = _a.sent();\n              return [4, response.text()];\n            case 2:\n              responseText = _a.sent();\n              try {\n                return [2, this.buildResponse(JSON.parse(responseText))];\n              } catch (_b) {\n                return [2, this.buildResponse({ code: response.status })];\n              }\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    return FetchTransport2;\n  }(BaseTransport)\n);\nexport {\n  FetchTransport\n};\n","var __assign = function() {\n  __assign = Object.assign || function __assign2(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s)\n        if (Object.prototype.hasOwnProperty.call(s, p))\n          t[p] = s[p];\n    }\n    return t;\n  };\n  return __assign.apply(this, arguments);\n};\nfunction __rest(s, e) {\n  var t = {};\n  for (var p in s)\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n      t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n    for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n      if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n        t[p[i]] = s[p[i]];\n    }\n  return t;\n}\nfunction __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function(resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = Promise))(function(resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\nfunction __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() {\n    if (t[0] & 1)\n      throw t[1];\n    return t[1];\n  }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n  return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n    return this;\n  }), g;\n  function verb(n) {\n    return function(v) {\n      return step([n, v]);\n    };\n  }\n  function step(op) {\n    if (f)\n      throw new TypeError(\"Generator is already executing.\");\n    while (g && (g = 0, op[0] && (_ = 0)), _)\n      try {\n        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n          return t;\n        if (y = 0, t)\n          op = [op[0] & 2, t.value];\n        switch (op[0]) {\n          case 0:\n          case 1:\n            t = op;\n            break;\n          case 4:\n            _.label++;\n            return { value: op[1], done: false };\n          case 5:\n            _.label++;\n            y = op[1];\n            op = [0];\n            continue;\n          case 7:\n            op = _.ops.pop();\n            _.trys.pop();\n            continue;\n          default:\n            if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n              _ = 0;\n              continue;\n            }\n            if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n              _.label = op[1];\n              break;\n            }\n            if (op[0] === 6 && _.label < t[1]) {\n              _.label = t[1];\n              t = op;\n              break;\n            }\n            if (t && _.label < t[2]) {\n              _.label = t[2];\n              _.ops.push(op);\n              break;\n            }\n            if (t[2])\n              _.ops.pop();\n            _.trys.pop();\n            continue;\n        }\n        op = body.call(thisArg, _);\n      } catch (e) {\n        op = [6, e];\n        y = 0;\n      } finally {\n        f = t = 0;\n      }\n    if (op[0] & 5)\n      throw op[1];\n    return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\nfunction __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n  if (m)\n    return m.call(o);\n  if (o && typeof o.length === \"number\")\n    return {\n      next: function() {\n        if (o && i >= o.length)\n          o = void 0;\n        return { value: o && o[i++], done: !o };\n      }\n    };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nfunction __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m)\n    return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n    while ((n === void 0 || n-- > 0) && !(r = i.next()).done)\n      ar.push(r.value);\n  } catch (error) {\n    e = { error };\n  } finally {\n    try {\n      if (r && !r.done && (m = i[\"return\"]))\n        m.call(i);\n    } finally {\n      if (e)\n        throw e.error;\n    }\n  }\n  return ar;\n}\nfunction __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2)\n    for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n        if (!ar)\n          ar = Array.prototype.slice.call(from, 0, i);\n        ar[i] = from[i];\n      }\n    }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\ntypeof SuppressedError === \"function\" ? SuppressedError : function(error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nexport {\n  __assign,\n  __awaiter,\n  __generator,\n  __read,\n  __rest,\n  __spreadArray,\n  __values\n};\n","import { __awaiter, __generator } from \"../../../node_modules/tslib/tslib.es6.js\";\nvar MemoryStorage = (\n  /** @class */\n  function() {\n    function MemoryStorage2() {\n      this.memoryStorage = /* @__PURE__ */ new Map();\n    }\n    MemoryStorage2.prototype.isEnabled = function() {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          return [2, true];\n        });\n      });\n    };\n    MemoryStorage2.prototype.get = function(key) {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          return [2, this.memoryStorage.get(key)];\n        });\n      });\n    };\n    MemoryStorage2.prototype.getRaw = function(key) {\n      return __awaiter(this, void 0, void 0, function() {\n        var value;\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              return [4, this.get(key)];\n            case 1:\n              value = _a.sent();\n              return [2, value ? JSON.stringify(value) : void 0];\n          }\n        });\n      });\n    };\n    MemoryStorage2.prototype.set = function(key, value) {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          this.memoryStorage.set(key, value);\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    MemoryStorage2.prototype.remove = function(key) {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          this.memoryStorage.delete(key);\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    MemoryStorage2.prototype.reset = function() {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          this.memoryStorage.clear();\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    return MemoryStorage2;\n  }()\n);\nexport {\n  MemoryStorage\n};\n","import { getGlobalScope } from \"./global-scope.js\";\nvar getQueryParams = function() {\n  var _a;\n  var globalScope = getGlobalScope();\n  if (!((_a = globalScope === null || globalScope === void 0 ? void 0 : globalScope.location) === null || _a === void 0 ? void 0 : _a.search)) {\n    return {};\n  }\n  var pairs = globalScope.location.search.substring(1).split(\"&\").filter(Boolean);\n  var params = pairs.reduce(function(acc, curr) {\n    var query = curr.split(\"=\", 2);\n    var key = tryDecodeURIComponent(query[0]);\n    var value = tryDecodeURIComponent(query[1]);\n    if (!value) {\n      return acc;\n    }\n    acc[key] = value;\n    return acc;\n  }, {});\n  return params;\n};\nvar tryDecodeURIComponent = function(value) {\n  if (value === void 0) {\n    value = \"\";\n  }\n  try {\n    return decodeURIComponent(value);\n  } catch (_a) {\n    return \"\";\n  }\n};\nexport {\n  getQueryParams,\n  tryDecodeURIComponent\n};\n","import { __assign, __awaiter, __generator } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { getGlobalScope } from \"../global-scope.js\";\nvar CookieStorage = (\n  /** @class */\n  function() {\n    function CookieStorage2(options) {\n      this.options = __assign({}, options);\n    }\n    CookieStorage2.prototype.isEnabled = function() {\n      return __awaiter(this, void 0, void 0, function() {\n        var testStrorage, testKey, value;\n        return __generator(this, function(_b) {\n          switch (_b.label) {\n            case 0:\n              if (!getGlobalScope()) {\n                return [2, false];\n              }\n              CookieStorage2.testValue = String(Date.now());\n              testStrorage = new CookieStorage2(this.options);\n              testKey = \"AMP_TEST\";\n              _b.label = 1;\n            case 1:\n              _b.trys.push([1, 4, 5, 7]);\n              return [4, testStrorage.set(testKey, CookieStorage2.testValue)];\n            case 2:\n              _b.sent();\n              return [4, testStrorage.get(testKey)];\n            case 3:\n              value = _b.sent();\n              return [2, value === CookieStorage2.testValue];\n            case 4:\n              _b.sent();\n              return [2, false];\n            case 5:\n              return [4, testStrorage.remove(testKey)];\n            case 6:\n              _b.sent();\n              return [\n                7\n                /*endfinally*/\n              ];\n            case 7:\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    CookieStorage2.prototype.get = function(key) {\n      var _a;\n      return __awaiter(this, void 0, void 0, function() {\n        var value, decodedValue;\n        return __generator(this, function(_b) {\n          switch (_b.label) {\n            case 0:\n              return [4, this.getRaw(key)];\n            case 1:\n              value = _b.sent();\n              if (!value) {\n                return [2, void 0];\n              }\n              try {\n                decodedValue = (_a = decodeCookiesAsDefault(value)) !== null && _a !== void 0 ? _a : decodeCookiesWithDoubleUrlEncoding(value);\n                if (decodedValue === void 0) {\n                  console.error(\"Amplitude Logger [Error]: Failed to decode cookie value for key: \".concat(key, \", value: \").concat(value));\n                  return [2, void 0];\n                }\n                return [2, JSON.parse(decodedValue)];\n              } catch (_c) {\n                console.error(\"Amplitude Logger [Error]: Failed to parse cookie value for key: \".concat(key, \", value: \").concat(value));\n                return [2, void 0];\n              }\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    CookieStorage2.prototype.getRaw = function(key) {\n      var _a, _b;\n      return __awaiter(this, void 0, void 0, function() {\n        var globalScope, cookie, match;\n        return __generator(this, function(_c) {\n          globalScope = getGlobalScope();\n          cookie = (_b = (_a = globalScope === null || globalScope === void 0 ? void 0 : globalScope.document) === null || _a === void 0 ? void 0 : _a.cookie.split(\"; \")) !== null && _b !== void 0 ? _b : [];\n          match = cookie.find(function(c) {\n            return c.indexOf(key + \"=\") === 0;\n          });\n          if (!match) {\n            return [2, void 0];\n          }\n          return [2, match.substring(key.length + 1)];\n        });\n      });\n    };\n    CookieStorage2.prototype.set = function(key, value) {\n      var _a;\n      return __awaiter(this, void 0, void 0, function() {\n        var expirationDays, expires, expireDate, date, str, globalScope, errorMessage;\n        return __generator(this, function(_b) {\n          try {\n            expirationDays = (_a = this.options.expirationDays) !== null && _a !== void 0 ? _a : 0;\n            expires = value !== null ? expirationDays : -1;\n            expireDate = void 0;\n            if (expires) {\n              date = /* @__PURE__ */ new Date();\n              date.setTime(date.getTime() + expires * 24 * 60 * 60 * 1e3);\n              expireDate = date;\n            }\n            str = \"\".concat(key, \"=\").concat(btoa(encodeURIComponent(JSON.stringify(value))));\n            if (expireDate) {\n              str += \"; expires=\".concat(expireDate.toUTCString());\n            }\n            str += \"; path=/\";\n            if (this.options.domain) {\n              str += \"; domain=\".concat(this.options.domain);\n            }\n            if (this.options.secure) {\n              str += \"; Secure\";\n            }\n            if (this.options.sameSite) {\n              str += \"; SameSite=\".concat(this.options.sameSite);\n            }\n            globalScope = getGlobalScope();\n            if (globalScope) {\n              globalScope.document.cookie = str;\n            }\n          } catch (error) {\n            errorMessage = error instanceof Error ? error.message : String(error);\n            console.error(\"Amplitude Logger [Error]: Failed to set cookie for key: \".concat(key, \". Error: \").concat(errorMessage));\n          }\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    CookieStorage2.prototype.remove = function(key) {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              return [4, this.set(key, null)];\n            case 1:\n              _a.sent();\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    CookieStorage2.prototype.reset = function() {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    return CookieStorage2;\n  }()\n);\nvar decodeCookiesAsDefault = function(value) {\n  try {\n    return decodeURIComponent(atob(value));\n  } catch (_a) {\n    return void 0;\n  }\n};\nvar decodeCookiesWithDoubleUrlEncoding = function(value) {\n  try {\n    return decodeURIComponent(atob(decodeURIComponent(value)));\n  } catch (_a) {\n    return void 0;\n  }\n};\nexport {\n  CookieStorage\n};\n","import { __extends, __awaiter, __generator, __assign } from \"../../node_modules/tslib/tslib.es6.js\";\nimport { LocalStorage } from \"./storage/local-storage.js\";\nimport { SessionStorage } from \"./storage/session-storage.js\";\nimport { XHRTransport } from \"./transports/xhr.js\";\nimport { SendBeaconTransport } from \"./transports/send-beacon.js\";\nimport { parseLegacyCookies } from \"./cookie-migration/index.js\";\nimport { DEFAULT_IDENTITY_STORAGE, DEFAULT_SERVER_ZONE } from \"./constants.js\";\nimport { Logger } from \"../../../analytics-core/lib/esm/logger.js\";\nimport { LogLevel } from \"../../../analytics-types/lib/esm/logger.js\";\nimport { getCookieName } from \"../../../analytics-client-common/lib/esm/cookie-name.js\";\nimport { Config } from \"../../../analytics-core/lib/esm/config.js\";\nimport { FetchTransport } from \"../../../analytics-client-common/lib/esm/transports/fetch.js\";\nimport { MemoryStorage } from \"../../../analytics-core/lib/esm/storage/memory.js\";\nimport { getQueryParams } from \"../../../analytics-client-common/lib/esm/query-params.js\";\nimport { UUID } from \"../../../analytics-core/lib/esm/utils/uuid.js\";\nimport { CookieStorage } from \"../../../analytics-client-common/lib/esm/storage/cookie.js\";\nvar BrowserConfig = (\n  /** @class */\n  function(_super) {\n    __extends(BrowserConfig2, _super);\n    function BrowserConfig2(apiKey, appVersion, cookieStorage, cookieOptions, defaultTracking, autocapture, deviceId, flushIntervalMillis, flushMaxRetries, flushQueueSize, identityStorage, ingestionMetadata, instanceName, lastEventId, lastEventTime, loggerProvider, logLevel, minIdLength, offline, optOut, partnerId, plan, serverUrl, serverZone, sessionId, sessionTimeout, storageProvider, trackingOptions, transport, useBatch, fetchRemoteConfig, userId, pageCounter, debugLogsEnabled) {\n      if (cookieStorage === void 0) {\n        cookieStorage = new MemoryStorage();\n      }\n      if (cookieOptions === void 0) {\n        cookieOptions = {\n          domain: \"\",\n          expiration: 365,\n          sameSite: \"Lax\",\n          secure: false,\n          upgrade: true\n        };\n      }\n      if (flushIntervalMillis === void 0) {\n        flushIntervalMillis = 1e3;\n      }\n      if (flushMaxRetries === void 0) {\n        flushMaxRetries = 5;\n      }\n      if (flushQueueSize === void 0) {\n        flushQueueSize = 30;\n      }\n      if (identityStorage === void 0) {\n        identityStorage = DEFAULT_IDENTITY_STORAGE;\n      }\n      if (loggerProvider === void 0) {\n        loggerProvider = new Logger();\n      }\n      if (logLevel === void 0) {\n        logLevel = LogLevel.Warn;\n      }\n      if (offline === void 0) {\n        offline = false;\n      }\n      if (optOut === void 0) {\n        optOut = false;\n      }\n      if (serverUrl === void 0) {\n        serverUrl = \"\";\n      }\n      if (serverZone === void 0) {\n        serverZone = DEFAULT_SERVER_ZONE;\n      }\n      if (sessionTimeout === void 0) {\n        sessionTimeout = 30 * 60 * 1e3;\n      }\n      if (storageProvider === void 0) {\n        storageProvider = new LocalStorage({ loggerProvider });\n      }\n      if (trackingOptions === void 0) {\n        trackingOptions = {\n          ipAddress: true,\n          language: true,\n          platform: true\n        };\n      }\n      if (transport === void 0) {\n        transport = \"fetch\";\n      }\n      if (useBatch === void 0) {\n        useBatch = false;\n      }\n      if (fetchRemoteConfig === void 0) {\n        fetchRemoteConfig = false;\n      }\n      var _this = _super.call(this, { apiKey, storageProvider, transportProvider: createTransport(transport) }) || this;\n      _this.apiKey = apiKey;\n      _this.appVersion = appVersion;\n      _this.cookieOptions = cookieOptions;\n      _this.defaultTracking = defaultTracking;\n      _this.autocapture = autocapture;\n      _this.flushIntervalMillis = flushIntervalMillis;\n      _this.flushMaxRetries = flushMaxRetries;\n      _this.flushQueueSize = flushQueueSize;\n      _this.identityStorage = identityStorage;\n      _this.ingestionMetadata = ingestionMetadata;\n      _this.instanceName = instanceName;\n      _this.loggerProvider = loggerProvider;\n      _this.logLevel = logLevel;\n      _this.minIdLength = minIdLength;\n      _this.offline = offline;\n      _this.partnerId = partnerId;\n      _this.plan = plan;\n      _this.serverUrl = serverUrl;\n      _this.serverZone = serverZone;\n      _this.sessionTimeout = sessionTimeout;\n      _this.storageProvider = storageProvider;\n      _this.trackingOptions = trackingOptions;\n      _this.transport = transport;\n      _this.useBatch = useBatch;\n      _this.fetchRemoteConfig = fetchRemoteConfig;\n      _this._optOut = false;\n      _this._cookieStorage = cookieStorage;\n      _this.deviceId = deviceId;\n      _this.lastEventId = lastEventId;\n      _this.lastEventTime = lastEventTime;\n      _this.optOut = optOut;\n      _this.sessionId = sessionId;\n      _this.pageCounter = pageCounter;\n      _this.userId = userId;\n      _this.debugLogsEnabled = debugLogsEnabled;\n      _this.loggerProvider.enable(debugLogsEnabled ? LogLevel.Debug : _this.logLevel);\n      return _this;\n    }\n    Object.defineProperty(BrowserConfig2.prototype, \"cookieStorage\", {\n      get: function() {\n        return this._cookieStorage;\n      },\n      set: function(cookieStorage) {\n        if (this._cookieStorage !== cookieStorage) {\n          this._cookieStorage = cookieStorage;\n          this.updateStorage();\n        }\n      },\n      enumerable: false,\n      configurable: true\n    });\n    Object.defineProperty(BrowserConfig2.prototype, \"deviceId\", {\n      get: function() {\n        return this._deviceId;\n      },\n      set: function(deviceId) {\n        if (this._deviceId !== deviceId) {\n          this._deviceId = deviceId;\n          this.updateStorage();\n        }\n      },\n      enumerable: false,\n      configurable: true\n    });\n    Object.defineProperty(BrowserConfig2.prototype, \"userId\", {\n      get: function() {\n        return this._userId;\n      },\n      set: function(userId) {\n        if (this._userId !== userId) {\n          this._userId = userId;\n          this.updateStorage();\n        }\n      },\n      enumerable: false,\n      configurable: true\n    });\n    Object.defineProperty(BrowserConfig2.prototype, \"sessionId\", {\n      get: function() {\n        return this._sessionId;\n      },\n      set: function(sessionId) {\n        if (this._sessionId !== sessionId) {\n          this._sessionId = sessionId;\n          this.updateStorage();\n        }\n      },\n      enumerable: false,\n      configurable: true\n    });\n    Object.defineProperty(BrowserConfig2.prototype, \"optOut\", {\n      get: function() {\n        return this._optOut;\n      },\n      set: function(optOut) {\n        if (this._optOut !== optOut) {\n          this._optOut = optOut;\n          this.updateStorage();\n        }\n      },\n      enumerable: false,\n      configurable: true\n    });\n    Object.defineProperty(BrowserConfig2.prototype, \"lastEventTime\", {\n      get: function() {\n        return this._lastEventTime;\n      },\n      set: function(lastEventTime) {\n        if (this._lastEventTime !== lastEventTime) {\n          this._lastEventTime = lastEventTime;\n          this.updateStorage();\n        }\n      },\n      enumerable: false,\n      configurable: true\n    });\n    Object.defineProperty(BrowserConfig2.prototype, \"lastEventId\", {\n      get: function() {\n        return this._lastEventId;\n      },\n      set: function(lastEventId) {\n        if (this._lastEventId !== lastEventId) {\n          this._lastEventId = lastEventId;\n          this.updateStorage();\n        }\n      },\n      enumerable: false,\n      configurable: true\n    });\n    Object.defineProperty(BrowserConfig2.prototype, \"pageCounter\", {\n      get: function() {\n        return this._pageCounter;\n      },\n      set: function(pageCounter) {\n        if (this._pageCounter !== pageCounter) {\n          this._pageCounter = pageCounter;\n          this.updateStorage();\n        }\n      },\n      enumerable: false,\n      configurable: true\n    });\n    Object.defineProperty(BrowserConfig2.prototype, \"debugLogsEnabled\", {\n      set: function(debugLogsEnabled) {\n        if (this._debugLogsEnabled !== debugLogsEnabled) {\n          this._debugLogsEnabled = debugLogsEnabled;\n          this.updateStorage();\n        }\n      },\n      enumerable: false,\n      configurable: true\n    });\n    BrowserConfig2.prototype.updateStorage = function() {\n      var cache = {\n        deviceId: this._deviceId,\n        userId: this._userId,\n        sessionId: this._sessionId,\n        optOut: this._optOut,\n        lastEventTime: this._lastEventTime,\n        lastEventId: this._lastEventId,\n        pageCounter: this._pageCounter,\n        debugLogsEnabled: this._debugLogsEnabled\n      };\n      void this.cookieStorage.set(getCookieName(this.apiKey), cache);\n    };\n    return BrowserConfig2;\n  }(Config)\n);\nvar useBrowserConfig = function(apiKey, options, amplitudeInstance) {\n  if (options === void 0) {\n    options = {};\n  }\n  return __awaiter(void 0, void 0, void 0, function() {\n    var identityStorage, cookieOptions, _a, _b, cookieStorage, legacyCookies, previousCookies, queryParams, deviceId, lastEventId, lastEventTime, optOut, sessionId, userId, trackingOptions, pageCounter, debugLogsEnabled, browserConfig;\n    var _c;\n    var _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2;\n    return __generator(this, function(_3) {\n      switch (_3.label) {\n        case 0:\n          identityStorage = options.identityStorage || DEFAULT_IDENTITY_STORAGE;\n          _c = {};\n          if (!(identityStorage !== DEFAULT_IDENTITY_STORAGE))\n            return [3, 1];\n          _a = \"\";\n          return [3, 5];\n        case 1:\n          if (!((_e = (_d = options.cookieOptions) === null || _d === void 0 ? void 0 : _d.domain) !== null && _e !== void 0))\n            return [3, 2];\n          _b = _e;\n          return [3, 4];\n        case 2:\n          return [4, getTopLevelDomain()];\n        case 3:\n          _b = _3.sent();\n          _3.label = 4;\n        case 4:\n          _a = _b;\n          _3.label = 5;\n        case 5:\n          cookieOptions = __assign.apply(void 0, [(_c.domain = _a, _c.expiration = 365, _c.sameSite = \"Lax\", _c.secure = false, _c.upgrade = true, _c), options.cookieOptions]);\n          cookieStorage = createCookieStorage(options.identityStorage, cookieOptions);\n          return [4, parseLegacyCookies(apiKey, cookieStorage, (_g = (_f = options.cookieOptions) === null || _f === void 0 ? void 0 : _f.upgrade) !== null && _g !== void 0 ? _g : true)];\n        case 6:\n          legacyCookies = _3.sent();\n          return [4, cookieStorage.get(getCookieName(apiKey))];\n        case 7:\n          previousCookies = _3.sent();\n          queryParams = getQueryParams();\n          deviceId = (_m = (_l = (_k = (_j = (_h = options.deviceId) !== null && _h !== void 0 ? _h : queryParams.ampDeviceId) !== null && _j !== void 0 ? _j : queryParams.deviceId) !== null && _k !== void 0 ? _k : previousCookies === null || previousCookies === void 0 ? void 0 : previousCookies.deviceId) !== null && _l !== void 0 ? _l : legacyCookies.deviceId) !== null && _m !== void 0 ? _m : UUID();\n          lastEventId = (_o = previousCookies === null || previousCookies === void 0 ? void 0 : previousCookies.lastEventId) !== null && _o !== void 0 ? _o : legacyCookies.lastEventId;\n          lastEventTime = (_p = previousCookies === null || previousCookies === void 0 ? void 0 : previousCookies.lastEventTime) !== null && _p !== void 0 ? _p : legacyCookies.lastEventTime;\n          optOut = (_r = (_q = options.optOut) !== null && _q !== void 0 ? _q : previousCookies === null || previousCookies === void 0 ? void 0 : previousCookies.optOut) !== null && _r !== void 0 ? _r : legacyCookies.optOut;\n          sessionId = (_s = previousCookies === null || previousCookies === void 0 ? void 0 : previousCookies.sessionId) !== null && _s !== void 0 ? _s : legacyCookies.sessionId;\n          userId = (_u = (_t = options.userId) !== null && _t !== void 0 ? _t : previousCookies === null || previousCookies === void 0 ? void 0 : previousCookies.userId) !== null && _u !== void 0 ? _u : legacyCookies.userId;\n          amplitudeInstance.previousSessionDeviceId = (_v = previousCookies === null || previousCookies === void 0 ? void 0 : previousCookies.deviceId) !== null && _v !== void 0 ? _v : legacyCookies.deviceId;\n          amplitudeInstance.previousSessionUserId = (_w = previousCookies === null || previousCookies === void 0 ? void 0 : previousCookies.userId) !== null && _w !== void 0 ? _w : legacyCookies.userId;\n          trackingOptions = {\n            ipAddress: (_y = (_x = options.trackingOptions) === null || _x === void 0 ? void 0 : _x.ipAddress) !== null && _y !== void 0 ? _y : true,\n            language: (_0 = (_z = options.trackingOptions) === null || _z === void 0 ? void 0 : _z.language) !== null && _0 !== void 0 ? _0 : true,\n            platform: (_2 = (_1 = options.trackingOptions) === null || _1 === void 0 ? void 0 : _1.platform) !== null && _2 !== void 0 ? _2 : true\n          };\n          pageCounter = previousCookies === null || previousCookies === void 0 ? void 0 : previousCookies.pageCounter;\n          debugLogsEnabled = previousCookies === null || previousCookies === void 0 ? void 0 : previousCookies.debugLogsEnabled;\n          if (options.autocapture !== void 0) {\n            options.defaultTracking = options.autocapture;\n          }\n          browserConfig = new BrowserConfig(apiKey, options.appVersion, cookieStorage, cookieOptions, options.defaultTracking, options.autocapture, deviceId, options.flushIntervalMillis, options.flushMaxRetries, options.flushQueueSize, identityStorage, options.ingestionMetadata, options.instanceName, lastEventId, lastEventTime, options.loggerProvider, options.logLevel, options.minIdLength, options.offline, optOut, options.partnerId, options.plan, options.serverUrl, options.serverZone, sessionId, options.sessionTimeout, options.storageProvider, trackingOptions, options.transport, options.useBatch, options.fetchRemoteConfig, userId, pageCounter, debugLogsEnabled);\n          return [4, browserConfig.storageProvider.isEnabled()];\n        case 8:\n          if (!_3.sent()) {\n            browserConfig.loggerProvider.warn(\"Storage provider \".concat(browserConfig.storageProvider.constructor.name, \" is not enabled. Falling back to MemoryStorage.\"));\n            browserConfig.storageProvider = new MemoryStorage();\n          }\n          return [2, browserConfig];\n      }\n    });\n  });\n};\nvar createCookieStorage = function(identityStorage, cookieOptions) {\n  if (identityStorage === void 0) {\n    identityStorage = DEFAULT_IDENTITY_STORAGE;\n  }\n  if (cookieOptions === void 0) {\n    cookieOptions = {};\n  }\n  switch (identityStorage) {\n    case \"localStorage\":\n      return new LocalStorage();\n    case \"sessionStorage\":\n      return new SessionStorage();\n    case \"none\":\n      return new MemoryStorage();\n    case \"cookie\":\n    default:\n      return new CookieStorage(__assign(__assign({}, cookieOptions), { expirationDays: cookieOptions.expiration }));\n  }\n};\nvar createTransport = function(transport) {\n  if (transport === \"xhr\") {\n    return new XHRTransport();\n  }\n  if (transport === \"beacon\") {\n    return new SendBeaconTransport();\n  }\n  return new FetchTransport();\n};\nvar getTopLevelDomain = function(url) {\n  return __awaiter(void 0, void 0, void 0, function() {\n    var host, parts, levels, storageKey, i, i, domain, options, storage, value;\n    return __generator(this, function(_a) {\n      switch (_a.label) {\n        case 0:\n          return [4, new CookieStorage().isEnabled()];\n        case 1:\n          if (!_a.sent() || !url && (typeof location === \"undefined\" || !location.hostname)) {\n            return [2, \"\"];\n          }\n          host = url !== null && url !== void 0 ? url : location.hostname;\n          parts = host.split(\".\");\n          levels = [];\n          storageKey = \"AMP_TLDTEST\";\n          for (i = parts.length - 2; i >= 0; --i) {\n            levels.push(parts.slice(i).join(\".\"));\n          }\n          i = 0;\n          _a.label = 2;\n        case 2:\n          if (!(i < levels.length))\n            return [3, 7];\n          domain = levels[i];\n          options = { domain: \".\" + domain };\n          storage = new CookieStorage(options);\n          return [4, storage.set(storageKey, 1)];\n        case 3:\n          _a.sent();\n          return [4, storage.get(storageKey)];\n        case 4:\n          value = _a.sent();\n          if (!value)\n            return [3, 6];\n          return [4, storage.remove(storageKey)];\n        case 5:\n          _a.sent();\n          return [2, \".\" + domain];\n        case 6:\n          i++;\n          return [3, 2];\n        case 7:\n          return [2, \"\"];\n      }\n    });\n  });\n};\nexport {\n  BrowserConfig,\n  createCookieStorage,\n  createTransport,\n  getTopLevelDomain,\n  useBrowserConfig\n};\n","import { __awaiter, __generator } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { DEFAULT_FORM_START_EVENT, FORM_ID, FORM_NAME, FORM_DESTINATION, DEFAULT_FORM_SUBMIT_EVENT } from \"../constants.js\";\nimport { getGlobalScope } from \"../../../../analytics-client-common/lib/esm/global-scope.js\";\nvar formInteractionTracking = function() {\n  var observer;\n  var eventListeners = [];\n  var addEventListener = function(element, type2, handler) {\n    element.addEventListener(type2, handler);\n    eventListeners.push({\n      element,\n      type: type2,\n      handler\n    });\n  };\n  var removeClickListeners = function() {\n    eventListeners.forEach(function(_a) {\n      var element = _a.element, type2 = _a.type, handler = _a.handler;\n      element === null || element === void 0 ? void 0 : element.removeEventListener(type2, handler);\n    });\n    eventListeners = [];\n  };\n  var name = \"@amplitude/plugin-form-interaction-tracking-browser\";\n  var type = \"enrichment\";\n  var setup = function(config, amplitude) {\n    return __awaiter(void 0, void 0, void 0, function() {\n      var _a;\n      return __generator(this, function(_b) {\n        (_a = getGlobalScope()) === null || _a === void 0 ? void 0 : _a.addEventListener(\"load\", function() {\n          if (!amplitude) {\n            config.loggerProvider.warn(\"Form interaction tracking requires a later version of @amplitude/analytics-browser. Form interaction events are not tracked.\");\n            return;\n          }\n          if (typeof document === \"undefined\") {\n            return;\n          }\n          var addFormInteractionListener = function(form) {\n            var hasFormChanged = false;\n            addEventListener(form, \"change\", function() {\n              var _a2;\n              if (!hasFormChanged) {\n                amplitude.track(DEFAULT_FORM_START_EVENT, (_a2 = {}, _a2[FORM_ID] = stringOrUndefined(form.id), _a2[FORM_NAME] = stringOrUndefined(form.name), _a2[FORM_DESTINATION] = form.action, _a2));\n              }\n              hasFormChanged = true;\n            });\n            addEventListener(form, \"submit\", function() {\n              var _a2, _b2;\n              if (!hasFormChanged) {\n                amplitude.track(DEFAULT_FORM_START_EVENT, (_a2 = {}, _a2[FORM_ID] = stringOrUndefined(form.id), _a2[FORM_NAME] = stringOrUndefined(form.name), _a2[FORM_DESTINATION] = form.action, _a2));\n              }\n              amplitude.track(DEFAULT_FORM_SUBMIT_EVENT, (_b2 = {}, _b2[FORM_ID] = stringOrUndefined(form.id), _b2[FORM_NAME] = stringOrUndefined(form.name), _b2[FORM_DESTINATION] = form.action, _b2));\n              hasFormChanged = false;\n            });\n          };\n          var forms = Array.from(document.getElementsByTagName(\"form\"));\n          forms.forEach(addFormInteractionListener);\n          if (typeof MutationObserver !== \"undefined\") {\n            observer = new MutationObserver(function(mutations) {\n              mutations.forEach(function(mutation) {\n                mutation.addedNodes.forEach(function(node) {\n                  if (node.nodeName === \"FORM\") {\n                    addFormInteractionListener(node);\n                  }\n                  if (\"querySelectorAll\" in node && typeof node.querySelectorAll === \"function\") {\n                    Array.from(node.querySelectorAll(\"form\")).map(addFormInteractionListener);\n                  }\n                });\n              });\n            });\n            observer.observe(document.body, {\n              subtree: true,\n              childList: true\n            });\n          }\n        });\n        return [\n          2\n          /*return*/\n        ];\n      });\n    });\n  };\n  var execute = function(event) {\n    return __awaiter(void 0, void 0, void 0, function() {\n      return __generator(this, function(_a) {\n        return [2, event];\n      });\n    });\n  };\n  var teardown = function() {\n    return __awaiter(void 0, void 0, void 0, function() {\n      return __generator(this, function(_a) {\n        observer === null || observer === void 0 ? void 0 : observer.disconnect();\n        removeClickListeners();\n        return [\n          2\n          /*return*/\n        ];\n      });\n    });\n  };\n  return {\n    name,\n    type,\n    setup,\n    execute,\n    teardown\n  };\n};\nvar stringOrUndefined = function(name) {\n  if (typeof name !== \"string\") {\n    return void 0;\n  }\n  return name;\n};\nexport {\n  formInteractionTracking,\n  stringOrUndefined\n};\n","import { __awaiter, __generator } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { DEFAULT_FILE_DOWNLOAD_EVENT, FILE_EXTENSION, FILE_NAME, LINK_ID, LINK_TEXT, LINK_URL } from \"../constants.js\";\nimport { getGlobalScope } from \"../../../../analytics-client-common/lib/esm/global-scope.js\";\nvar fileDownloadTracking = function() {\n  var observer;\n  var eventListeners = [];\n  var addEventListener = function(element, type2, handler) {\n    element.addEventListener(type2, handler);\n    eventListeners.push({\n      element,\n      type: type2,\n      handler\n    });\n  };\n  var removeClickListeners = function() {\n    eventListeners.forEach(function(_a) {\n      var element = _a.element, type2 = _a.type, handler = _a.handler;\n      element === null || element === void 0 ? void 0 : element.removeEventListener(type2, handler);\n    });\n    eventListeners = [];\n  };\n  var name = \"@amplitude/plugin-file-download-tracking-browser\";\n  var type = \"enrichment\";\n  var setup = function(config, amplitude) {\n    return __awaiter(void 0, void 0, void 0, function() {\n      var _a;\n      return __generator(this, function(_b) {\n        (_a = getGlobalScope()) === null || _a === void 0 ? void 0 : _a.addEventListener(\"load\", function() {\n          if (!amplitude) {\n            config.loggerProvider.warn(\"File download tracking requires a later version of @amplitude/analytics-browser. File download events are not tracked.\");\n            return;\n          }\n          if (typeof document === \"undefined\") {\n            return;\n          }\n          var addFileDownloadListener = function(a) {\n            var url;\n            try {\n              url = new URL(a.href, window.location.href);\n            } catch (_a2) {\n              return;\n            }\n            var result = ext.exec(url.href);\n            var fileExtension = result === null || result === void 0 ? void 0 : result[1];\n            if (fileExtension) {\n              addEventListener(a, \"click\", function() {\n                var _a2;\n                if (fileExtension) {\n                  amplitude.track(DEFAULT_FILE_DOWNLOAD_EVENT, (_a2 = {}, _a2[FILE_EXTENSION] = fileExtension, _a2[FILE_NAME] = url.pathname, _a2[LINK_ID] = a.id, _a2[LINK_TEXT] = a.text, _a2[LINK_URL] = a.href, _a2));\n                }\n              });\n            }\n          };\n          var ext = /\\.(pdf|xlsx?|docx?|txt|rtf|csv|exe|key|pp(s|t|tx)|7z|pkg|rar|gz|zip|avi|mov|mp4|mpe?g|wmv|midi?|mp3|wav|wma)$/;\n          var links = Array.from(document.getElementsByTagName(\"a\"));\n          links.forEach(addFileDownloadListener);\n          if (typeof MutationObserver !== \"undefined\") {\n            observer = new MutationObserver(function(mutations) {\n              mutations.forEach(function(mutation) {\n                mutation.addedNodes.forEach(function(node) {\n                  if (node.nodeName === \"A\") {\n                    addFileDownloadListener(node);\n                  }\n                  if (\"querySelectorAll\" in node && typeof node.querySelectorAll === \"function\") {\n                    Array.from(node.querySelectorAll(\"a\")).map(addFileDownloadListener);\n                  }\n                });\n              });\n            });\n            observer.observe(document.body, {\n              subtree: true,\n              childList: true\n            });\n          }\n        });\n        return [\n          2\n          /*return*/\n        ];\n      });\n    });\n  };\n  var execute = function(event) {\n    return __awaiter(void 0, void 0, void 0, function() {\n      return __generator(this, function(_a) {\n        return [2, event];\n      });\n    });\n  };\n  var teardown = function() {\n    return __awaiter(void 0, void 0, void 0, function() {\n      return __generator(this, function(_a) {\n        observer === null || observer === void 0 ? void 0 : observer.disconnect();\n        removeClickListeners();\n        return [\n          2\n          /*return*/\n        ];\n      });\n    });\n  };\n  return {\n    name,\n    type,\n    setup,\n    execute,\n    teardown\n  };\n};\nexport {\n  fileDownloadTracking\n};\n","var notified = false;\nvar detNotify = function(config) {\n  if (notified || config.defaultTracking !== void 0) {\n    return;\n  }\n  var message = \"`options.defaultTracking` is set to undefined. This implicitly configures your Amplitude instance to track Page Views, Sessions, File Downloads, and Form Interactions. You can suppress this warning by explicitly setting a value to `options.defaultTracking`. The value must either be a boolean, to enable and disable all default events, or an object, for advanced configuration. For example:\\n\\namplitude.init(<YOUR_API_KEY>, {\\n  defaultTracking: true,\\n});\\n\\nVisit https://www.docs.developers.amplitude.com/data/sdks/browser-2/#tracking-default-events for more details.\";\n  config.loggerProvider.warn(message);\n  notified = true;\n};\nexport {\n  detNotify\n};\n","import { __awaiter, __generator } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { getGlobalScope } from \"../../../../analytics-client-common/lib/esm/global-scope.js\";\nvar networkConnectivityCheckerPlugin = function() {\n  var name = \"@amplitude/plugin-network-checker-browser\";\n  var type = \"before\";\n  var globalScope = getGlobalScope();\n  var eventListeners = [];\n  var addNetworkListener = function(type2, handler) {\n    if (globalScope) {\n      globalScope.addEventListener(type2, handler);\n      eventListeners.push({\n        type: type2,\n        handler\n      });\n    }\n  };\n  var removeNetworkListeners = function() {\n    eventListeners.forEach(function(_a) {\n      var type2 = _a.type, handler = _a.handler;\n      if (globalScope) {\n        globalScope.removeEventListener(type2, handler);\n      }\n    });\n    eventListeners = [];\n  };\n  var setup = function(config, amplitude) {\n    return __awaiter(void 0, void 0, void 0, function() {\n      return __generator(this, function(_a) {\n        config.offline = !navigator.onLine;\n        addNetworkListener(\"online\", function() {\n          config.loggerProvider.debug(\"Network connectivity changed to online.\");\n          config.offline = false;\n          setTimeout(function() {\n            amplitude.flush();\n          }, config.flushIntervalMillis);\n        });\n        addNetworkListener(\"offline\", function() {\n          config.loggerProvider.debug(\"Network connectivity changed to offline.\");\n          config.offline = true;\n        });\n        return [\n          2\n          /*return*/\n        ];\n      });\n    });\n  };\n  var teardown = function() {\n    return __awaiter(void 0, void 0, void 0, function() {\n      return __generator(this, function(_a) {\n        removeNetworkListeners();\n        return [\n          2\n          /*return*/\n        ];\n      });\n    });\n  };\n  return {\n    name,\n    type,\n    setup,\n    teardown\n  };\n};\nexport {\n  networkConnectivityCheckerPlugin\n};\n","var __assign = function() {\n  __assign = Object.assign || function __assign2(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s)\n        if (Object.prototype.hasOwnProperty.call(s, p))\n          t[p] = s[p];\n    }\n    return t;\n  };\n  return __assign.apply(this, arguments);\n};\nfunction __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function(resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = Promise))(function(resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\nfunction __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() {\n    if (t[0] & 1)\n      throw t[1];\n    return t[1];\n  }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n  return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n    return this;\n  }), g;\n  function verb(n) {\n    return function(v) {\n      return step([n, v]);\n    };\n  }\n  function step(op) {\n    if (f)\n      throw new TypeError(\"Generator is already executing.\");\n    while (g && (g = 0, op[0] && (_ = 0)), _)\n      try {\n        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n          return t;\n        if (y = 0, t)\n          op = [op[0] & 2, t.value];\n        switch (op[0]) {\n          case 0:\n          case 1:\n            t = op;\n            break;\n          case 4:\n            _.label++;\n            return { value: op[1], done: false };\n          case 5:\n            _.label++;\n            y = op[1];\n            op = [0];\n            continue;\n          case 7:\n            op = _.ops.pop();\n            _.trys.pop();\n            continue;\n          default:\n            if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n              _ = 0;\n              continue;\n            }\n            if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n              _.label = op[1];\n              break;\n            }\n            if (op[0] === 6 && _.label < t[1]) {\n              _.label = t[1];\n              t = op;\n              break;\n            }\n            if (t && _.label < t[2]) {\n              _.label = t[2];\n              _.ops.push(op);\n              break;\n            }\n            if (t[2])\n              _.ops.pop();\n            _.trys.pop();\n            continue;\n        }\n        op = body.call(thisArg, _);\n      } catch (e) {\n        op = [6, e];\n        y = 0;\n      } finally {\n        f = t = 0;\n      }\n    if (op[0] & 5)\n      throw op[1];\n    return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\nfunction __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n  if (m)\n    return m.call(o);\n  if (o && typeof o.length === \"number\")\n    return {\n      next: function() {\n        if (o && i >= o.length)\n          o = void 0;\n        return { value: o && o[i++], done: !o };\n      }\n    };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\ntypeof SuppressedError === \"function\" ? SuppressedError : function(error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nexport {\n  __assign,\n  __awaiter,\n  __generator,\n  __values\n};\n","var ServerZone;\n(function(ServerZone2) {\n  ServerZone2[\"US\"] = \"US\";\n  ServerZone2[\"EU\"] = \"EU\";\n})(ServerZone || (ServerZone = {}));\nexport {\n  ServerZone\n};\n","import { __awaiter, __generator, __values, __assign } from \"../../node_modules/tslib/tslib.es6.js\";\nimport { BaseTransport } from \"../../../analytics-core/lib/esm/transports/base.js\";\nimport { Status } from \"../../../analytics-types/lib/esm/status.js\";\nimport { ServerZone } from \"../../../analytics-types/lib/esm/server-zone.js\";\nvar UNEXPECTED_NETWORK_ERROR_MESSAGE = \"Network error occurred, remote config fetch failed\";\nvar SUCCESS_REMOTE_CONFIG = \"Remote config successfully fetched\";\nvar MAX_RETRIES_EXCEEDED_MESSAGE = \"Remote config fetch rejected due to exceeded retry count\";\nvar TIMEOUT_MESSAGE = \"Remote config fetch rejected due to timeout after 5 seconds\";\nvar UNEXPECTED_ERROR_MESSAGE = \"Unexpected error occurred\";\nvar REMOTE_CONFIG_SERVER_URL = \"https://sr-client-cfg.amplitude.com/config\";\nvar REMOTE_CONFIG_SERVER_URL_STAGING = \"https://sr-client-cfg.stag2.amplitude.com/config\";\nvar REMOTE_CONFIG_SERVER_URL_EU = \"https://sr-client-cfg.eu.amplitude.com/config\";\nvar RemoteConfigFetch = (\n  /** @class */\n  function() {\n    function RemoteConfigFetch2(_a) {\n      var localConfig = _a.localConfig, configKeys = _a.configKeys;\n      var _this = this;\n      this.retryTimeout = 1e3;\n      this.attempts = 0;\n      this.sessionTargetingMatch = false;\n      this.metrics = {};\n      this.getRemoteConfig = function(configNamespace, key, sessionId) {\n        return __awaiter(_this, void 0, void 0, function() {\n          var fetchStartTime, configAPIResponse, remoteConfig;\n          return __generator(this, function(_a2) {\n            switch (_a2.label) {\n              case 0:\n                fetchStartTime = Date.now();\n                return [4, this.fetchWithTimeout(sessionId)];\n              case 1:\n                configAPIResponse = _a2.sent();\n                if (configAPIResponse) {\n                  remoteConfig = configAPIResponse.configs && configAPIResponse.configs[configNamespace];\n                  if (remoteConfig) {\n                    this.metrics.fetchTimeAPISuccess = Date.now() - fetchStartTime;\n                    return [2, remoteConfig[key]];\n                  }\n                }\n                this.metrics.fetchTimeAPIFail = Date.now() - fetchStartTime;\n                return [2, void 0];\n            }\n          });\n        });\n      };\n      this.fetchWithTimeout = function(sessionId) {\n        return __awaiter(_this, void 0, void 0, function() {\n          var controller, timeoutId, remoteConfig;\n          return __generator(this, function(_a2) {\n            switch (_a2.label) {\n              case 0:\n                controller = new AbortController();\n                timeoutId = setTimeout(function() {\n                  return controller.abort();\n                }, 5e3);\n                return [4, this.fetchRemoteConfig(controller.signal, sessionId)];\n              case 1:\n                remoteConfig = _a2.sent();\n                clearTimeout(timeoutId);\n                return [2, remoteConfig];\n            }\n          });\n        });\n      };\n      this.fetchRemoteConfig = function(signal, sessionId) {\n        return __awaiter(_this, void 0, void 0, function() {\n          var urlParams, _a2, _b, configKey, options, serverUrl, res, parsedStatus, e_1, knownError;\n          var e_2, _c;\n          return __generator(this, function(_d) {\n            switch (_d.label) {\n              case 0:\n                if (sessionId === this.lastFetchedSessionId && this.attempts >= this.localConfig.flushMaxRetries) {\n                  return [2, this.completeRequest({ err: MAX_RETRIES_EXCEEDED_MESSAGE })];\n                } else if (signal.aborted) {\n                  return [2, this.completeRequest({ err: TIMEOUT_MESSAGE })];\n                } else if (sessionId !== this.lastFetchedSessionId) {\n                  this.lastFetchedSessionId = sessionId;\n                  this.attempts = 0;\n                }\n                _d.label = 1;\n              case 1:\n                _d.trys.push([1, 3, , 4]);\n                urlParams = new URLSearchParams({\n                  api_key: this.localConfig.apiKey\n                });\n                try {\n                  for (_a2 = __values(this.configKeys), _b = _a2.next(); !_b.done; _b = _a2.next()) {\n                    configKey = _b.value;\n                    urlParams.append(\"config_keys\", configKey);\n                  }\n                } catch (e_2_1) {\n                  e_2 = { error: e_2_1 };\n                } finally {\n                  try {\n                    if (_b && !_b.done && (_c = _a2.return))\n                      _c.call(_a2);\n                  } finally {\n                    if (e_2)\n                      throw e_2.error;\n                  }\n                }\n                if (sessionId) {\n                  urlParams.set(\"session_id\", String(sessionId));\n                }\n                options = {\n                  headers: {\n                    Accept: \"*/*\"\n                  },\n                  method: \"GET\"\n                };\n                serverUrl = \"\".concat(this.getServerUrl(), \"?\").concat(urlParams.toString());\n                this.attempts += 1;\n                return [4, fetch(serverUrl, __assign(__assign({}, options), { signal }))];\n              case 2:\n                res = _d.sent();\n                if (res === null) {\n                  return [2, this.completeRequest({ err: UNEXPECTED_ERROR_MESSAGE })];\n                }\n                parsedStatus = new BaseTransport().buildStatus(res.status);\n                switch (parsedStatus) {\n                  case Status.Success:\n                    this.attempts = 0;\n                    return [2, this.parseAndStoreConfig(res)];\n                  case Status.Failed:\n                    return [2, this.retryFetch(signal, sessionId)];\n                  default:\n                    return [2, this.completeRequest({ err: UNEXPECTED_NETWORK_ERROR_MESSAGE })];\n                }\n              case 3:\n                e_1 = _d.sent();\n                knownError = e_1;\n                if (signal.aborted) {\n                  return [2, this.completeRequest({ err: TIMEOUT_MESSAGE })];\n                }\n                return [2, this.completeRequest({ err: knownError.message })];\n              case 4:\n                return [\n                  2\n                  /*return*/\n                ];\n            }\n          });\n        });\n      };\n      this.retryFetch = function(signal, sessionId) {\n        return __awaiter(_this, void 0, void 0, function() {\n          var _this2 = this;\n          return __generator(this, function(_a2) {\n            switch (_a2.label) {\n              case 0:\n                return [4, new Promise(function(resolve) {\n                  return setTimeout(resolve, _this2.attempts * _this2.retryTimeout);\n                })];\n              case 1:\n                _a2.sent();\n                return [2, this.fetchRemoteConfig(signal, sessionId)];\n            }\n          });\n        });\n      };\n      this.parseAndStoreConfig = function(res) {\n        return __awaiter(_this, void 0, void 0, function() {\n          var remoteConfig;\n          return __generator(this, function(_a2) {\n            switch (_a2.label) {\n              case 0:\n                return [4, res.json()];\n              case 1:\n                remoteConfig = _a2.sent();\n                this.completeRequest({ success: SUCCESS_REMOTE_CONFIG });\n                return [2, remoteConfig];\n            }\n          });\n        });\n      };\n      this.localConfig = localConfig;\n      this.configKeys = configKeys;\n    }\n    RemoteConfigFetch2.prototype.getServerUrl = function() {\n      if (this.localConfig.serverZone === ServerZone.STAGING) {\n        return REMOTE_CONFIG_SERVER_URL_STAGING;\n      }\n      if (this.localConfig.serverZone === ServerZone.EU) {\n        return REMOTE_CONFIG_SERVER_URL_EU;\n      }\n      return REMOTE_CONFIG_SERVER_URL;\n    };\n    RemoteConfigFetch2.prototype.completeRequest = function(_a) {\n      var err = _a.err, success = _a.success;\n      if (err) {\n        throw new Error(err);\n      } else if (success) {\n        this.localConfig.loggerProvider.log(success);\n      }\n    };\n    return RemoteConfigFetch2;\n  }()\n);\nvar createRemoteConfigFetch = function(_a) {\n  var localConfig = _a.localConfig, configKeys = _a.configKeys;\n  return __awaiter(void 0, void 0, void 0, function() {\n    return __generator(this, function(_b) {\n      return [2, new RemoteConfigFetch({ localConfig, configKeys })];\n    });\n  });\n};\nexport {\n  REMOTE_CONFIG_SERVER_URL,\n  REMOTE_CONFIG_SERVER_URL_EU,\n  REMOTE_CONFIG_SERVER_URL_STAGING,\n  RemoteConfigFetch,\n  createRemoteConfigFetch\n};\n","import { createRemoteConfigFetch as createRemoteConfigFetch$1 } from \"./remote-config.js\";\nvar createRemoteConfigFetch = createRemoteConfigFetch$1;\nexport {\n  createRemoteConfigFetch\n};\n","import { __awaiter, __generator, __assign } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { createRemoteConfigFetch } from \"../../../../analytics-remote-config/lib/esm/index.js\";\nimport { RequestMetadata } from \"../../../../analytics-core/lib/esm/config.js\";\nvar BrowserJoinedConfigGenerator = (\n  /** @class */\n  function() {\n    function BrowserJoinedConfigGenerator2(localConfig) {\n      this.config = localConfig;\n      this.config.loggerProvider.debug(\"Local configuration before merging with remote config\", JSON.stringify(this.config, null, 2));\n    }\n    BrowserJoinedConfigGenerator2.prototype.initialize = function() {\n      return __awaiter(this, void 0, void 0, function() {\n        var _a;\n        return __generator(this, function(_b) {\n          switch (_b.label) {\n            case 0:\n              _a = this;\n              return [4, createRemoteConfigFetch({\n                localConfig: this.config,\n                configKeys: [\"analyticsSDK\"]\n              })];\n            case 1:\n              _a.remoteConfigFetch = _b.sent();\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    BrowserJoinedConfigGenerator2.prototype.generateJoinedConfig = function() {\n      var _a, _b, _c;\n      var _d;\n      return __awaiter(this, void 0, void 0, function() {\n        var remoteConfig, _e, e_1;\n        return __generator(this, function(_f) {\n          switch (_f.label) {\n            case 0:\n              _f.trys.push([0, 3, , 4]);\n              _e = this.remoteConfigFetch;\n              if (!_e)\n                return [3, 2];\n              return [4, this.remoteConfigFetch.getRemoteConfig(\"analyticsSDK\", \"browserSDK\", this.config.sessionId)];\n            case 1:\n              _e = _f.sent();\n              _f.label = 2;\n            case 2:\n              remoteConfig = _e;\n              this.config.loggerProvider.debug(\"Remote configuration:\", JSON.stringify(remoteConfig, null, 2));\n              if (remoteConfig && \"autocapture\" in remoteConfig) {\n                if (typeof remoteConfig.autocapture === \"boolean\") {\n                  this.config.autocapture = remoteConfig.autocapture;\n                }\n                if (typeof remoteConfig.autocapture === \"object\") {\n                  if (this.config.autocapture === void 0) {\n                    this.config.autocapture = remoteConfig.autocapture;\n                  }\n                  if (typeof this.config.autocapture === \"boolean\") {\n                    this.config.autocapture = __assign({ attribution: this.config.autocapture, fileDownloads: this.config.autocapture, formInteractions: this.config.autocapture, pageViews: this.config.autocapture, sessions: this.config.autocapture, elementInteractions: this.config.autocapture }, remoteConfig.autocapture);\n                  }\n                  if (typeof this.config.autocapture === \"object\") {\n                    this.config.autocapture = __assign(__assign({}, this.config.autocapture), remoteConfig.autocapture);\n                  }\n                }\n                this.config.defaultTracking = this.config.autocapture;\n              }\n              this.config.loggerProvider.debug(\"Joined configuration: \", JSON.stringify(this.config, null, 2));\n              (_a = (_d = this.config).requestMetadata) !== null && _a !== void 0 ? _a : _d.requestMetadata = new RequestMetadata();\n              if ((_b = this.remoteConfigFetch) === null || _b === void 0 ? void 0 : _b.metrics.fetchTimeAPISuccess) {\n                this.config.requestMetadata.recordHistogram(\"remote_config_fetch_time_API_success\", this.remoteConfigFetch.metrics.fetchTimeAPISuccess);\n              }\n              if ((_c = this.remoteConfigFetch) === null || _c === void 0 ? void 0 : _c.metrics.fetchTimeAPIFail) {\n                this.config.requestMetadata.recordHistogram(\"remote_config_fetch_time_API_fail\", this.remoteConfigFetch.metrics.fetchTimeAPIFail);\n              }\n              return [3, 4];\n            case 3:\n              e_1 = _f.sent();\n              this.config.loggerProvider.error(\"Failed to fetch remote configuration because of error: \", e_1);\n              return [3, 4];\n            case 4:\n              return [2, this.config];\n          }\n        });\n      });\n    };\n    return BrowserJoinedConfigGenerator2;\n  }()\n);\nvar createBrowserJoinedConfigGenerator = function(localConfig) {\n  return __awaiter(void 0, void 0, void 0, function() {\n    var joinedConfigGenerator;\n    return __generator(this, function(_a) {\n      switch (_a.label) {\n        case 0:\n          joinedConfigGenerator = new BrowserJoinedConfigGenerator(localConfig);\n          return [4, joinedConfigGenerator.initialize()];\n        case 1:\n          _a.sent();\n          return [2, joinedConfigGenerator];\n      }\n    });\n  });\n};\nexport {\n  BrowserJoinedConfigGenerator,\n  createBrowserJoinedConfigGenerator\n};\n","var returnWrapper = function(awaitable) {\n  return {\n    promise: awaitable || Promise.resolve()\n  };\n};\nexport {\n  returnWrapper\n};\n","import global from \"../../../vite-plugin-node-polyfills/shims/global/dist/index.js\";\nvar ApplicationContextProviderImpl = (\n  /** @class */\n  function() {\n    function ApplicationContextProviderImpl2() {\n    }\n    ApplicationContextProviderImpl2.prototype.getApplicationContext = function() {\n      return {\n        versionName: this.versionName,\n        language: getLanguage(),\n        platform: \"Web\",\n        os: void 0,\n        deviceModel: void 0\n      };\n    };\n    return ApplicationContextProviderImpl2;\n  }()\n);\nvar getLanguage = function() {\n  return typeof navigator !== \"undefined\" && (navigator.languages && navigator.languages[0] || navigator.language) || \"\";\n};\nvar EventBridgeImpl = (\n  /** @class */\n  function() {\n    function EventBridgeImpl2() {\n      this.queue = [];\n    }\n    EventBridgeImpl2.prototype.logEvent = function(event) {\n      if (!this.receiver) {\n        if (this.queue.length < 512) {\n          this.queue.push(event);\n        }\n      } else {\n        this.receiver(event);\n      }\n    };\n    EventBridgeImpl2.prototype.setEventReceiver = function(receiver) {\n      this.receiver = receiver;\n      if (this.queue.length > 0) {\n        this.queue.forEach(function(event) {\n          receiver(event);\n        });\n        this.queue = [];\n      }\n    };\n    return EventBridgeImpl2;\n  }()\n);\nvar __assign = function() {\n  __assign = Object.assign || function __assign2(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s)\n        if (Object.prototype.hasOwnProperty.call(s, p))\n          t[p] = s[p];\n    }\n    return t;\n  };\n  return __assign.apply(this, arguments);\n};\nvar isEqual = function(obj1, obj2) {\n  var primitive = [\"string\", \"number\", \"boolean\", \"undefined\"];\n  var typeA = typeof obj1;\n  var typeB = typeof obj2;\n  if (typeA !== typeB) {\n    return false;\n  }\n  for (var _i = 0, primitive_1 = primitive; _i < primitive_1.length; _i++) {\n    var p = primitive_1[_i];\n    if (p === typeA) {\n      return obj1 === obj2;\n    }\n  }\n  if (obj1 == null && obj2 == null) {\n    return true;\n  } else if (obj1 == null || obj2 == null) {\n    return false;\n  }\n  if (obj1.length !== obj2.length) {\n    return false;\n  }\n  var isArrayA = Array.isArray(obj1);\n  var isArrayB = Array.isArray(obj2);\n  if (isArrayA !== isArrayB) {\n    return false;\n  }\n  if (isArrayA && isArrayB) {\n    for (var i = 0; i < obj1.length; i++) {\n      if (!isEqual(obj1[i], obj2[i])) {\n        return false;\n      }\n    }\n  } else {\n    var sorted1 = Object.keys(obj1).sort();\n    var sorted2 = Object.keys(obj2).sort();\n    if (!isEqual(sorted1, sorted2)) {\n      return false;\n    }\n    var result_1 = true;\n    Object.keys(obj1).forEach(function(key) {\n      if (!isEqual(obj1[key], obj2[key])) {\n        result_1 = false;\n      }\n    });\n    return result_1;\n  }\n  return true;\n};\nvar ID_OP_SET = \"$set\";\nvar ID_OP_UNSET = \"$unset\";\nvar ID_OP_CLEAR_ALL = \"$clearAll\";\nif (!Object.entries) {\n  Object.entries = function(obj) {\n    var ownProps = Object.keys(obj);\n    var i = ownProps.length;\n    var resArray = new Array(i);\n    while (i--) {\n      resArray[i] = [ownProps[i], obj[ownProps[i]]];\n    }\n    return resArray;\n  };\n}\nvar IdentityStoreImpl = (\n  /** @class */\n  function() {\n    function IdentityStoreImpl2() {\n      this.identity = { userProperties: {} };\n      this.listeners = /* @__PURE__ */ new Set();\n    }\n    IdentityStoreImpl2.prototype.editIdentity = function() {\n      var self2 = this;\n      var actingUserProperties = __assign({}, this.identity.userProperties);\n      var actingIdentity = __assign(__assign({}, this.identity), { userProperties: actingUserProperties });\n      return {\n        setUserId: function(userId) {\n          actingIdentity.userId = userId;\n          return this;\n        },\n        setDeviceId: function(deviceId) {\n          actingIdentity.deviceId = deviceId;\n          return this;\n        },\n        setUserProperties: function(userProperties) {\n          actingIdentity.userProperties = userProperties;\n          return this;\n        },\n        setOptOut: function(optOut) {\n          actingIdentity.optOut = optOut;\n          return this;\n        },\n        updateUserProperties: function(actions) {\n          var actingProperties = actingIdentity.userProperties || {};\n          for (var _i = 0, _a = Object.entries(actions); _i < _a.length; _i++) {\n            var _b = _a[_i], action = _b[0], properties = _b[1];\n            switch (action) {\n              case ID_OP_SET:\n                for (var _c = 0, _d = Object.entries(properties); _c < _d.length; _c++) {\n                  var _e = _d[_c], key = _e[0], value = _e[1];\n                  actingProperties[key] = value;\n                }\n                break;\n              case ID_OP_UNSET:\n                for (var _f = 0, _g = Object.keys(properties); _f < _g.length; _f++) {\n                  var key = _g[_f];\n                  delete actingProperties[key];\n                }\n                break;\n              case ID_OP_CLEAR_ALL:\n                actingProperties = {};\n                break;\n            }\n          }\n          actingIdentity.userProperties = actingProperties;\n          return this;\n        },\n        commit: function() {\n          self2.setIdentity(actingIdentity);\n          return this;\n        }\n      };\n    };\n    IdentityStoreImpl2.prototype.getIdentity = function() {\n      return __assign({}, this.identity);\n    };\n    IdentityStoreImpl2.prototype.setIdentity = function(identity) {\n      var originalIdentity = __assign({}, this.identity);\n      this.identity = __assign({}, identity);\n      if (!isEqual(originalIdentity, this.identity)) {\n        this.listeners.forEach(function(listener) {\n          listener(identity);\n        });\n      }\n    };\n    IdentityStoreImpl2.prototype.addIdentityListener = function(listener) {\n      this.listeners.add(listener);\n    };\n    IdentityStoreImpl2.prototype.removeIdentityListener = function(listener) {\n      this.listeners.delete(listener);\n    };\n    return IdentityStoreImpl2;\n  }()\n);\nvar safeGlobal = typeof globalThis !== \"undefined\" ? globalThis : typeof global !== \"undefined\" ? global : self;\nvar AnalyticsConnector = (\n  /** @class */\n  function() {\n    function AnalyticsConnector2() {\n      this.identityStore = new IdentityStoreImpl();\n      this.eventBridge = new EventBridgeImpl();\n      this.applicationContextProvider = new ApplicationContextProviderImpl();\n    }\n    AnalyticsConnector2.getInstance = function(instanceName) {\n      if (!safeGlobal[\"analyticsConnectorInstances\"]) {\n        safeGlobal[\"analyticsConnectorInstances\"] = {};\n      }\n      if (!safeGlobal[\"analyticsConnectorInstances\"][instanceName]) {\n        safeGlobal[\"analyticsConnectorInstances\"][instanceName] = new AnalyticsConnector2();\n      }\n      return safeGlobal[\"analyticsConnectorInstances\"][instanceName];\n    };\n    return AnalyticsConnector2;\n  }()\n);\nexport {\n  AnalyticsConnector\n};\n","import { AnalyticsConnector } from \"../../../analytics-connector/dist/analytics-connector.esm.js\";\nvar getAnalyticsConnector = function(instanceName) {\n  if (instanceName === void 0) {\n    instanceName = \"$default_instance\";\n  }\n  return AnalyticsConnector.getInstance(instanceName);\n};\nvar setConnectorUserId = function(userId, instanceName) {\n  getAnalyticsConnector(instanceName).identityStore.editIdentity().setUserId(userId).commit();\n};\nvar setConnectorDeviceId = function(deviceId, instanceName) {\n  getAnalyticsConnector(instanceName).identityStore.editIdentity().setDeviceId(deviceId).commit();\n};\nexport {\n  getAnalyticsConnector,\n  setConnectorDeviceId,\n  setConnectorUserId\n};\n","import { __assign } from \"../../node_modules/tslib/tslib.es6.js\";\nvar isTrackingEnabled = function(autocapture, event) {\n  if (typeof autocapture === \"boolean\") {\n    return autocapture;\n  }\n  if ((autocapture === null || autocapture === void 0 ? void 0 : autocapture[event]) === false) {\n    return false;\n  }\n  return true;\n};\nvar isAttributionTrackingEnabled = function(autocapture) {\n  return isTrackingEnabled(autocapture, \"attribution\");\n};\nvar isFileDownloadTrackingEnabled = function(autocapture) {\n  return isTrackingEnabled(autocapture, \"fileDownloads\");\n};\nvar isFormInteractionTrackingEnabled = function(autocapture) {\n  return isTrackingEnabled(autocapture, \"formInteractions\");\n};\nvar isPageViewTrackingEnabled = function(autocapture) {\n  return isTrackingEnabled(autocapture, \"pageViews\");\n};\nvar isSessionTrackingEnabled = function(autocapture) {\n  return isTrackingEnabled(autocapture, \"sessions\");\n};\nvar isElementInteractionsEnabled = function(autocapture) {\n  if (typeof autocapture === \"boolean\") {\n    return autocapture;\n  }\n  if (typeof autocapture === \"object\" && (autocapture.elementInteractions === true || typeof autocapture.elementInteractions === \"object\")) {\n    return true;\n  }\n  return false;\n};\nvar getElementInteractionsConfig = function(config) {\n  if (isElementInteractionsEnabled(config.autocapture) && typeof config.autocapture === \"object\" && typeof config.autocapture.elementInteractions === \"object\") {\n    return config.autocapture.elementInteractions;\n  }\n  return void 0;\n};\nvar getPageViewTrackingConfig = function(config) {\n  var trackOn = function() {\n    return false;\n  };\n  var trackHistoryChanges = void 0;\n  var eventType;\n  var pageCounter = config.pageCounter;\n  var isDefaultPageViewTrackingEnabled = isPageViewTrackingEnabled(config.defaultTracking);\n  if (isDefaultPageViewTrackingEnabled) {\n    trackOn = void 0;\n    eventType = void 0;\n    if (config.defaultTracking && typeof config.defaultTracking === \"object\" && config.defaultTracking.pageViews && typeof config.defaultTracking.pageViews === \"object\") {\n      if (\"trackOn\" in config.defaultTracking.pageViews) {\n        trackOn = config.defaultTracking.pageViews.trackOn;\n      }\n      if (\"trackHistoryChanges\" in config.defaultTracking.pageViews) {\n        trackHistoryChanges = config.defaultTracking.pageViews.trackHistoryChanges;\n      }\n      if (\"eventType\" in config.defaultTracking.pageViews && config.defaultTracking.pageViews.eventType) {\n        eventType = config.defaultTracking.pageViews.eventType;\n      }\n    }\n  }\n  return {\n    trackOn,\n    trackHistoryChanges,\n    eventType,\n    pageCounter\n  };\n};\nvar getAttributionTrackingConfig = function(config) {\n  if (isAttributionTrackingEnabled(config.defaultTracking) && config.defaultTracking && typeof config.defaultTracking === \"object\" && config.defaultTracking.attribution && typeof config.defaultTracking.attribution === \"object\") {\n    return __assign({}, config.defaultTracking.attribution);\n  }\n  return {};\n};\nexport {\n  getAttributionTrackingConfig,\n  getElementInteractionsConfig,\n  getPageViewTrackingConfig,\n  isAttributionTrackingEnabled,\n  isElementInteractionsEnabled,\n  isFileDownloadTrackingEnabled,\n  isFormInteractionTrackingEnabled,\n  isPageViewTrackingEnabled,\n  isSessionTrackingEnabled\n};\n","import { __values } from \"../../../node_modules/tslib/tslib.es6.js\";\nvar MAX_PROPERTY_KEYS = 1e3;\nvar isValidObject = function(properties) {\n  if (Object.keys(properties).length > MAX_PROPERTY_KEYS) {\n    return false;\n  }\n  for (var key in properties) {\n    var value = properties[key];\n    if (!isValidProperties(key, value))\n      return false;\n  }\n  return true;\n};\nvar isValidProperties = function(property, value) {\n  var e_1, _a;\n  if (typeof property !== \"string\")\n    return false;\n  if (Array.isArray(value)) {\n    var isValid = true;\n    try {\n      for (var value_1 = __values(value), value_1_1 = value_1.next(); !value_1_1.done; value_1_1 = value_1.next()) {\n        var valueElement = value_1_1.value;\n        if (Array.isArray(valueElement)) {\n          return false;\n        } else if (typeof valueElement === \"object\") {\n          isValid = isValid && isValidObject(valueElement);\n        } else if (![\"number\", \"string\"].includes(typeof valueElement)) {\n          return false;\n        }\n        if (!isValid) {\n          return false;\n        }\n      }\n    } catch (e_1_1) {\n      e_1 = { error: e_1_1 };\n    } finally {\n      try {\n        if (value_1_1 && !value_1_1.done && (_a = value_1.return))\n          _a.call(value_1);\n      } finally {\n        if (e_1)\n          throw e_1.error;\n      }\n    }\n  } else if (value === null || value === void 0) {\n    return false;\n  } else if (typeof value === \"object\") {\n    return isValidObject(value);\n  } else if (![\"number\", \"string\", \"boolean\"].includes(typeof value)) {\n    return false;\n  }\n  return true;\n};\nexport {\n  isValidObject,\n  isValidProperties\n};\n","var IdentifyOperation;\n(function(IdentifyOperation2) {\n  IdentifyOperation2[\"SET\"] = \"$set\";\n  IdentifyOperation2[\"SET_ONCE\"] = \"$setOnce\";\n  IdentifyOperation2[\"ADD\"] = \"$add\";\n  IdentifyOperation2[\"APPEND\"] = \"$append\";\n  IdentifyOperation2[\"PREPEND\"] = \"$prepend\";\n  IdentifyOperation2[\"REMOVE\"] = \"$remove\";\n  IdentifyOperation2[\"PREINSERT\"] = \"$preInsert\";\n  IdentifyOperation2[\"POSTINSERT\"] = \"$postInsert\";\n  IdentifyOperation2[\"UNSET\"] = \"$unset\";\n  IdentifyOperation2[\"CLEAR_ALL\"] = \"$clearAll\";\n})(IdentifyOperation || (IdentifyOperation = {}));\nvar RevenueProperty;\n(function(RevenueProperty2) {\n  RevenueProperty2[\"REVENUE_PRODUCT_ID\"] = \"$productId\";\n  RevenueProperty2[\"REVENUE_QUANTITY\"] = \"$quantity\";\n  RevenueProperty2[\"REVENUE_PRICE\"] = \"$price\";\n  RevenueProperty2[\"REVENUE_TYPE\"] = \"$revenueType\";\n  RevenueProperty2[\"REVENUE\"] = \"$revenue\";\n})(RevenueProperty || (RevenueProperty = {}));\nvar SpecialEventType;\n(function(SpecialEventType2) {\n  SpecialEventType2[\"IDENTIFY\"] = \"$identify\";\n  SpecialEventType2[\"GROUP_IDENTIFY\"] = \"$groupidentify\";\n  SpecialEventType2[\"REVENUE\"] = \"revenue_amount\";\n})(SpecialEventType || (SpecialEventType = {}));\nexport {\n  IdentifyOperation,\n  RevenueProperty,\n  SpecialEventType\n};\n","import { __assign } from \"../../node_modules/tslib/tslib.es6.js\";\nimport { UNSET_VALUE } from \"./constants.js\";\nimport { isValidProperties } from \"./utils/valid-properties.js\";\nimport { IdentifyOperation } from \"../../../analytics-types/lib/esm/event.js\";\nvar Identify = (\n  /** @class */\n  function() {\n    function Identify2() {\n      this._propertySet = /* @__PURE__ */ new Set();\n      this._properties = {};\n    }\n    Identify2.prototype.getUserProperties = function() {\n      return __assign({}, this._properties);\n    };\n    Identify2.prototype.set = function(property, value) {\n      this._safeSet(IdentifyOperation.SET, property, value);\n      return this;\n    };\n    Identify2.prototype.setOnce = function(property, value) {\n      this._safeSet(IdentifyOperation.SET_ONCE, property, value);\n      return this;\n    };\n    Identify2.prototype.append = function(property, value) {\n      this._safeSet(IdentifyOperation.APPEND, property, value);\n      return this;\n    };\n    Identify2.prototype.prepend = function(property, value) {\n      this._safeSet(IdentifyOperation.PREPEND, property, value);\n      return this;\n    };\n    Identify2.prototype.postInsert = function(property, value) {\n      this._safeSet(IdentifyOperation.POSTINSERT, property, value);\n      return this;\n    };\n    Identify2.prototype.preInsert = function(property, value) {\n      this._safeSet(IdentifyOperation.PREINSERT, property, value);\n      return this;\n    };\n    Identify2.prototype.remove = function(property, value) {\n      this._safeSet(IdentifyOperation.REMOVE, property, value);\n      return this;\n    };\n    Identify2.prototype.add = function(property, value) {\n      this._safeSet(IdentifyOperation.ADD, property, value);\n      return this;\n    };\n    Identify2.prototype.unset = function(property) {\n      this._safeSet(IdentifyOperation.UNSET, property, UNSET_VALUE);\n      return this;\n    };\n    Identify2.prototype.clearAll = function() {\n      this._properties = {};\n      this._properties[IdentifyOperation.CLEAR_ALL] = UNSET_VALUE;\n      return this;\n    };\n    Identify2.prototype._safeSet = function(operation, property, value) {\n      if (this._validate(operation, property, value)) {\n        var userPropertyMap = this._properties[operation];\n        if (userPropertyMap === void 0) {\n          userPropertyMap = {};\n          this._properties[operation] = userPropertyMap;\n        }\n        userPropertyMap[property] = value;\n        this._propertySet.add(property);\n        return true;\n      }\n      return false;\n    };\n    Identify2.prototype._validate = function(operation, property, value) {\n      if (this._properties[IdentifyOperation.CLEAR_ALL] !== void 0) {\n        return false;\n      }\n      if (this._propertySet.has(property)) {\n        return false;\n      }\n      if (operation === IdentifyOperation.ADD) {\n        return typeof value === \"number\";\n      }\n      if (operation !== IdentifyOperation.UNSET && operation !== IdentifyOperation.REMOVE) {\n        return isValidProperties(property, value);\n      }\n      return true;\n    };\n    return Identify2;\n  }()\n);\nexport {\n  Identify\n};\n","import { __assign } from \"../../node_modules/tslib/tslib.es6.js\";\nimport { isValidObject } from \"./utils/valid-properties.js\";\nimport { RevenueProperty } from \"../../../analytics-types/lib/esm/event.js\";\nvar Revenue = (\n  /** @class */\n  function() {\n    function Revenue2() {\n      this.productId = \"\";\n      this.quantity = 1;\n      this.price = 0;\n    }\n    Revenue2.prototype.setProductId = function(productId) {\n      this.productId = productId;\n      return this;\n    };\n    Revenue2.prototype.setQuantity = function(quantity) {\n      if (quantity > 0) {\n        this.quantity = quantity;\n      }\n      return this;\n    };\n    Revenue2.prototype.setPrice = function(price) {\n      this.price = price;\n      return this;\n    };\n    Revenue2.prototype.setRevenueType = function(revenueType) {\n      this.revenueType = revenueType;\n      return this;\n    };\n    Revenue2.prototype.setRevenue = function(revenue) {\n      this.revenue = revenue;\n      return this;\n    };\n    Revenue2.prototype.setEventProperties = function(properties) {\n      if (isValidObject(properties)) {\n        this.properties = properties;\n      }\n      return this;\n    };\n    Revenue2.prototype.getEventProperties = function() {\n      var eventProperties = this.properties ? __assign({}, this.properties) : {};\n      eventProperties[RevenueProperty.REVENUE_PRODUCT_ID] = this.productId;\n      eventProperties[RevenueProperty.REVENUE_QUANTITY] = this.quantity;\n      eventProperties[RevenueProperty.REVENUE_PRICE] = this.price;\n      eventProperties[RevenueProperty.REVENUE_TYPE] = this.revenueType;\n      eventProperties[RevenueProperty.REVENUE] = this.revenue;\n      return eventProperties;\n    };\n    return Revenue2;\n  }()\n);\nexport {\n  Revenue\n};\n","var SUCCESS_MESSAGE = \"Event tracked successfully\";\nvar UNEXPECTED_ERROR_MESSAGE = \"Unexpected error occurred\";\nvar MAX_RETRIES_EXCEEDED_MESSAGE = \"Event rejected due to exceeded retry count\";\nvar OPT_OUT_MESSAGE = \"Event skipped due to optOut config\";\nvar MISSING_API_KEY_MESSAGE = \"Event rejected due to missing API key\";\nvar INVALID_API_KEY = \"Invalid API key\";\nvar CLIENT_NOT_INITIALIZED = \"Client not initialized\";\nexport {\n  CLIENT_NOT_INITIALIZED,\n  INVALID_API_KEY,\n  MAX_RETRIES_EXCEEDED_MESSAGE,\n  MISSING_API_KEY_MESSAGE,\n  OPT_OUT_MESSAGE,\n  SUCCESS_MESSAGE,\n  UNEXPECTED_ERROR_MESSAGE\n};\n","import { Status } from \"../../../../analytics-types/lib/esm/status.js\";\nvar buildResult = function(event, code, message) {\n  if (code === void 0) {\n    code = 0;\n  }\n  if (message === void 0) {\n    message = Status.Unknown;\n  }\n  return { event, code, message };\n};\nexport {\n  buildResult\n};\n","import { __awaiter, __generator, __assign, __read, __values } from \"../../node_modules/tslib/tslib.es6.js\";\nimport { buildResult } from \"./utils/result-builder.js\";\nimport { UUID } from \"./utils/uuid.js\";\nvar Timeline = (\n  /** @class */\n  function() {\n    function Timeline2(client) {\n      this.client = client;\n      this.queue = [];\n      this.applying = false;\n      this.plugins = [];\n    }\n    Timeline2.prototype.register = function(plugin, config) {\n      var _a, _b;\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_c) {\n          switch (_c.label) {\n            case 0:\n              if (this.plugins.some(function(existingPlugin) {\n                return existingPlugin.name === plugin.name;\n              })) {\n                config.loggerProvider.warn(\"Plugin with name \".concat(plugin.name, \" already exists, skipping registration\"));\n                return [\n                  2\n                  /*return*/\n                ];\n              }\n              if (plugin.name === void 0) {\n                plugin.name = UUID();\n                config.loggerProvider.warn(\"Plugin name is undefined. \\n      Generating a random UUID for plugin name: \".concat(plugin.name, \". \\n      Set a name for the plugin to prevent it from being added multiple times.\"));\n              }\n              plugin.type = (_a = plugin.type) !== null && _a !== void 0 ? _a : \"enrichment\";\n              return [4, (_b = plugin.setup) === null || _b === void 0 ? void 0 : _b.call(plugin, config, this.client)];\n            case 1:\n              _c.sent();\n              this.plugins.push(plugin);\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    Timeline2.prototype.deregister = function(pluginName) {\n      var _a;\n      return __awaiter(this, void 0, void 0, function() {\n        var index, plugin;\n        return __generator(this, function(_b) {\n          switch (_b.label) {\n            case 0:\n              index = this.plugins.findIndex(function(plugin2) {\n                return plugin2.name === pluginName;\n              });\n              plugin = this.plugins[index];\n              this.plugins.splice(index, 1);\n              return [4, (_a = plugin.teardown) === null || _a === void 0 ? void 0 : _a.call(plugin)];\n            case 1:\n              _b.sent();\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    Timeline2.prototype.reset = function(client) {\n      this.applying = false;\n      var plugins = this.plugins;\n      plugins.map(function(plugin) {\n        var _a;\n        return (_a = plugin.teardown) === null || _a === void 0 ? void 0 : _a.call(plugin);\n      });\n      this.plugins = [];\n      this.client = client;\n    };\n    Timeline2.prototype.push = function(event) {\n      var _this = this;\n      return new Promise(function(resolve) {\n        _this.queue.push([event, resolve]);\n        _this.scheduleApply(0);\n      });\n    };\n    Timeline2.prototype.scheduleApply = function(timeout) {\n      var _this = this;\n      if (this.applying)\n        return;\n      this.applying = true;\n      setTimeout(function() {\n        void _this.apply(_this.queue.shift()).then(function() {\n          _this.applying = false;\n          if (_this.queue.length > 0) {\n            _this.scheduleApply(0);\n          }\n        });\n      }, timeout);\n    };\n    Timeline2.prototype.apply = function(item) {\n      return __awaiter(this, void 0, void 0, function() {\n        var _a, event, _b, resolve, before, before_1, before_1_1, plugin, e, e_1_1, enrichment, enrichment_1, enrichment_1_1, plugin, e, e_2_1, destination, executeDestinations;\n        var e_1, _c, e_2, _d;\n        return __generator(this, function(_e) {\n          switch (_e.label) {\n            case 0:\n              if (!item) {\n                return [\n                  2\n                  /*return*/\n                ];\n              }\n              _a = __read(item, 1), event = _a[0];\n              _b = __read(item, 2), resolve = _b[1];\n              before = this.plugins.filter(function(plugin2) {\n                return plugin2.type === \"before\";\n              });\n              _e.label = 1;\n            case 1:\n              _e.trys.push([1, 6, 7, 8]);\n              before_1 = __values(before), before_1_1 = before_1.next();\n              _e.label = 2;\n            case 2:\n              if (!!before_1_1.done)\n                return [3, 5];\n              plugin = before_1_1.value;\n              if (!plugin.execute) {\n                return [3, 4];\n              }\n              return [4, plugin.execute(__assign({}, event))];\n            case 3:\n              e = _e.sent();\n              if (e === null) {\n                resolve({ event, code: 0, message: \"\" });\n                return [\n                  2\n                  /*return*/\n                ];\n              } else {\n                event = e;\n              }\n              _e.label = 4;\n            case 4:\n              before_1_1 = before_1.next();\n              return [3, 2];\n            case 5:\n              return [3, 8];\n            case 6:\n              e_1_1 = _e.sent();\n              e_1 = { error: e_1_1 };\n              return [3, 8];\n            case 7:\n              try {\n                if (before_1_1 && !before_1_1.done && (_c = before_1.return))\n                  _c.call(before_1);\n              } finally {\n                if (e_1)\n                  throw e_1.error;\n              }\n              return [\n                7\n                /*endfinally*/\n              ];\n            case 8:\n              enrichment = this.plugins.filter(function(plugin2) {\n                return plugin2.type === \"enrichment\" || plugin2.type === void 0;\n              });\n              _e.label = 9;\n            case 9:\n              _e.trys.push([9, 14, 15, 16]);\n              enrichment_1 = __values(enrichment), enrichment_1_1 = enrichment_1.next();\n              _e.label = 10;\n            case 10:\n              if (!!enrichment_1_1.done)\n                return [3, 13];\n              plugin = enrichment_1_1.value;\n              if (!plugin.execute) {\n                return [3, 12];\n              }\n              return [4, plugin.execute(__assign({}, event))];\n            case 11:\n              e = _e.sent();\n              if (e === null) {\n                resolve({ event, code: 0, message: \"\" });\n                return [\n                  2\n                  /*return*/\n                ];\n              } else {\n                event = e;\n              }\n              _e.label = 12;\n            case 12:\n              enrichment_1_1 = enrichment_1.next();\n              return [3, 10];\n            case 13:\n              return [3, 16];\n            case 14:\n              e_2_1 = _e.sent();\n              e_2 = { error: e_2_1 };\n              return [3, 16];\n            case 15:\n              try {\n                if (enrichment_1_1 && !enrichment_1_1.done && (_d = enrichment_1.return))\n                  _d.call(enrichment_1);\n              } finally {\n                if (e_2)\n                  throw e_2.error;\n              }\n              return [\n                7\n                /*endfinally*/\n              ];\n            case 16:\n              destination = this.plugins.filter(function(plugin2) {\n                return plugin2.type === \"destination\";\n              });\n              executeDestinations = destination.map(function(plugin2) {\n                var eventClone = __assign({}, event);\n                return plugin2.execute(eventClone).catch(function(e2) {\n                  return buildResult(eventClone, 0, String(e2));\n                });\n              });\n              void Promise.all(executeDestinations).then(function(_a2) {\n                var _b2 = __read(_a2, 1), result = _b2[0];\n                var resolveResult = result || buildResult(event, 100, \"Event not tracked, no destination plugins on the instance\");\n                resolve(resolveResult);\n              });\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    Timeline2.prototype.flush = function() {\n      return __awaiter(this, void 0, void 0, function() {\n        var queue, destination, executeDestinations;\n        var _this = this;\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              queue = this.queue;\n              this.queue = [];\n              return [4, Promise.all(queue.map(function(item) {\n                return _this.apply(item);\n              }))];\n            case 1:\n              _a.sent();\n              destination = this.plugins.filter(function(plugin) {\n                return plugin.type === \"destination\";\n              });\n              executeDestinations = destination.map(function(plugin) {\n                return plugin.flush && plugin.flush();\n              });\n              return [4, Promise.all(executeDestinations)];\n            case 2:\n              _a.sent();\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    return Timeline2;\n  }()\n);\nexport {\n  Timeline\n};\n","import { __assign } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { Identify } from \"../identify.js\";\nimport { SpecialEventType } from \"../../../../analytics-types/lib/esm/event.js\";\nvar createTrackEvent = function(eventInput, eventProperties, eventOptions) {\n  var baseEvent = typeof eventInput === \"string\" ? { event_type: eventInput } : eventInput;\n  return __assign(__assign(__assign({}, baseEvent), eventOptions), eventProperties && { event_properties: eventProperties });\n};\nvar createIdentifyEvent = function(identify, eventOptions) {\n  var identifyEvent = __assign(__assign({}, eventOptions), { event_type: SpecialEventType.IDENTIFY, user_properties: identify.getUserProperties() });\n  return identifyEvent;\n};\nvar createGroupIdentifyEvent = function(groupType, groupName, identify, eventOptions) {\n  var _a;\n  var groupIdentify = __assign(__assign({}, eventOptions), { event_type: SpecialEventType.GROUP_IDENTIFY, group_properties: identify.getUserProperties(), groups: (_a = {}, _a[groupType] = groupName, _a) });\n  return groupIdentify;\n};\nvar createGroupEvent = function(groupType, groupName, eventOptions) {\n  var _a;\n  var identify = new Identify();\n  identify.set(groupType, groupName);\n  var groupEvent = __assign(__assign({}, eventOptions), { event_type: SpecialEventType.IDENTIFY, user_properties: identify.getUserProperties(), groups: (_a = {}, _a[groupType] = groupName, _a) });\n  return groupEvent;\n};\nvar createRevenueEvent = function(revenue, eventOptions) {\n  return __assign(__assign({}, eventOptions), { event_type: SpecialEventType.REVENUE, event_properties: revenue.getEventProperties() });\n};\nexport {\n  createGroupEvent,\n  createGroupIdentifyEvent,\n  createIdentifyEvent,\n  createRevenueEvent,\n  createTrackEvent\n};\n","import { __awaiter, __generator, __values } from \"../../node_modules/tslib/tslib.es6.js\";\nimport { CLIENT_NOT_INITIALIZED, OPT_OUT_MESSAGE } from \"./messages.js\";\nimport { Timeline } from \"./timeline.js\";\nimport { createTrackEvent, createIdentifyEvent, createGroupIdentifyEvent, createGroupEvent, createRevenueEvent } from \"./utils/event-builder.js\";\nimport { buildResult } from \"./utils/result-builder.js\";\nimport { returnWrapper } from \"./utils/return-wrapper.js\";\nvar AmplitudeCore = (\n  /** @class */\n  function() {\n    function AmplitudeCore2(name) {\n      if (name === void 0) {\n        name = \"$default\";\n      }\n      this.initializing = false;\n      this.isReady = false;\n      this.q = [];\n      this.dispatchQ = [];\n      this.logEvent = this.track.bind(this);\n      this.timeline = new Timeline(this);\n      this.name = name;\n    }\n    AmplitudeCore2.prototype._init = function(config) {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              this.config = config;\n              this.timeline.reset(this);\n              return [4, this.runQueuedFunctions(\"q\")];\n            case 1:\n              _a.sent();\n              this.isReady = true;\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    AmplitudeCore2.prototype.runQueuedFunctions = function(queueName) {\n      return __awaiter(this, void 0, void 0, function() {\n        var queuedFunctions, queuedFunctions_1, queuedFunctions_1_1, queuedFunction, val, e_1_1;\n        var e_1, _a;\n        return __generator(this, function(_b) {\n          switch (_b.label) {\n            case 0:\n              queuedFunctions = this[queueName];\n              this[queueName] = [];\n              _b.label = 1;\n            case 1:\n              _b.trys.push([1, 8, 9, 10]);\n              queuedFunctions_1 = __values(queuedFunctions), queuedFunctions_1_1 = queuedFunctions_1.next();\n              _b.label = 2;\n            case 2:\n              if (!!queuedFunctions_1_1.done)\n                return [3, 7];\n              queuedFunction = queuedFunctions_1_1.value;\n              val = queuedFunction();\n              if (!(val && \"promise\" in val))\n                return [3, 4];\n              return [4, val.promise];\n            case 3:\n              _b.sent();\n              return [3, 6];\n            case 4:\n              return [4, val];\n            case 5:\n              _b.sent();\n              _b.label = 6;\n            case 6:\n              queuedFunctions_1_1 = queuedFunctions_1.next();\n              return [3, 2];\n            case 7:\n              return [3, 10];\n            case 8:\n              e_1_1 = _b.sent();\n              e_1 = { error: e_1_1 };\n              return [3, 10];\n            case 9:\n              try {\n                if (queuedFunctions_1_1 && !queuedFunctions_1_1.done && (_a = queuedFunctions_1.return))\n                  _a.call(queuedFunctions_1);\n              } finally {\n                if (e_1)\n                  throw e_1.error;\n              }\n              return [\n                7\n                /*endfinally*/\n              ];\n            case 10:\n              if (!this[queueName].length)\n                return [3, 12];\n              return [4, this.runQueuedFunctions(queueName)];\n            case 11:\n              _b.sent();\n              _b.label = 12;\n            case 12:\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    AmplitudeCore2.prototype.track = function(eventInput, eventProperties, eventOptions) {\n      var event = createTrackEvent(eventInput, eventProperties, eventOptions);\n      return returnWrapper(this.dispatch(event));\n    };\n    AmplitudeCore2.prototype.identify = function(identify, eventOptions) {\n      var event = createIdentifyEvent(identify, eventOptions);\n      return returnWrapper(this.dispatch(event));\n    };\n    AmplitudeCore2.prototype.groupIdentify = function(groupType, groupName, identify, eventOptions) {\n      var event = createGroupIdentifyEvent(groupType, groupName, identify, eventOptions);\n      return returnWrapper(this.dispatch(event));\n    };\n    AmplitudeCore2.prototype.setGroup = function(groupType, groupName, eventOptions) {\n      var event = createGroupEvent(groupType, groupName, eventOptions);\n      return returnWrapper(this.dispatch(event));\n    };\n    AmplitudeCore2.prototype.revenue = function(revenue, eventOptions) {\n      var event = createRevenueEvent(revenue, eventOptions);\n      return returnWrapper(this.dispatch(event));\n    };\n    AmplitudeCore2.prototype.add = function(plugin) {\n      if (!this.isReady) {\n        this.q.push(this._addPlugin.bind(this, plugin));\n        return returnWrapper();\n      }\n      return this._addPlugin(plugin);\n    };\n    AmplitudeCore2.prototype._addPlugin = function(plugin) {\n      return returnWrapper(this.timeline.register(plugin, this.config));\n    };\n    AmplitudeCore2.prototype.remove = function(pluginName) {\n      if (!this.isReady) {\n        this.q.push(this._removePlugin.bind(this, pluginName));\n        return returnWrapper();\n      }\n      return this._removePlugin(pluginName);\n    };\n    AmplitudeCore2.prototype._removePlugin = function(pluginName) {\n      return returnWrapper(this.timeline.deregister(pluginName));\n    };\n    AmplitudeCore2.prototype.dispatchWithCallback = function(event, callback) {\n      if (!this.isReady) {\n        return callback(buildResult(event, 0, CLIENT_NOT_INITIALIZED));\n      }\n      void this.process(event).then(callback);\n    };\n    AmplitudeCore2.prototype.dispatch = function(event) {\n      return __awaiter(this, void 0, void 0, function() {\n        var _this = this;\n        return __generator(this, function(_a) {\n          if (!this.isReady) {\n            return [2, new Promise(function(resolve) {\n              _this.dispatchQ.push(_this.dispatchWithCallback.bind(_this, event, resolve));\n            })];\n          }\n          return [2, this.process(event)];\n        });\n      });\n    };\n    AmplitudeCore2.prototype.process = function(event) {\n      return __awaiter(this, void 0, void 0, function() {\n        var result, e_2, message, result;\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              _a.trys.push([0, 2, , 3]);\n              if (this.config.optOut) {\n                return [2, buildResult(event, 0, OPT_OUT_MESSAGE)];\n              }\n              return [4, this.timeline.push(event)];\n            case 1:\n              result = _a.sent();\n              result.code === 200 ? this.config.loggerProvider.log(result.message) : result.code === 100 ? this.config.loggerProvider.warn(result.message) : this.config.loggerProvider.error(result.message);\n              return [2, result];\n            case 2:\n              e_2 = _a.sent();\n              message = String(e_2);\n              this.config.loggerProvider.error(message);\n              result = buildResult(event, 0, message);\n              return [2, result];\n            case 3:\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    AmplitudeCore2.prototype.setOptOut = function(optOut) {\n      if (!this.isReady) {\n        this.q.push(this._setOptOut.bind(this, Boolean(optOut)));\n        return;\n      }\n      this._setOptOut(optOut);\n    };\n    AmplitudeCore2.prototype._setOptOut = function(optOut) {\n      this.config.optOut = Boolean(optOut);\n    };\n    AmplitudeCore2.prototype.flush = function() {\n      return returnWrapper(this.timeline.flush());\n    };\n    return AmplitudeCore2;\n  }()\n);\nexport {\n  AmplitudeCore\n};\n","var __assign = function() {\n  __assign = Object.assign || function __assign2(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s)\n        if (Object.prototype.hasOwnProperty.call(s, p))\n          t[p] = s[p];\n    }\n    return t;\n  };\n  return __assign.apply(this, arguments);\n};\nfunction __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function(resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = Promise))(function(resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\nfunction __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() {\n    if (t[0] & 1)\n      throw t[1];\n    return t[1];\n  }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n  return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n    return this;\n  }), g;\n  function verb(n) {\n    return function(v) {\n      return step([n, v]);\n    };\n  }\n  function step(op) {\n    if (f)\n      throw new TypeError(\"Generator is already executing.\");\n    while (g && (g = 0, op[0] && (_ = 0)), _)\n      try {\n        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n          return t;\n        if (y = 0, t)\n          op = [op[0] & 2, t.value];\n        switch (op[0]) {\n          case 0:\n          case 1:\n            t = op;\n            break;\n          case 4:\n            _.label++;\n            return { value: op[1], done: false };\n          case 5:\n            _.label++;\n            y = op[1];\n            op = [0];\n            continue;\n          case 7:\n            op = _.ops.pop();\n            _.trys.pop();\n            continue;\n          default:\n            if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n              _ = 0;\n              continue;\n            }\n            if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n              _.label = op[1];\n              break;\n            }\n            if (op[0] === 6 && _.label < t[1]) {\n              _.label = t[1];\n              t = op;\n              break;\n            }\n            if (t && _.label < t[2]) {\n              _.label = t[2];\n              _.ops.push(op);\n              break;\n            }\n            if (t[2])\n              _.ops.pop();\n            _.trys.pop();\n            continue;\n        }\n        op = body.call(thisArg, _);\n      } catch (e) {\n        op = [6, e];\n        y = 0;\n      } finally {\n        f = t = 0;\n      }\n    if (op[0] & 5)\n      throw op[1];\n    return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\nfunction __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n  if (m)\n    return m.call(o);\n  if (o && typeof o.length === \"number\")\n    return {\n      next: function() {\n        if (o && i >= o.length)\n          o = void 0;\n        return { value: o && o[i++], done: !o };\n      }\n    };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nfunction __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m)\n    return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n    while ((n === void 0 || n-- > 0) && !(r = i.next()).done)\n      ar.push(r.value);\n  } catch (error) {\n    e = { error };\n  } finally {\n    try {\n      if (r && !r.done && (m = i[\"return\"]))\n        m.call(i);\n    } finally {\n      if (e)\n        throw e.error;\n    }\n  }\n  return ar;\n}\nfunction __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2)\n    for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n        if (!ar)\n          ar = Array.prototype.slice.call(from, 0, i);\n        ar[i] = from[i];\n      }\n    }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\ntypeof SuppressedError === \"function\" ? SuppressedError : function(error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nexport {\n  __assign,\n  __awaiter,\n  __generator,\n  __read,\n  __spreadArray,\n  __values\n};\n","var PLUGIN_NAME = \"@amplitude/plugin-autocapture-browser\";\nvar AMPLITUDE_ELEMENT_CLICKED_EVENT = \"[Amplitude] Element Clicked\";\nvar AMPLITUDE_ELEMENT_CHANGED_EVENT = \"[Amplitude] Element Changed\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_ID = \"[Amplitude] Element ID\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_CLASS = \"[Amplitude] Element Class\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_TAG = \"[Amplitude] Element Tag\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_TEXT = \"[Amplitude] Element Text\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_HIERARCHY = \"[Amplitude] Element Hierarchy\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_HREF = \"[Amplitude] Element Href\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_LEFT = \"[Amplitude] Element Position Left\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_TOP = \"[Amplitude] Element Position Top\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_ARIA_LABEL = \"[Amplitude] Element Aria Label\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_ATTRIBUTES = \"[Amplitude] Element Attributes\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_SELECTOR = \"[Amplitude] Element Selector\";\nvar AMPLITUDE_EVENT_PROP_ELEMENT_PARENT_LABEL = \"[Amplitude] Element Parent Label\";\nvar AMPLITUDE_EVENT_PROP_PAGE_URL = \"[Amplitude] Page URL\";\nvar AMPLITUDE_EVENT_PROP_PAGE_TITLE = \"[Amplitude] Page Title\";\nvar AMPLITUDE_EVENT_PROP_VIEWPORT_HEIGHT = \"[Amplitude] Viewport Height\";\nvar AMPLITUDE_EVENT_PROP_VIEWPORT_WIDTH = \"[Amplitude] Viewport Width\";\nvar AMPLITUDE_ORIGIN = \"https://app.amplitude.com\";\nvar AMPLITUDE_ORIGIN_EU = \"https://app.eu.amplitude.com\";\nvar AMPLITUDE_ORIGIN_STAGING = \"https://apps.stag2.amplitude.com\";\nvar AMPLITUDE_ORIGINS_MAP = {\n  US: AMPLITUDE_ORIGIN,\n  EU: AMPLITUDE_ORIGIN_EU,\n  STAGING: AMPLITUDE_ORIGIN_STAGING\n};\nvar AMPLITUDE_VISUAL_TAGGING_SELECTOR_SCRIPT_URL = \"https://cdn.amplitude.com/libs/visual-tagging-selector-1.0.0-alpha.js.gz\";\nvar AMPLITUDE_VISUAL_TAGGING_HIGHLIGHT_CLASS = \"amp-visual-tagging-selector-highlight\";\nexport {\n  AMPLITUDE_ELEMENT_CHANGED_EVENT,\n  AMPLITUDE_ELEMENT_CLICKED_EVENT,\n  AMPLITUDE_EVENT_PROP_ELEMENT_ARIA_LABEL,\n  AMPLITUDE_EVENT_PROP_ELEMENT_ATTRIBUTES,\n  AMPLITUDE_EVENT_PROP_ELEMENT_CLASS,\n  AMPLITUDE_EVENT_PROP_ELEMENT_HIERARCHY,\n  AMPLITUDE_EVENT_PROP_ELEMENT_HREF,\n  AMPLITUDE_EVENT_PROP_ELEMENT_ID,\n  AMPLITUDE_EVENT_PROP_ELEMENT_PARENT_LABEL,\n  AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_LEFT,\n  AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_TOP,\n  AMPLITUDE_EVENT_PROP_ELEMENT_SELECTOR,\n  AMPLITUDE_EVENT_PROP_ELEMENT_TAG,\n  AMPLITUDE_EVENT_PROP_ELEMENT_TEXT,\n  AMPLITUDE_EVENT_PROP_PAGE_TITLE,\n  AMPLITUDE_EVENT_PROP_PAGE_URL,\n  AMPLITUDE_EVENT_PROP_VIEWPORT_HEIGHT,\n  AMPLITUDE_EVENT_PROP_VIEWPORT_WIDTH,\n  AMPLITUDE_ORIGIN,\n  AMPLITUDE_ORIGINS_MAP,\n  AMPLITUDE_ORIGIN_EU,\n  AMPLITUDE_ORIGIN_STAGING,\n  AMPLITUDE_VISUAL_TAGGING_HIGHLIGHT_CLASS,\n  AMPLITUDE_VISUAL_TAGGING_SELECTOR_SCRIPT_URL,\n  PLUGIN_NAME\n};\n","import { __assign, __values, __generator, __spreadArray, __read } from \"../../../node_modules/tslib/tslib.es6.js\";\nvar config;\nvar rootDocument;\nfunction finder(input, options) {\n  if (input.nodeType !== Node.ELEMENT_NODE) {\n    throw new Error(\"Can't generate CSS selector for non-element node type.\");\n  }\n  if (\"html\" === input.tagName.toLowerCase()) {\n    return \"html\";\n  }\n  var defaults = {\n    root: document.body,\n    idName: function(_name) {\n      return true;\n    },\n    className: function(_name) {\n      return true;\n    },\n    tagName: function(_name) {\n      return true;\n    },\n    attr: function(_name, _value) {\n      return false;\n    },\n    seedMinLength: 1,\n    optimizedMinLength: 2,\n    threshold: 1e3,\n    maxNumberOfTries: 1e4\n  };\n  config = __assign(__assign({}, defaults), options);\n  rootDocument = findRootDocument(config.root, defaults);\n  var path = bottomUpSearch(input, \"all\", function() {\n    return bottomUpSearch(input, \"two\", function() {\n      return bottomUpSearch(input, \"one\", function() {\n        return bottomUpSearch(input, \"none\");\n      });\n    });\n  });\n  if (path) {\n    var optimized = sort(optimize(path, input));\n    if (optimized.length > 0) {\n      path = optimized[0];\n    }\n    return selector(path);\n  } else {\n    throw new Error(\"Selector was not found.\");\n  }\n}\nfunction findRootDocument(rootNode, defaults) {\n  if (rootNode.nodeType === Node.DOCUMENT_NODE) {\n    return rootNode;\n  }\n  if (rootNode === defaults.root) {\n    return rootNode.ownerDocument;\n  }\n  return rootNode;\n}\nfunction bottomUpSearch(input, limit, fallback) {\n  var path = null;\n  var stack = [];\n  var current = input;\n  var i = 0;\n  var _loop_1 = function() {\n    var e_1, _a;\n    var level = maybe(id(current)) || maybe.apply(void 0, __spreadArray([], __read(attr(current)), false)) || maybe.apply(void 0, __spreadArray([], __read(classNames(current)), false)) || maybe(tagName(current)) || [any()];\n    var nth = index(current);\n    if (limit == \"all\") {\n      if (nth) {\n        level = level.concat(level.filter(dispensableNth).map(function(node2) {\n          return nthChild(node2, nth);\n        }));\n      }\n    } else if (limit == \"two\") {\n      level = level.slice(0, 1);\n      if (nth) {\n        level = level.concat(level.filter(dispensableNth).map(function(node2) {\n          return nthChild(node2, nth);\n        }));\n      }\n    } else if (limit == \"one\") {\n      var _b = __read(level = level.slice(0, 1), 1), node = _b[0];\n      if (nth && dispensableNth(node)) {\n        level = [nthChild(node, nth)];\n      }\n    } else if (limit == \"none\") {\n      level = [any()];\n      if (nth) {\n        level = [nthChild(level[0], nth)];\n      }\n    }\n    try {\n      for (var level_1 = (e_1 = void 0, __values(level)), level_1_1 = level_1.next(); !level_1_1.done; level_1_1 = level_1.next()) {\n        var node = level_1_1.value;\n        node.level = i;\n      }\n    } catch (e_1_1) {\n      e_1 = { error: e_1_1 };\n    } finally {\n      try {\n        if (level_1_1 && !level_1_1.done && (_a = level_1.return))\n          _a.call(level_1);\n      } finally {\n        if (e_1)\n          throw e_1.error;\n      }\n    }\n    stack.push(level);\n    if (stack.length >= config.seedMinLength) {\n      path = findUniquePath(stack, fallback);\n      if (path) {\n        return \"break\";\n      }\n    }\n    current = current.parentElement;\n    i++;\n  };\n  while (current) {\n    var state_1 = _loop_1();\n    if (state_1 === \"break\")\n      break;\n  }\n  if (!path) {\n    path = findUniquePath(stack, fallback);\n  }\n  if (!path && fallback) {\n    return fallback();\n  }\n  return path;\n}\nfunction findUniquePath(stack, fallback) {\n  var e_2, _a;\n  var paths = sort(combinations(stack));\n  if (paths.length > config.threshold) {\n    return fallback ? fallback() : null;\n  }\n  try {\n    for (var paths_1 = __values(paths), paths_1_1 = paths_1.next(); !paths_1_1.done; paths_1_1 = paths_1.next()) {\n      var candidate = paths_1_1.value;\n      if (unique(candidate)) {\n        return candidate;\n      }\n    }\n  } catch (e_2_1) {\n    e_2 = { error: e_2_1 };\n  } finally {\n    try {\n      if (paths_1_1 && !paths_1_1.done && (_a = paths_1.return))\n        _a.call(paths_1);\n    } finally {\n      if (e_2)\n        throw e_2.error;\n    }\n  }\n  return null;\n}\nfunction selector(path) {\n  var node = path[0];\n  var query = node.name;\n  for (var i = 1; i < path.length; i++) {\n    var level = path[i].level || 0;\n    if (node.level === level - 1) {\n      query = \"\".concat(path[i].name, \" > \").concat(query);\n    } else {\n      query = \"\".concat(path[i].name, \" \").concat(query);\n    }\n    node = path[i];\n  }\n  return query;\n}\nfunction penalty(path) {\n  return path.map(function(node) {\n    return node.penalty;\n  }).reduce(function(acc, i) {\n    return acc + i;\n  }, 0);\n}\nfunction unique(path) {\n  var css = selector(path);\n  switch (rootDocument.querySelectorAll(css).length) {\n    case 0:\n      throw new Error(\"Can't select any node with this selector: \".concat(css));\n    case 1:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction id(input) {\n  var elementId = input.getAttribute(\"id\");\n  if (elementId && config.idName(elementId)) {\n    return {\n      name: \"#\" + CSS.escape(elementId),\n      penalty: 0\n    };\n  }\n  return null;\n}\nfunction attr(input) {\n  var attrs = Array.from(input.attributes).filter(function(attr2) {\n    return config.attr(attr2.name, attr2.value);\n  });\n  return attrs.map(function(attr2) {\n    return {\n      name: \"[\".concat(CSS.escape(attr2.name), '=\"').concat(CSS.escape(attr2.value), '\"]'),\n      penalty: 0.5\n    };\n  });\n}\nfunction classNames(input) {\n  var names = Array.from(input.classList).filter(config.className);\n  return names.map(function(name) {\n    return {\n      name: \".\" + CSS.escape(name),\n      penalty: 1\n    };\n  });\n}\nfunction tagName(input) {\n  var name = input.tagName.toLowerCase();\n  if (config.tagName(name)) {\n    return {\n      name,\n      penalty: 2\n    };\n  }\n  return null;\n}\nfunction any() {\n  return {\n    name: \"*\",\n    penalty: 3\n  };\n}\nfunction index(input) {\n  var parent = input.parentNode;\n  if (!parent) {\n    return null;\n  }\n  var child = parent.firstChild;\n  if (!child) {\n    return null;\n  }\n  var i = 0;\n  while (child) {\n    if (child.nodeType === Node.ELEMENT_NODE) {\n      i++;\n    }\n    if (child === input) {\n      break;\n    }\n    child = child.nextSibling;\n  }\n  return i;\n}\nfunction nthChild(node, i) {\n  return {\n    name: node.name + \":nth-child(\".concat(i, \")\"),\n    penalty: node.penalty + 1\n  };\n}\nfunction dispensableNth(node) {\n  return node.name !== \"html\" && !node.name.startsWith(\"#\");\n}\nfunction maybe() {\n  var level = [];\n  for (var _i = 0; _i < arguments.length; _i++) {\n    level[_i] = arguments[_i];\n  }\n  var list = level.filter(notEmpty);\n  if (list.length > 0) {\n    return list;\n  }\n  return null;\n}\nfunction notEmpty(value) {\n  return value !== null && value !== void 0;\n}\nfunction combinations(stack, path) {\n  var _a, _b, node, e_3_1;\n  var e_3, _c;\n  if (path === void 0) {\n    path = [];\n  }\n  return __generator(this, function(_d) {\n    switch (_d.label) {\n      case 0:\n        if (!(stack.length > 0))\n          return [3, 9];\n        _d.label = 1;\n      case 1:\n        _d.trys.push([1, 6, 7, 8]);\n        _a = __values(stack[0]), _b = _a.next();\n        _d.label = 2;\n      case 2:\n        if (!!_b.done)\n          return [3, 5];\n        node = _b.value;\n        return [5, __values(combinations(stack.slice(1, stack.length), path.concat(node)))];\n      case 3:\n        _d.sent();\n        _d.label = 4;\n      case 4:\n        _b = _a.next();\n        return [3, 2];\n      case 5:\n        return [3, 8];\n      case 6:\n        e_3_1 = _d.sent();\n        e_3 = { error: e_3_1 };\n        return [3, 8];\n      case 7:\n        try {\n          if (_b && !_b.done && (_c = _a.return))\n            _c.call(_a);\n        } finally {\n          if (e_3)\n            throw e_3.error;\n        }\n        return [\n          7\n          /*endfinally*/\n        ];\n      case 8:\n        return [3, 11];\n      case 9:\n        return [4, path];\n      case 10:\n        _d.sent();\n        _d.label = 11;\n      case 11:\n        return [\n          2\n          /*return*/\n        ];\n    }\n  });\n}\nfunction sort(paths) {\n  return __spreadArray([], __read(paths), false).sort(function(a, b) {\n    return penalty(a) - penalty(b);\n  });\n}\nfunction optimize(path, input, scope) {\n  var i, newPath, newPathKey;\n  if (scope === void 0) {\n    scope = {\n      counter: 0,\n      visited: /* @__PURE__ */ new Map()\n    };\n  }\n  return __generator(this, function(_a) {\n    switch (_a.label) {\n      case 0:\n        if (!(path.length > 2 && path.length > config.optimizedMinLength))\n          return [3, 5];\n        i = 1;\n        _a.label = 1;\n      case 1:\n        if (!(i < path.length - 1))\n          return [3, 5];\n        if (scope.counter > config.maxNumberOfTries) {\n          return [\n            2\n            /*return*/\n          ];\n        }\n        scope.counter += 1;\n        newPath = __spreadArray([], __read(path), false);\n        newPath.splice(i, 1);\n        newPathKey = selector(newPath);\n        if (scope.visited.has(newPathKey)) {\n          return [\n            2\n            /*return*/\n          ];\n        }\n        if (!(unique(newPath) && same(newPath, input)))\n          return [3, 4];\n        return [4, newPath];\n      case 2:\n        _a.sent();\n        scope.visited.set(newPathKey, true);\n        return [5, __values(optimize(newPath, input, scope))];\n      case 3:\n        _a.sent();\n        _a.label = 4;\n      case 4:\n        i++;\n        return [3, 1];\n      case 5:\n        return [\n          2\n          /*return*/\n        ];\n    }\n  });\n}\nfunction same(path, input) {\n  return rootDocument.querySelector(selector(path)) === input;\n}\nexport {\n  finder\n};\n","import { finder } from \"./libs/finder.js\";\nimport { AMPLITUDE_EVENT_PROP_ELEMENT_TAG, AMPLITUDE_EVENT_PROP_ELEMENT_TEXT, AMPLITUDE_EVENT_PROP_ELEMENT_SELECTOR, AMPLITUDE_EVENT_PROP_PAGE_URL, AMPLITUDE_VISUAL_TAGGING_HIGHLIGHT_CLASS } from \"./constants.js\";\nvar SENSITIVE_TAGS = [\"input\", \"select\", \"textarea\"];\nvar createShouldTrackEvent = function(autocaptureOptions, allowlist) {\n  return function(actionType, element) {\n    var _a, _b, _c;\n    var pageUrlAllowlist = autocaptureOptions.pageUrlAllowlist, shouldTrackEventResolver = autocaptureOptions.shouldTrackEventResolver;\n    var tag = (_b = (_a = element === null || element === void 0 ? void 0 : element.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase) === null || _b === void 0 ? void 0 : _b.call(_a);\n    if (!tag) {\n      return false;\n    }\n    if (shouldTrackEventResolver) {\n      return shouldTrackEventResolver(actionType, element);\n    }\n    if (!isPageUrlAllowed(window.location.href, pageUrlAllowlist)) {\n      return false;\n    }\n    var elementType = (element === null || element === void 0 ? void 0 : element.type) || \"\";\n    if (typeof elementType === \"string\") {\n      switch (elementType.toLowerCase()) {\n        case \"hidden\":\n          return false;\n        case \"password\":\n          return false;\n      }\n    }\n    if (allowlist) {\n      var hasMatchAnyAllowedSelector = allowlist.some(function(selector) {\n        var _a2;\n        return !!((_a2 = element === null || element === void 0 ? void 0 : element.matches) === null || _a2 === void 0 ? void 0 : _a2.call(element, selector));\n      });\n      if (!hasMatchAnyAllowedSelector) {\n        return false;\n      }\n    }\n    switch (tag) {\n      case \"input\":\n      case \"select\":\n      case \"textarea\":\n        return actionType === \"change\" || actionType === \"click\";\n      default: {\n        var computedStyle = (_c = window === null || window === void 0 ? void 0 : window.getComputedStyle) === null || _c === void 0 ? void 0 : _c.call(window, element);\n        if (computedStyle && computedStyle.getPropertyValue(\"cursor\") === \"pointer\" && actionType === \"click\") {\n          return true;\n        }\n        return actionType === \"click\";\n      }\n    }\n  };\n};\nvar isNonSensitiveString = function(text) {\n  if (text == null) {\n    return false;\n  }\n  if (typeof text === \"string\") {\n    var ccRegex = /^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/;\n    if (ccRegex.test((text || \"\").replace(/[- ]/g, \"\"))) {\n      return false;\n    }\n    var ssnRegex = /(^\\d{3}-?\\d{2}-?\\d{4}$)/;\n    if (ssnRegex.test(text)) {\n      return false;\n    }\n  }\n  return true;\n};\nvar isTextNode = function(node) {\n  return !!node && node.nodeType === 3;\n};\nvar isNonSensitiveElement = function(element) {\n  var _a, _b, _c;\n  var tag = (_b = (_a = element === null || element === void 0 ? void 0 : element.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase) === null || _b === void 0 ? void 0 : _b.call(_a);\n  var isContentEditable = element instanceof HTMLElement ? ((_c = element.getAttribute(\"contenteditable\")) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === \"true\" : false;\n  return !SENSITIVE_TAGS.includes(tag) && !isContentEditable;\n};\nvar getText = function(element) {\n  var text = \"\";\n  if (isNonSensitiveElement(element) && element.childNodes && element.childNodes.length) {\n    element.childNodes.forEach(function(child) {\n      var childText = \"\";\n      if (isTextNode(child)) {\n        if (child.textContent) {\n          childText = child.textContent;\n        }\n      } else {\n        childText = getText(child);\n      }\n      text += childText.split(/(\\s+)/).filter(isNonSensitiveString).join(\"\").replace(/[\\r\\n]/g, \" \").replace(/[ ]+/g, \" \").substring(0, 255);\n    });\n  }\n  return text;\n};\nvar getSelector = function(element, logger) {\n  var _a, _b;\n  var selector = \"\";\n  try {\n    selector = finder(element, {\n      className: function(name) {\n        return name !== AMPLITUDE_VISUAL_TAGGING_HIGHLIGHT_CLASS;\n      }\n    });\n    return selector;\n  } catch (error) {\n    if (logger) {\n      var typedError = error;\n      logger.warn(\"Failed to get selector with finder, use fallback strategy instead: \".concat(typedError.toString()));\n    }\n  }\n  var tag = (_b = (_a = element === null || element === void 0 ? void 0 : element.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase) === null || _b === void 0 ? void 0 : _b.call(_a);\n  if (tag) {\n    selector = tag;\n  }\n  if (element.id) {\n    selector = \"#\".concat(element.id);\n  } else if (element.className) {\n    var classes = element.className.split(\" \").filter(function(name) {\n      return name !== AMPLITUDE_VISUAL_TAGGING_HIGHLIGHT_CLASS;\n    }).join(\".\");\n    if (classes) {\n      selector = \"\".concat(selector, \".\").concat(classes);\n    }\n  }\n  return selector;\n};\nvar isPageUrlAllowed = function(url, pageUrlAllowlist) {\n  if (!pageUrlAllowlist || !pageUrlAllowlist.length) {\n    return true;\n  }\n  return pageUrlAllowlist.some(function(allowedUrl) {\n    if (typeof allowedUrl === \"string\") {\n      return url === allowedUrl;\n    }\n    return url.match(allowedUrl);\n  });\n};\nvar getAttributesWithPrefix = function(element, prefix) {\n  return element.getAttributeNames().reduce(function(attributes, attributeName) {\n    if (attributeName.startsWith(prefix)) {\n      var attributeKey = attributeName.replace(prefix, \"\");\n      var attributeValue = element.getAttribute(attributeName);\n      if (attributeKey) {\n        attributes[attributeKey] = attributeValue || \"\";\n      }\n    }\n    return attributes;\n  }, {});\n};\nvar isEmpty = function(value) {\n  return value === void 0 || value === null || typeof value === \"object\" && Object.keys(value).length === 0 || typeof value === \"string\" && value.trim().length === 0;\n};\nvar removeEmptyProperties = function(properties) {\n  return Object.keys(properties).reduce(function(filteredProperties, key) {\n    var value = properties[key];\n    if (!isEmpty(value)) {\n      filteredProperties[key] = value;\n    }\n    return filteredProperties;\n  }, {});\n};\nvar getNearestLabel = function(element) {\n  var parent = element.parentElement;\n  if (!parent) {\n    return \"\";\n  }\n  var labelElement = parent.querySelector(\":scope>span,h1,h2,h3,h4,h5,h6\");\n  if (labelElement) {\n    var labelText = labelElement.textContent || \"\";\n    return isNonSensitiveString(labelText) ? labelText : \"\";\n  }\n  return getNearestLabel(parent);\n};\nvar getClosestElement = function(element, selectors) {\n  if (!element) {\n    return null;\n  }\n  if (selectors.some(function(selector) {\n    var _a;\n    return (_a = element === null || element === void 0 ? void 0 : element.matches) === null || _a === void 0 ? void 0 : _a.call(element, selector);\n  })) {\n    return element;\n  }\n  return getClosestElement(element === null || element === void 0 ? void 0 : element.parentElement, selectors);\n};\nvar getEventTagProps = function(element, logger) {\n  var _a;\n  var _b, _c;\n  if (!element) {\n    return {};\n  }\n  var tag = (_c = (_b = element === null || element === void 0 ? void 0 : element.tagName) === null || _b === void 0 ? void 0 : _b.toLowerCase) === null || _c === void 0 ? void 0 : _c.call(_b);\n  var selector = getSelector(element, logger);\n  var properties = (_a = {}, _a[AMPLITUDE_EVENT_PROP_ELEMENT_TAG] = tag, _a[AMPLITUDE_EVENT_PROP_ELEMENT_TEXT] = getText(element), _a[AMPLITUDE_EVENT_PROP_ELEMENT_SELECTOR] = selector, _a[AMPLITUDE_EVENT_PROP_PAGE_URL] = window.location.href.split(\"?\")[0], _a);\n  return removeEmptyProperties(properties);\n};\nvar asyncLoadScript = function(url) {\n  return new Promise(function(resolve, reject) {\n    var _a;\n    try {\n      var scriptElement = document.createElement(\"script\");\n      scriptElement.type = \"text/javascript\";\n      scriptElement.async = true;\n      scriptElement.src = url;\n      scriptElement.addEventListener(\"load\", function() {\n        resolve({ status: true });\n      }, { once: true });\n      scriptElement.addEventListener(\"error\", function() {\n        reject({\n          status: false,\n          message: \"Failed to load the script \".concat(url)\n        });\n      });\n      (_a = document.head) === null || _a === void 0 ? void 0 : _a.appendChild(scriptElement);\n    } catch (error) {\n      reject(error);\n    }\n  });\n};\nfunction generateUniqueId() {\n  return \"\".concat(Date.now(), \"-\").concat(Math.random().toString(36).substr(2, 9));\n}\nvar filterOutNonTrackableEvents = function(event) {\n  if (event.event.target === null || !event.closestTrackedAncestor) {\n    return false;\n  }\n  return true;\n};\nexport {\n  asyncLoadScript,\n  createShouldTrackEvent,\n  filterOutNonTrackableEvents,\n  generateUniqueId,\n  getAttributesWithPrefix,\n  getClosestElement,\n  getEventTagProps,\n  getNearestLabel,\n  getSelector,\n  getText,\n  isEmpty,\n  isNonSensitiveElement,\n  isNonSensitiveString,\n  isPageUrlAllowed,\n  isTextNode,\n  removeEmptyProperties\n};\n","import { AMPLITUDE_ORIGIN, AMPLITUDE_VISUAL_TAGGING_HIGHLIGHT_CLASS, AMPLITUDE_VISUAL_TAGGING_SELECTOR_SCRIPT_URL } from \"../constants.js\";\nimport { generateUniqueId, asyncLoadScript, getEventTagProps } from \"../helpers.js\";\nvar WindowMessenger = (\n  /** @class */\n  function() {\n    function WindowMessenger2(_a) {\n      var _b = _a === void 0 ? {} : _a, _c = _b.origin, origin = _c === void 0 ? AMPLITUDE_ORIGIN : _c;\n      var _this = this;\n      this.endpoint = AMPLITUDE_ORIGIN;\n      this.requestCallbacks = {};\n      this.onSelect = function(data) {\n        _this.notify({ action: \"element-selected\", data });\n      };\n      this.onTrack = function(type, properties) {\n        if (type === \"selector-mode-changed\") {\n          _this.notify({ action: \"track-selector-mode-changed\", data: properties });\n        } else if (type === \"selector-moved\") {\n          _this.notify({ action: \"track-selector-moved\", data: properties });\n        }\n      };\n      this.endpoint = origin;\n    }\n    WindowMessenger2.prototype.notify = function(message) {\n      var _a, _b, _c, _d;\n      (_b = (_a = this.logger) === null || _a === void 0 ? void 0 : _a.debug) === null || _b === void 0 ? void 0 : _b.call(_a, \"Message sent: \", JSON.stringify(message));\n      (_d = (_c = window.opener) === null || _c === void 0 ? void 0 : _c.postMessage) === null || _d === void 0 ? void 0 : _d.call(_c, message, this.endpoint);\n    };\n    WindowMessenger2.prototype.sendRequest = function(action, args, options) {\n      var _this = this;\n      if (options === void 0) {\n        options = { timeout: 15e3 };\n      }\n      var id = generateUniqueId();\n      var request = {\n        id,\n        action,\n        args\n      };\n      var promise = new Promise(function(resolve, reject) {\n        _this.requestCallbacks[id] = { resolve, reject };\n        _this.notify(request);\n        if ((options === null || options === void 0 ? void 0 : options.timeout) > 0) {\n          setTimeout(function() {\n            reject(new Error(\"\".concat(action, \" timed out (id: \").concat(id, \")\")));\n            delete _this.requestCallbacks[id];\n          }, options.timeout);\n        }\n      });\n      return promise;\n    };\n    WindowMessenger2.prototype.handleResponse = function(response) {\n      var _a;\n      if (!this.requestCallbacks[response.id]) {\n        (_a = this.logger) === null || _a === void 0 ? void 0 : _a.warn(\"No callback found for request id: \".concat(response.id));\n        return;\n      }\n      this.requestCallbacks[response.id].resolve(response.responseData);\n      delete this.requestCallbacks[response.id];\n    };\n    WindowMessenger2.prototype.setup = function(_a) {\n      var _this = this;\n      var _b = _a === void 0 ? {} : _a, logger = _b.logger, endpoint = _b.endpoint, isElementSelectable = _b.isElementSelectable, cssSelectorAllowlist = _b.cssSelectorAllowlist, actionClickAllowlist = _b.actionClickAllowlist;\n      this.logger = logger;\n      if (endpoint && this.endpoint === AMPLITUDE_ORIGIN) {\n        this.endpoint = endpoint;\n      }\n      var amplitudeVisualTaggingSelectorInstance = null;\n      window.addEventListener(\"message\", function(event) {\n        var _a2, _b2, _c, _d, _e;\n        (_b2 = (_a2 = _this.logger) === null || _a2 === void 0 ? void 0 : _a2.debug) === null || _b2 === void 0 ? void 0 : _b2.call(_a2, \"Message received: \", JSON.stringify(event));\n        if (_this.endpoint !== event.origin) {\n          return;\n        }\n        var eventData = event === null || event === void 0 ? void 0 : event.data;\n        var action = eventData === null || eventData === void 0 ? void 0 : eventData.action;\n        if (!action) {\n          return;\n        }\n        if (\"id\" in eventData) {\n          (_d = (_c = _this.logger) === null || _c === void 0 ? void 0 : _c.debug) === null || _d === void 0 ? void 0 : _d.call(_c, \"Received Response to previous request: \", JSON.stringify(event));\n          _this.handleResponse(eventData);\n        } else {\n          if (action === \"ping\") {\n            _this.notify({ action: \"pong\" });\n          } else if (action === \"initialize-visual-tagging-selector\") {\n            var actionData_1 = eventData === null || eventData === void 0 ? void 0 : eventData.data;\n            asyncLoadScript(AMPLITUDE_VISUAL_TAGGING_SELECTOR_SCRIPT_URL).then(function() {\n              var _a3;\n              amplitudeVisualTaggingSelectorInstance = (_a3 = window === null || window === void 0 ? void 0 : window.amplitudeVisualTaggingSelector) === null || _a3 === void 0 ? void 0 : _a3.call(window, {\n                getEventTagProps,\n                isElementSelectable: function(element) {\n                  if (isElementSelectable) {\n                    return isElementSelectable((actionData_1 === null || actionData_1 === void 0 ? void 0 : actionData_1.actionType) || \"click\", element);\n                  }\n                  return true;\n                },\n                onTrack: _this.onTrack,\n                onSelect: _this.onSelect,\n                visualHighlightClass: AMPLITUDE_VISUAL_TAGGING_HIGHLIGHT_CLASS,\n                messenger: _this,\n                cssSelectorAllowlist,\n                actionClickAllowlist\n              });\n              _this.notify({ action: \"selector-loaded\" });\n            }).catch(function() {\n              var _a3;\n              (_a3 = _this.logger) === null || _a3 === void 0 ? void 0 : _a3.warn(\"Failed to initialize visual tagging selector\");\n            });\n          } else if (action === \"close-visual-tagging-selector\") {\n            (_e = amplitudeVisualTaggingSelectorInstance === null || amplitudeVisualTaggingSelectorInstance === void 0 ? void 0 : amplitudeVisualTaggingSelectorInstance.close) === null || _e === void 0 ? void 0 : _e.call(amplitudeVisualTaggingSelectorInstance);\n          }\n        }\n      });\n      this.notify({ action: \"page-loaded\" });\n    };\n    return WindowMessenger2;\n  }()\n);\nexport {\n  WindowMessenger\n};\n","import { __read, __values } from \"../../node_modules/tslib/tslib.es6.js\";\nimport { isNonSensitiveElement } from \"./helpers.js\";\nvar BLOCKED_ATTRIBUTES = [\n  // Already captured elsewhere in the hierarchy object\n  \"id\",\n  \"class\",\n  // non-useful and potentially large attribute\n  \"style\",\n  // sensitive as prefilled form data may populate this attribute\n  \"value\",\n  // DOM events\n  \"onclick\",\n  \"onchange\",\n  \"oninput\",\n  \"onblur\",\n  \"onsubmit\",\n  \"onfocus\",\n  \"onkeydown\",\n  \"onkeyup\",\n  \"onkeypress\",\n  // React specific\n  \"data-reactid\",\n  \"data-react-checksum\",\n  \"data-reactroot\"\n];\nvar SENSITIVE_ELEMENT_ATTRIBUTE_ALLOWLIST = [\"type\"];\nvar SVG_TAGS = [\"svg\", \"path\", \"g\"];\nvar HIGHLY_SENSITIVE_INPUT_TYPES = [\"password\", \"hidden\"];\nvar MAX_ATTRIBUTE_LENGTH = 128;\nvar MAX_HIERARCHY_LENGTH = 1024;\nfunction getElementProperties(element) {\n  var e_1, _a;\n  var _b, _c, _d, _e;\n  if (element === null) {\n    return null;\n  }\n  var tagName = element.tagName.toLowerCase();\n  var properties = {\n    tag: tagName\n  };\n  var siblings = Array.from((_c = (_b = element.parentElement) === null || _b === void 0 ? void 0 : _b.children) !== null && _c !== void 0 ? _c : []);\n  if (siblings.length) {\n    properties.index = siblings.indexOf(element);\n    properties.indexOfType = siblings.filter(function(el) {\n      return el.tagName === element.tagName;\n    }).indexOf(element);\n  }\n  var prevSiblingTag = (_e = (_d = element.previousElementSibling) === null || _d === void 0 ? void 0 : _d.tagName) === null || _e === void 0 ? void 0 : _e.toLowerCase();\n  if (prevSiblingTag) {\n    properties.prevSib = prevSiblingTag;\n  }\n  var id = element.id;\n  if (id) {\n    properties.id = id;\n  }\n  var classes = Array.from(element.classList);\n  if (classes.length) {\n    properties.classes = classes;\n  }\n  var attributes = {};\n  var attributesArray = Array.from(element.attributes);\n  var filteredAttributes = attributesArray.filter(function(attr2) {\n    return !BLOCKED_ATTRIBUTES.includes(attr2.name);\n  });\n  var isSensitiveElement = !isNonSensitiveElement(element);\n  if (!HIGHLY_SENSITIVE_INPUT_TYPES.includes(element.type) && !SVG_TAGS.includes(tagName)) {\n    try {\n      for (var filteredAttributes_1 = __values(filteredAttributes), filteredAttributes_1_1 = filteredAttributes_1.next(); !filteredAttributes_1_1.done; filteredAttributes_1_1 = filteredAttributes_1.next()) {\n        var attr = filteredAttributes_1_1.value;\n        if (isSensitiveElement && !SENSITIVE_ELEMENT_ATTRIBUTE_ALLOWLIST.includes(attr.name)) {\n          continue;\n        }\n        attributes[attr.name] = String(attr.value).substring(0, MAX_ATTRIBUTE_LENGTH);\n      }\n    } catch (e_1_1) {\n      e_1 = { error: e_1_1 };\n    } finally {\n      try {\n        if (filteredAttributes_1_1 && !filteredAttributes_1_1.done && (_a = filteredAttributes_1.return))\n          _a.call(filteredAttributes_1);\n      } finally {\n        if (e_1)\n          throw e_1.error;\n      }\n    }\n  }\n  if (Object.keys(attributes).length) {\n    properties.attrs = attributes;\n  }\n  return properties;\n}\nfunction getAncestors(targetEl) {\n  var ancestors = [];\n  if (!targetEl) {\n    return ancestors;\n  }\n  ancestors.push(targetEl);\n  var current = targetEl.parentElement;\n  while (current && current.tagName !== \"HTML\") {\n    ancestors.push(current);\n    current = current.parentElement;\n  }\n  return ancestors;\n}\nvar getHierarchy = function(element) {\n  var hierarchy = [];\n  if (!element) {\n    return [];\n  }\n  var ancestors = getAncestors(element);\n  hierarchy = ensureListUnderLimit(ancestors.map(function(el) {\n    return getElementProperties(el);\n  }), MAX_HIERARCHY_LENGTH);\n  return hierarchy;\n};\nfunction ensureListUnderLimit(list, bytesLimit) {\n  var numChars = 0;\n  for (var i = 0; i < list.length; i++) {\n    var node = list[i];\n    if (node === null) {\n      numChars += 4;\n    } else {\n      var value = ensureUnicodePythonCompatible(node);\n      numChars += value ? Array.from(value).length : 4;\n    }\n    if (numChars > bytesLimit) {\n      return list.slice(0, i);\n    }\n  }\n  return list;\n}\nfunction ensureUnicodePythonCompatible(value, nested) {\n  if (nested === void 0) {\n    nested = false;\n  }\n  try {\n    if (value == null) {\n      if (nested) {\n        return \"None\";\n      }\n      return null;\n    } else if (typeof value === \"string\") {\n      if (nested) {\n        value = value.replace(/\\\\/g, \"\\\\\\\\\").replace(/\\n/g, \"\\\\n\").replace(/\\t/g, \"\\\\t\").replace(/\\r/g, \"\\\\r\");\n        if (value.includes('\"')) {\n          return \"'\".concat(value, \"'\");\n        }\n        if (value.includes(\"'\")) {\n          return '\"'.concat(value.replace(/'/g, \"\\\\'\"), '\"');\n        }\n        return \"'\".concat(value, \"'\");\n      }\n      return value;\n    } else if (typeof value === \"boolean\") {\n      return value ? \"True\" : \"False\";\n    } else if (Array.isArray(value)) {\n      var elements = value.map(function(o) {\n        return ensureUnicodePythonCompatible(o, true);\n      });\n      return \"[\".concat(elements.join(\", \"), \"]\");\n    } else if (typeof value === \"object\") {\n      var entries = Object.entries(value).filter(function(_a) {\n        var _b = __read(_a, 1), key = _b[0];\n        return key != null;\n      }).map(function(_a) {\n        var _b = __read(_a, 2), key = _b[0], val = _b[1];\n        return \"\".concat(String(ensureUnicodePythonCompatible(key, true)), \": \").concat(String(ensureUnicodePythonCompatible(val, true)));\n      });\n      var result = \"{\".concat(entries.join(\", \"), \"}\");\n      if (result.includes(\"\\\\'\")) {\n        result = result.replace(/'/g, \"'\").replace(/'/g, \"\\\\'\");\n      }\n      return result;\n    }\n    return value.toString();\n  } catch (e) {\n    return null;\n  }\n}\nexport {\n  ensureListUnderLimit,\n  ensureUnicodePythonCompatible,\n  getAncestors,\n  getElementProperties,\n  getHierarchy\n};\n","function isFunction(value) {\n  return typeof value === \"function\";\n}\nexport {\n  isFunction\n};\n","import { isFunction } from \"./isFunction.js\";\nfunction hasLift(source) {\n  return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nfunction operate(init) {\n  return function(source) {\n    if (hasLift(source)) {\n      return source.lift(function(liftedSource) {\n        try {\n          return init(liftedSource, this);\n        } catch (err) {\n          this.error(err);\n        }\n      });\n    }\n    throw new TypeError(\"Unable to lift unknown Observable type\");\n  };\n}\nexport {\n  hasLift,\n  operate\n};\n","function createErrorClass(createImpl) {\n  var _super = function(instance) {\n    Error.call(instance);\n    instance.stack = new Error().stack;\n  };\n  var ctorFunc = createImpl(_super);\n  ctorFunc.prototype = Object.create(Error.prototype);\n  ctorFunc.prototype.constructor = ctorFunc;\n  return ctorFunc;\n}\nexport {\n  createErrorClass\n};\n","import { createErrorClass } from \"./createErrorClass.js\";\nvar UnsubscriptionError = createErrorClass(function(_super) {\n  return function UnsubscriptionErrorImpl(errors) {\n    _super(this);\n    this.message = errors ? errors.length + \" errors occurred during unsubscription:\\n\" + errors.map(function(err, i) {\n      return i + 1 + \") \" + err.toString();\n    }).join(\"\\n  \") : \"\";\n    this.name = \"UnsubscriptionError\";\n    this.errors = errors;\n  };\n});\nexport {\n  UnsubscriptionError\n};\n","function arrRemove(arr, item) {\n  if (arr) {\n    var index = arr.indexOf(item);\n    0 <= index && arr.splice(index, 1);\n  }\n}\nexport {\n  arrRemove\n};\n","import { __values, __read, __spreadArray } from \"../../../../tslib/tslib.es6.js\";\nimport { isFunction } from \"./util/isFunction.js\";\nimport { UnsubscriptionError } from \"./util/UnsubscriptionError.js\";\nimport { arrRemove } from \"./util/arrRemove.js\";\nvar Subscription = function() {\n  function Subscription2(initialTeardown) {\n    this.initialTeardown = initialTeardown;\n    this.closed = false;\n    this._parentage = null;\n    this._finalizers = null;\n  }\n  Subscription2.prototype.unsubscribe = function() {\n    var e_1, _a, e_2, _b;\n    var errors;\n    if (!this.closed) {\n      this.closed = true;\n      var _parentage = this._parentage;\n      if (_parentage) {\n        this._parentage = null;\n        if (Array.isArray(_parentage)) {\n          try {\n            for (var _parentage_1 = __values(_parentage), _parentage_1_1 = _parentage_1.next(); !_parentage_1_1.done; _parentage_1_1 = _parentage_1.next()) {\n              var parent_1 = _parentage_1_1.value;\n              parent_1.remove(this);\n            }\n          } catch (e_1_1) {\n            e_1 = { error: e_1_1 };\n          } finally {\n            try {\n              if (_parentage_1_1 && !_parentage_1_1.done && (_a = _parentage_1.return))\n                _a.call(_parentage_1);\n            } finally {\n              if (e_1)\n                throw e_1.error;\n            }\n          }\n        } else {\n          _parentage.remove(this);\n        }\n      }\n      var initialFinalizer = this.initialTeardown;\n      if (isFunction(initialFinalizer)) {\n        try {\n          initialFinalizer();\n        } catch (e) {\n          errors = e instanceof UnsubscriptionError ? e.errors : [e];\n        }\n      }\n      var _finalizers = this._finalizers;\n      if (_finalizers) {\n        this._finalizers = null;\n        try {\n          for (var _finalizers_1 = __values(_finalizers), _finalizers_1_1 = _finalizers_1.next(); !_finalizers_1_1.done; _finalizers_1_1 = _finalizers_1.next()) {\n            var finalizer = _finalizers_1_1.value;\n            try {\n              execFinalizer(finalizer);\n            } catch (err) {\n              errors = errors !== null && errors !== void 0 ? errors : [];\n              if (err instanceof UnsubscriptionError) {\n                errors = __spreadArray(__spreadArray([], __read(errors)), __read(err.errors));\n              } else {\n                errors.push(err);\n              }\n            }\n          }\n        } catch (e_2_1) {\n          e_2 = { error: e_2_1 };\n        } finally {\n          try {\n            if (_finalizers_1_1 && !_finalizers_1_1.done && (_b = _finalizers_1.return))\n              _b.call(_finalizers_1);\n          } finally {\n            if (e_2)\n              throw e_2.error;\n          }\n        }\n      }\n      if (errors) {\n        throw new UnsubscriptionError(errors);\n      }\n    }\n  };\n  Subscription2.prototype.add = function(teardown) {\n    var _a;\n    if (teardown && teardown !== this) {\n      if (this.closed) {\n        execFinalizer(teardown);\n      } else {\n        if (teardown instanceof Subscription2) {\n          if (teardown.closed || teardown._hasParent(this)) {\n            return;\n          }\n          teardown._addParent(this);\n        }\n        (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n      }\n    }\n  };\n  Subscription2.prototype._hasParent = function(parent) {\n    var _parentage = this._parentage;\n    return _parentage === parent || Array.isArray(_parentage) && _parentage.includes(parent);\n  };\n  Subscription2.prototype._addParent = function(parent) {\n    var _parentage = this._parentage;\n    this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n  };\n  Subscription2.prototype._removeParent = function(parent) {\n    var _parentage = this._parentage;\n    if (_parentage === parent) {\n      this._parentage = null;\n    } else if (Array.isArray(_parentage)) {\n      arrRemove(_parentage, parent);\n    }\n  };\n  Subscription2.prototype.remove = function(teardown) {\n    var _finalizers = this._finalizers;\n    _finalizers && arrRemove(_finalizers, teardown);\n    if (teardown instanceof Subscription2) {\n      teardown._removeParent(this);\n    }\n  };\n  Subscription2.EMPTY = function() {\n    var empty = new Subscription2();\n    empty.closed = true;\n    return empty;\n  }();\n  return Subscription2;\n}();\nSubscription.EMPTY;\nfunction isSubscription(value) {\n  return value instanceof Subscription || value && \"closed\" in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe);\n}\nfunction execFinalizer(finalizer) {\n  if (isFunction(finalizer)) {\n    finalizer();\n  } else {\n    finalizer.unsubscribe();\n  }\n}\nexport {\n  Subscription,\n  isSubscription\n};\n","var config = {\n  onUnhandledError: null,\n  onStoppedNotification: null,\n  Promise: void 0,\n  useDeprecatedSynchronousErrorHandling: false,\n  useDeprecatedNextContext: false\n};\nexport {\n  config\n};\n","import { __spreadArray, __read } from \"../../../../../tslib/tslib.es6.js\";\nvar timeoutProvider = {\n  setTimeout: function(handler, timeout) {\n    var args = [];\n    for (var _i = 2; _i < arguments.length; _i++) {\n      args[_i - 2] = arguments[_i];\n    }\n    return setTimeout.apply(void 0, __spreadArray([handler, timeout], __read(args)));\n  },\n  clearTimeout: function(handle) {\n    var delegate = timeoutProvider.delegate;\n    return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n  },\n  delegate: void 0\n};\nexport {\n  timeoutProvider\n};\n","import { timeoutProvider } from \"../scheduler/timeoutProvider.js\";\nfunction reportUnhandledError(err) {\n  timeoutProvider.setTimeout(function() {\n    {\n      throw err;\n    }\n  });\n}\nexport {\n  reportUnhandledError\n};\n","function noop() {\n}\nexport {\n  noop\n};\n","import { __extends } from \"../../../../tslib/tslib.es6.js\";\nimport { isFunction } from \"./util/isFunction.js\";\nimport { Subscription, isSubscription } from \"./Subscription.js\";\nimport { config } from \"./config.js\";\nimport { reportUnhandledError } from \"./util/reportUnhandledError.js\";\nimport { noop } from \"./util/noop.js\";\nvar Subscriber = function(_super) {\n  __extends(Subscriber2, _super);\n  function Subscriber2(destination) {\n    var _this = _super.call(this) || this;\n    _this.isStopped = false;\n    if (destination) {\n      _this.destination = destination;\n      if (isSubscription(destination)) {\n        destination.add(_this);\n      }\n    } else {\n      _this.destination = EMPTY_OBSERVER;\n    }\n    return _this;\n  }\n  Subscriber2.create = function(next, error, complete) {\n    return new SafeSubscriber(next, error, complete);\n  };\n  Subscriber2.prototype.next = function(value) {\n    if (this.isStopped)\n      ;\n    else {\n      this._next(value);\n    }\n  };\n  Subscriber2.prototype.error = function(err) {\n    if (this.isStopped)\n      ;\n    else {\n      this.isStopped = true;\n      this._error(err);\n    }\n  };\n  Subscriber2.prototype.complete = function() {\n    if (this.isStopped)\n      ;\n    else {\n      this.isStopped = true;\n      this._complete();\n    }\n  };\n  Subscriber2.prototype.unsubscribe = function() {\n    if (!this.closed) {\n      this.isStopped = true;\n      _super.prototype.unsubscribe.call(this);\n      this.destination = null;\n    }\n  };\n  Subscriber2.prototype._next = function(value) {\n    this.destination.next(value);\n  };\n  Subscriber2.prototype._error = function(err) {\n    try {\n      this.destination.error(err);\n    } finally {\n      this.unsubscribe();\n    }\n  };\n  Subscriber2.prototype._complete = function() {\n    try {\n      this.destination.complete();\n    } finally {\n      this.unsubscribe();\n    }\n  };\n  return Subscriber2;\n}(Subscription);\nvar _bind = Function.prototype.bind;\nfunction bind(fn, thisArg) {\n  return _bind.call(fn, thisArg);\n}\nvar ConsumerObserver = function() {\n  function ConsumerObserver2(partialObserver) {\n    this.partialObserver = partialObserver;\n  }\n  ConsumerObserver2.prototype.next = function(value) {\n    var partialObserver = this.partialObserver;\n    if (partialObserver.next) {\n      try {\n        partialObserver.next(value);\n      } catch (error) {\n        handleUnhandledError(error);\n      }\n    }\n  };\n  ConsumerObserver2.prototype.error = function(err) {\n    var partialObserver = this.partialObserver;\n    if (partialObserver.error) {\n      try {\n        partialObserver.error(err);\n      } catch (error) {\n        handleUnhandledError(error);\n      }\n    } else {\n      handleUnhandledError(err);\n    }\n  };\n  ConsumerObserver2.prototype.complete = function() {\n    var partialObserver = this.partialObserver;\n    if (partialObserver.complete) {\n      try {\n        partialObserver.complete();\n      } catch (error) {\n        handleUnhandledError(error);\n      }\n    }\n  };\n  return ConsumerObserver2;\n}();\nvar SafeSubscriber = function(_super) {\n  __extends(SafeSubscriber2, _super);\n  function SafeSubscriber2(observerOrNext, error, complete) {\n    var _this = _super.call(this) || this;\n    var partialObserver;\n    if (isFunction(observerOrNext) || !observerOrNext) {\n      partialObserver = {\n        next: observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : void 0,\n        error: error !== null && error !== void 0 ? error : void 0,\n        complete: complete !== null && complete !== void 0 ? complete : void 0\n      };\n    } else {\n      var context_1;\n      if (_this && config.useDeprecatedNextContext) {\n        context_1 = Object.create(observerOrNext);\n        context_1.unsubscribe = function() {\n          return _this.unsubscribe();\n        };\n        partialObserver = {\n          next: observerOrNext.next && bind(observerOrNext.next, context_1),\n          error: observerOrNext.error && bind(observerOrNext.error, context_1),\n          complete: observerOrNext.complete && bind(observerOrNext.complete, context_1)\n        };\n      } else {\n        partialObserver = observerOrNext;\n      }\n    }\n    _this.destination = new ConsumerObserver(partialObserver);\n    return _this;\n  }\n  return SafeSubscriber2;\n}(Subscriber);\nfunction handleUnhandledError(error) {\n  {\n    reportUnhandledError(error);\n  }\n}\nfunction defaultErrorHandler(err) {\n  throw err;\n}\nvar EMPTY_OBSERVER = {\n  closed: true,\n  next: noop,\n  error: defaultErrorHandler,\n  complete: noop\n};\nexport {\n  EMPTY_OBSERVER,\n  SafeSubscriber,\n  Subscriber\n};\n","import { __extends } from \"../../../../../tslib/tslib.es6.js\";\nimport { Subscriber } from \"../Subscriber.js\";\nfunction createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n  return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nvar OperatorSubscriber = function(_super) {\n  __extends(OperatorSubscriber2, _super);\n  function OperatorSubscriber2(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n    var _this = _super.call(this, destination) || this;\n    _this.onFinalize = onFinalize;\n    _this.shouldUnsubscribe = shouldUnsubscribe;\n    _this._next = onNext ? function(value) {\n      try {\n        onNext(value);\n      } catch (err) {\n        destination.error(err);\n      }\n    } : _super.prototype._next;\n    _this._error = onError ? function(err) {\n      try {\n        onError(err);\n      } catch (err2) {\n        destination.error(err2);\n      } finally {\n        this.unsubscribe();\n      }\n    } : _super.prototype._error;\n    _this._complete = onComplete ? function() {\n      try {\n        onComplete();\n      } catch (err) {\n        destination.error(err);\n      } finally {\n        this.unsubscribe();\n      }\n    } : _super.prototype._complete;\n    return _this;\n  }\n  OperatorSubscriber2.prototype.unsubscribe = function() {\n    var _a;\n    if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n      var closed_1 = this.closed;\n      _super.prototype.unsubscribe.call(this);\n      !closed_1 && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n    }\n  };\n  return OperatorSubscriber2;\n}(Subscriber);\nexport {\n  OperatorSubscriber,\n  createOperatorSubscriber\n};\n","import { operate } from \"../util/lift.js\";\nimport { createOperatorSubscriber } from \"./OperatorSubscriber.js\";\nfunction pairwise() {\n  return operate(function(source, subscriber) {\n    var prev;\n    var hasPrev = false;\n    source.subscribe(createOperatorSubscriber(subscriber, function(value) {\n      var p = prev;\n      prev = value;\n      hasPrev && subscriber.next([p, value]);\n      hasPrev = true;\n    }));\n  });\n}\nexport {\n  pairwise\n};\n","import { operate } from \"../util/lift.js\";\nimport { createOperatorSubscriber } from \"./OperatorSubscriber.js\";\nfunction filter(predicate, thisArg) {\n  return operate(function(source, subscriber) {\n    var index = 0;\n    source.subscribe(createOperatorSubscriber(subscriber, function(value) {\n      return predicate.call(thisArg, value, index++) && subscriber.next(value);\n    }));\n  });\n}\nexport {\n  filter\n};\n","import { __extends } from \"../../../../../tslib/tslib.es6.js\";\nimport { Subscription } from \"../Subscription.js\";\nvar Action = function(_super) {\n  __extends(Action2, _super);\n  function Action2(scheduler, work) {\n    return _super.call(this) || this;\n  }\n  Action2.prototype.schedule = function(state, delay) {\n    return this;\n  };\n  return Action2;\n}(Subscription);\nexport {\n  Action\n};\n","import { __spreadArray, __read } from \"../../../../../tslib/tslib.es6.js\";\nvar intervalProvider = {\n  setInterval: function(handler, timeout) {\n    var args = [];\n    for (var _i = 2; _i < arguments.length; _i++) {\n      args[_i - 2] = arguments[_i];\n    }\n    return setInterval.apply(void 0, __spreadArray([handler, timeout], __read(args)));\n  },\n  clearInterval: function(handle) {\n    var delegate = intervalProvider.delegate;\n    return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);\n  },\n  delegate: void 0\n};\nexport {\n  intervalProvider\n};\n","import { __extends } from \"../../../../../tslib/tslib.es6.js\";\nimport { Action } from \"./Action.js\";\nimport { intervalProvider } from \"./intervalProvider.js\";\nimport { arrRemove } from \"../util/arrRemove.js\";\nvar AsyncAction = function(_super) {\n  __extends(AsyncAction2, _super);\n  function AsyncAction2(scheduler, work) {\n    var _this = _super.call(this, scheduler, work) || this;\n    _this.scheduler = scheduler;\n    _this.work = work;\n    _this.pending = false;\n    return _this;\n  }\n  AsyncAction2.prototype.schedule = function(state, delay) {\n    var _a;\n    if (delay === void 0) {\n      delay = 0;\n    }\n    if (this.closed) {\n      return this;\n    }\n    this.state = state;\n    var id = this.id;\n    var scheduler = this.scheduler;\n    if (id != null) {\n      this.id = this.recycleAsyncId(scheduler, id, delay);\n    }\n    this.pending = true;\n    this.delay = delay;\n    this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);\n    return this;\n  };\n  AsyncAction2.prototype.requestAsyncId = function(scheduler, _id, delay) {\n    if (delay === void 0) {\n      delay = 0;\n    }\n    return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n  };\n  AsyncAction2.prototype.recycleAsyncId = function(_scheduler, id, delay) {\n    if (delay === void 0) {\n      delay = 0;\n    }\n    if (delay != null && this.delay === delay && this.pending === false) {\n      return id;\n    }\n    if (id != null) {\n      intervalProvider.clearInterval(id);\n    }\n    return void 0;\n  };\n  AsyncAction2.prototype.execute = function(state, delay) {\n    if (this.closed) {\n      return new Error(\"executing a cancelled action\");\n    }\n    this.pending = false;\n    var error = this._execute(state, delay);\n    if (error) {\n      return error;\n    } else if (this.pending === false && this.id != null) {\n      this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n    }\n  };\n  AsyncAction2.prototype._execute = function(state, _delay) {\n    var errored = false;\n    var errorValue;\n    try {\n      this.work(state);\n    } catch (e) {\n      errored = true;\n      errorValue = e ? e : new Error(\"Scheduled action threw falsy error\");\n    }\n    if (errored) {\n      this.unsubscribe();\n      return errorValue;\n    }\n  };\n  AsyncAction2.prototype.unsubscribe = function() {\n    if (!this.closed) {\n      var _a = this, id = _a.id, scheduler = _a.scheduler;\n      var actions = scheduler.actions;\n      this.work = this.state = this.scheduler = null;\n      this.pending = false;\n      arrRemove(actions, this);\n      if (id != null) {\n        this.id = this.recycleAsyncId(scheduler, id, null);\n      }\n      this.delay = null;\n      _super.prototype.unsubscribe.call(this);\n    }\n  };\n  return AsyncAction2;\n}(Action);\nexport {\n  AsyncAction\n};\n","var dateTimestampProvider = {\n  now: function() {\n    return Date.now();\n  },\n  delegate: void 0\n};\nexport {\n  dateTimestampProvider\n};\n","import { dateTimestampProvider } from \"./scheduler/dateTimestampProvider.js\";\nvar Scheduler = function() {\n  function Scheduler2(schedulerActionCtor, now) {\n    if (now === void 0) {\n      now = Scheduler2.now;\n    }\n    this.schedulerActionCtor = schedulerActionCtor;\n    this.now = now;\n  }\n  Scheduler2.prototype.schedule = function(work, delay, state) {\n    if (delay === void 0) {\n      delay = 0;\n    }\n    return new this.schedulerActionCtor(this, work).schedule(state, delay);\n  };\n  Scheduler2.now = dateTimestampProvider.now;\n  return Scheduler2;\n}();\nexport {\n  Scheduler\n};\n","import { __extends } from \"../../../../../tslib/tslib.es6.js\";\nimport { Scheduler } from \"../Scheduler.js\";\nvar AsyncScheduler = function(_super) {\n  __extends(AsyncScheduler2, _super);\n  function AsyncScheduler2(SchedulerAction, now) {\n    if (now === void 0) {\n      now = Scheduler.now;\n    }\n    var _this = _super.call(this, SchedulerAction, now) || this;\n    _this.actions = [];\n    _this._active = false;\n    return _this;\n  }\n  AsyncScheduler2.prototype.flush = function(action) {\n    var actions = this.actions;\n    if (this._active) {\n      actions.push(action);\n      return;\n    }\n    var error;\n    this._active = true;\n    do {\n      if (error = action.execute(action.state, action.delay)) {\n        break;\n      }\n    } while (action = actions.shift());\n    this._active = false;\n    if (error) {\n      while (action = actions.shift()) {\n        action.unsubscribe();\n      }\n      throw error;\n    }\n  };\n  return AsyncScheduler2;\n}(Scheduler);\nexport {\n  AsyncScheduler\n};\n","import { AsyncAction } from \"./AsyncAction.js\";\nimport { AsyncScheduler } from \"./AsyncScheduler.js\";\nvar asyncScheduler = new AsyncScheduler(AsyncAction);\nvar async = asyncScheduler;\nexport {\n  async,\n  asyncScheduler\n};\n","import { asyncScheduler } from \"../scheduler/async.js\";\nimport { operate } from \"../util/lift.js\";\nimport { createOperatorSubscriber } from \"./OperatorSubscriber.js\";\nfunction debounceTime(dueTime, scheduler) {\n  if (scheduler === void 0) {\n    scheduler = asyncScheduler;\n  }\n  return operate(function(source, subscriber) {\n    var activeTask = null;\n    var lastValue = null;\n    var lastTime = null;\n    var emit = function() {\n      if (activeTask) {\n        activeTask.unsubscribe();\n        activeTask = null;\n        var value = lastValue;\n        lastValue = null;\n        subscriber.next(value);\n      }\n    };\n    function emitWhenIdle() {\n      var targetTime = lastTime + dueTime;\n      var now = scheduler.now();\n      if (now < targetTime) {\n        activeTask = this.schedule(void 0, targetTime - now);\n        subscriber.add(activeTask);\n        return;\n      }\n      emit();\n    }\n    source.subscribe(createOperatorSubscriber(subscriber, function(value) {\n      lastValue = value;\n      lastTime = scheduler.now();\n      if (!activeTask) {\n        activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n        subscriber.add(activeTask);\n      }\n    }, function() {\n      emit();\n      subscriber.complete();\n    }, void 0, function() {\n      lastValue = activeTask = null;\n    }));\n  });\n}\nexport {\n  debounceTime\n};\n","import { operate } from \"../util/lift.js\";\nimport { createOperatorSubscriber } from \"./OperatorSubscriber.js\";\nfunction map(project, thisArg) {\n  return operate(function(source, subscriber) {\n    var index = 0;\n    source.subscribe(createOperatorSubscriber(subscriber, function(value) {\n      subscriber.next(project.call(thisArg, value, index++));\n    }));\n  });\n}\nexport {\n  map\n};\n","var isArrayLike = function(x) {\n  return x && typeof x.length === \"number\" && typeof x !== \"function\";\n};\nexport {\n  isArrayLike\n};\n","import { isFunction } from \"./isFunction.js\";\nfunction isPromise(value) {\n  return isFunction(value === null || value === void 0 ? void 0 : value.then);\n}\nexport {\n  isPromise\n};\n","var observable = function() {\n  return typeof Symbol === \"function\" && Symbol.observable || \"@@observable\";\n}();\nexport {\n  observable\n};\n","function identity(x) {\n  return x;\n}\nexport {\n  identity\n};\n","import { identity } from \"./identity.js\";\nfunction pipeFromArray(fns) {\n  if (fns.length === 0) {\n    return identity;\n  }\n  if (fns.length === 1) {\n    return fns[0];\n  }\n  return function piped(input) {\n    return fns.reduce(function(prev, fn) {\n      return fn(prev);\n    }, input);\n  };\n}\nexport {\n  pipeFromArray\n};\n","function errorContext(cb) {\n  {\n    cb();\n  }\n}\nexport {\n  errorContext\n};\n","import { SafeSubscriber, Subscriber } from \"./Subscriber.js\";\nimport { isSubscription } from \"./Subscription.js\";\nimport { observable } from \"./symbol/observable.js\";\nimport { pipeFromArray } from \"./util/pipe.js\";\nimport { config } from \"./config.js\";\nimport { isFunction } from \"./util/isFunction.js\";\nimport { errorContext } from \"./util/errorContext.js\";\nvar Observable = function() {\n  function Observable2(subscribe) {\n    if (subscribe) {\n      this._subscribe = subscribe;\n    }\n  }\n  Observable2.prototype.lift = function(operator) {\n    var observable2 = new Observable2();\n    observable2.source = this;\n    observable2.operator = operator;\n    return observable2;\n  };\n  Observable2.prototype.subscribe = function(observerOrNext, error, complete) {\n    var _this = this;\n    var subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n    errorContext(function() {\n      var _a = _this, operator = _a.operator, source = _a.source;\n      subscriber.add(operator ? operator.call(subscriber, source) : source ? _this._subscribe(subscriber) : _this._trySubscribe(subscriber));\n    });\n    return subscriber;\n  };\n  Observable2.prototype._trySubscribe = function(sink) {\n    try {\n      return this._subscribe(sink);\n    } catch (err) {\n      sink.error(err);\n    }\n  };\n  Observable2.prototype.forEach = function(next, promiseCtor) {\n    var _this = this;\n    promiseCtor = getPromiseCtor(promiseCtor);\n    return new promiseCtor(function(resolve, reject) {\n      var subscriber = new SafeSubscriber({\n        next: function(value) {\n          try {\n            next(value);\n          } catch (err) {\n            reject(err);\n            subscriber.unsubscribe();\n          }\n        },\n        error: reject,\n        complete: resolve\n      });\n      _this.subscribe(subscriber);\n    });\n  };\n  Observable2.prototype._subscribe = function(subscriber) {\n    var _a;\n    return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);\n  };\n  Observable2.prototype[observable] = function() {\n    return this;\n  };\n  Observable2.prototype.pipe = function() {\n    var operations = [];\n    for (var _i = 0; _i < arguments.length; _i++) {\n      operations[_i] = arguments[_i];\n    }\n    return pipeFromArray(operations)(this);\n  };\n  Observable2.prototype.toPromise = function(promiseCtor) {\n    var _this = this;\n    promiseCtor = getPromiseCtor(promiseCtor);\n    return new promiseCtor(function(resolve, reject) {\n      var value;\n      _this.subscribe(function(x) {\n        return value = x;\n      }, function(err) {\n        return reject(err);\n      }, function() {\n        return resolve(value);\n      });\n    });\n  };\n  Observable2.create = function(subscribe) {\n    return new Observable2(subscribe);\n  };\n  return Observable2;\n}();\nfunction getPromiseCtor(promiseCtor) {\n  var _a;\n  return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;\n}\nfunction isObserver(value) {\n  return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\nfunction isSubscriber(value) {\n  return value && value instanceof Subscriber || isObserver(value) && isSubscription(value);\n}\nexport {\n  Observable\n};\n","import { observable } from \"../symbol/observable.js\";\nimport { isFunction } from \"./isFunction.js\";\nfunction isInteropObservable(input) {\n  return isFunction(input[observable]);\n}\nexport {\n  isInteropObservable\n};\n","import { isFunction } from \"./isFunction.js\";\nfunction isAsyncIterable(obj) {\n  return Symbol.asyncIterator && isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);\n}\nexport {\n  isAsyncIterable\n};\n","function createInvalidObservableTypeError(input) {\n  return new TypeError(\"You provided \" + (input !== null && typeof input === \"object\" ? \"an invalid object\" : \"'\" + input + \"'\") + \" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.\");\n}\nexport {\n  createInvalidObservableTypeError\n};\n","function getSymbolIterator() {\n  if (typeof Symbol !== \"function\" || !Symbol.iterator) {\n    return \"@@iterator\";\n  }\n  return Symbol.iterator;\n}\nvar iterator = getSymbolIterator();\nexport {\n  getSymbolIterator,\n  iterator\n};\n","import { iterator } from \"../symbol/iterator.js\";\nimport { isFunction } from \"./isFunction.js\";\nfunction isIterable(input) {\n  return isFunction(input === null || input === void 0 ? void 0 : input[iterator]);\n}\nexport {\n  isIterable\n};\n","import { __asyncGenerator, __generator, __await } from \"../../../../../tslib/tslib.es6.js\";\nimport { isFunction } from \"./isFunction.js\";\nfunction readableStreamLikeToAsyncGenerator(readableStream) {\n  return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {\n    var reader, _a, value, done;\n    return __generator(this, function(_b) {\n      switch (_b.label) {\n        case 0:\n          reader = readableStream.getReader();\n          _b.label = 1;\n        case 1:\n          _b.trys.push([1, , 9, 10]);\n          _b.label = 2;\n        case 2:\n          return [4, __await(reader.read())];\n        case 3:\n          _a = _b.sent(), value = _a.value, done = _a.done;\n          if (!done)\n            return [3, 5];\n          return [4, __await(void 0)];\n        case 4:\n          return [2, _b.sent()];\n        case 5:\n          return [4, __await(value)];\n        case 6:\n          return [4, _b.sent()];\n        case 7:\n          _b.sent();\n          return [3, 2];\n        case 8:\n          return [3, 10];\n        case 9:\n          reader.releaseLock();\n          return [7];\n        case 10:\n          return [2];\n      }\n    });\n  });\n}\nfunction isReadableStreamLike(obj) {\n  return isFunction(obj === null || obj === void 0 ? void 0 : obj.getReader);\n}\nexport {\n  isReadableStreamLike,\n  readableStreamLikeToAsyncGenerator\n};\n","import { __values, __awaiter, __generator, __asyncValues } from \"../../../../../tslib/tslib.es6.js\";\nimport { isArrayLike } from \"../util/isArrayLike.js\";\nimport { isPromise } from \"../util/isPromise.js\";\nimport { Observable } from \"../Observable.js\";\nimport { isInteropObservable } from \"../util/isInteropObservable.js\";\nimport { isAsyncIterable } from \"../util/isAsyncIterable.js\";\nimport { createInvalidObservableTypeError } from \"../util/throwUnobservableError.js\";\nimport { isIterable } from \"../util/isIterable.js\";\nimport { isReadableStreamLike, readableStreamLikeToAsyncGenerator } from \"../util/isReadableStreamLike.js\";\nimport { isFunction } from \"../util/isFunction.js\";\nimport { reportUnhandledError } from \"../util/reportUnhandledError.js\";\nimport { observable } from \"../symbol/observable.js\";\nfunction innerFrom(input) {\n  if (input instanceof Observable) {\n    return input;\n  }\n  if (input != null) {\n    if (isInteropObservable(input)) {\n      return fromInteropObservable(input);\n    }\n    if (isArrayLike(input)) {\n      return fromArrayLike(input);\n    }\n    if (isPromise(input)) {\n      return fromPromise(input);\n    }\n    if (isAsyncIterable(input)) {\n      return fromAsyncIterable(input);\n    }\n    if (isIterable(input)) {\n      return fromIterable(input);\n    }\n    if (isReadableStreamLike(input)) {\n      return fromReadableStreamLike(input);\n    }\n  }\n  throw createInvalidObservableTypeError(input);\n}\nfunction fromInteropObservable(obj) {\n  return new Observable(function(subscriber) {\n    var obs = obj[observable]();\n    if (isFunction(obs.subscribe)) {\n      return obs.subscribe(subscriber);\n    }\n    throw new TypeError(\"Provided object does not correctly implement Symbol.observable\");\n  });\n}\nfunction fromArrayLike(array) {\n  return new Observable(function(subscriber) {\n    for (var i = 0; i < array.length && !subscriber.closed; i++) {\n      subscriber.next(array[i]);\n    }\n    subscriber.complete();\n  });\n}\nfunction fromPromise(promise) {\n  return new Observable(function(subscriber) {\n    promise.then(function(value) {\n      if (!subscriber.closed) {\n        subscriber.next(value);\n        subscriber.complete();\n      }\n    }, function(err) {\n      return subscriber.error(err);\n    }).then(null, reportUnhandledError);\n  });\n}\nfunction fromIterable(iterable) {\n  return new Observable(function(subscriber) {\n    var e_1, _a;\n    try {\n      for (var iterable_1 = __values(iterable), iterable_1_1 = iterable_1.next(); !iterable_1_1.done; iterable_1_1 = iterable_1.next()) {\n        var value = iterable_1_1.value;\n        subscriber.next(value);\n        if (subscriber.closed) {\n          return;\n        }\n      }\n    } catch (e_1_1) {\n      e_1 = { error: e_1_1 };\n    } finally {\n      try {\n        if (iterable_1_1 && !iterable_1_1.done && (_a = iterable_1.return))\n          _a.call(iterable_1);\n      } finally {\n        if (e_1)\n          throw e_1.error;\n      }\n    }\n    subscriber.complete();\n  });\n}\nfunction fromAsyncIterable(asyncIterable) {\n  return new Observable(function(subscriber) {\n    process(asyncIterable, subscriber).catch(function(err) {\n      return subscriber.error(err);\n    });\n  });\n}\nfunction fromReadableStreamLike(readableStream) {\n  return fromAsyncIterable(readableStreamLikeToAsyncGenerator(readableStream));\n}\nfunction process(asyncIterable, subscriber) {\n  var asyncIterable_1, asyncIterable_1_1;\n  var e_2, _a;\n  return __awaiter(this, void 0, void 0, function() {\n    var value, e_2_1;\n    return __generator(this, function(_b) {\n      switch (_b.label) {\n        case 0:\n          _b.trys.push([0, 5, 6, 11]);\n          asyncIterable_1 = __asyncValues(asyncIterable);\n          _b.label = 1;\n        case 1:\n          return [4, asyncIterable_1.next()];\n        case 2:\n          if (!(asyncIterable_1_1 = _b.sent(), !asyncIterable_1_1.done))\n            return [3, 4];\n          value = asyncIterable_1_1.value;\n          subscriber.next(value);\n          if (subscriber.closed) {\n            return [2];\n          }\n          _b.label = 3;\n        case 3:\n          return [3, 1];\n        case 4:\n          return [3, 11];\n        case 5:\n          e_2_1 = _b.sent();\n          e_2 = { error: e_2_1 };\n          return [3, 11];\n        case 6:\n          _b.trys.push([6, , 9, 10]);\n          if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (_a = asyncIterable_1.return)))\n            return [3, 8];\n          return [4, _a.call(asyncIterable_1)];\n        case 7:\n          _b.sent();\n          _b.label = 8;\n        case 8:\n          return [3, 10];\n        case 9:\n          if (e_2)\n            throw e_2.error;\n          return [7];\n        case 10:\n          return [7];\n        case 11:\n          subscriber.complete();\n          return [2];\n      }\n    });\n  });\n}\nexport {\n  fromArrayLike,\n  fromAsyncIterable,\n  fromInteropObservable,\n  fromIterable,\n  fromPromise,\n  fromReadableStreamLike,\n  innerFrom\n};\n","function executeSchedule(parentSubscription, scheduler, work, delay, repeat) {\n  if (delay === void 0) {\n    delay = 0;\n  }\n  if (repeat === void 0) {\n    repeat = false;\n  }\n  var scheduleSubscription = scheduler.schedule(function() {\n    work();\n    if (repeat) {\n      parentSubscription.add(this.schedule(null, delay));\n    } else {\n      this.unsubscribe();\n    }\n  }, delay);\n  parentSubscription.add(scheduleSubscription);\n  if (!repeat) {\n    return scheduleSubscription;\n  }\n}\nexport {\n  executeSchedule\n};\n","import { innerFrom } from \"../observable/innerFrom.js\";\nimport { executeSchedule } from \"../util/executeSchedule.js\";\nimport { createOperatorSubscriber } from \"./OperatorSubscriber.js\";\nfunction mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n  var buffer = [];\n  var active = 0;\n  var index = 0;\n  var isComplete = false;\n  var checkComplete = function() {\n    if (isComplete && !buffer.length && !active) {\n      subscriber.complete();\n    }\n  };\n  var outerNext = function(value) {\n    return active < concurrent ? doInnerSub(value) : buffer.push(value);\n  };\n  var doInnerSub = function(value) {\n    expand && subscriber.next(value);\n    active++;\n    var innerComplete = false;\n    innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, function(innerValue) {\n      onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n      if (expand) {\n        outerNext(innerValue);\n      } else {\n        subscriber.next(innerValue);\n      }\n    }, function() {\n      innerComplete = true;\n    }, void 0, function() {\n      if (innerComplete) {\n        try {\n          active--;\n          var _loop_1 = function() {\n            var bufferedValue = buffer.shift();\n            if (innerSubScheduler) {\n              executeSchedule(subscriber, innerSubScheduler, function() {\n                return doInnerSub(bufferedValue);\n              });\n            } else {\n              doInnerSub(bufferedValue);\n            }\n          };\n          while (buffer.length && active < concurrent) {\n            _loop_1();\n          }\n          checkComplete();\n        } catch (err) {\n          subscriber.error(err);\n        }\n      }\n    }));\n  };\n  source.subscribe(createOperatorSubscriber(subscriber, outerNext, function() {\n    isComplete = true;\n    checkComplete();\n  }));\n  return function() {\n    additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n  };\n}\nexport {\n  mergeInternals\n};\n","import { map } from \"./map.js\";\nimport { innerFrom } from \"../observable/innerFrom.js\";\nimport { operate } from \"../util/lift.js\";\nimport { mergeInternals } from \"./mergeInternals.js\";\nimport { isFunction } from \"../util/isFunction.js\";\nfunction mergeMap(project, resultSelector, concurrent) {\n  if (concurrent === void 0) {\n    concurrent = Infinity;\n  }\n  if (isFunction(resultSelector)) {\n    return mergeMap(function(a, i) {\n      return map(function(b, ii) {\n        return resultSelector(a, b, i, ii);\n      })(innerFrom(project(a, i)));\n    }, concurrent);\n  } else if (typeof resultSelector === \"number\") {\n    concurrent = resultSelector;\n  }\n  return operate(function(source, subscriber) {\n    return mergeInternals(source, subscriber, project, concurrent);\n  });\n}\nexport {\n  mergeMap\n};\n","import { mergeMap } from \"./mergeMap.js\";\nimport { identity } from \"../util/identity.js\";\nfunction mergeAll(concurrent) {\n  if (concurrent === void 0) {\n    concurrent = Infinity;\n  }\n  return mergeMap(identity, concurrent);\n}\nexport {\n  mergeAll\n};\n","import { Observable } from \"../Observable.js\";\nvar EMPTY = new Observable(function(subscriber) {\n  return subscriber.complete();\n});\nexport {\n  EMPTY\n};\n","import { isFunction } from \"./isFunction.js\";\nfunction isScheduler(value) {\n  return value && isFunction(value.schedule);\n}\nexport {\n  isScheduler\n};\n","import { isScheduler } from \"./isScheduler.js\";\nfunction last(arr) {\n  return arr[arr.length - 1];\n}\nfunction popScheduler(args) {\n  return isScheduler(last(args)) ? args.pop() : void 0;\n}\nfunction popNumber(args, defaultValue) {\n  return typeof last(args) === \"number\" ? args.pop() : defaultValue;\n}\nexport {\n  popNumber,\n  popScheduler\n};\n","import { executeSchedule } from \"../util/executeSchedule.js\";\nimport { operate } from \"../util/lift.js\";\nimport { createOperatorSubscriber } from \"./OperatorSubscriber.js\";\nfunction observeOn(scheduler, delay) {\n  if (delay === void 0) {\n    delay = 0;\n  }\n  return operate(function(source, subscriber) {\n    source.subscribe(createOperatorSubscriber(subscriber, function(value) {\n      return executeSchedule(subscriber, scheduler, function() {\n        return subscriber.next(value);\n      }, delay);\n    }, function() {\n      return executeSchedule(subscriber, scheduler, function() {\n        return subscriber.complete();\n      }, delay);\n    }, function(err) {\n      return executeSchedule(subscriber, scheduler, function() {\n        return subscriber.error(err);\n      }, delay);\n    }));\n  });\n}\nexport {\n  observeOn\n};\n","import { operate } from \"../util/lift.js\";\nfunction subscribeOn(scheduler, delay) {\n  if (delay === void 0) {\n    delay = 0;\n  }\n  return operate(function(source, subscriber) {\n    subscriber.add(scheduler.schedule(function() {\n      return source.subscribe(subscriber);\n    }, delay));\n  });\n}\nexport {\n  subscribeOn\n};\n","import { innerFrom } from \"../observable/innerFrom.js\";\nimport { observeOn } from \"../operators/observeOn.js\";\nimport { subscribeOn } from \"../operators/subscribeOn.js\";\nfunction scheduleObservable(input, scheduler) {\n  return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\nexport {\n  scheduleObservable\n};\n","import { innerFrom } from \"../observable/innerFrom.js\";\nimport { observeOn } from \"../operators/observeOn.js\";\nimport { subscribeOn } from \"../operators/subscribeOn.js\";\nfunction schedulePromise(input, scheduler) {\n  return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\nexport {\n  schedulePromise\n};\n","import { Observable } from \"../Observable.js\";\nfunction scheduleArray(input, scheduler) {\n  return new Observable(function(subscriber) {\n    var i = 0;\n    return scheduler.schedule(function() {\n      if (i === input.length) {\n        subscriber.complete();\n      } else {\n        subscriber.next(input[i++]);\n        if (!subscriber.closed) {\n          this.schedule();\n        }\n      }\n    });\n  });\n}\nexport {\n  scheduleArray\n};\n","import { Observable } from \"../Observable.js\";\nimport { iterator } from \"../symbol/iterator.js\";\nimport { isFunction } from \"../util/isFunction.js\";\nimport { executeSchedule } from \"../util/executeSchedule.js\";\nfunction scheduleIterable(input, scheduler) {\n  return new Observable(function(subscriber) {\n    var iterator$1;\n    executeSchedule(subscriber, scheduler, function() {\n      iterator$1 = input[iterator]();\n      executeSchedule(subscriber, scheduler, function() {\n        var _a;\n        var value;\n        var done;\n        try {\n          _a = iterator$1.next(), value = _a.value, done = _a.done;\n        } catch (err) {\n          subscriber.error(err);\n          return;\n        }\n        if (done) {\n          subscriber.complete();\n        } else {\n          subscriber.next(value);\n        }\n      }, 0, true);\n    });\n    return function() {\n      return isFunction(iterator$1 === null || iterator$1 === void 0 ? void 0 : iterator$1.return) && iterator$1.return();\n    };\n  });\n}\nexport {\n  scheduleIterable\n};\n","import { Observable } from \"../Observable.js\";\nimport { executeSchedule } from \"../util/executeSchedule.js\";\nfunction scheduleAsyncIterable(input, scheduler) {\n  if (!input) {\n    throw new Error(\"Iterable cannot be null\");\n  }\n  return new Observable(function(subscriber) {\n    executeSchedule(subscriber, scheduler, function() {\n      var iterator = input[Symbol.asyncIterator]();\n      executeSchedule(subscriber, scheduler, function() {\n        iterator.next().then(function(result) {\n          if (result.done) {\n            subscriber.complete();\n          } else {\n            subscriber.next(result.value);\n          }\n        });\n      }, 0, true);\n    });\n  });\n}\nexport {\n  scheduleAsyncIterable\n};\n","import { scheduleAsyncIterable } from \"./scheduleAsyncIterable.js\";\nimport { readableStreamLikeToAsyncGenerator } from \"../util/isReadableStreamLike.js\";\nfunction scheduleReadableStreamLike(input, scheduler) {\n  return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\nexport {\n  scheduleReadableStreamLike\n};\n","import { scheduleObservable } from \"./scheduleObservable.js\";\nimport { schedulePromise } from \"./schedulePromise.js\";\nimport { scheduleArray } from \"./scheduleArray.js\";\nimport { scheduleIterable } from \"./scheduleIterable.js\";\nimport { scheduleAsyncIterable } from \"./scheduleAsyncIterable.js\";\nimport { isInteropObservable } from \"../util/isInteropObservable.js\";\nimport { isPromise } from \"../util/isPromise.js\";\nimport { isArrayLike } from \"../util/isArrayLike.js\";\nimport { isIterable } from \"../util/isIterable.js\";\nimport { isAsyncIterable } from \"../util/isAsyncIterable.js\";\nimport { createInvalidObservableTypeError } from \"../util/throwUnobservableError.js\";\nimport { isReadableStreamLike } from \"../util/isReadableStreamLike.js\";\nimport { scheduleReadableStreamLike } from \"./scheduleReadableStreamLike.js\";\nfunction scheduled(input, scheduler) {\n  if (input != null) {\n    if (isInteropObservable(input)) {\n      return scheduleObservable(input, scheduler);\n    }\n    if (isArrayLike(input)) {\n      return scheduleArray(input, scheduler);\n    }\n    if (isPromise(input)) {\n      return schedulePromise(input, scheduler);\n    }\n    if (isAsyncIterable(input)) {\n      return scheduleAsyncIterable(input, scheduler);\n    }\n    if (isIterable(input)) {\n      return scheduleIterable(input, scheduler);\n    }\n    if (isReadableStreamLike(input)) {\n      return scheduleReadableStreamLike(input, scheduler);\n    }\n  }\n  throw createInvalidObservableTypeError(input);\n}\nexport {\n  scheduled\n};\n","import { scheduled } from \"../scheduled/scheduled.js\";\nimport { innerFrom } from \"./innerFrom.js\";\nfunction from(input, scheduler) {\n  return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\nexport {\n  from\n};\n","import { mergeAll } from \"../operators/mergeAll.js\";\nimport { innerFrom } from \"./innerFrom.js\";\nimport { EMPTY } from \"./empty.js\";\nimport { popScheduler, popNumber } from \"../util/args.js\";\nimport { from } from \"./from.js\";\nfunction merge() {\n  var args = [];\n  for (var _i = 0; _i < arguments.length; _i++) {\n    args[_i] = arguments[_i];\n  }\n  var scheduler = popScheduler(args);\n  var concurrent = popNumber(args, Infinity);\n  var sources = args;\n  return !sources.length ? EMPTY : sources.length === 1 ? innerFrom(sources[0]) : mergeAll(concurrent)(from(sources, scheduler));\n}\nexport {\n  merge\n};\n","import { mergeAll } from \"./mergeAll.js\";\nfunction concatAll() {\n  return mergeAll(1);\n}\nexport {\n  concatAll\n};\n","import { concatAll } from \"../operators/concatAll.js\";\nimport { popScheduler } from \"../util/args.js\";\nimport { from } from \"./from.js\";\nfunction concat() {\n  var args = [];\n  for (var _i = 0; _i < arguments.length; _i++) {\n    args[_i] = arguments[_i];\n  }\n  return concatAll()(from(args, popScheduler(args)));\n}\nexport {\n  concat\n};\n","import { EMPTY } from \"../observable/empty.js\";\nimport { operate } from \"../util/lift.js\";\nimport { createOperatorSubscriber } from \"./OperatorSubscriber.js\";\nfunction take(count) {\n  return count <= 0 ? function() {\n    return EMPTY;\n  } : operate(function(source, subscriber) {\n    var seen = 0;\n    source.subscribe(createOperatorSubscriber(subscriber, function(value) {\n      if (++seen <= count) {\n        subscriber.next(value);\n        if (count <= seen) {\n          subscriber.complete();\n        }\n      }\n    }));\n  });\n}\nexport {\n  take\n};\n","import { operate } from \"../util/lift.js\";\nimport { createOperatorSubscriber } from \"./OperatorSubscriber.js\";\nimport { noop } from \"../util/noop.js\";\nfunction ignoreElements() {\n  return operate(function(source, subscriber) {\n    source.subscribe(createOperatorSubscriber(subscriber, noop));\n  });\n}\nexport {\n  ignoreElements\n};\n","import { map } from \"./map.js\";\nfunction mapTo(value) {\n  return map(function() {\n    return value;\n  });\n}\nexport {\n  mapTo\n};\n","import { concat } from \"../observable/concat.js\";\nimport { take } from \"./take.js\";\nimport { ignoreElements } from \"./ignoreElements.js\";\nimport { mapTo } from \"./mapTo.js\";\nimport { mergeMap } from \"./mergeMap.js\";\nimport { innerFrom } from \"../observable/innerFrom.js\";\nfunction delayWhen(delayDurationSelector, subscriptionDelay) {\n  if (subscriptionDelay) {\n    return function(source) {\n      return concat(subscriptionDelay.pipe(take(1), ignoreElements()), source.pipe(delayWhen(delayDurationSelector)));\n    };\n  }\n  return mergeMap(function(value, index) {\n    return innerFrom(delayDurationSelector(value, index)).pipe(take(1), mapTo(value));\n  });\n}\nexport {\n  delayWhen\n};\n","function isValidDate(value) {\n  return value instanceof Date && !isNaN(value);\n}\nexport {\n  isValidDate\n};\n","import { Observable } from \"../Observable.js\";\nimport { async } from \"../scheduler/async.js\";\nimport { isScheduler } from \"../util/isScheduler.js\";\nimport { isValidDate } from \"../util/isDate.js\";\nfunction timer(dueTime, intervalOrScheduler, scheduler) {\n  if (dueTime === void 0) {\n    dueTime = 0;\n  }\n  if (scheduler === void 0) {\n    scheduler = async;\n  }\n  var intervalDuration = -1;\n  if (intervalOrScheduler != null) {\n    if (isScheduler(intervalOrScheduler)) {\n      scheduler = intervalOrScheduler;\n    } else {\n      intervalDuration = intervalOrScheduler;\n    }\n  }\n  return new Observable(function(subscriber) {\n    var due = isValidDate(dueTime) ? +dueTime - scheduler.now() : dueTime;\n    if (due < 0) {\n      due = 0;\n    }\n    var n = 0;\n    return scheduler.schedule(function() {\n      if (!subscriber.closed) {\n        subscriber.next(n++);\n        if (0 <= intervalDuration) {\n          this.schedule(void 0, intervalDuration);\n        } else {\n          subscriber.complete();\n        }\n      }\n    }, due);\n  });\n}\nexport {\n  timer\n};\n","import { asyncScheduler } from \"../scheduler/async.js\";\nimport { delayWhen } from \"./delayWhen.js\";\nimport { timer } from \"../observable/timer.js\";\nfunction delay(due, scheduler) {\n  if (scheduler === void 0) {\n    scheduler = asyncScheduler;\n  }\n  var duration = timer(due, scheduler);\n  return delayWhen(function() {\n    return duration;\n  });\n}\nexport {\n  delay\n};\n","import { operate } from \"../util/lift.js\";\nimport { noop } from \"../util/noop.js\";\nimport { createOperatorSubscriber } from \"./OperatorSubscriber.js\";\nimport { innerFrom } from \"../observable/innerFrom.js\";\nfunction buffer(closingNotifier) {\n  return operate(function(source, subscriber) {\n    var currentBuffer = [];\n    source.subscribe(createOperatorSubscriber(subscriber, function(value) {\n      return currentBuffer.push(value);\n    }, function() {\n      subscriber.next(currentBuffer);\n      subscriber.complete();\n    }));\n    innerFrom(closingNotifier).subscribe(createOperatorSubscriber(subscriber, function() {\n      var b = currentBuffer;\n      currentBuffer = [];\n      subscriber.next(b);\n    }, noop));\n    return function() {\n      currentBuffer = null;\n    };\n  });\n}\nexport {\n  buffer\n};\n","import { __values, __read } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { filterOutNonTrackableEvents } from \"../helpers.js\";\nimport { AMPLITUDE_ELEMENT_CLICKED_EVENT } from \"../constants.js\";\nimport { pairwise } from \"../../../../../rxjs/dist/esm5/internal/operators/pairwise.js\";\nimport { filter } from \"../../../../../rxjs/dist/esm5/internal/operators/filter.js\";\nimport { debounceTime } from \"../../../../../rxjs/dist/esm5/internal/operators/debounceTime.js\";\nimport { map } from \"../../../../../rxjs/dist/esm5/internal/operators/map.js\";\nimport { merge } from \"../../../../../rxjs/dist/esm5/internal/observable/merge.js\";\nimport { delay } from \"../../../../../rxjs/dist/esm5/internal/operators/delay.js\";\nimport { buffer } from \"../../../../../rxjs/dist/esm5/internal/operators/buffer.js\";\nvar RAGE_CLICK_THRESHOLD = 5;\nfunction trackClicks(_a) {\n  var amplitude = _a.amplitude, allObservables = _a.allObservables, options = _a.options, shouldTrackEvent = _a.shouldTrackEvent;\n  var clickObservable = allObservables.clickObservable;\n  var comparisonTrigger = clickObservable.pipe(pairwise(), filter(function(_a2) {\n    var _b = __read(_a2, 2), prev = _b[0], current = _b[1];\n    var targetChanged = prev.event.target !== current.event.target;\n    var samePos = Math.abs(current.event.screenX - prev.event.screenX) <= 20 && Math.abs(current.event.screenY - prev.event.screenY) <= 20;\n    return targetChanged && !samePos;\n  }));\n  var timeoutTrigger = clickObservable.pipe(debounceTime(options.debounceTime), map(function() {\n    return \"timeout\";\n  }));\n  var triggers = merge(comparisonTrigger, timeoutTrigger);\n  var bufferedClicks = clickObservable.pipe(delay(0), filter(filterOutNonTrackableEvents), filter(function(click) {\n    return shouldTrackEvent(\"click\", click.closestTrackedAncestor);\n  }), buffer(triggers));\n  return bufferedClicks.subscribe(function(clicks) {\n    var e_1, _a2;\n    var clickType = clicks.length >= RAGE_CLICK_THRESHOLD ? AMPLITUDE_ELEMENT_CLICKED_EVENT : AMPLITUDE_ELEMENT_CLICKED_EVENT;\n    try {\n      for (var clicks_1 = __values(clicks), clicks_1_1 = clicks_1.next(); !clicks_1_1.done; clicks_1_1 = clicks_1.next()) {\n        var click = clicks_1_1.value;\n        amplitude === null || amplitude === void 0 ? void 0 : amplitude.track(clickType, click.targetElementProperties, {\n          time: click.timestamp\n        });\n      }\n    } catch (e_1_1) {\n      e_1 = { error: e_1_1 };\n    } finally {\n      try {\n        if (clicks_1_1 && !clicks_1_1.done && (_a2 = clicks_1.return))\n          _a2.call(clicks_1);\n      } finally {\n        if (e_1)\n          throw e_1.error;\n      }\n    }\n  });\n}\nexport {\n  trackClicks\n};\n","import { filterOutNonTrackableEvents } from \"../helpers.js\";\nimport { AMPLITUDE_ELEMENT_CHANGED_EVENT } from \"../constants.js\";\nimport { filter } from \"../../../../../rxjs/dist/esm5/internal/operators/filter.js\";\nfunction trackChange(_a) {\n  var amplitude = _a.amplitude, allObservables = _a.allObservables, getEventProperties = _a.getEventProperties, shouldTrackEvent = _a.shouldTrackEvent;\n  var changeObservable = allObservables.changeObservable;\n  var filteredChangeObservable = changeObservable.pipe(filter(filterOutNonTrackableEvents), filter(function(changeEvent) {\n    return shouldTrackEvent(\"change\", changeEvent.closestTrackedAncestor);\n  }));\n  return filteredChangeObservable.subscribe(function(changeEvent) {\n    amplitude === null || amplitude === void 0 ? void 0 : amplitude.track(AMPLITUDE_ELEMENT_CHANGED_EVENT, getEventProperties(\"change\", changeEvent.closestTrackedAncestor));\n  });\n}\nexport {\n  trackChange\n};\n","import { innerFrom } from \"../observable/innerFrom.js\";\nimport { operate } from \"../util/lift.js\";\nimport { createOperatorSubscriber } from \"./OperatorSubscriber.js\";\nfunction switchMap(project, resultSelector) {\n  return operate(function(source, subscriber) {\n    var innerSubscriber = null;\n    var index = 0;\n    var isComplete = false;\n    var checkComplete = function() {\n      return isComplete && !innerSubscriber && subscriber.complete();\n    };\n    source.subscribe(createOperatorSubscriber(subscriber, function(value) {\n      innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n      var innerIndex = 0;\n      var outerIndex = index++;\n      innerFrom(project(value, outerIndex)).subscribe(innerSubscriber = createOperatorSubscriber(subscriber, function(innerValue) {\n        return subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue);\n      }, function() {\n        innerSubscriber = null;\n        checkComplete();\n      }));\n    }, function() {\n      isComplete = true;\n      checkComplete();\n    }));\n  });\n}\nexport {\n  switchMap\n};\n","import { asyncScheduler } from \"../scheduler/async.js\";\nimport { isValidDate } from \"../util/isDate.js\";\nimport { operate } from \"../util/lift.js\";\nimport { innerFrom } from \"../observable/innerFrom.js\";\nimport { createErrorClass } from \"../util/createErrorClass.js\";\nimport { createOperatorSubscriber } from \"./OperatorSubscriber.js\";\nimport { executeSchedule } from \"../util/executeSchedule.js\";\nvar TimeoutError = createErrorClass(function(_super) {\n  return function TimeoutErrorImpl(info) {\n    if (info === void 0) {\n      info = null;\n    }\n    _super(this);\n    this.message = \"Timeout has occurred\";\n    this.name = \"TimeoutError\";\n    this.info = info;\n  };\n});\nfunction timeout(config, schedulerArg) {\n  var _a = isValidDate(config) ? { first: config } : typeof config === \"number\" ? { each: config } : config, first = _a.first, each = _a.each, _b = _a.with, _with = _b === void 0 ? timeoutErrorFactory : _b, _c = _a.scheduler, scheduler = _c === void 0 ? schedulerArg !== null && schedulerArg !== void 0 ? schedulerArg : asyncScheduler : _c, _d = _a.meta, meta = _d === void 0 ? null : _d;\n  if (first == null && each == null) {\n    throw new TypeError(\"No timeout provided.\");\n  }\n  return operate(function(source, subscriber) {\n    var originalSourceSubscription;\n    var timerSubscription;\n    var lastValue = null;\n    var seen = 0;\n    var startTimer = function(delay) {\n      timerSubscription = executeSchedule(subscriber, scheduler, function() {\n        try {\n          originalSourceSubscription.unsubscribe();\n          innerFrom(_with({\n            meta,\n            lastValue,\n            seen\n          })).subscribe(subscriber);\n        } catch (err) {\n          subscriber.error(err);\n        }\n      }, delay);\n    };\n    originalSourceSubscription = source.subscribe(createOperatorSubscriber(subscriber, function(value) {\n      timerSubscription === null || timerSubscription === void 0 ? void 0 : timerSubscription.unsubscribe();\n      seen++;\n      subscriber.next(lastValue = value);\n      each > 0 && startTimer(each);\n    }, void 0, void 0, function() {\n      if (!(timerSubscription === null || timerSubscription === void 0 ? void 0 : timerSubscription.closed)) {\n        timerSubscription === null || timerSubscription === void 0 ? void 0 : timerSubscription.unsubscribe();\n      }\n      lastValue = null;\n    }));\n    !seen && startTimer(first != null ? typeof first === \"number\" ? first : +first - scheduler.now() : each);\n  });\n}\nfunction timeoutErrorFactory(info) {\n  throw new TimeoutError(info);\n}\nexport {\n  TimeoutError,\n  timeout\n};\n","import { __spreadArray, __read } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { getClosestElement, filterOutNonTrackableEvents } from \"../helpers.js\";\nimport { AMPLITUDE_ELEMENT_CLICKED_EVENT } from \"../constants.js\";\nimport { filter } from \"../../../../../rxjs/dist/esm5/internal/operators/filter.js\";\nimport { map } from \"../../../../../rxjs/dist/esm5/internal/operators/map.js\";\nimport { merge } from \"../../../../../rxjs/dist/esm5/internal/observable/merge.js\";\nimport { switchMap } from \"../../../../../rxjs/dist/esm5/internal/operators/switchMap.js\";\nimport { take } from \"../../../../../rxjs/dist/esm5/internal/operators/take.js\";\nimport { timeout } from \"../../../../../rxjs/dist/esm5/internal/operators/timeout.js\";\nimport { EMPTY } from \"../../../../../rxjs/dist/esm5/internal/observable/empty.js\";\nfunction trackActionClick(_a) {\n  var amplitude = _a.amplitude, allObservables = _a.allObservables, options = _a.options, getEventProperties = _a.getEventProperties, shouldTrackEvent = _a.shouldTrackEvent, shouldTrackActionClick = _a.shouldTrackActionClick;\n  var clickObservable = allObservables.clickObservable, mutationObservable = allObservables.mutationObservable, navigateObservable = allObservables.navigateObservable;\n  var filteredClickObservable = clickObservable.pipe(filter(function(click) {\n    return !shouldTrackEvent(\"click\", click.closestTrackedAncestor);\n  }), map(function(click) {\n    var closestActionClickEl = getClosestElement(click.event.target, options.actionClickAllowlist);\n    click.closestTrackedAncestor = closestActionClickEl;\n    if (click.closestTrackedAncestor !== null) {\n      click.targetElementProperties = getEventProperties(click.type, click.closestTrackedAncestor);\n    }\n    return click;\n  }), filter(filterOutNonTrackableEvents), filter(function(clickEvent) {\n    return shouldTrackActionClick(\"click\", clickEvent.closestTrackedAncestor);\n  }));\n  var changeObservables = [mutationObservable];\n  if (navigateObservable) {\n    changeObservables.push(navigateObservable);\n  }\n  var mutationOrNavigate = merge.apply(void 0, __spreadArray([], __read(changeObservables), false));\n  var actionClicks = filteredClickObservable.pipe(\n    // If a mutation occurs within 0.5 seconds of a click event (timeout({ first: 500 })), it emits the original first click event.\n    // take 1 to only limit the action events in case there are multiple\n    switchMap(function(click) {\n      return mutationOrNavigate.pipe(\n        take(1),\n        timeout({ first: 500, with: function() {\n          return EMPTY;\n        } }),\n        // in case of timeout, map to empty to prevent any click from being emitted\n        map(function() {\n          return click;\n        })\n      );\n    })\n  );\n  return actionClicks.subscribe(function(actionClick) {\n    amplitude === null || amplitude === void 0 ? void 0 : amplitude.track(AMPLITUDE_ELEMENT_CLICKED_EVENT, getEventProperties(\"click\", actionClick.closestTrackedAncestor), {\n      time: actionClick.timestamp\n    });\n  });\n}\nexport {\n  trackActionClick\n};\n","import { __spreadArray, __read } from \"../../../../../tslib/tslib.es6.js\";\nimport { map } from \"../operators/map.js\";\nvar isArray = Array.isArray;\nfunction callOrApply(fn, args) {\n  return isArray(args) ? fn.apply(void 0, __spreadArray([], __read(args))) : fn(args);\n}\nfunction mapOneOrManyArgs(fn) {\n  return map(function(args) {\n    return callOrApply(fn, args);\n  });\n}\nexport {\n  mapOneOrManyArgs\n};\n","import { __read } from \"../../../../../tslib/tslib.es6.js\";\nimport { innerFrom } from \"./innerFrom.js\";\nimport { Observable } from \"../Observable.js\";\nimport { mergeMap } from \"../operators/mergeMap.js\";\nimport { isArrayLike } from \"../util/isArrayLike.js\";\nimport { isFunction } from \"../util/isFunction.js\";\nimport { mapOneOrManyArgs } from \"../util/mapOneOrManyArgs.js\";\nvar nodeEventEmitterMethods = [\"addListener\", \"removeListener\"];\nvar eventTargetMethods = [\"addEventListener\", \"removeEventListener\"];\nvar jqueryMethods = [\"on\", \"off\"];\nfunction fromEvent(target, eventName, options, resultSelector) {\n  if (isFunction(options)) {\n    resultSelector = options;\n    options = void 0;\n  }\n  if (resultSelector) {\n    return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n  }\n  var _a = __read(isEventTarget(target) ? eventTargetMethods.map(function(methodName) {\n    return function(handler) {\n      return target[methodName](eventName, handler, options);\n    };\n  }) : isNodeStyleEventEmitter(target) ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName)) : [], 2), add = _a[0], remove = _a[1];\n  if (!add) {\n    if (isArrayLike(target)) {\n      return mergeMap(function(subTarget) {\n        return fromEvent(subTarget, eventName, options);\n      })(innerFrom(target));\n    }\n  }\n  if (!add) {\n    throw new TypeError(\"Invalid event target\");\n  }\n  return new Observable(function(subscriber) {\n    var handler = function() {\n      var args = [];\n      for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n      }\n      return subscriber.next(1 < args.length ? args : args[0]);\n    };\n    add(handler);\n    return function() {\n      return remove(handler);\n    };\n  });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n  return function(methodName) {\n    return function(handler) {\n      return target[methodName](eventName, handler);\n    };\n  };\n}\nfunction isNodeStyleEventEmitter(target) {\n  return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n  return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n  return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\nexport {\n  fromEvent\n};\n","import { __awaiter, __generator, __assign, __spreadArray, __read, __values } from \"../../node_modules/tslib/tslib.es6.js\";\nimport { PLUGIN_NAME, AMPLITUDE_ORIGINS_MAP, AMPLITUDE_EVENT_PROP_ELEMENT_ID, AMPLITUDE_EVENT_PROP_ELEMENT_CLASS, AMPLITUDE_EVENT_PROP_ELEMENT_HIERARCHY, AMPLITUDE_EVENT_PROP_ELEMENT_TAG, AMPLITUDE_EVENT_PROP_ELEMENT_TEXT, AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_LEFT, AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_TOP, AMPLITUDE_EVENT_PROP_ELEMENT_ARIA_LABEL, AMPLITUDE_EVENT_PROP_ELEMENT_ATTRIBUTES, AMPLITUDE_EVENT_PROP_ELEMENT_SELECTOR, AMPLITUDE_EVENT_PROP_ELEMENT_PARENT_LABEL, AMPLITUDE_EVENT_PROP_PAGE_URL, AMPLITUDE_EVENT_PROP_PAGE_TITLE, AMPLITUDE_EVENT_PROP_VIEWPORT_HEIGHT, AMPLITUDE_EVENT_PROP_VIEWPORT_WIDTH, AMPLITUDE_EVENT_PROP_ELEMENT_HREF } from \"./constants.js\";\nimport { createShouldTrackEvent, getAttributesWithPrefix, getNearestLabel, getSelector, getText, removeEmptyProperties, getClosestElement } from \"./helpers.js\";\nimport { WindowMessenger } from \"./libs/messenger.js\";\nimport { getHierarchy } from \"./hierarchy.js\";\nimport { trackClicks } from \"./autocapture/track-click.js\";\nimport { trackChange } from \"./autocapture/track-change.js\";\nimport { trackActionClick } from \"./autocapture/track-action-click.js\";\nimport { fromEvent } from \"../../../../rxjs/dist/esm5/internal/observable/fromEvent.js\";\nimport { map } from \"../../../../rxjs/dist/esm5/internal/operators/map.js\";\nimport { Observable } from \"../../../../rxjs/dist/esm5/internal/Observable.js\";\nvar DEFAULT_CSS_SELECTOR_ALLOWLIST = [\n  \"a\",\n  \"button\",\n  \"input\",\n  \"select\",\n  \"textarea\",\n  \"label\",\n  \"video\",\n  \"audio\",\n  '[contenteditable=\"true\" i]',\n  \"[data-amp-default-track]\",\n  \".amp-default-track\"\n];\nvar DEFAULT_ACTION_CLICK_ALLOWLIST = [\"div\", \"span\", \"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\"];\nvar DEFAULT_DATA_ATTRIBUTE_PREFIX = \"data-amp-track-\";\nvar ObservablesEnum;\n(function(ObservablesEnum2) {\n  ObservablesEnum2[\"ClickObservable\"] = \"clickObservable\";\n  ObservablesEnum2[\"ChangeObservable\"] = \"changeObservable\";\n  ObservablesEnum2[\"NavigateObservable\"] = \"navigateObservable\";\n  ObservablesEnum2[\"MutationObservable\"] = \"mutationObservable\";\n})(ObservablesEnum || (ObservablesEnum = {}));\nfunction isElementBasedEvent(event) {\n  return event.type === \"click\" || event.type === \"change\";\n}\nvar autocapturePlugin = function(options) {\n  var _a, _b, _c;\n  if (options === void 0) {\n    options = {};\n  }\n  var _d = options.dataAttributePrefix, dataAttributePrefix = _d === void 0 ? DEFAULT_DATA_ATTRIBUTE_PREFIX : _d, _e = options.visualTaggingOptions, visualTaggingOptions = _e === void 0 ? {\n    enabled: true,\n    messenger: new WindowMessenger()\n  } : _e;\n  options.cssSelectorAllowlist = (_a = options.cssSelectorAllowlist) !== null && _a !== void 0 ? _a : DEFAULT_CSS_SELECTOR_ALLOWLIST;\n  options.actionClickAllowlist = (_b = options.actionClickAllowlist) !== null && _b !== void 0 ? _b : DEFAULT_ACTION_CLICK_ALLOWLIST;\n  options.debounceTime = (_c = options.debounceTime) !== null && _c !== void 0 ? _c : 0;\n  var name = PLUGIN_NAME;\n  var type = \"enrichment\";\n  var subscriptions = [];\n  var logger = void 0;\n  var createObservables = function() {\n    var _a2;\n    var clickObservable = fromEvent(document, \"click\", { capture: true }).pipe(map(function(click) {\n      return addAdditionalEventProperties(click, \"click\");\n    }));\n    var changeObservable = fromEvent(document, \"change\", { capture: true }).pipe(map(function(change) {\n      return addAdditionalEventProperties(change, \"change\");\n    }));\n    var navigateObservable;\n    if (window.navigation) {\n      navigateObservable = fromEvent(window.navigation, \"navigate\").pipe(map(function(navigate) {\n        return addAdditionalEventProperties(navigate, \"navigate\");\n      }));\n    }\n    var mutationObservable = new Observable(function(observer) {\n      var mutationObserver = new MutationObserver(function(mutations) {\n        observer.next(mutations);\n      });\n      mutationObserver.observe(document.body, {\n        childList: true,\n        attributes: true,\n        characterData: true,\n        subtree: true\n      });\n      return function() {\n        return mutationObserver.disconnect();\n      };\n    }).pipe(map(function(mutation) {\n      return addAdditionalEventProperties(mutation, \"mutation\");\n    }));\n    return _a2 = {}, _a2[ObservablesEnum.ClickObservable] = clickObservable, _a2[ObservablesEnum.ChangeObservable] = changeObservable, // [ObservablesEnum.ErrorObservable]: errorObservable,\n    _a2[ObservablesEnum.NavigateObservable] = navigateObservable, _a2[ObservablesEnum.MutationObservable] = mutationObservable, _a2;\n  };\n  var getEventProperties = function(actionType, element) {\n    var _a2;\n    var _b2, _c2;\n    var tag = (_c2 = (_b2 = element === null || element === void 0 ? void 0 : element.tagName) === null || _b2 === void 0 ? void 0 : _b2.toLowerCase) === null || _c2 === void 0 ? void 0 : _c2.call(_b2);\n    var rect = typeof element.getBoundingClientRect === \"function\" ? element.getBoundingClientRect() : { left: null, top: null };\n    var ariaLabel = element.getAttribute(\"aria-label\");\n    var attributes = getAttributesWithPrefix(element, dataAttributePrefix);\n    var nearestLabel = getNearestLabel(element);\n    var selector = getSelector(element, logger);\n    var properties = (_a2 = {}, _a2[AMPLITUDE_EVENT_PROP_ELEMENT_ID] = element.id, _a2[AMPLITUDE_EVENT_PROP_ELEMENT_CLASS] = element.className, _a2[AMPLITUDE_EVENT_PROP_ELEMENT_HIERARCHY] = getHierarchy(element), _a2[AMPLITUDE_EVENT_PROP_ELEMENT_TAG] = tag, _a2[AMPLITUDE_EVENT_PROP_ELEMENT_TEXT] = getText(element), _a2[AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_LEFT] = rect.left == null ? null : Math.round(rect.left), _a2[AMPLITUDE_EVENT_PROP_ELEMENT_POSITION_TOP] = rect.top == null ? null : Math.round(rect.top), _a2[AMPLITUDE_EVENT_PROP_ELEMENT_ARIA_LABEL] = ariaLabel, _a2[AMPLITUDE_EVENT_PROP_ELEMENT_ATTRIBUTES] = attributes, _a2[AMPLITUDE_EVENT_PROP_ELEMENT_SELECTOR] = selector, _a2[AMPLITUDE_EVENT_PROP_ELEMENT_PARENT_LABEL] = nearestLabel, _a2[AMPLITUDE_EVENT_PROP_PAGE_URL] = window.location.href.split(\"?\")[0], _a2[AMPLITUDE_EVENT_PROP_PAGE_TITLE] = typeof document !== \"undefined\" && document.title || \"\", _a2[AMPLITUDE_EVENT_PROP_VIEWPORT_HEIGHT] = window.innerHeight, _a2[AMPLITUDE_EVENT_PROP_VIEWPORT_WIDTH] = window.innerWidth, _a2);\n    if (tag === \"a\" && actionType === \"click\" && element instanceof HTMLAnchorElement) {\n      properties[AMPLITUDE_EVENT_PROP_ELEMENT_HREF] = element.href;\n    }\n    return removeEmptyProperties(properties);\n  };\n  var addAdditionalEventProperties = function(event, type2) {\n    var baseEvent = {\n      event,\n      timestamp: Date.now(),\n      type: type2\n    };\n    if (isElementBasedEvent(baseEvent) && baseEvent.event.target !== null) {\n      var closestTrackedAncestor = getClosestElement(baseEvent.event.target, options.cssSelectorAllowlist);\n      if (closestTrackedAncestor) {\n        baseEvent.closestTrackedAncestor = closestTrackedAncestor;\n        baseEvent.targetElementProperties = getEventProperties(baseEvent.type, closestTrackedAncestor);\n      }\n      return baseEvent;\n    }\n    return baseEvent;\n  };\n  var setup = function(config, amplitude) {\n    return __awaiter(void 0, void 0, void 0, function() {\n      var shouldTrackEvent, shouldTrackActionClick, allObservables, clickTrackingSubscription, changeSubscription, actionClickSubscription, allowlist, actionClickAllowlist;\n      var _a2, _b2, _c2;\n      return __generator(this, function(_d2) {\n        if (!amplitude) {\n          (_a2 = config === null || config === void 0 ? void 0 : config.loggerProvider) === null || _a2 === void 0 ? void 0 : _a2.warn(\"\".concat(name, \" plugin requires a later version of @amplitude/analytics-browser. Events are not tracked.\"));\n          return [\n            2\n            /*return*/\n          ];\n        }\n        logger = config.loggerProvider;\n        if (typeof document === \"undefined\") {\n          return [\n            2\n            /*return*/\n          ];\n        }\n        shouldTrackEvent = createShouldTrackEvent(options, options.cssSelectorAllowlist);\n        shouldTrackActionClick = createShouldTrackEvent(options, options.actionClickAllowlist);\n        allObservables = createObservables();\n        clickTrackingSubscription = trackClicks({\n          allObservables,\n          options,\n          amplitude,\n          shouldTrackEvent\n        });\n        subscriptions.push(clickTrackingSubscription);\n        changeSubscription = trackChange({\n          allObservables,\n          getEventProperties,\n          amplitude,\n          shouldTrackEvent\n        });\n        subscriptions.push(changeSubscription);\n        actionClickSubscription = trackActionClick({\n          allObservables,\n          options,\n          getEventProperties,\n          amplitude,\n          shouldTrackEvent,\n          shouldTrackActionClick\n        });\n        subscriptions.push(actionClickSubscription);\n        (_b2 = config === null || config === void 0 ? void 0 : config.loggerProvider) === null || _b2 === void 0 ? void 0 : _b2.log(\"\".concat(name, \" has been successfully added.\"));\n        if (window.opener && visualTaggingOptions.enabled) {\n          allowlist = options.cssSelectorAllowlist;\n          actionClickAllowlist = options.actionClickAllowlist;\n          (_c2 = visualTaggingOptions.messenger) === null || _c2 === void 0 ? void 0 : _c2.setup(__assign(__assign({ logger: config === null || config === void 0 ? void 0 : config.loggerProvider }, (config === null || config === void 0 ? void 0 : config.serverZone) && { endpoint: AMPLITUDE_ORIGINS_MAP[config.serverZone] }), { isElementSelectable: createShouldTrackEvent(options, __spreadArray(__spreadArray([], __read(allowlist), false), __read(actionClickAllowlist), false)), cssSelectorAllowlist: allowlist, actionClickAllowlist }));\n        }\n        return [\n          2\n          /*return*/\n        ];\n      });\n    });\n  };\n  var execute = function(event) {\n    return __awaiter(void 0, void 0, void 0, function() {\n      return __generator(this, function(_a2) {\n        return [2, event];\n      });\n    });\n  };\n  var teardown = function() {\n    return __awaiter(void 0, void 0, void 0, function() {\n      var subscriptions_1, subscriptions_1_1, subscription;\n      var e_1, _a2;\n      return __generator(this, function(_b2) {\n        try {\n          for (subscriptions_1 = __values(subscriptions), subscriptions_1_1 = subscriptions_1.next(); !subscriptions_1_1.done; subscriptions_1_1 = subscriptions_1.next()) {\n            subscription = subscriptions_1_1.value;\n            subscription.unsubscribe();\n          }\n        } catch (e_1_1) {\n          e_1 = { error: e_1_1 };\n        } finally {\n          try {\n            if (subscriptions_1_1 && !subscriptions_1_1.done && (_a2 = subscriptions_1.return))\n              _a2.call(subscriptions_1);\n          } finally {\n            if (e_1)\n              throw e_1.error;\n          }\n        }\n        return [\n          2\n          /*return*/\n        ];\n      });\n    });\n  };\n  return {\n    name,\n    type,\n    setup,\n    execute,\n    teardown\n  };\n};\nexport {\n  DEFAULT_ACTION_CLICK_ALLOWLIST,\n  DEFAULT_CSS_SELECTOR_ALLOWLIST,\n  DEFAULT_DATA_ATTRIBUTE_PREFIX,\n  ObservablesEnum,\n  autocapturePlugin,\n  isElementBasedEvent\n};\n","var __assign = function() {\n  __assign = Object.assign || function __assign2(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s)\n        if (Object.prototype.hasOwnProperty.call(s, p))\n          t[p] = s[p];\n    }\n    return t;\n  };\n  return __assign.apply(this, arguments);\n};\nfunction __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function(resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = Promise))(function(resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\nfunction __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() {\n    if (t[0] & 1)\n      throw t[1];\n    return t[1];\n  }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n  return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n    return this;\n  }), g;\n  function verb(n) {\n    return function(v) {\n      return step([n, v]);\n    };\n  }\n  function step(op) {\n    if (f)\n      throw new TypeError(\"Generator is already executing.\");\n    while (g && (g = 0, op[0] && (_ = 0)), _)\n      try {\n        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n          return t;\n        if (y = 0, t)\n          op = [op[0] & 2, t.value];\n        switch (op[0]) {\n          case 0:\n          case 1:\n            t = op;\n            break;\n          case 4:\n            _.label++;\n            return { value: op[1], done: false };\n          case 5:\n            _.label++;\n            y = op[1];\n            op = [0];\n            continue;\n          case 7:\n            op = _.ops.pop();\n            _.trys.pop();\n            continue;\n          default:\n            if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n              _ = 0;\n              continue;\n            }\n            if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n              _.label = op[1];\n              break;\n            }\n            if (op[0] === 6 && _.label < t[1]) {\n              _.label = t[1];\n              t = op;\n              break;\n            }\n            if (t && _.label < t[2]) {\n              _.label = t[2];\n              _.ops.push(op);\n              break;\n            }\n            if (t[2])\n              _.ops.pop();\n            _.trys.pop();\n            continue;\n        }\n        op = body.call(thisArg, _);\n      } catch (e) {\n        op = [6, e];\n        y = 0;\n      } finally {\n        f = t = 0;\n      }\n    if (op[0] & 5)\n      throw op[1];\n    return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\nfunction __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m)\n    return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n    while ((n === void 0 || n-- > 0) && !(r = i.next()).done)\n      ar.push(r.value);\n  } catch (error) {\n    e = { error };\n  } finally {\n    try {\n      if (r && !r.done && (m = i[\"return\"]))\n        m.call(i);\n    } finally {\n      if (e)\n        throw e.error;\n    }\n  }\n  return ar;\n}\nfunction __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2)\n    for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n        if (!ar)\n          ar = Array.prototype.slice.call(from, 0, i);\n        ar[i] = from[i];\n      }\n    }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\ntypeof SuppressedError === \"function\" ? SuppressedError : function(error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nexport {\n  __assign,\n  __awaiter,\n  __generator,\n  __read,\n  __spreadArray\n};\n","var omitUndefined = function(input) {\n  var obj = {};\n  for (var key in input) {\n    var val = input[key];\n    if (val) {\n      obj[key] = val;\n    }\n  }\n  return obj;\n};\nexport {\n  omitUndefined\n};\n","var UTM_CAMPAIGN = \"utm_campaign\";\nvar UTM_CONTENT = \"utm_content\";\nvar UTM_ID = \"utm_id\";\nvar UTM_MEDIUM = \"utm_medium\";\nvar UTM_SOURCE = \"utm_source\";\nvar UTM_TERM = \"utm_term\";\nvar DCLID = \"dclid\";\nvar FBCLID = \"fbclid\";\nvar GBRAID = \"gbraid\";\nvar GCLID = \"gclid\";\nvar KO_CLICK_ID = \"ko_click_id\";\nvar LI_FAT_ID = \"li_fat_id\";\nvar MSCLKID = \"msclkid\";\nvar RDT_CID = \"rtd_cid\";\nvar TTCLID = \"ttclid\";\nvar TWCLID = \"twclid\";\nvar WBRAID = \"wbraid\";\nvar BASE_CAMPAIGN = {\n  utm_campaign: void 0,\n  utm_content: void 0,\n  utm_id: void 0,\n  utm_medium: void 0,\n  utm_source: void 0,\n  utm_term: void 0,\n  referrer: void 0,\n  referring_domain: void 0,\n  dclid: void 0,\n  gbraid: void 0,\n  gclid: void 0,\n  fbclid: void 0,\n  ko_click_id: void 0,\n  li_fat_id: void 0,\n  msclkid: void 0,\n  rtd_cid: void 0,\n  ttclid: void 0,\n  twclid: void 0,\n  wbraid: void 0\n};\nexport {\n  BASE_CAMPAIGN,\n  DCLID,\n  FBCLID,\n  GBRAID,\n  GCLID,\n  KO_CLICK_ID,\n  LI_FAT_ID,\n  MSCLKID,\n  RDT_CID,\n  TTCLID,\n  TWCLID,\n  UTM_CAMPAIGN,\n  UTM_CONTENT,\n  UTM_ID,\n  UTM_MEDIUM,\n  UTM_SOURCE,\n  UTM_TERM,\n  WBRAID\n};\n","import { __awaiter, __generator, __assign } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { getQueryParams } from \"../query-params.js\";\nimport { BASE_CAMPAIGN, UTM_CAMPAIGN, UTM_CONTENT, UTM_ID, UTM_MEDIUM, UTM_SOURCE, UTM_TERM, DCLID, FBCLID, GBRAID, GCLID, KO_CLICK_ID, LI_FAT_ID, MSCLKID, RDT_CID, TTCLID, TWCLID, WBRAID } from \"./constants.js\";\nvar CampaignParser = (\n  /** @class */\n  function() {\n    function CampaignParser2() {\n    }\n    CampaignParser2.prototype.parse = function() {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          return [2, __assign(__assign(__assign(__assign({}, BASE_CAMPAIGN), this.getUtmParam()), this.getReferrer()), this.getClickIds())];\n        });\n      });\n    };\n    CampaignParser2.prototype.getUtmParam = function() {\n      var params = getQueryParams();\n      var utmCampaign = params[UTM_CAMPAIGN];\n      var utmContent = params[UTM_CONTENT];\n      var utmId = params[UTM_ID];\n      var utmMedium = params[UTM_MEDIUM];\n      var utmSource = params[UTM_SOURCE];\n      var utmTerm = params[UTM_TERM];\n      return {\n        utm_campaign: utmCampaign,\n        utm_content: utmContent,\n        utm_id: utmId,\n        utm_medium: utmMedium,\n        utm_source: utmSource,\n        utm_term: utmTerm\n      };\n    };\n    CampaignParser2.prototype.getReferrer = function() {\n      var _a, _b;\n      var data = {\n        referrer: void 0,\n        referring_domain: void 0\n      };\n      try {\n        data.referrer = document.referrer || void 0;\n        data.referring_domain = (_b = (_a = data.referrer) === null || _a === void 0 ? void 0 : _a.split(\"/\")[2]) !== null && _b !== void 0 ? _b : void 0;\n      } catch (_c) {\n      }\n      return data;\n    };\n    CampaignParser2.prototype.getClickIds = function() {\n      var _a;\n      var params = getQueryParams();\n      return _a = {}, _a[DCLID] = params[DCLID], _a[FBCLID] = params[FBCLID], _a[GBRAID] = params[GBRAID], _a[GCLID] = params[GCLID], _a[KO_CLICK_ID] = params[KO_CLICK_ID], _a[LI_FAT_ID] = params[LI_FAT_ID], _a[MSCLKID] = params[MSCLKID], _a[RDT_CID] = params[RDT_CID], _a[TTCLID] = params[TTCLID], _a[TWCLID] = params[TWCLID], _a[WBRAID] = params[WBRAID], _a;\n    };\n    return CampaignParser2;\n  }()\n);\nexport {\n  CampaignParser\n};\n","import { __awaiter, __generator, __read, __assign, __spreadArray } from \"../../node_modules/tslib/tslib.es6.js\";\nimport { omitUndefined } from \"./utils.js\";\nimport { IdentifyOperation } from \"../../../analytics-types/lib/esm/event.js\";\nimport { BASE_CAMPAIGN } from \"../../../analytics-client-common/lib/esm/attribution/constants.js\";\nimport { getGlobalScope } from \"../../../analytics-client-common/lib/esm/global-scope.js\";\nimport { CampaignParser } from \"../../../analytics-client-common/lib/esm/attribution/campaign-parser.js\";\nvar defaultPageViewEvent = \"[Amplitude] Page Viewed\";\nvar pageViewTrackingPlugin = function(options) {\n  if (options === void 0) {\n    options = {};\n  }\n  var amplitude;\n  var globalScope = getGlobalScope();\n  var loggerProvider = void 0;\n  var pushState;\n  var localConfig;\n  var trackOn = options.trackOn, trackHistoryChanges = options.trackHistoryChanges, _a = options.eventType, eventType = _a === void 0 ? defaultPageViewEvent : _a;\n  var createPageViewEvent = function() {\n    return __awaiter(void 0, void 0, void 0, function() {\n      var _a2;\n      var _b;\n      return __generator(this, function(_c) {\n        switch (_c.label) {\n          case 0:\n            _b = {\n              event_type: eventType\n            };\n            _a2 = [{}];\n            return [4, getCampaignParams()];\n          case 1:\n            return [2, (_b.event_properties = __assign.apply(void 0, [__assign.apply(void 0, _a2.concat([_c.sent()])), { \"[Amplitude] Page Domain\": (\n              /* istanbul ignore next */\n              typeof location !== \"undefined\" && location.hostname || \"\"\n            ), \"[Amplitude] Page Location\": (\n              /* istanbul ignore next */\n              typeof location !== \"undefined\" && location.href || \"\"\n            ), \"[Amplitude] Page Path\": (\n              /* istanbul ignore next */\n              typeof location !== \"undefined\" && location.pathname || \"\"\n            ), \"[Amplitude] Page Title\": (\n              /* istanbul ignore next */\n              typeof document !== \"undefined\" && document.title || \"\"\n            ), \"[Amplitude] Page URL\": (\n              /* istanbul ignore next */\n              typeof location !== \"undefined\" && location.href.split(\"?\")[0] || \"\"\n            ) }]), _b)];\n        }\n      });\n    });\n  };\n  var shouldTrackOnPageLoad = function() {\n    return typeof trackOn === \"undefined\" || typeof trackOn === \"function\" && trackOn();\n  };\n  var previousURL = typeof location !== \"undefined\" ? location.href : null;\n  var trackHistoryPageView = function() {\n    return __awaiter(void 0, void 0, void 0, function() {\n      var newURL, shouldTrackPageView, _b, _c;\n      return __generator(this, function(_d) {\n        switch (_d.label) {\n          case 0:\n            newURL = location.href;\n            shouldTrackPageView = shouldTrackHistoryPageView(trackHistoryChanges, newURL, previousURL || \"\") && shouldTrackOnPageLoad();\n            previousURL = newURL;\n            if (!shouldTrackPageView)\n              return [3, 4];\n            loggerProvider === null || loggerProvider === void 0 ? void 0 : loggerProvider.log(\"Tracking page view event\");\n            if (!(amplitude === null || amplitude === void 0))\n              return [3, 1];\n            return [3, 3];\n          case 1:\n            _c = (_b = amplitude).track;\n            return [4, createPageViewEvent()];\n          case 2:\n            _c.apply(_b, [_d.sent()]);\n            _d.label = 3;\n          case 3:\n            _d.label = 4;\n          case 4:\n            return [\n              2\n              /*return*/\n            ];\n        }\n      });\n    });\n  };\n  var trackHistoryPageViewWrapper = function() {\n    void trackHistoryPageView();\n  };\n  var plugin = {\n    name: \"@amplitude/plugin-page-view-tracking-browser\",\n    type: \"enrichment\",\n    setup: function(config, client) {\n      return __awaiter(void 0, void 0, void 0, function() {\n        var _a2, _b;\n        return __generator(this, function(_c) {\n          switch (_c.label) {\n            case 0:\n              amplitude = client;\n              localConfig = config;\n              loggerProvider = config.loggerProvider;\n              loggerProvider.log(\"Installing @amplitude/plugin-page-view-tracking-browser\");\n              if (globalScope) {\n                globalScope.addEventListener(\"popstate\", trackHistoryPageViewWrapper);\n                pushState = globalScope.history.pushState;\n                globalScope.history.pushState = new Proxy(globalScope.history.pushState, {\n                  apply: function(target, thisArg, _a3) {\n                    var _b2 = __read(_a3, 3), state = _b2[0], unused = _b2[1], url = _b2[2];\n                    target.apply(thisArg, [state, unused, url]);\n                    void trackHistoryPageView();\n                  }\n                });\n              }\n              if (!shouldTrackOnPageLoad())\n                return [3, 2];\n              loggerProvider.log(\"Tracking page view event\");\n              _b = (_a2 = amplitude).track;\n              return [4, createPageViewEvent()];\n            case 1:\n              _b.apply(_a2, [_c.sent()]);\n              _c.label = 2;\n            case 2:\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    },\n    execute: function(event) {\n      return __awaiter(void 0, void 0, void 0, function() {\n        var pageViewEvent;\n        return __generator(this, function(_a2) {\n          switch (_a2.label) {\n            case 0:\n              if (!(trackOn === \"attribution\" && isCampaignEvent(event)))\n                return [3, 2];\n              loggerProvider === null || loggerProvider === void 0 ? void 0 : loggerProvider.log(\"Enriching campaign event to page view event with campaign parameters\");\n              return [4, createPageViewEvent()];\n            case 1:\n              pageViewEvent = _a2.sent();\n              event.event_type = pageViewEvent.event_type;\n              event.event_properties = __assign(__assign({}, event.event_properties), pageViewEvent.event_properties);\n              _a2.label = 2;\n            case 2:\n              if (localConfig && event.event_type === eventType) {\n                localConfig.pageCounter = !localConfig.pageCounter ? 1 : localConfig.pageCounter + 1;\n                event.event_properties = __assign(__assign({}, event.event_properties), { \"[Amplitude] Page Counter\": localConfig.pageCounter });\n              }\n              return [2, event];\n          }\n        });\n      });\n    },\n    teardown: function() {\n      return __awaiter(void 0, void 0, void 0, function() {\n        return __generator(this, function(_a2) {\n          if (globalScope) {\n            globalScope.removeEventListener(\"popstate\", trackHistoryPageViewWrapper);\n            if (pushState) {\n              globalScope.history.pushState = pushState;\n            }\n          }\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    }\n  };\n  return plugin;\n};\nvar getCampaignParams = function() {\n  return __awaiter(void 0, void 0, void 0, function() {\n    var _a;\n    return __generator(this, function(_b) {\n      switch (_b.label) {\n        case 0:\n          _a = omitUndefined;\n          return [4, new CampaignParser().parse()];\n        case 1:\n          return [2, _a.apply(void 0, [_b.sent()])];\n      }\n    });\n  });\n};\nvar isCampaignEvent = function(event) {\n  if (event.event_type === \"$identify\" && event.user_properties) {\n    var properties = event.user_properties;\n    var $set = properties[IdentifyOperation.SET] || {};\n    var $unset = properties[IdentifyOperation.UNSET] || {};\n    var userProperties_1 = __spreadArray(__spreadArray([], __read(Object.keys($set)), false), __read(Object.keys($unset)), false);\n    return Object.keys(BASE_CAMPAIGN).every(function(value) {\n      return userProperties_1.includes(value);\n    });\n  }\n  return false;\n};\nvar shouldTrackHistoryPageView = function(trackingOption, newURL, oldURL) {\n  switch (trackingOption) {\n    case \"pathOnly\":\n      return newURL.split(\"?\")[0] !== oldURL.split(\"?\")[0];\n    default:\n      return newURL !== oldURL;\n  }\n};\nexport {\n  defaultPageViewEvent,\n  pageViewTrackingPlugin,\n  shouldTrackHistoryPageView\n};\n","import { __awaiter, __generator } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { getAnalyticsConnector } from \"../analytics-connector.js\";\nvar IdentityEventSender = (\n  /** @class */\n  function() {\n    function IdentityEventSender2() {\n      this.name = \"identity\";\n      this.type = \"before\";\n      this.identityStore = getAnalyticsConnector().identityStore;\n    }\n    IdentityEventSender2.prototype.execute = function(context) {\n      return __awaiter(this, void 0, void 0, function() {\n        var userProperties;\n        return __generator(this, function(_a) {\n          userProperties = context.user_properties;\n          if (userProperties) {\n            this.identityStore.editIdentity().updateUserProperties(userProperties).commit();\n          }\n          return [2, context];\n        });\n      });\n    };\n    IdentityEventSender2.prototype.setup = function(config) {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          if (config.instanceName) {\n            this.identityStore = getAnalyticsConnector(config.instanceName).identityStore;\n          }\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    return IdentityEventSender2;\n  }()\n);\nexport {\n  IdentityEventSender\n};\n","var chunk = function(arr, size) {\n  var chunkSize = Math.max(size, 1);\n  return arr.reduce(function(chunks, element, index) {\n    var chunkIndex = Math.floor(index / chunkSize);\n    if (!chunks[chunkIndex]) {\n      chunks[chunkIndex] = [];\n    }\n    chunks[chunkIndex].push(element);\n    return chunks;\n  }, []);\n};\nexport {\n  chunk\n};\n","import { __awaiter, __generator, __rest, __spreadArray, __read } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { MAX_RETRIES_EXCEEDED_MESSAGE, UNEXPECTED_ERROR_MESSAGE, MISSING_API_KEY_MESSAGE, SUCCESS_MESSAGE, INVALID_API_KEY } from \"../messages.js\";\nimport { STORAGE_PREFIX } from \"../constants.js\";\nimport { chunk } from \"../utils/chunk.js\";\nimport { buildResult } from \"../utils/result-builder.js\";\nimport { createServerConfig, RequestMetadata } from \"../config.js\";\nimport { UUID } from \"../utils/uuid.js\";\nimport { Status } from \"../../../../analytics-types/lib/esm/status.js\";\nfunction getErrorMessage(error) {\n  if (error instanceof Error)\n    return error.message;\n  return String(error);\n}\nfunction getResponseBodyString(res) {\n  var responseBodyString = \"\";\n  try {\n    if (\"body\" in res) {\n      responseBodyString = JSON.stringify(res.body, null, 2);\n    }\n  } catch (_a) {\n  }\n  return responseBodyString;\n}\nvar Destination = (\n  /** @class */\n  function() {\n    function Destination2() {\n      this.name = \"amplitude\";\n      this.type = \"destination\";\n      this.retryTimeout = 1e3;\n      this.throttleTimeout = 3e4;\n      this.storageKey = \"\";\n      this.scheduled = null;\n      this.queue = [];\n    }\n    Destination2.prototype.setup = function(config) {\n      var _a;\n      return __awaiter(this, void 0, void 0, function() {\n        var unsent;\n        var _this = this;\n        return __generator(this, function(_b) {\n          switch (_b.label) {\n            case 0:\n              this.config = config;\n              this.storageKey = \"\".concat(STORAGE_PREFIX, \"_\").concat(this.config.apiKey.substring(0, 10));\n              return [4, (_a = this.config.storageProvider) === null || _a === void 0 ? void 0 : _a.get(this.storageKey)];\n            case 1:\n              unsent = _b.sent();\n              if (unsent && unsent.length > 0) {\n                void Promise.all(unsent.map(function(event) {\n                  return _this.execute(event);\n                })).catch();\n              }\n              return [2, Promise.resolve(void 0)];\n          }\n        });\n      });\n    };\n    Destination2.prototype.execute = function(event) {\n      var _this = this;\n      if (!event.insert_id) {\n        event.insert_id = UUID();\n      }\n      return new Promise(function(resolve) {\n        var context = {\n          event,\n          attempts: 0,\n          callback: function(result) {\n            return resolve(result);\n          },\n          timeout: 0\n        };\n        void _this.addToQueue(context);\n      });\n    };\n    Destination2.prototype.getTryableList = function(list) {\n      var _this = this;\n      return list.filter(function(context) {\n        if (context.attempts < _this.config.flushMaxRetries) {\n          context.attempts += 1;\n          return true;\n        }\n        void _this.fulfillRequest([context], 500, MAX_RETRIES_EXCEEDED_MESSAGE);\n        return false;\n      });\n    };\n    Destination2.prototype.scheduleTryable = function(list, shouldAddToQueue) {\n      var _this = this;\n      if (shouldAddToQueue === void 0) {\n        shouldAddToQueue = false;\n      }\n      list.forEach(function(context) {\n        if (shouldAddToQueue) {\n          _this.queue = _this.queue.concat(context);\n        }\n        if (context.timeout === 0) {\n          _this.schedule(_this.config.flushIntervalMillis);\n          return;\n        }\n        setTimeout(function() {\n          context.timeout = 0;\n          _this.schedule(0);\n        }, context.timeout);\n      });\n    };\n    Destination2.prototype.addToQueue = function() {\n      var list = [];\n      for (var _i = 0; _i < arguments.length; _i++) {\n        list[_i] = arguments[_i];\n      }\n      var tryable = this.getTryableList(list);\n      this.scheduleTryable(tryable, true);\n      this.saveEvents();\n    };\n    Destination2.prototype.schedule = function(timeout) {\n      var _this = this;\n      if (this.scheduled || this.config.offline) {\n        return;\n      }\n      this.scheduled = setTimeout(function() {\n        void _this.flush(true).then(function() {\n          if (_this.queue.length > 0) {\n            _this.schedule(timeout);\n          }\n        });\n      }, timeout);\n    };\n    Destination2.prototype.flush = function(useRetry) {\n      if (useRetry === void 0) {\n        useRetry = false;\n      }\n      return __awaiter(this, void 0, void 0, function() {\n        var list, later, batches;\n        var _this = this;\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              if (this.config.offline) {\n                this.config.loggerProvider.debug(\"Skipping flush while offline.\");\n                return [\n                  2\n                  /*return*/\n                ];\n              }\n              list = [];\n              later = [];\n              this.queue.forEach(function(context) {\n                return context.timeout === 0 ? list.push(context) : later.push(context);\n              });\n              if (this.scheduled) {\n                clearTimeout(this.scheduled);\n                this.scheduled = null;\n              }\n              batches = chunk(list, this.config.flushQueueSize);\n              return [4, Promise.all(batches.map(function(batch) {\n                return _this.send(batch, useRetry);\n              }))];\n            case 1:\n              _a.sent();\n              this.scheduleTryable(later);\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    Destination2.prototype.send = function(list, useRetry) {\n      if (useRetry === void 0) {\n        useRetry = true;\n      }\n      return __awaiter(this, void 0, void 0, function() {\n        var payload, serverUrl, res, e_1, errorMessage;\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              if (!this.config.apiKey) {\n                return [2, this.fulfillRequest(list, 400, MISSING_API_KEY_MESSAGE)];\n              }\n              payload = {\n                api_key: this.config.apiKey,\n                events: list.map(function(context) {\n                  var _a2 = context.event;\n                  _a2.extra;\n                  var eventWithoutExtra = __rest(_a2, [\"extra\"]);\n                  return eventWithoutExtra;\n                }),\n                options: {\n                  min_id_length: this.config.minIdLength\n                },\n                client_upload_time: (/* @__PURE__ */ new Date()).toISOString(),\n                request_metadata: this.config.requestMetadata\n              };\n              this.config.requestMetadata = new RequestMetadata();\n              _a.label = 1;\n            case 1:\n              _a.trys.push([1, 3, , 4]);\n              serverUrl = createServerConfig(this.config.serverUrl, this.config.serverZone, this.config.useBatch).serverUrl;\n              return [4, this.config.transportProvider.send(serverUrl, payload)];\n            case 2:\n              res = _a.sent();\n              if (res === null) {\n                this.fulfillRequest(list, 0, UNEXPECTED_ERROR_MESSAGE);\n                return [\n                  2\n                  /*return*/\n                ];\n              }\n              if (!useRetry) {\n                if (\"body\" in res) {\n                  this.fulfillRequest(list, res.statusCode, \"\".concat(res.status, \": \").concat(getResponseBodyString(res)));\n                } else {\n                  this.fulfillRequest(list, res.statusCode, res.status);\n                }\n                return [\n                  2\n                  /*return*/\n                ];\n              }\n              this.handleResponse(res, list);\n              return [3, 4];\n            case 3:\n              e_1 = _a.sent();\n              errorMessage = getErrorMessage(e_1);\n              this.config.loggerProvider.error(errorMessage);\n              this.handleResponse({ status: Status.Failed, statusCode: 0 }, list);\n              return [3, 4];\n            case 4:\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    Destination2.prototype.handleResponse = function(res, list) {\n      var status = res.status;\n      switch (status) {\n        case Status.Success: {\n          this.handleSuccessResponse(res, list);\n          break;\n        }\n        case Status.Invalid: {\n          this.handleInvalidResponse(res, list);\n          break;\n        }\n        case Status.PayloadTooLarge: {\n          this.handlePayloadTooLargeResponse(res, list);\n          break;\n        }\n        case Status.RateLimit: {\n          this.handleRateLimitResponse(res, list);\n          break;\n        }\n        default: {\n          this.config.loggerProvider.warn(`{code: 0, error: \"Status '`.concat(status, \"' provided for \").concat(list.length, ' events\"}'));\n          this.handleOtherResponse(list);\n          break;\n        }\n      }\n    };\n    Destination2.prototype.handleSuccessResponse = function(res, list) {\n      this.fulfillRequest(list, res.statusCode, SUCCESS_MESSAGE);\n    };\n    Destination2.prototype.handleInvalidResponse = function(res, list) {\n      var _this = this;\n      if (res.body.missingField || res.body.error.startsWith(INVALID_API_KEY)) {\n        this.fulfillRequest(list, res.statusCode, res.body.error);\n        return;\n      }\n      var dropIndex = __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(Object.values(res.body.eventsWithInvalidFields)), false), __read(Object.values(res.body.eventsWithMissingFields)), false), __read(Object.values(res.body.eventsWithInvalidIdLengths)), false), __read(res.body.silencedEvents), false).flat();\n      var dropIndexSet = new Set(dropIndex);\n      var retry = list.filter(function(context, index) {\n        if (dropIndexSet.has(index)) {\n          _this.fulfillRequest([context], res.statusCode, res.body.error);\n          return;\n        }\n        return true;\n      });\n      if (retry.length > 0) {\n        this.config.loggerProvider.warn(getResponseBodyString(res));\n      }\n      var tryable = this.getTryableList(retry);\n      this.scheduleTryable(tryable);\n    };\n    Destination2.prototype.handlePayloadTooLargeResponse = function(res, list) {\n      if (list.length === 1) {\n        this.fulfillRequest(list, res.statusCode, res.body.error);\n        return;\n      }\n      this.config.loggerProvider.warn(getResponseBodyString(res));\n      this.config.flushQueueSize /= 2;\n      var tryable = this.getTryableList(list);\n      this.scheduleTryable(tryable);\n    };\n    Destination2.prototype.handleRateLimitResponse = function(res, list) {\n      var _this = this;\n      var dropUserIds = Object.keys(res.body.exceededDailyQuotaUsers);\n      var dropDeviceIds = Object.keys(res.body.exceededDailyQuotaDevices);\n      var throttledIndex = res.body.throttledEvents;\n      var dropUserIdsSet = new Set(dropUserIds);\n      var dropDeviceIdsSet = new Set(dropDeviceIds);\n      var throttledIndexSet = new Set(throttledIndex);\n      var retry = list.filter(function(context, index) {\n        if (context.event.user_id && dropUserIdsSet.has(context.event.user_id) || context.event.device_id && dropDeviceIdsSet.has(context.event.device_id)) {\n          _this.fulfillRequest([context], res.statusCode, res.body.error);\n          return;\n        }\n        if (throttledIndexSet.has(index)) {\n          context.timeout = _this.throttleTimeout;\n        }\n        return true;\n      });\n      if (retry.length > 0) {\n        this.config.loggerProvider.warn(getResponseBodyString(res));\n      }\n      var tryable = this.getTryableList(retry);\n      this.scheduleTryable(tryable);\n    };\n    Destination2.prototype.handleOtherResponse = function(list) {\n      var _this = this;\n      var later = list.map(function(context) {\n        context.timeout = context.attempts * _this.retryTimeout;\n        return context;\n      });\n      var tryable = this.getTryableList(later);\n      this.scheduleTryable(tryable);\n    };\n    Destination2.prototype.fulfillRequest = function(list, code, message) {\n      this.removeEvents(list);\n      list.forEach(function(context) {\n        return context.callback(buildResult(context.event, code, message));\n      });\n    };\n    Destination2.prototype.saveEvents = function() {\n      if (!this.config.storageProvider) {\n        return;\n      }\n      var updatedEvents = this.queue.map(function(context) {\n        return context.event;\n      });\n      void this.config.storageProvider.set(this.storageKey, updatedEvents);\n    };\n    Destination2.prototype.removeEvents = function(eventsToRemove) {\n      this.queue = this.queue.filter(function(queuedContext) {\n        return !eventsToRemove.some(function(context) {\n          return context.event.insert_id === queuedContext.event.insert_id;\n        });\n      });\n      this.saveEvents();\n    };\n    return Destination2;\n  }()\n);\nexport {\n  Destination,\n  getResponseBodyString\n};\n","import { __assign, __read, __rest } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { BASE_CAMPAIGN } from \"./constants.js\";\nimport { Identify } from \"../../../../analytics-core/lib/esm/identify.js\";\nimport { createIdentifyEvent } from \"../../../../analytics-core/lib/esm/utils/event-builder.js\";\nvar domainWithoutSubdomain = function(domain) {\n  var parts = domain.split(\".\");\n  if (parts.length <= 2) {\n    return domain;\n  }\n  return parts.slice(parts.length - 2, parts.length).join(\".\");\n};\nvar isDirectTraffic = function(current) {\n  return Object.values(current).every(function(value) {\n    return !value;\n  });\n};\nvar isNewCampaign = function(current, previous, options, isNewSession) {\n  if (isNewSession === void 0) {\n    isNewSession = true;\n  }\n  current.referrer;\n  var referring_domain = current.referring_domain, currentCampaign = __rest(current, [\"referrer\", \"referring_domain\"]);\n  var _a = previous || {};\n  _a.referrer;\n  var prevReferringDomain = _a.referring_domain, previousCampaign = __rest(_a, [\"referrer\", \"referring_domain\"]);\n  if (isExcludedReferrer(options.excludeReferrers, current.referring_domain)) {\n    return false;\n  }\n  if (!isNewSession && isDirectTraffic(current) && previous) {\n    return false;\n  }\n  var hasNewCampaign = JSON.stringify(currentCampaign) !== JSON.stringify(previousCampaign);\n  var hasNewDomain = domainWithoutSubdomain(referring_domain || \"\") !== domainWithoutSubdomain(prevReferringDomain || \"\");\n  return !previous || hasNewCampaign || hasNewDomain;\n};\nvar isExcludedReferrer = function(excludeReferrers, referringDomain) {\n  if (excludeReferrers === void 0) {\n    excludeReferrers = [];\n  }\n  if (referringDomain === void 0) {\n    referringDomain = \"\";\n  }\n  return excludeReferrers.some(function(value) {\n    return value instanceof RegExp ? value.test(referringDomain) : value === referringDomain;\n  });\n};\nvar createCampaignEvent = function(campaign, options) {\n  var campaignParameters = __assign(__assign({}, BASE_CAMPAIGN), campaign);\n  var identifyEvent = Object.entries(campaignParameters).reduce(function(identify, _a) {\n    var _b;\n    var _c = __read(_a, 2), key = _c[0], value = _c[1];\n    identify.setOnce(\"initial_\".concat(key), (_b = value !== null && value !== void 0 ? value : options.initialEmptyValue) !== null && _b !== void 0 ? _b : \"EMPTY\");\n    if (value) {\n      return identify.set(key, value);\n    }\n    return identify.unset(key);\n  }, new Identify());\n  return createIdentifyEvent(identifyEvent);\n};\nvar getDefaultExcludedReferrers = function(cookieDomain) {\n  var domain = cookieDomain;\n  if (domain) {\n    if (domain.startsWith(\".\")) {\n      domain = domain.substring(1);\n    }\n    return [new RegExp(\"\".concat(domain.replace(\".\", \"\\\\.\"), \"$\"))];\n  }\n  return [];\n};\nexport {\n  createCampaignEvent,\n  getDefaultExcludedReferrers,\n  isExcludedReferrer,\n  isNewCampaign\n};\n","import { AMPLITUDE_PREFIX } from \"../../../../analytics-core/lib/esm/constants.js\";\nvar getStorageKey = function(apiKey, postKey, limit) {\n  if (postKey === void 0) {\n    postKey = \"\";\n  }\n  if (limit === void 0) {\n    limit = 10;\n  }\n  return [AMPLITUDE_PREFIX, postKey, apiKey.substring(0, limit)].filter(Boolean).join(\"_\");\n};\nexport {\n  getStorageKey\n};\n","var isNewSession = function(sessionTimeout, lastEventTime) {\n  if (lastEventTime === void 0) {\n    lastEventTime = Date.now();\n  }\n  var currentTime = Date.now();\n  var timeSinceLastEvent = currentTime - lastEventTime;\n  return timeSinceLastEvent > sessionTimeout;\n};\nexport {\n  isNewSession\n};\n","import { __assign, __awaiter, __generator, __read } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { getDefaultExcludedReferrers, createCampaignEvent, isNewCampaign } from \"./helpers.js\";\nimport { getStorageKey } from \"../storage/helpers.js\";\nimport { CampaignParser } from \"./campaign-parser.js\";\nimport { BASE_CAMPAIGN } from \"./constants.js\";\nimport { isNewSession } from \"../session.js\";\nvar WebAttribution = (\n  /** @class */\n  function() {\n    function WebAttribution2(options, config) {\n      var _a;\n      this.shouldTrackNewCampaign = false;\n      this.options = __assign({ initialEmptyValue: \"EMPTY\", resetSessionOnNewCampaign: false, excludeReferrers: getDefaultExcludedReferrers((_a = config.cookieOptions) === null || _a === void 0 ? void 0 : _a.domain) }, options);\n      this.storage = config.cookieStorage;\n      this.storageKey = getStorageKey(config.apiKey, \"MKTG\");\n      this.currentCampaign = BASE_CAMPAIGN;\n      this.sessionTimeout = config.sessionTimeout;\n      this.lastEventTime = config.lastEventTime;\n      config.loggerProvider.log(\"Installing web attribution tracking.\");\n    }\n    WebAttribution2.prototype.init = function() {\n      return __awaiter(this, void 0, void 0, function() {\n        var isEventInNewSession;\n        var _a;\n        return __generator(this, function(_b) {\n          switch (_b.label) {\n            case 0:\n              return [4, this.fetchCampaign()];\n            case 1:\n              _a = __read.apply(void 0, [_b.sent(), 2]), this.currentCampaign = _a[0], this.previousCampaign = _a[1];\n              isEventInNewSession = !this.lastEventTime ? true : isNewSession(this.sessionTimeout, this.lastEventTime);\n              if (!isNewCampaign(this.currentCampaign, this.previousCampaign, this.options, isEventInNewSession))\n                return [3, 3];\n              this.shouldTrackNewCampaign = true;\n              return [4, this.storage.set(this.storageKey, this.currentCampaign)];\n            case 2:\n              _b.sent();\n              _b.label = 3;\n            case 3:\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    WebAttribution2.prototype.fetchCampaign = function() {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              return [4, Promise.all([new CampaignParser().parse(), this.storage.get(this.storageKey)])];\n            case 1:\n              return [2, _a.sent()];\n          }\n        });\n      });\n    };\n    WebAttribution2.prototype.generateCampaignEvent = function(event_id) {\n      this.shouldTrackNewCampaign = false;\n      var campaignEvent = createCampaignEvent(this.currentCampaign, this.options);\n      if (event_id) {\n        campaignEvent.event_id = event_id;\n      }\n      return campaignEvent;\n    };\n    WebAttribution2.prototype.shouldSetSessionIdOnNewCampaign = function() {\n      return this.shouldTrackNewCampaign && !!this.options.resetSessionOnNewCampaign;\n    };\n    return WebAttribution2;\n  }()\n);\nexport {\n  WebAttribution\n};\n","import { __extends, __assign, __awaiter, __generator } from \"../../node_modules/tslib/tslib.es6.js\";\nimport { isInstanceProxy, convertProxyObjectToRealObject } from \"./utils/snippet-helper.js\";\nimport { Context } from \"./plugins/context.js\";\nimport { createTransport, useBrowserConfig } from \"./config.js\";\nimport { formInteractionTracking } from \"./plugins/form-interaction-tracking.js\";\nimport { fileDownloadTracking } from \"./plugins/file-download-tracking.js\";\nimport { DEFAULT_SESSION_END_EVENT, DEFAULT_SESSION_START_EVENT } from \"./constants.js\";\nimport { detNotify } from \"./det-notification.js\";\nimport { networkConnectivityCheckerPlugin } from \"./plugins/network-connectivity-checker.js\";\nimport { createBrowserJoinedConfigGenerator } from \"./config/joined-config.js\";\nimport { returnWrapper } from \"../../../analytics-core/lib/esm/utils/return-wrapper.js\";\nimport { setConnectorUserId, setConnectorDeviceId, getAnalyticsConnector } from \"../../../analytics-client-common/lib/esm/analytics-connector.js\";\nimport { UUID } from \"../../../analytics-core/lib/esm/utils/uuid.js\";\nimport { isSessionTrackingEnabled, isElementInteractionsEnabled, getElementInteractionsConfig, isPageViewTrackingEnabled, getPageViewTrackingConfig, isFormInteractionTrackingEnabled, isFileDownloadTrackingEnabled, isAttributionTrackingEnabled, getAttributionTrackingConfig } from \"../../../analytics-client-common/lib/esm/default-tracking.js\";\nimport { Identify } from \"../../../analytics-core/lib/esm/identify.js\";\nimport { Revenue } from \"../../../analytics-core/lib/esm/revenue.js\";\nimport { AmplitudeCore } from \"../../../analytics-core/lib/esm/core-client.js\";\nimport { autocapturePlugin } from \"../../../plugin-autocapture-browser/lib/esm/autocapture-plugin.js\";\nimport { pageViewTrackingPlugin } from \"../../../plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js\";\nimport { IdentityEventSender } from \"../../../analytics-client-common/lib/esm/plugins/identity.js\";\nimport { Destination } from \"../../../analytics-core/lib/esm/plugins/destination.js\";\nimport { getQueryParams } from \"../../../analytics-client-common/lib/esm/query-params.js\";\nimport { OfflineDisabled } from \"../../../analytics-types/lib/esm/offline.js\";\nimport { WebAttribution } from \"../../../analytics-client-common/lib/esm/attribution/web-attribution.js\";\nimport { isNewSession } from \"../../../analytics-client-common/lib/esm/session.js\";\nvar AmplitudeBrowser = (\n  /** @class */\n  function(_super) {\n    __extends(AmplitudeBrowser2, _super);\n    function AmplitudeBrowser2() {\n      return _super !== null && _super.apply(this, arguments) || this;\n    }\n    AmplitudeBrowser2.prototype.init = function(apiKey, userIdOrOptions, maybeOptions) {\n      if (apiKey === void 0) {\n        apiKey = \"\";\n      }\n      var userId;\n      var options;\n      if (arguments.length > 2) {\n        userId = userIdOrOptions;\n        options = maybeOptions;\n      } else {\n        if (typeof userIdOrOptions === \"string\") {\n          userId = userIdOrOptions;\n          options = void 0;\n        } else {\n          userId = userIdOrOptions === null || userIdOrOptions === void 0 ? void 0 : userIdOrOptions.userId;\n          options = userIdOrOptions;\n        }\n      }\n      return returnWrapper(this._init(__assign(__assign({}, options), { userId, apiKey })));\n    };\n    AmplitudeBrowser2.prototype._init = function(options) {\n      var _a, _b, _c;\n      return __awaiter(this, void 0, void 0, function() {\n        var browserOptions, joinedConfigGenerator, attributionTrackingOptions, queryParams, querySessionId, connector;\n        var _this = this;\n        return __generator(this, function(_d) {\n          switch (_d.label) {\n            case 0:\n              if (this.initializing) {\n                return [\n                  2\n                  /*return*/\n                ];\n              }\n              this.initializing = true;\n              return [4, useBrowserConfig(options.apiKey, options, this)];\n            case 1:\n              browserOptions = _d.sent();\n              if (!options.fetchRemoteConfig)\n                return [3, 4];\n              return [4, createBrowserJoinedConfigGenerator(browserOptions)];\n            case 2:\n              joinedConfigGenerator = _d.sent();\n              return [4, joinedConfigGenerator.generateJoinedConfig()];\n            case 3:\n              browserOptions = _d.sent();\n              _d.label = 4;\n            case 4:\n              return [4, _super.prototype._init.call(this, browserOptions)];\n            case 5:\n              _d.sent();\n              this.logBrowserOptions(browserOptions);\n              if (!isAttributionTrackingEnabled(this.config.defaultTracking))\n                return [3, 7];\n              attributionTrackingOptions = getAttributionTrackingConfig(this.config);\n              this.webAttribution = new WebAttribution(attributionTrackingOptions, this.config);\n              return [4, this.webAttribution.init()];\n            case 6:\n              _d.sent();\n              _d.label = 7;\n            case 7:\n              queryParams = getQueryParams();\n              querySessionId = Number.isNaN(Number(queryParams.ampSessionId)) ? void 0 : Number(queryParams.ampSessionId);\n              this.setSessionId((_c = (_b = (_a = options.sessionId) !== null && _a !== void 0 ? _a : querySessionId) !== null && _b !== void 0 ? _b : this.config.sessionId) !== null && _c !== void 0 ? _c : Date.now());\n              connector = getAnalyticsConnector(options.instanceName);\n              connector.identityStore.setIdentity({\n                userId: this.config.userId,\n                deviceId: this.config.deviceId\n              });\n              if (!(this.config.offline !== OfflineDisabled))\n                return [3, 9];\n              return [4, this.add(networkConnectivityCheckerPlugin()).promise];\n            case 8:\n              _d.sent();\n              _d.label = 9;\n            case 9:\n              return [4, this.add(new Destination()).promise];\n            case 10:\n              _d.sent();\n              return [4, this.add(new Context()).promise];\n            case 11:\n              _d.sent();\n              return [4, this.add(new IdentityEventSender()).promise];\n            case 12:\n              _d.sent();\n              detNotify(this.config);\n              if (!isFileDownloadTrackingEnabled(this.config.defaultTracking))\n                return [3, 14];\n              this.config.loggerProvider.debug(\"Adding file download tracking plugin\");\n              return [4, this.add(fileDownloadTracking()).promise];\n            case 13:\n              _d.sent();\n              _d.label = 14;\n            case 14:\n              if (!isFormInteractionTrackingEnabled(this.config.defaultTracking))\n                return [3, 16];\n              this.config.loggerProvider.debug(\"Adding form interaction plugin\");\n              return [4, this.add(formInteractionTracking()).promise];\n            case 15:\n              _d.sent();\n              _d.label = 16;\n            case 16:\n              if (!isPageViewTrackingEnabled(this.config.defaultTracking))\n                return [3, 18];\n              this.config.loggerProvider.debug(\"Adding page view tracking plugin\");\n              return [4, this.add(pageViewTrackingPlugin(getPageViewTrackingConfig(this.config))).promise];\n            case 17:\n              _d.sent();\n              _d.label = 18;\n            case 18:\n              if (!isElementInteractionsEnabled(this.config.autocapture))\n                return [3, 20];\n              this.config.loggerProvider.debug(\"Adding user interactions plugin (autocapture plugin)\");\n              return [4, this.add(autocapturePlugin(getElementInteractionsConfig(this.config))).promise];\n            case 19:\n              _d.sent();\n              _d.label = 20;\n            case 20:\n              this.initializing = false;\n              return [4, this.runQueuedFunctions(\"dispatchQ\")];\n            case 21:\n              _d.sent();\n              connector.eventBridge.setEventReceiver(function(event) {\n                void _this.track(event.eventType, event.eventProperties);\n              });\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    AmplitudeBrowser2.prototype.getUserId = function() {\n      var _a;\n      return (_a = this.config) === null || _a === void 0 ? void 0 : _a.userId;\n    };\n    AmplitudeBrowser2.prototype.setUserId = function(userId) {\n      if (!this.config) {\n        this.q.push(this.setUserId.bind(this, userId));\n        return;\n      }\n      this.config.loggerProvider.debug(\"function setUserId: \", userId);\n      if (userId !== this.config.userId || userId === void 0) {\n        this.config.userId = userId;\n        setConnectorUserId(userId, this.config.instanceName);\n      }\n    };\n    AmplitudeBrowser2.prototype.getDeviceId = function() {\n      var _a;\n      return (_a = this.config) === null || _a === void 0 ? void 0 : _a.deviceId;\n    };\n    AmplitudeBrowser2.prototype.setDeviceId = function(deviceId) {\n      if (!this.config) {\n        this.q.push(this.setDeviceId.bind(this, deviceId));\n        return;\n      }\n      this.config.loggerProvider.debug(\"function setDeviceId: \", deviceId);\n      this.config.deviceId = deviceId;\n      setConnectorDeviceId(deviceId, this.config.instanceName);\n    };\n    AmplitudeBrowser2.prototype.reset = function() {\n      this.setDeviceId(UUID());\n      this.setUserId(void 0);\n    };\n    AmplitudeBrowser2.prototype.getSessionId = function() {\n      var _a;\n      return (_a = this.config) === null || _a === void 0 ? void 0 : _a.sessionId;\n    };\n    AmplitudeBrowser2.prototype.setSessionId = function(sessionId) {\n      var _a;\n      var promises = [];\n      if (!this.config) {\n        this.q.push(this.setSessionId.bind(this, sessionId));\n        return returnWrapper(Promise.resolve());\n      }\n      if (sessionId === this.config.sessionId) {\n        return returnWrapper(Promise.resolve());\n      }\n      this.config.loggerProvider.debug(\"function setSessionId: \", sessionId);\n      var previousSessionId = this.getSessionId();\n      var lastEventTime = this.config.lastEventTime;\n      var lastEventId = (_a = this.config.lastEventId) !== null && _a !== void 0 ? _a : -1;\n      this.config.sessionId = sessionId;\n      this.config.lastEventTime = void 0;\n      this.config.pageCounter = 0;\n      if (isSessionTrackingEnabled(this.config.defaultTracking)) {\n        if (previousSessionId && lastEventTime) {\n          promises.push(this.track(DEFAULT_SESSION_END_EVENT, void 0, {\n            device_id: this.previousSessionDeviceId,\n            event_id: ++lastEventId,\n            session_id: previousSessionId,\n            time: lastEventTime + 1,\n            user_id: this.previousSessionUserId\n          }).promise);\n        }\n        this.config.lastEventTime = this.config.sessionId;\n      }\n      var isCampaignEventTracked = this.trackCampaignEventIfNeeded(++lastEventId, promises);\n      if (isSessionTrackingEnabled(this.config.defaultTracking)) {\n        promises.push(this.track(DEFAULT_SESSION_START_EVENT, void 0, {\n          event_id: isCampaignEventTracked ? ++lastEventId : lastEventId,\n          session_id: this.config.sessionId,\n          time: this.config.lastEventTime\n        }).promise);\n      }\n      this.previousSessionDeviceId = this.config.deviceId;\n      this.previousSessionUserId = this.config.userId;\n      return returnWrapper(Promise.all(promises));\n    };\n    AmplitudeBrowser2.prototype.extendSession = function() {\n      if (!this.config) {\n        this.q.push(this.extendSession.bind(this));\n        return;\n      }\n      this.config.lastEventTime = Date.now();\n    };\n    AmplitudeBrowser2.prototype.setTransport = function(transport) {\n      if (!this.config) {\n        this.q.push(this.setTransport.bind(this, transport));\n        return;\n      }\n      this.config.transportProvider = createTransport(transport);\n    };\n    AmplitudeBrowser2.prototype.identify = function(identify, eventOptions) {\n      if (isInstanceProxy(identify)) {\n        var queue = identify._q;\n        identify._q = [];\n        identify = convertProxyObjectToRealObject(new Identify(), queue);\n      }\n      if (eventOptions === null || eventOptions === void 0 ? void 0 : eventOptions.user_id) {\n        this.setUserId(eventOptions.user_id);\n      }\n      if (eventOptions === null || eventOptions === void 0 ? void 0 : eventOptions.device_id) {\n        this.setDeviceId(eventOptions.device_id);\n      }\n      return _super.prototype.identify.call(this, identify, eventOptions);\n    };\n    AmplitudeBrowser2.prototype.groupIdentify = function(groupType, groupName, identify, eventOptions) {\n      if (isInstanceProxy(identify)) {\n        var queue = identify._q;\n        identify._q = [];\n        identify = convertProxyObjectToRealObject(new Identify(), queue);\n      }\n      return _super.prototype.groupIdentify.call(this, groupType, groupName, identify, eventOptions);\n    };\n    AmplitudeBrowser2.prototype.revenue = function(revenue, eventOptions) {\n      if (isInstanceProxy(revenue)) {\n        var queue = revenue._q;\n        revenue._q = [];\n        revenue = convertProxyObjectToRealObject(new Revenue(), queue);\n      }\n      return _super.prototype.revenue.call(this, revenue, eventOptions);\n    };\n    AmplitudeBrowser2.prototype.trackCampaignEventIfNeeded = function(lastEventId, promises) {\n      if (!this.webAttribution || !this.webAttribution.shouldTrackNewCampaign) {\n        return false;\n      }\n      var campaignEvent = this.webAttribution.generateCampaignEvent(lastEventId);\n      if (promises) {\n        promises.push(this.track(campaignEvent).promise);\n      } else {\n        this.track(campaignEvent);\n      }\n      this.config.loggerProvider.log(\"Tracking attribution.\");\n      return true;\n    };\n    AmplitudeBrowser2.prototype.process = function(event) {\n      return __awaiter(this, void 0, void 0, function() {\n        var currentTime, isEventInNewSession, shouldSetSessionIdOnNewCampaign;\n        return __generator(this, function(_a) {\n          currentTime = Date.now();\n          isEventInNewSession = isNewSession(this.config.sessionTimeout, this.config.lastEventTime);\n          shouldSetSessionIdOnNewCampaign = this.webAttribution && this.webAttribution.shouldSetSessionIdOnNewCampaign();\n          if (event.event_type !== DEFAULT_SESSION_START_EVENT && event.event_type !== DEFAULT_SESSION_END_EVENT && (!event.session_id || event.session_id === this.getSessionId())) {\n            if (isEventInNewSession || shouldSetSessionIdOnNewCampaign) {\n              this.setSessionId(currentTime);\n              if (shouldSetSessionIdOnNewCampaign) {\n                this.config.loggerProvider.log(\"Created a new session for new campaign.\");\n              }\n            } else if (!isEventInNewSession) {\n              this.trackCampaignEventIfNeeded();\n            }\n          }\n          return [2, _super.prototype.process.call(this, event)];\n        });\n      });\n    };\n    AmplitudeBrowser2.prototype.logBrowserOptions = function(browserConfig) {\n      try {\n        var browserConfigCopy = __assign(__assign({}, browserConfig), { apiKey: browserConfig.apiKey.substring(0, 10) + \"********\" });\n        this.config.loggerProvider.debug(\"Initialized Amplitude with BrowserConfig:\", JSON.stringify(browserConfigCopy));\n      } catch (e) {\n        this.config.loggerProvider.error(\"Error logging browser config\", e);\n      }\n    };\n    return AmplitudeBrowser2;\n  }(AmplitudeCore)\n);\nexport {\n  AmplitudeBrowser\n};\n","import { __assign, __values } from \"../../../node_modules/tslib/tslib.es6.js\";\nimport { LogLevel } from \"../../../../analytics-types/lib/esm/logger.js\";\nvar getStacktrace = function(ignoreDepth) {\n  if (ignoreDepth === void 0) {\n    ignoreDepth = 0;\n  }\n  var trace = new Error().stack || \"\";\n  return trace.split(\"\\n\").slice(2 + ignoreDepth).map(function(text) {\n    return text.trim();\n  });\n};\nvar getClientLogConfig = function(client) {\n  return function() {\n    var _a = __assign({}, client.config), logger = _a.loggerProvider, logLevel = _a.logLevel;\n    return {\n      logger,\n      logLevel\n    };\n  };\n};\nvar getValueByStringPath = function(obj, path) {\n  var e_1, _a;\n  path = path.replace(/\\[(\\w+)\\]/g, \".$1\");\n  path = path.replace(/^\\./, \"\");\n  try {\n    for (var _b = __values(path.split(\".\")), _c = _b.next(); !_c.done; _c = _b.next()) {\n      var attr = _c.value;\n      if (attr in obj) {\n        obj = obj[attr];\n      } else {\n        return;\n      }\n    }\n  } catch (e_1_1) {\n    e_1 = { error: e_1_1 };\n  } finally {\n    try {\n      if (_c && !_c.done && (_a = _b.return))\n        _a.call(_b);\n    } finally {\n      if (e_1)\n        throw e_1.error;\n    }\n  }\n  return obj;\n};\nvar getClientStates = function(client, paths) {\n  return function() {\n    var e_2, _a;\n    var res = {};\n    try {\n      for (var paths_1 = __values(paths), paths_1_1 = paths_1.next(); !paths_1_1.done; paths_1_1 = paths_1.next()) {\n        var path = paths_1_1.value;\n        res[path] = getValueByStringPath(client, path);\n      }\n    } catch (e_2_1) {\n      e_2 = { error: e_2_1 };\n    } finally {\n      try {\n        if (paths_1_1 && !paths_1_1.done && (_a = paths_1.return))\n          _a.call(paths_1);\n      } finally {\n        if (e_2)\n          throw e_2.error;\n      }\n    }\n    return res;\n  };\n};\nvar debugWrapper = function(fn, fnName, getLogConfig, getStates, fnContext) {\n  if (fnContext === void 0) {\n    fnContext = null;\n  }\n  return function() {\n    var args = [];\n    for (var _i = 0; _i < arguments.length; _i++) {\n      args[_i] = arguments[_i];\n    }\n    var _a = getLogConfig(), logger = _a.logger, logLevel = _a.logLevel;\n    if (logLevel && logLevel < LogLevel.Debug || !logLevel || !logger) {\n      return fn.apply(fnContext, args);\n    }\n    var debugContext = {\n      type: \"invoke public method\",\n      name: fnName,\n      args,\n      stacktrace: getStacktrace(1),\n      time: {\n        start: (/* @__PURE__ */ new Date()).toISOString()\n      },\n      states: {}\n    };\n    if (getStates && debugContext.states) {\n      debugContext.states.before = getStates();\n    }\n    var result = fn.apply(fnContext, args);\n    if (result && result.promise) {\n      result.promise.then(function() {\n        if (getStates && debugContext.states) {\n          debugContext.states.after = getStates();\n        }\n        if (debugContext.time) {\n          debugContext.time.end = (/* @__PURE__ */ new Date()).toISOString();\n        }\n        logger.debug(JSON.stringify(debugContext, null, 2));\n      });\n    } else {\n      if (getStates && debugContext.states) {\n        debugContext.states.after = getStates();\n      }\n      if (debugContext.time) {\n        debugContext.time.end = (/* @__PURE__ */ new Date()).toISOString();\n      }\n      logger.debug(JSON.stringify(debugContext, null, 2));\n    }\n    return result;\n  };\n};\nexport {\n  debugWrapper,\n  getClientLogConfig,\n  getClientStates,\n  getStacktrace,\n  getValueByStringPath\n};\n","import { AmplitudeBrowser } from \"./browser-client.js\";\nimport { debugWrapper, getClientStates, getClientLogConfig } from \"../../../analytics-core/lib/esm/utils/debug.js\";\nvar createInstance = function() {\n  var client2 = new AmplitudeBrowser();\n  return {\n    init: debugWrapper(client2.init.bind(client2), \"init\", getClientLogConfig(client2), getClientStates(client2, [\"config\"])),\n    add: debugWrapper(client2.add.bind(client2), \"add\", getClientLogConfig(client2), getClientStates(client2, [\"config.apiKey\", \"timeline.plugins\"])),\n    remove: debugWrapper(client2.remove.bind(client2), \"remove\", getClientLogConfig(client2), getClientStates(client2, [\"config.apiKey\", \"timeline.plugins\"])),\n    track: debugWrapper(client2.track.bind(client2), \"track\", getClientLogConfig(client2), getClientStates(client2, [\"config.apiKey\", \"timeline.queue.length\"])),\n    logEvent: debugWrapper(client2.logEvent.bind(client2), \"logEvent\", getClientLogConfig(client2), getClientStates(client2, [\"config.apiKey\", \"timeline.queue.length\"])),\n    identify: debugWrapper(client2.identify.bind(client2), \"identify\", getClientLogConfig(client2), getClientStates(client2, [\"config.apiKey\", \"timeline.queue.length\"])),\n    groupIdentify: debugWrapper(client2.groupIdentify.bind(client2), \"groupIdentify\", getClientLogConfig(client2), getClientStates(client2, [\"config.apiKey\", \"timeline.queue.length\"])),\n    setGroup: debugWrapper(client2.setGroup.bind(client2), \"setGroup\", getClientLogConfig(client2), getClientStates(client2, [\"config.apiKey\", \"timeline.queue.length\"])),\n    revenue: debugWrapper(client2.revenue.bind(client2), \"revenue\", getClientLogConfig(client2), getClientStates(client2, [\"config.apiKey\", \"timeline.queue.length\"])),\n    flush: debugWrapper(client2.flush.bind(client2), \"flush\", getClientLogConfig(client2), getClientStates(client2, [\"config.apiKey\", \"timeline.queue.length\"])),\n    getUserId: debugWrapper(client2.getUserId.bind(client2), \"getUserId\", getClientLogConfig(client2), getClientStates(client2, [\"config\", \"config.userId\"])),\n    setUserId: debugWrapper(client2.setUserId.bind(client2), \"setUserId\", getClientLogConfig(client2), getClientStates(client2, [\"config\", \"config.userId\"])),\n    getDeviceId: debugWrapper(client2.getDeviceId.bind(client2), \"getDeviceId\", getClientLogConfig(client2), getClientStates(client2, [\"config\", \"config.deviceId\"])),\n    setDeviceId: debugWrapper(client2.setDeviceId.bind(client2), \"setDeviceId\", getClientLogConfig(client2), getClientStates(client2, [\"config\", \"config.deviceId\"])),\n    reset: debugWrapper(client2.reset.bind(client2), \"reset\", getClientLogConfig(client2), getClientStates(client2, [\"config\", \"config.userId\", \"config.deviceId\"])),\n    getSessionId: debugWrapper(client2.getSessionId.bind(client2), \"getSessionId\", getClientLogConfig(client2), getClientStates(client2, [\"config\"])),\n    setSessionId: debugWrapper(client2.setSessionId.bind(client2), \"setSessionId\", getClientLogConfig(client2), getClientStates(client2, [\"config\"])),\n    extendSession: debugWrapper(client2.extendSession.bind(client2), \"extendSession\", getClientLogConfig(client2), getClientStates(client2, [\"config\"])),\n    setOptOut: debugWrapper(client2.setOptOut.bind(client2), \"setOptOut\", getClientLogConfig(client2), getClientStates(client2, [\"config\"])),\n    setTransport: debugWrapper(client2.setTransport.bind(client2), \"setTransport\", getClientLogConfig(client2), getClientStates(client2, [\"config\"]))\n  };\n};\nconst client = createInstance();\nexport {\n  createInstance,\n  client as default\n};\n","var DEFAULT_CSS_SELECTOR_ALLOWLIST = [\n  \"a\",\n  \"button\",\n  \"input\",\n  \"select\",\n  \"textarea\",\n  \"label\",\n  \"[data-amp-default-track]\",\n  \".amp-default-track\"\n];\nvar DEFAULT_DATA_ATTRIBUTE_PREFIX = \"data-amp-track-\";\nexport {\n  DEFAULT_CSS_SELECTOR_ALLOWLIST,\n  DEFAULT_DATA_ATTRIBUTE_PREFIX\n};\n","import { IdentifyOperation, RevenueProperty, SpecialEventType } from \"./event.js\";\nimport { LogLevel } from \"./logger.js\";\nimport { ServerZone } from \"./server-zone.js\";\nimport { Status } from \"./status.js\";\nimport { OfflineDisabled } from \"./offline.js\";\nimport { DEFAULT_CSS_SELECTOR_ALLOWLIST, DEFAULT_DATA_ATTRIBUTE_PREFIX } from \"./element-interactions.js\";\nexport {\n  DEFAULT_CSS_SELECTOR_ALLOWLIST,\n  DEFAULT_DATA_ATTRIBUTE_PREFIX,\n  IdentifyOperation,\n  LogLevel,\n  OfflineDisabled,\n  RevenueProperty,\n  ServerZone,\n  SpecialEventType,\n  Status\n};\n","import client from \"./browser-client-factory.js\";\nimport { createInstance } from \"./browser-client-factory.js\";\nimport { runQueuedFunctions } from \"./utils/snippet-helper.js\";\nimport * as index from \"../../../analytics-types/lib/esm/index.js\";\nimport { Revenue } from \"../../../analytics-core/lib/esm/revenue.js\";\nimport { Identify } from \"../../../analytics-core/lib/esm/identify.js\";\nvar add = client.add, extendSession = client.extendSession, flush = client.flush, getDeviceId = client.getDeviceId, getSessionId = client.getSessionId, getUserId = client.getUserId, groupIdentify = client.groupIdentify, identify = client.identify, init = client.init, logEvent = client.logEvent, remove = client.remove, reset = client.reset, revenue = client.revenue, setDeviceId = client.setDeviceId, setGroup = client.setGroup, setOptOut = client.setOptOut, setSessionId = client.setSessionId, setTransport = client.setTransport, setUserId = client.setUserId, track = client.track;\nexport {\n  Identify,\n  Revenue,\n  index as Types,\n  add,\n  createInstance,\n  extendSession,\n  flush,\n  getDeviceId,\n  getSessionId,\n  getUserId,\n  groupIdentify,\n  identify,\n  init,\n  logEvent,\n  remove,\n  reset,\n  revenue,\n  runQueuedFunctions,\n  setDeviceId,\n  setGroup,\n  setOptOut,\n  setSessionId,\n  setTransport,\n  setUserId,\n  track\n};\n","import Buffer from \"../../../vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport global from \"../../../vite-plugin-node-polyfills/shims/global/dist/index.js\";\nvar extendStatics = function(d, b) {\n  extendStatics = Object.setPrototypeOf || {\n    __proto__: []\n  } instanceof Array && function(d2, b2) {\n    d2.__proto__ = b2;\n  } || function(d2, b2) {\n    for (var p in b2)\n      if (Object.prototype.hasOwnProperty.call(b2, p))\n        d2[p] = b2[p];\n  };\n  return extendStatics(d, b);\n};\nfunction __extends(d, b) {\n  if (typeof b !== \"function\" && b !== null)\n    throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n  extendStatics(d, b);\n  function __() {\n    this.constructor = d;\n  }\n  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nvar __assign = function() {\n  __assign = Object.assign || function __assign2(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s)\n        if (Object.prototype.hasOwnProperty.call(s, p))\n          t[p] = s[p];\n    }\n    return t;\n  };\n  return __assign.apply(this, arguments);\n};\nfunction __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function(resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = Promise))(function(resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\nfunction __generator(thisArg, body) {\n  var _ = {\n    label: 0,\n    sent: function() {\n      if (t[0] & 1)\n        throw t[1];\n      return t[1];\n    },\n    trys: [],\n    ops: []\n  }, f, y, t, g;\n  return g = {\n    next: verb(0),\n    \"throw\": verb(1),\n    \"return\": verb(2)\n  }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n    return this;\n  }), g;\n  function verb(n) {\n    return function(v) {\n      return step([n, v]);\n    };\n  }\n  function step(op) {\n    if (f)\n      throw new TypeError(\"Generator is already executing.\");\n    while (g && (g = 0, op[0] && (_ = 0)), _)\n      try {\n        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n          return t;\n        if (y = 0, t)\n          op = [op[0] & 2, t.value];\n        switch (op[0]) {\n          case 0:\n          case 1:\n            t = op;\n            break;\n          case 4:\n            _.label++;\n            return {\n              value: op[1],\n              done: false\n            };\n          case 5:\n            _.label++;\n            y = op[1];\n            op = [0];\n            continue;\n          case 7:\n            op = _.ops.pop();\n            _.trys.pop();\n            continue;\n          default:\n            if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n              _ = 0;\n              continue;\n            }\n            if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n              _.label = op[1];\n              break;\n            }\n            if (op[0] === 6 && _.label < t[1]) {\n              _.label = t[1];\n              t = op;\n              break;\n            }\n            if (t && _.label < t[2]) {\n              _.label = t[2];\n              _.ops.push(op);\n              break;\n            }\n            if (t[2])\n              _.ops.pop();\n            _.trys.pop();\n            continue;\n        }\n        op = body.call(thisArg, _);\n      } catch (e) {\n        op = [6, e];\n        y = 0;\n      } finally {\n        f = t = 0;\n      }\n    if (op[0] & 5)\n      throw op[1];\n    return {\n      value: op[0] ? op[1] : void 0,\n      done: true\n    };\n  }\n}\nfunction __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n  if (m)\n    return m.call(o);\n  if (o && typeof o.length === \"number\")\n    return {\n      next: function() {\n        if (o && i >= o.length)\n          o = void 0;\n        return {\n          value: o && o[i++],\n          done: !o\n        };\n      }\n    };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nfunction __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m)\n    return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n    while ((n === void 0 || n-- > 0) && !(r = i.next()).done)\n      ar.push(r.value);\n  } catch (error) {\n    e = {\n      error\n    };\n  } finally {\n    try {\n      if (r && !r.done && (m = i[\"return\"]))\n        m.call(i);\n    } finally {\n      if (e)\n        throw e.error;\n    }\n  }\n  return ar;\n}\nfunction __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2)\n    for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n        if (!ar)\n          ar = Array.prototype.slice.call(from, 0, i);\n        ar[i] = from[i];\n      }\n    }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\ntypeof SuppressedError === \"function\" ? SuppressedError : function(error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nvar EvaluationOperator = {\n  IS: \"is\",\n  IS_NOT: \"is not\",\n  CONTAINS: \"contains\",\n  DOES_NOT_CONTAIN: \"does not contain\",\n  LESS_THAN: \"less\",\n  LESS_THAN_EQUALS: \"less or equal\",\n  GREATER_THAN: \"greater\",\n  GREATER_THAN_EQUALS: \"greater or equal\",\n  VERSION_LESS_THAN: \"version less\",\n  VERSION_LESS_THAN_EQUALS: \"version less or equal\",\n  VERSION_GREATER_THAN: \"version greater\",\n  VERSION_GREATER_THAN_EQUALS: \"version greater or equal\",\n  SET_IS: \"set is\",\n  SET_IS_NOT: \"set is not\",\n  SET_CONTAINS: \"set contains\",\n  SET_DOES_NOT_CONTAIN: \"set does not contain\",\n  SET_CONTAINS_ANY: \"set contains any\",\n  SET_DOES_NOT_CONTAIN_ANY: \"set does not contain any\",\n  REGEX_MATCH: \"regex match\",\n  REGEX_DOES_NOT_MATCH: \"regex does not match\"\n};\nvar stringToUtf8ByteArray = function(str) {\n  var out = [];\n  var p = 0;\n  for (var i = 0; i < str.length; i++) {\n    var c = str.charCodeAt(i);\n    if (c < 128) {\n      out[p++] = c;\n    } else if (c < 2048) {\n      out[p++] = c >> 6 | 192;\n      out[p++] = c & 63 | 128;\n    } else if ((c & 64512) == 55296 && i + 1 < str.length && (str.charCodeAt(i + 1) & 64512) == 56320) {\n      c = 65536 + ((c & 1023) << 10) + (str.charCodeAt(++i) & 1023);\n      out[p++] = c >> 18 | 240;\n      out[p++] = c >> 12 & 63 | 128;\n      out[p++] = c >> 6 & 63 | 128;\n      out[p++] = c & 63 | 128;\n    } else {\n      out[p++] = c >> 12 | 224;\n      out[p++] = c >> 6 & 63 | 128;\n      out[p++] = c & 63 | 128;\n    }\n  }\n  return Uint8Array.from(out);\n};\nvar C1_32 = -862048943;\nvar C2_32 = 461845907;\nvar R1_32 = 15;\nvar R2_32 = 13;\nvar M_32 = 5;\nvar N_32 = -430675100;\nvar hash32x86 = function(input, seed) {\n  if (seed === void 0) {\n    seed = 0;\n  }\n  var data = stringToUtf8ByteArray(input);\n  var length = data.length;\n  var nBlocks = length >> 2;\n  var hash = seed;\n  for (var i = 0; i < nBlocks; i++) {\n    var index_1 = i << 2;\n    var k = readIntLe(data, index_1);\n    hash = mix32(k, hash);\n  }\n  var index = nBlocks << 2;\n  var k1 = 0;\n  switch (length - index) {\n    case 3:\n      k1 ^= data[index + 2] << 16;\n      k1 ^= data[index + 1] << 8;\n      k1 ^= data[index];\n      k1 = Math.imul(k1, C1_32);\n      k1 = rotateLeft(k1, R1_32);\n      k1 = Math.imul(k1, C2_32);\n      hash ^= k1;\n      break;\n    case 2:\n      k1 ^= data[index + 1] << 8;\n      k1 ^= data[index];\n      k1 = Math.imul(k1, C1_32);\n      k1 = rotateLeft(k1, R1_32);\n      k1 = Math.imul(k1, C2_32);\n      hash ^= k1;\n      break;\n    case 1:\n      k1 ^= data[index];\n      k1 = Math.imul(k1, C1_32);\n      k1 = rotateLeft(k1, R1_32);\n      k1 = Math.imul(k1, C2_32);\n      hash ^= k1;\n      break;\n  }\n  hash ^= length;\n  return fmix32(hash) >>> 0;\n};\nvar mix32 = function(k, hash) {\n  var kResult = k;\n  var hashResult = hash;\n  kResult = Math.imul(kResult, C1_32);\n  kResult = rotateLeft(kResult, R1_32);\n  kResult = Math.imul(kResult, C2_32);\n  hashResult ^= kResult;\n  hashResult = rotateLeft(hashResult, R2_32);\n  hashResult = Math.imul(hashResult, M_32);\n  return hashResult + N_32 | 0;\n};\nvar fmix32 = function(hash) {\n  var hashResult = hash;\n  hashResult ^= hashResult >>> 16;\n  hashResult = Math.imul(hashResult, -2048144789);\n  hashResult ^= hashResult >>> 13;\n  hashResult = Math.imul(hashResult, -1028477387);\n  hashResult ^= hashResult >>> 16;\n  return hashResult;\n};\nvar rotateLeft = function(x, n, width) {\n  if (width === void 0) {\n    width = 32;\n  }\n  if (n > width)\n    n = n % width;\n  var mask = 4294967295 << width - n >>> 0;\n  var r = (x & mask) >>> 0 >>> width - n >>> 0;\n  return (x << n | r) >>> 0;\n};\nvar readIntLe = function(data, index) {\n  if (index === void 0) {\n    index = 0;\n  }\n  var n = data[index] << 24 | data[index + 1] << 16 | data[index + 2] << 8 | data[index + 3];\n  return reverseBytes(n);\n};\nvar reverseBytes = function(n) {\n  return (n & -16777216) >>> 24 | (n & 16711680) >>> 8 | (n & 65280) << 8 | (n & 255) << 24;\n};\nvar select = function(selectable, selector) {\n  var e_1, _a;\n  if (!selector || selector.length === 0) {\n    return void 0;\n  }\n  try {\n    for (var selector_1 = __values(selector), selector_1_1 = selector_1.next(); !selector_1_1.done; selector_1_1 = selector_1.next()) {\n      var selectorElement = selector_1_1.value;\n      if (!selectorElement || !selectable || typeof selectable !== \"object\") {\n        return void 0;\n      }\n      selectable = selectable[selectorElement];\n    }\n  } catch (e_1_1) {\n    e_1 = { error: e_1_1 };\n  } finally {\n    try {\n      if (selector_1_1 && !selector_1_1.done && (_a = selector_1.return))\n        _a.call(selector_1);\n    } finally {\n      if (e_1)\n        throw e_1.error;\n    }\n  }\n  if (!selectable) {\n    return void 0;\n  } else {\n    return selectable;\n  }\n};\nvar MAJOR_MINOR_REGEX = \"(\\\\d+)\\\\.(\\\\d+)\";\nvar PATCH_REGEX = \"(\\\\d+)\";\nvar PRERELEASE_REGEX = \"(-(([-\\\\w]+\\\\.?)*))?\";\nvar VERSION_PATTERN = \"^\".concat(MAJOR_MINOR_REGEX, \"(\\\\.\").concat(PATCH_REGEX).concat(PRERELEASE_REGEX, \")?$\");\nvar SemanticVersion = (\n  /** @class */\n  function() {\n    function SemanticVersion2(major, minor, patch, preRelease) {\n      if (preRelease === void 0) {\n        preRelease = void 0;\n      }\n      this.major = major;\n      this.minor = minor;\n      this.patch = patch;\n      this.preRelease = preRelease;\n    }\n    SemanticVersion2.parse = function(version2) {\n      if (!version2) {\n        return void 0;\n      }\n      var matchGroup = new RegExp(VERSION_PATTERN).exec(version2);\n      if (!matchGroup) {\n        return void 0;\n      }\n      var major = Number(matchGroup[1]);\n      var minor = Number(matchGroup[2]);\n      if (isNaN(major) || isNaN(minor)) {\n        return void 0;\n      }\n      var patch = Number(matchGroup[4]) || 0;\n      var preRelease = matchGroup[5] || void 0;\n      return new SemanticVersion2(major, minor, patch, preRelease);\n    };\n    SemanticVersion2.prototype.compareTo = function(other) {\n      if (this.major > other.major)\n        return 1;\n      if (this.major < other.major)\n        return -1;\n      if (this.minor > other.minor)\n        return 1;\n      if (this.minor < other.minor)\n        return -1;\n      if (this.patch > other.patch)\n        return 1;\n      if (this.patch < other.patch)\n        return -1;\n      if (this.preRelease && !other.preRelease)\n        return -1;\n      if (!this.preRelease && other.preRelease)\n        return 1;\n      if (this.preRelease && other.preRelease) {\n        if (this.preRelease > other.preRelease)\n          return 1;\n        if (this.preRelease < other.preRelease)\n          return -1;\n        return 0;\n      }\n      return 0;\n    };\n    return SemanticVersion2;\n  }()\n);\nvar EvaluationEngine = (\n  /** @class */\n  function() {\n    function EvaluationEngine2() {\n    }\n    EvaluationEngine2.prototype.evaluate = function(context, flags) {\n      var e_1, _a;\n      var results = {};\n      var target = {\n        context,\n        result: results\n      };\n      try {\n        for (var flags_1 = __values(flags), flags_1_1 = flags_1.next(); !flags_1_1.done; flags_1_1 = flags_1.next()) {\n          var flag = flags_1_1.value;\n          var variant = this.evaluateFlag(target, flag);\n          if (variant) {\n            results[flag.key] = variant;\n          }\n        }\n      } catch (e_1_1) {\n        e_1 = { error: e_1_1 };\n      } finally {\n        try {\n          if (flags_1_1 && !flags_1_1.done && (_a = flags_1.return))\n            _a.call(flags_1);\n        } finally {\n          if (e_1)\n            throw e_1.error;\n        }\n      }\n      return results;\n    };\n    EvaluationEngine2.prototype.evaluateFlag = function(target, flag) {\n      var e_2, _a;\n      var result;\n      try {\n        for (var _b = __values(flag.segments), _c = _b.next(); !_c.done; _c = _b.next()) {\n          var segment = _c.value;\n          result = this.evaluateSegment(target, flag, segment);\n          if (result) {\n            var metadata = __assign(__assign(__assign({}, flag.metadata), segment.metadata), result.metadata);\n            result = __assign(__assign({}, result), { metadata });\n            break;\n          }\n        }\n      } catch (e_2_1) {\n        e_2 = { error: e_2_1 };\n      } finally {\n        try {\n          if (_c && !_c.done && (_a = _b.return))\n            _a.call(_b);\n        } finally {\n          if (e_2)\n            throw e_2.error;\n        }\n      }\n      return result;\n    };\n    EvaluationEngine2.prototype.evaluateSegment = function(target, flag, segment) {\n      var e_3, _a, e_4, _b;\n      if (!segment.conditions) {\n        var variantKey = this.bucket(target, segment);\n        if (variantKey !== void 0) {\n          return flag.variants[variantKey];\n        } else {\n          return void 0;\n        }\n      }\n      try {\n        for (var _c = __values(segment.conditions), _d = _c.next(); !_d.done; _d = _c.next()) {\n          var conditions = _d.value;\n          var match = true;\n          try {\n            for (var conditions_1 = (e_4 = void 0, __values(conditions)), conditions_1_1 = conditions_1.next(); !conditions_1_1.done; conditions_1_1 = conditions_1.next()) {\n              var condition = conditions_1_1.value;\n              match = this.matchCondition(target, condition);\n              if (!match) {\n                break;\n              }\n            }\n          } catch (e_4_1) {\n            e_4 = { error: e_4_1 };\n          } finally {\n            try {\n              if (conditions_1_1 && !conditions_1_1.done && (_b = conditions_1.return))\n                _b.call(conditions_1);\n            } finally {\n              if (e_4)\n                throw e_4.error;\n            }\n          }\n          if (match) {\n            var variantKey = this.bucket(target, segment);\n            if (variantKey !== void 0) {\n              return flag.variants[variantKey];\n            } else {\n              return void 0;\n            }\n          }\n        }\n      } catch (e_3_1) {\n        e_3 = { error: e_3_1 };\n      } finally {\n        try {\n          if (_d && !_d.done && (_a = _c.return))\n            _a.call(_c);\n        } finally {\n          if (e_3)\n            throw e_3.error;\n        }\n      }\n      return void 0;\n    };\n    EvaluationEngine2.prototype.matchCondition = function(target, condition) {\n      var propValue = select(target, condition.selector);\n      if (!propValue) {\n        return this.matchNull(condition.op, condition.values);\n      } else if (this.isSetOperator(condition.op)) {\n        var propValueStringList = this.coerceStringArray(propValue);\n        if (!propValueStringList) {\n          return false;\n        }\n        return this.matchSet(propValueStringList, condition.op, condition.values);\n      } else {\n        var propValueString = this.coerceString(propValue);\n        if (propValueString !== void 0) {\n          return this.matchString(propValueString, condition.op, condition.values);\n        } else {\n          return false;\n        }\n      }\n    };\n    EvaluationEngine2.prototype.getHash = function(key) {\n      return hash32x86(key);\n    };\n    EvaluationEngine2.prototype.bucket = function(target, segment) {\n      var e_5, _a, e_6, _b;\n      if (!segment.bucket) {\n        return segment.variant;\n      }\n      var bucketingValue = this.coerceString(select(target, segment.bucket.selector));\n      if (!bucketingValue || bucketingValue.length === 0) {\n        return segment.variant;\n      }\n      var keyToHash = \"\".concat(segment.bucket.salt, \"/\").concat(bucketingValue);\n      var hash = this.getHash(keyToHash);\n      var allocationValue = hash % 100;\n      var distributionValue = Math.floor(hash / 100);\n      try {\n        for (var _c = __values(segment.bucket.allocations), _d = _c.next(); !_d.done; _d = _c.next()) {\n          var allocation = _d.value;\n          var allocationStart = allocation.range[0];\n          var allocationEnd = allocation.range[1];\n          if (allocationValue >= allocationStart && allocationValue < allocationEnd) {\n            try {\n              for (var _e = (e_6 = void 0, __values(allocation.distributions)), _f = _e.next(); !_f.done; _f = _e.next()) {\n                var distribution = _f.value;\n                var distributionStart = distribution.range[0];\n                var distributionEnd = distribution.range[1];\n                if (distributionValue >= distributionStart && distributionValue < distributionEnd) {\n                  return distribution.variant;\n                }\n              }\n            } catch (e_6_1) {\n              e_6 = { error: e_6_1 };\n            } finally {\n              try {\n                if (_f && !_f.done && (_b = _e.return))\n                  _b.call(_e);\n              } finally {\n                if (e_6)\n                  throw e_6.error;\n              }\n            }\n          }\n        }\n      } catch (e_5_1) {\n        e_5 = { error: e_5_1 };\n      } finally {\n        try {\n          if (_d && !_d.done && (_a = _c.return))\n            _a.call(_c);\n        } finally {\n          if (e_5)\n            throw e_5.error;\n        }\n      }\n      return segment.variant;\n    };\n    EvaluationEngine2.prototype.matchNull = function(op, filterValues) {\n      var containsNone = this.containsNone(filterValues);\n      switch (op) {\n        case EvaluationOperator.IS:\n        case EvaluationOperator.CONTAINS:\n        case EvaluationOperator.LESS_THAN:\n        case EvaluationOperator.LESS_THAN_EQUALS:\n        case EvaluationOperator.GREATER_THAN:\n        case EvaluationOperator.GREATER_THAN_EQUALS:\n        case EvaluationOperator.VERSION_LESS_THAN:\n        case EvaluationOperator.VERSION_LESS_THAN_EQUALS:\n        case EvaluationOperator.VERSION_GREATER_THAN:\n        case EvaluationOperator.VERSION_GREATER_THAN_EQUALS:\n        case EvaluationOperator.SET_IS:\n        case EvaluationOperator.SET_CONTAINS:\n        case EvaluationOperator.SET_CONTAINS_ANY:\n          return containsNone;\n        case EvaluationOperator.IS_NOT:\n        case EvaluationOperator.DOES_NOT_CONTAIN:\n        case EvaluationOperator.SET_DOES_NOT_CONTAIN:\n        case EvaluationOperator.SET_DOES_NOT_CONTAIN_ANY:\n          return !containsNone;\n        default:\n          return false;\n      }\n    };\n    EvaluationEngine2.prototype.matchSet = function(propValues, op, filterValues) {\n      switch (op) {\n        case EvaluationOperator.SET_IS:\n          return this.setEquals(propValues, filterValues);\n        case EvaluationOperator.SET_IS_NOT:\n          return !this.setEquals(propValues, filterValues);\n        case EvaluationOperator.SET_CONTAINS:\n          return this.matchesSetContainsAll(propValues, filterValues);\n        case EvaluationOperator.SET_DOES_NOT_CONTAIN:\n          return !this.matchesSetContainsAll(propValues, filterValues);\n        case EvaluationOperator.SET_CONTAINS_ANY:\n          return this.matchesSetContainsAny(propValues, filterValues);\n        case EvaluationOperator.SET_DOES_NOT_CONTAIN_ANY:\n          return !this.matchesSetContainsAny(propValues, filterValues);\n        default:\n          return false;\n      }\n    };\n    EvaluationEngine2.prototype.matchString = function(propValue, op, filterValues) {\n      var _this = this;\n      switch (op) {\n        case EvaluationOperator.IS:\n          return this.matchesIs(propValue, filterValues);\n        case EvaluationOperator.IS_NOT:\n          return !this.matchesIs(propValue, filterValues);\n        case EvaluationOperator.CONTAINS:\n          return this.matchesContains(propValue, filterValues);\n        case EvaluationOperator.DOES_NOT_CONTAIN:\n          return !this.matchesContains(propValue, filterValues);\n        case EvaluationOperator.LESS_THAN:\n        case EvaluationOperator.LESS_THAN_EQUALS:\n        case EvaluationOperator.GREATER_THAN:\n        case EvaluationOperator.GREATER_THAN_EQUALS:\n          return this.matchesComparable(propValue, op, filterValues, function(value) {\n            return _this.parseNumber(value);\n          }, this.comparator);\n        case EvaluationOperator.VERSION_LESS_THAN:\n        case EvaluationOperator.VERSION_LESS_THAN_EQUALS:\n        case EvaluationOperator.VERSION_GREATER_THAN:\n        case EvaluationOperator.VERSION_GREATER_THAN_EQUALS:\n          return this.matchesComparable(propValue, op, filterValues, function(value) {\n            return SemanticVersion.parse(value);\n          }, this.versionComparator);\n        case EvaluationOperator.REGEX_MATCH:\n          return this.matchesRegex(propValue, filterValues);\n        case EvaluationOperator.REGEX_DOES_NOT_MATCH:\n          return !this.matchesRegex(propValue, filterValues);\n        default:\n          return false;\n      }\n    };\n    EvaluationEngine2.prototype.matchesIs = function(propValue, filterValues) {\n      if (this.containsBooleans(filterValues)) {\n        var lower_1 = propValue.toLowerCase();\n        if (lower_1 === \"true\" || lower_1 === \"false\") {\n          return filterValues.some(function(value) {\n            return value.toLowerCase() === lower_1;\n          });\n        }\n      }\n      return filterValues.some(function(value) {\n        return propValue === value;\n      });\n    };\n    EvaluationEngine2.prototype.matchesContains = function(propValue, filterValues) {\n      var e_7, _a;\n      try {\n        for (var filterValues_1 = __values(filterValues), filterValues_1_1 = filterValues_1.next(); !filterValues_1_1.done; filterValues_1_1 = filterValues_1.next()) {\n          var filterValue = filterValues_1_1.value;\n          if (propValue.toLowerCase().includes(filterValue.toLowerCase())) {\n            return true;\n          }\n        }\n      } catch (e_7_1) {\n        e_7 = { error: e_7_1 };\n      } finally {\n        try {\n          if (filterValues_1_1 && !filterValues_1_1.done && (_a = filterValues_1.return))\n            _a.call(filterValues_1);\n        } finally {\n          if (e_7)\n            throw e_7.error;\n        }\n      }\n      return false;\n    };\n    EvaluationEngine2.prototype.matchesComparable = function(propValue, op, filterValues, typeTransformer, typeComparator) {\n      var _this = this;\n      var propValueTransformed = typeTransformer(propValue);\n      var filterValuesTransformed = filterValues.map(function(filterValue) {\n        return typeTransformer(filterValue);\n      }).filter(function(filterValue) {\n        return filterValue !== void 0;\n      });\n      if (propValueTransformed === void 0 || filterValuesTransformed.length === 0) {\n        return filterValues.some(function(filterValue) {\n          return _this.comparator(propValue, op, filterValue);\n        });\n      } else {\n        return filterValuesTransformed.some(function(filterValueTransformed) {\n          return typeComparator(propValueTransformed, op, filterValueTransformed);\n        });\n      }\n    };\n    EvaluationEngine2.prototype.comparator = function(propValue, op, filterValue) {\n      switch (op) {\n        case EvaluationOperator.LESS_THAN:\n        case EvaluationOperator.VERSION_LESS_THAN:\n          return propValue < filterValue;\n        case EvaluationOperator.LESS_THAN_EQUALS:\n        case EvaluationOperator.VERSION_LESS_THAN_EQUALS:\n          return propValue <= filterValue;\n        case EvaluationOperator.GREATER_THAN:\n        case EvaluationOperator.VERSION_GREATER_THAN:\n          return propValue > filterValue;\n        case EvaluationOperator.GREATER_THAN_EQUALS:\n        case EvaluationOperator.VERSION_GREATER_THAN_EQUALS:\n          return propValue >= filterValue;\n        default:\n          return false;\n      }\n    };\n    EvaluationEngine2.prototype.versionComparator = function(propValue, op, filterValue) {\n      var compareTo = propValue.compareTo(filterValue);\n      switch (op) {\n        case EvaluationOperator.LESS_THAN:\n        case EvaluationOperator.VERSION_LESS_THAN:\n          return compareTo < 0;\n        case EvaluationOperator.LESS_THAN_EQUALS:\n        case EvaluationOperator.VERSION_LESS_THAN_EQUALS:\n          return compareTo <= 0;\n        case EvaluationOperator.GREATER_THAN:\n        case EvaluationOperator.VERSION_GREATER_THAN:\n          return compareTo > 0;\n        case EvaluationOperator.GREATER_THAN_EQUALS:\n        case EvaluationOperator.VERSION_GREATER_THAN_EQUALS:\n          return compareTo >= 0;\n        default:\n          return false;\n      }\n    };\n    EvaluationEngine2.prototype.matchesRegex = function(propValue, filterValues) {\n      return filterValues.some(function(filterValue) {\n        return Boolean(new RegExp(filterValue).exec(propValue));\n      });\n    };\n    EvaluationEngine2.prototype.containsNone = function(filterValues) {\n      return filterValues.some(function(filterValue) {\n        return filterValue === \"(none)\";\n      });\n    };\n    EvaluationEngine2.prototype.containsBooleans = function(filterValues) {\n      return filterValues.some(function(filterValue) {\n        switch (filterValue.toLowerCase()) {\n          case \"true\":\n          case \"false\":\n            return true;\n          default:\n            return false;\n        }\n      });\n    };\n    EvaluationEngine2.prototype.parseNumber = function(value) {\n      var _a;\n      return (_a = Number(value)) !== null && _a !== void 0 ? _a : void 0;\n    };\n    EvaluationEngine2.prototype.coerceString = function(value) {\n      if (!value) {\n        return void 0;\n      }\n      if (typeof value === \"object\") {\n        return JSON.stringify(value);\n      }\n      return String(value);\n    };\n    EvaluationEngine2.prototype.coerceStringArray = function(value) {\n      var _this = this;\n      if (Array.isArray(value)) {\n        var anyArray = value;\n        return anyArray.map(function(e) {\n          return _this.coerceString(e);\n        }).filter(Boolean);\n      }\n      var stringValue = String(value);\n      try {\n        var parsedValue = JSON.parse(stringValue);\n        if (Array.isArray(parsedValue)) {\n          var anyArray = value;\n          return anyArray.map(function(e) {\n            return _this.coerceString(e);\n          }).filter(Boolean);\n        } else {\n          return void 0;\n        }\n      } catch (_a) {\n        return void 0;\n      }\n    };\n    EvaluationEngine2.prototype.isSetOperator = function(op) {\n      switch (op) {\n        case EvaluationOperator.SET_IS:\n        case EvaluationOperator.SET_IS_NOT:\n        case EvaluationOperator.SET_CONTAINS:\n        case EvaluationOperator.SET_DOES_NOT_CONTAIN:\n        case EvaluationOperator.SET_CONTAINS_ANY:\n        case EvaluationOperator.SET_DOES_NOT_CONTAIN_ANY:\n          return true;\n        default:\n          return false;\n      }\n    };\n    EvaluationEngine2.prototype.setEquals = function(xa, ya) {\n      var xs = new Set(xa);\n      var ys = new Set(ya);\n      return xs.size === ys.size && __spreadArray([], __read(ys), false).every(function(y) {\n        return xs.has(y);\n      });\n    };\n    EvaluationEngine2.prototype.matchesSetContainsAll = function(propValues, filterValues) {\n      var e_8, _a;\n      if (propValues.length < filterValues.length) {\n        return false;\n      }\n      try {\n        for (var filterValues_2 = __values(filterValues), filterValues_2_1 = filterValues_2.next(); !filterValues_2_1.done; filterValues_2_1 = filterValues_2.next()) {\n          var filterValue = filterValues_2_1.value;\n          if (!this.matchesIs(filterValue, propValues)) {\n            return false;\n          }\n        }\n      } catch (e_8_1) {\n        e_8 = { error: e_8_1 };\n      } finally {\n        try {\n          if (filterValues_2_1 && !filterValues_2_1.done && (_a = filterValues_2.return))\n            _a.call(filterValues_2);\n        } finally {\n          if (e_8)\n            throw e_8.error;\n        }\n      }\n      return true;\n    };\n    EvaluationEngine2.prototype.matchesSetContainsAny = function(propValues, filterValues) {\n      var e_9, _a;\n      try {\n        for (var filterValues_3 = __values(filterValues), filterValues_3_1 = filterValues_3.next(); !filterValues_3_1.done; filterValues_3_1 = filterValues_3.next()) {\n          var filterValue = filterValues_3_1.value;\n          if (this.matchesIs(filterValue, propValues)) {\n            return true;\n          }\n        }\n      } catch (e_9_1) {\n        e_9 = { error: e_9_1 };\n      } finally {\n        try {\n          if (filterValues_3_1 && !filterValues_3_1.done && (_a = filterValues_3.return))\n            _a.call(filterValues_3);\n        } finally {\n          if (e_9)\n            throw e_9.error;\n        }\n      }\n      return false;\n    };\n    return EvaluationEngine2;\n  }()\n);\nvar topologicalSort = function(flags, flagKeys) {\n  var e_1, _a;\n  var available = __assign({}, flags);\n  var result = [];\n  var startingKeys = flagKeys || Object.keys(available);\n  try {\n    for (var startingKeys_1 = __values(startingKeys), startingKeys_1_1 = startingKeys_1.next(); !startingKeys_1_1.done; startingKeys_1_1 = startingKeys_1.next()) {\n      var flagKey = startingKeys_1_1.value;\n      var traversal = parentTraversal(flagKey, available);\n      if (traversal) {\n        result.push.apply(result, __spreadArray([], __read(traversal), false));\n      }\n    }\n  } catch (e_1_1) {\n    e_1 = { error: e_1_1 };\n  } finally {\n    try {\n      if (startingKeys_1_1 && !startingKeys_1_1.done && (_a = startingKeys_1.return))\n        _a.call(startingKeys_1);\n    } finally {\n      if (e_1)\n        throw e_1.error;\n    }\n  }\n  return result;\n};\nvar parentTraversal = function(flagKey, available, path) {\n  var e_2, _a;\n  if (path === void 0) {\n    path = [];\n  }\n  var flag = available[flagKey];\n  if (!flag) {\n    return void 0;\n  } else if (!flag.dependencies || flag.dependencies.length === 0) {\n    delete available[flag.key];\n    return [flag];\n  }\n  path.push(flag.key);\n  var result = [];\n  var _loop_1 = function(parentKey2) {\n    if (path.some(function(p) {\n      return p === parentKey2;\n    })) {\n      throw Error(\"Detected a cycle between flags \".concat(path));\n    }\n    var traversal = parentTraversal(parentKey2, available, path);\n    if (traversal) {\n      result.push.apply(result, __spreadArray([], __read(traversal), false));\n    }\n  };\n  try {\n    for (var _b = __values(flag.dependencies), _c = _b.next(); !_c.done; _c = _b.next()) {\n      var parentKey = _c.value;\n      _loop_1(parentKey);\n    }\n  } catch (e_2_1) {\n    e_2 = { error: e_2_1 };\n  } finally {\n    try {\n      if (_c && !_c.done && (_a = _b.return))\n        _a.call(_b);\n    } finally {\n      if (e_2)\n        throw e_2.error;\n    }\n  }\n  result.push(flag);\n  path.pop();\n  delete available[flag.key];\n  return result;\n};\nconst version = \"3.7.5\";\nconst VERSION = version;\nconst _hasatob = typeof atob === \"function\";\nconst _hasbtoa = typeof btoa === \"function\";\nconst _hasBuffer = typeof Buffer === \"function\";\nconst _TD = typeof TextDecoder === \"function\" ? new TextDecoder() : void 0;\nconst _TE = typeof TextEncoder === \"function\" ? new TextEncoder() : void 0;\nconst b64ch = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";\nconst b64chs = Array.prototype.slice.call(b64ch);\nconst b64tab = ((a) => {\n  let tab = {};\n  a.forEach((c, i) => tab[c] = i);\n  return tab;\n})(b64chs);\nconst b64re = /^(?:[A-Za-z\\d+\\/]{4})*?(?:[A-Za-z\\d+\\/]{2}(?:==)?|[A-Za-z\\d+\\/]{3}=?)?$/;\nconst _fromCC = String.fromCharCode.bind(String);\nconst _U8Afrom = typeof Uint8Array.from === \"function\" ? Uint8Array.from.bind(Uint8Array) : (it) => new Uint8Array(Array.prototype.slice.call(it, 0));\nconst _mkUriSafe = (src) => src.replace(/=/g, \"\").replace(/[+\\/]/g, (m0) => m0 == \"+\" ? \"-\" : \"_\");\nconst _tidyB64 = (s) => s.replace(/[^A-Za-z0-9\\+\\/]/g, \"\");\nconst btoaPolyfill = (bin) => {\n  let u32, c0, c1, c2, asc = \"\";\n  const pad = bin.length % 3;\n  for (let i = 0; i < bin.length; ) {\n    if ((c0 = bin.charCodeAt(i++)) > 255 || (c1 = bin.charCodeAt(i++)) > 255 || (c2 = bin.charCodeAt(i++)) > 255)\n      throw new TypeError(\"invalid character found\");\n    u32 = c0 << 16 | c1 << 8 | c2;\n    asc += b64chs[u32 >> 18 & 63] + b64chs[u32 >> 12 & 63] + b64chs[u32 >> 6 & 63] + b64chs[u32 & 63];\n  }\n  return pad ? asc.slice(0, pad - 3) + \"===\".substring(pad) : asc;\n};\nconst _btoa = _hasbtoa ? (bin) => btoa(bin) : _hasBuffer ? (bin) => Buffer.from(bin, \"binary\").toString(\"base64\") : btoaPolyfill;\nconst _fromUint8Array = _hasBuffer ? (u8a) => Buffer.from(u8a).toString(\"base64\") : (u8a) => {\n  const maxargs = 4096;\n  let strs = [];\n  for (let i = 0, l = u8a.length; i < l; i += maxargs) {\n    strs.push(_fromCC.apply(null, u8a.subarray(i, i + maxargs)));\n  }\n  return _btoa(strs.join(\"\"));\n};\nconst fromUint8Array = (u8a, urlsafe = false) => urlsafe ? _mkUriSafe(_fromUint8Array(u8a)) : _fromUint8Array(u8a);\nconst cb_utob = (c) => {\n  if (c.length < 2) {\n    var cc = c.charCodeAt(0);\n    return cc < 128 ? c : cc < 2048 ? _fromCC(192 | cc >>> 6) + _fromCC(128 | cc & 63) : _fromCC(224 | cc >>> 12 & 15) + _fromCC(128 | cc >>> 6 & 63) + _fromCC(128 | cc & 63);\n  } else {\n    var cc = 65536 + (c.charCodeAt(0) - 55296) * 1024 + (c.charCodeAt(1) - 56320);\n    return _fromCC(240 | cc >>> 18 & 7) + _fromCC(128 | cc >>> 12 & 63) + _fromCC(128 | cc >>> 6 & 63) + _fromCC(128 | cc & 63);\n  }\n};\nconst re_utob = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFFF]|[^\\x00-\\x7F]/g;\nconst utob = (u) => u.replace(re_utob, cb_utob);\nconst _encode = _hasBuffer ? (s) => Buffer.from(s, \"utf8\").toString(\"base64\") : _TE ? (s) => _fromUint8Array(_TE.encode(s)) : (s) => _btoa(utob(s));\nconst encode = (src, urlsafe = false) => urlsafe ? _mkUriSafe(_encode(src)) : _encode(src);\nconst encodeURI = (src) => encode(src, true);\nconst re_btou = /[\\xC0-\\xDF][\\x80-\\xBF]|[\\xE0-\\xEF][\\x80-\\xBF]{2}|[\\xF0-\\xF7][\\x80-\\xBF]{3}/g;\nconst cb_btou = (cccc) => {\n  switch (cccc.length) {\n    case 4:\n      var cp = (7 & cccc.charCodeAt(0)) << 18 | (63 & cccc.charCodeAt(1)) << 12 | (63 & cccc.charCodeAt(2)) << 6 | 63 & cccc.charCodeAt(3), offset = cp - 65536;\n      return _fromCC((offset >>> 10) + 55296) + _fromCC((offset & 1023) + 56320);\n    case 3:\n      return _fromCC((15 & cccc.charCodeAt(0)) << 12 | (63 & cccc.charCodeAt(1)) << 6 | 63 & cccc.charCodeAt(2));\n    default:\n      return _fromCC((31 & cccc.charCodeAt(0)) << 6 | 63 & cccc.charCodeAt(1));\n  }\n};\nconst btou = (b) => b.replace(re_btou, cb_btou);\nconst atobPolyfill = (asc) => {\n  asc = asc.replace(/\\s+/g, \"\");\n  if (!b64re.test(asc))\n    throw new TypeError(\"malformed base64.\");\n  asc += \"==\".slice(2 - (asc.length & 3));\n  let u24, bin = \"\", r1, r2;\n  for (let i = 0; i < asc.length; ) {\n    u24 = b64tab[asc.charAt(i++)] << 18 | b64tab[asc.charAt(i++)] << 12 | (r1 = b64tab[asc.charAt(i++)]) << 6 | (r2 = b64tab[asc.charAt(i++)]);\n    bin += r1 === 64 ? _fromCC(u24 >> 16 & 255) : r2 === 64 ? _fromCC(u24 >> 16 & 255, u24 >> 8 & 255) : _fromCC(u24 >> 16 & 255, u24 >> 8 & 255, u24 & 255);\n  }\n  return bin;\n};\nconst _atob = _hasatob ? (asc) => atob(_tidyB64(asc)) : _hasBuffer ? (asc) => Buffer.from(asc, \"base64\").toString(\"binary\") : atobPolyfill;\nconst _toUint8Array = _hasBuffer ? (a) => _U8Afrom(Buffer.from(a, \"base64\")) : (a) => _U8Afrom(_atob(a).split(\"\").map((c) => c.charCodeAt(0)));\nconst toUint8Array = (a) => _toUint8Array(_unURI(a));\nconst _decode = _hasBuffer ? (a) => Buffer.from(a, \"base64\").toString(\"utf8\") : _TD ? (a) => _TD.decode(_toUint8Array(a)) : (a) => btou(_atob(a));\nconst _unURI = (a) => _tidyB64(a.replace(/[-_]/g, (m0) => m0 == \"-\" ? \"+\" : \"/\"));\nconst decode = (src) => _decode(_unURI(src));\nconst isValid = (src) => {\n  if (typeof src !== \"string\")\n    return false;\n  const s = src.replace(/\\s+/g, \"\").replace(/={0,2}$/, \"\");\n  return !/[^\\s0-9a-zA-Z\\+/]/.test(s) || !/[^\\s0-9a-zA-Z\\-_]/.test(s);\n};\nconst _noEnum = (v) => {\n  return {\n    value: v,\n    enumerable: false,\n    writable: true,\n    configurable: true\n  };\n};\nconst extendString = function() {\n  const _add = (name, body) => Object.defineProperty(String.prototype, name, _noEnum(body));\n  _add(\"fromBase64\", function() {\n    return decode(this);\n  });\n  _add(\"toBase64\", function(urlsafe) {\n    return encode(this, urlsafe);\n  });\n  _add(\"toBase64URI\", function() {\n    return encode(this, true);\n  });\n  _add(\"toBase64URL\", function() {\n    return encode(this, true);\n  });\n  _add(\"toUint8Array\", function() {\n    return toUint8Array(this);\n  });\n};\nconst extendUint8Array = function() {\n  const _add = (name, body) => Object.defineProperty(Uint8Array.prototype, name, _noEnum(body));\n  _add(\"toBase64\", function(urlsafe) {\n    return fromUint8Array(this, urlsafe);\n  });\n  _add(\"toBase64URI\", function() {\n    return fromUint8Array(this, true);\n  });\n  _add(\"toBase64URL\", function() {\n    return fromUint8Array(this, true);\n  });\n};\nconst extendBuiltins = () => {\n  extendString();\n  extendUint8Array();\n};\nconst gBase64 = {\n  version,\n  VERSION,\n  atob: _atob,\n  atobPolyfill,\n  btoa: _btoa,\n  btoaPolyfill,\n  fromBase64: decode,\n  toBase64: encode,\n  encode,\n  encodeURI,\n  encodeURL: encodeURI,\n  utob,\n  btou,\n  decode,\n  isValid,\n  fromUint8Array,\n  toUint8Array,\n  extendString,\n  extendUint8Array,\n  extendBuiltins\n};\nvar FetchError = (\n  /** @class */\n  function(_super) {\n    __extends(FetchError2, _super);\n    function FetchError2(statusCode, message) {\n      var _this = _super.call(this, message) || this;\n      _this.statusCode = statusCode;\n      Object.setPrototypeOf(_this, FetchError2.prototype);\n      return _this;\n    }\n    return FetchError2;\n  }(Error)\n);\nvar SdkEvaluationApi = (\n  /** @class */\n  function() {\n    function SdkEvaluationApi2(deploymentKey, serverUrl, httpClient) {\n      this.deploymentKey = deploymentKey;\n      this.serverUrl = serverUrl;\n      this.httpClient = httpClient;\n    }\n    SdkEvaluationApi2.prototype.getVariants = function(user, options) {\n      return __awaiter(this, void 0, void 0, function() {\n        var userJsonBase64, headers, url, response;\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              userJsonBase64 = gBase64.encodeURL(JSON.stringify(user));\n              headers = {\n                Authorization: \"Api-Key \".concat(this.deploymentKey),\n                \"X-Amp-Exp-User\": userJsonBase64\n              };\n              if (options === null || options === void 0 ? void 0 : options.flagKeys) {\n                headers[\"X-Amp-Exp-Flag-Keys\"] = gBase64.encodeURL(JSON.stringify(options.flagKeys));\n              }\n              if (options === null || options === void 0 ? void 0 : options.trackingOption) {\n                headers[\"X-Amp-Exp-Track\"] = options.trackingOption;\n              }\n              url = new URL(\"\".concat(this.serverUrl, \"/sdk/v2/vardata?v=0\"));\n              if (options === null || options === void 0 ? void 0 : options.evaluationMode) {\n                url.searchParams.append(\"eval_mode\", options === null || options === void 0 ? void 0 : options.evaluationMode);\n              }\n              if (options === null || options === void 0 ? void 0 : options.deliveryMethod) {\n                url.searchParams.append(\"delivery_method\", options === null || options === void 0 ? void 0 : options.deliveryMethod);\n              }\n              return [4, this.httpClient.request({\n                requestUrl: url.toString(),\n                method: \"GET\",\n                headers,\n                timeoutMillis: options === null || options === void 0 ? void 0 : options.timeoutMillis\n              })];\n            case 1:\n              response = _a.sent();\n              if (response.status != 200) {\n                throw new FetchError(response.status, \"Fetch error response: status=\".concat(response.status));\n              }\n              return [2, JSON.parse(response.body)];\n          }\n        });\n      });\n    };\n    return SdkEvaluationApi2;\n  }()\n);\nvar SdkFlagApi = (\n  /** @class */\n  function() {\n    function SdkFlagApi2(deploymentKey, serverUrl, httpClient) {\n      this.deploymentKey = deploymentKey;\n      this.serverUrl = serverUrl;\n      this.httpClient = httpClient;\n    }\n    SdkFlagApi2.prototype.getFlags = function(options) {\n      return __awaiter(this, void 0, void 0, function() {\n        var headers, response, flagsArray;\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              headers = {\n                Authorization: \"Api-Key \".concat(this.deploymentKey)\n              };\n              if ((options === null || options === void 0 ? void 0 : options.libraryName) && (options === null || options === void 0 ? void 0 : options.libraryVersion)) {\n                headers[\"X-Amp-Exp-Library\"] = \"\".concat(options.libraryName, \"/\").concat(options.libraryVersion);\n              }\n              return [4, this.httpClient.request({\n                requestUrl: \"\".concat(this.serverUrl, \"/sdk/v2/flags\"),\n                method: \"GET\",\n                headers,\n                timeoutMillis: options === null || options === void 0 ? void 0 : options.timeoutMillis\n              })];\n            case 1:\n              response = _a.sent();\n              if (response.status != 200) {\n                throw Error(\"Flags error response: status=\".concat(response.status));\n              }\n              flagsArray = JSON.parse(response.body);\n              return [2, flagsArray.reduce(function(map, flag) {\n                map[flag.key] = flag;\n                return map;\n              }, {})];\n          }\n        });\n      });\n    };\n    return SdkFlagApi2;\n  }()\n);\nvar safeGlobal = typeof globalThis !== \"undefined\" ? globalThis : global || self;\nvar Poller = (\n  /** @class */\n  function() {\n    function Poller2(action, ms) {\n      this.poller = void 0;\n      this.action = action;\n      this.ms = ms;\n    }\n    Poller2.prototype.start = function() {\n      if (this.poller) {\n        return;\n      }\n      this.poller = safeGlobal.setInterval(this.action, this.ms);\n      void this.action();\n    };\n    Poller2.prototype.stop = function() {\n      if (!this.poller) {\n        return;\n      }\n      safeGlobal.clearInterval(this.poller);\n      this.poller = void 0;\n    };\n    return Poller2;\n  }()\n);\nexport {\n  EvaluationEngine,\n  EvaluationOperator,\n  FetchError,\n  Poller,\n  SdkEvaluationApi,\n  SdkFlagApi,\n  safeGlobal,\n  topologicalSort\n};\n","var uaParser = { exports: {} };\nexport {\n  uaParser as __module\n};\n","import { commonjsGlobal } from \"../../../../_virtual/_commonjsHelpers.js\";\nimport { __module as uaParser } from \"../../../../_virtual/ua-parser.js\";\n(function(module, exports) {\n  (function(window2, undefined$1) {\n    var LIBVERSION = \"0.7.33\", EMPTY = \"\", UNKNOWN = \"?\", FUNC_TYPE = \"function\", UNDEF_TYPE = \"undefined\", OBJ_TYPE = \"object\", STR_TYPE = \"string\", MAJOR = \"major\", MODEL = \"model\", NAME = \"name\", TYPE = \"type\", VENDOR = \"vendor\", VERSION = \"version\", ARCHITECTURE = \"architecture\", CONSOLE = \"console\", MOBILE = \"mobile\", TABLET = \"tablet\", SMARTTV = \"smarttv\", WEARABLE = \"wearable\", EMBEDDED = \"embedded\", UA_MAX_LENGTH = 350;\n    var AMAZON = \"Amazon\", APPLE = \"Apple\", ASUS = \"ASUS\", BLACKBERRY = \"BlackBerry\", BROWSER = \"Browser\", CHROME = \"Chrome\", EDGE = \"Edge\", FIREFOX = \"Firefox\", GOOGLE = \"Google\", HUAWEI = \"Huawei\", LG = \"LG\", MICROSOFT = \"Microsoft\", MOTOROLA = \"Motorola\", OPERA = \"Opera\", SAMSUNG = \"Samsung\", SHARP = \"Sharp\", SONY = \"Sony\", XIAOMI = \"Xiaomi\", ZEBRA = \"Zebra\", FACEBOOK = \"Facebook\";\n    var extend = function(regexes2, extensions) {\n      var mergedRegexes = {};\n      for (var i in regexes2) {\n        if (extensions[i] && extensions[i].length % 2 === 0) {\n          mergedRegexes[i] = extensions[i].concat(regexes2[i]);\n        } else {\n          mergedRegexes[i] = regexes2[i];\n        }\n      }\n      return mergedRegexes;\n    }, enumerize = function(arr) {\n      var enums = {};\n      for (var i = 0; i < arr.length; i++) {\n        enums[arr[i].toUpperCase()] = arr[i];\n      }\n      return enums;\n    }, has = function(str1, str2) {\n      return typeof str1 === STR_TYPE ? lowerize(str2).indexOf(lowerize(str1)) !== -1 : false;\n    }, lowerize = function(str) {\n      return str.toLowerCase();\n    }, majorize = function(version) {\n      return typeof version === STR_TYPE ? version.replace(/[^\\d\\.]/g, EMPTY).split(\".\")[0] : undefined$1;\n    }, trim = function(str, len) {\n      if (typeof str === STR_TYPE) {\n        str = str.replace(/^\\s\\s*/, EMPTY);\n        return typeof len === UNDEF_TYPE ? str : str.substring(0, UA_MAX_LENGTH);\n      }\n    };\n    var rgxMapper = function(ua, arrays) {\n      var i = 0, j, k, p, q, matches, match;\n      while (i < arrays.length && !matches) {\n        var regex = arrays[i], props = arrays[i + 1];\n        j = k = 0;\n        while (j < regex.length && !matches) {\n          matches = regex[j++].exec(ua);\n          if (!!matches) {\n            for (p = 0; p < props.length; p++) {\n              match = matches[++k];\n              q = props[p];\n              if (typeof q === OBJ_TYPE && q.length > 0) {\n                if (q.length === 2) {\n                  if (typeof q[1] == FUNC_TYPE) {\n                    this[q[0]] = q[1].call(this, match);\n                  } else {\n                    this[q[0]] = q[1];\n                  }\n                } else if (q.length === 3) {\n                  if (typeof q[1] === FUNC_TYPE && !(q[1].exec && q[1].test)) {\n                    this[q[0]] = match ? q[1].call(this, match, q[2]) : undefined$1;\n                  } else {\n                    this[q[0]] = match ? match.replace(q[1], q[2]) : undefined$1;\n                  }\n                } else if (q.length === 4) {\n                  this[q[0]] = match ? q[3].call(this, match.replace(q[1], q[2])) : undefined$1;\n                }\n              } else {\n                this[q] = match ? match : undefined$1;\n              }\n            }\n          }\n        }\n        i += 2;\n      }\n    }, strMapper = function(str, map) {\n      for (var i in map) {\n        if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {\n          for (var j = 0; j < map[i].length; j++) {\n            if (has(map[i][j], str)) {\n              return i === UNKNOWN ? undefined$1 : i;\n            }\n          }\n        } else if (has(map[i], str)) {\n          return i === UNKNOWN ? undefined$1 : i;\n        }\n      }\n      return str;\n    };\n    var oldSafariMap = {\n      \"1.0\": \"/8\",\n      1.2: \"/1\",\n      1.3: \"/3\",\n      \"2.0\": \"/412\",\n      \"2.0.2\": \"/416\",\n      \"2.0.3\": \"/417\",\n      \"2.0.4\": \"/419\",\n      \"?\": \"/\"\n    }, windowsVersionMap = {\n      ME: \"4.90\",\n      \"NT 3.11\": \"NT3.51\",\n      \"NT 4.0\": \"NT4.0\",\n      2e3: \"NT 5.0\",\n      XP: [\"NT 5.1\", \"NT 5.2\"],\n      Vista: \"NT 6.0\",\n      7: \"NT 6.1\",\n      8: \"NT 6.2\",\n      8.1: \"NT 6.3\",\n      10: [\"NT 6.4\", \"NT 10.0\"],\n      RT: \"ARM\"\n    };\n    var regexes = {\n      browser: [\n        [\n          /\\b(?:crmo|crios)\\/([\\w\\.]+)/i\n          // Chrome for Android/iOS\n        ],\n        [VERSION, [NAME, \"Chrome\"]],\n        [\n          /edg(?:e|ios|a)?\\/([\\w\\.]+)/i\n          // Microsoft Edge\n        ],\n        [VERSION, [NAME, \"Edge\"]],\n        [\n          // Presto based\n          /(opera mini)\\/([-\\w\\.]+)/i,\n          // Opera Mini\n          /(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i,\n          // Opera Mobi/Tablet\n          /(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i\n          // Opera\n        ],\n        [NAME, VERSION],\n        [\n          /opios[\\/ ]+([\\w\\.]+)/i\n          // Opera mini on iphone >= 8.0\n        ],\n        [VERSION, [NAME, OPERA + \" Mini\"]],\n        [\n          /\\bopr\\/([\\w\\.]+)/i\n          // Opera Webkit\n        ],\n        [VERSION, [NAME, OPERA]],\n        [\n          // Mixed\n          /(kindle)\\/([\\w\\.]+)/i,\n          // Kindle\n          /(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i,\n          // Lunascape/Maxthon/Netfront/Jasmine/Blazer\n          // Trident based\n          /(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i,\n          // Avant/IEMobile/SlimBrowser\n          /(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i,\n          // Baidu Browser\n          /(?:ms|\\()(ie) ([\\w\\.]+)/i,\n          // Internet Explorer\n          // Webkit/KHTML based                                               // Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt/Iron/Iridium/PhantomJS/Bowser/QupZilla/Falkon\n          /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\\/([-\\w\\.]+)/i,\n          // Rekonq/Puffin/Brave/Whale/QQBrowserLite/QQ, aka ShouQ\n          /(weibo)__([\\d\\.]+)/i\n          // Weibo\n        ],\n        [NAME, VERSION],\n        [\n          /(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i\n          // UCBrowser\n        ],\n        [VERSION, [NAME, \"UC\" + BROWSER]],\n        [\n          /microm.+\\bqbcore\\/([\\w\\.]+)/i,\n          // WeChat Desktop for Windows Built-in Browser\n          /\\bqbcore\\/([\\w\\.]+).+microm/i\n        ],\n        [VERSION, [NAME, \"WeChat(Win) Desktop\"]],\n        [\n          /micromessenger\\/([\\w\\.]+)/i\n          // WeChat\n        ],\n        [VERSION, [NAME, \"WeChat\"]],\n        [\n          /konqueror\\/([\\w\\.]+)/i\n          // Konqueror\n        ],\n        [VERSION, [NAME, \"Konqueror\"]],\n        [\n          /trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i\n          // IE11\n        ],\n        [VERSION, [NAME, \"IE\"]],\n        [\n          /yabrowser\\/([\\w\\.]+)/i\n          // Yandex\n        ],\n        [VERSION, [NAME, \"Yandex\"]],\n        [\n          /(avast|avg)\\/([\\w\\.]+)/i\n          // Avast/AVG Secure Browser\n        ],\n        [[NAME, /(.+)/, \"$1 Secure \" + BROWSER], VERSION],\n        [\n          /\\bfocus\\/([\\w\\.]+)/i\n          // Firefox Focus\n        ],\n        [VERSION, [NAME, FIREFOX + \" Focus\"]],\n        [\n          /\\bopt\\/([\\w\\.]+)/i\n          // Opera Touch\n        ],\n        [VERSION, [NAME, OPERA + \" Touch\"]],\n        [\n          /coc_coc\\w+\\/([\\w\\.]+)/i\n          // Coc Coc Browser\n        ],\n        [VERSION, [NAME, \"Coc Coc\"]],\n        [\n          /dolfin\\/([\\w\\.]+)/i\n          // Dolphin\n        ],\n        [VERSION, [NAME, \"Dolphin\"]],\n        [\n          /coast\\/([\\w\\.]+)/i\n          // Opera Coast\n        ],\n        [VERSION, [NAME, OPERA + \" Coast\"]],\n        [\n          /miuibrowser\\/([\\w\\.]+)/i\n          // MIUI Browser\n        ],\n        [VERSION, [NAME, \"MIUI \" + BROWSER]],\n        [\n          /fxios\\/([-\\w\\.]+)/i\n          // Firefox for iOS\n        ],\n        [VERSION, [NAME, FIREFOX]],\n        [\n          /\\bqihu|(qi?ho?o?|360)browser/i\n          // 360\n        ],\n        [[NAME, \"360 \" + BROWSER]],\n        [/(oculus|samsung|sailfish|huawei)browser\\/([\\w\\.]+)/i],\n        [[NAME, /(.+)/, \"$1 \" + BROWSER], VERSION],\n        [\n          // Oculus/Samsung/Sailfish/Huawei Browser\n          /(comodo_dragon)\\/([\\w\\.]+)/i\n          // Comodo Dragon\n        ],\n        [[NAME, /_/g, \" \"], VERSION],\n        [\n          /(electron)\\/([\\w\\.]+) safari/i,\n          // Electron-based App\n          /(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i,\n          // Tesla\n          /m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i\n          // QQBrowser/Baidu App/2345 Browser\n        ],\n        [NAME, VERSION],\n        [\n          /(metasr)[\\/ ]?([\\w\\.]+)/i,\n          // SouGouBrowser\n          /(lbbrowser)/i,\n          // LieBao Browser\n          /\\[(linkedin)app\\]/i\n          // LinkedIn App for iOS & Android\n        ],\n        [NAME],\n        [\n          // WebView\n          /((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i\n          // Facebook App for iOS & Android\n        ],\n        [[NAME, FACEBOOK], VERSION],\n        [\n          /safari (line)\\/([\\w\\.]+)/i,\n          // Line App for iOS\n          /\\b(line)\\/([\\w\\.]+)\\/iab/i,\n          // Line App for Android\n          /(chromium|instagram)[\\/ ]([-\\w\\.]+)/i\n          // Chromium/Instagram\n        ],\n        [NAME, VERSION],\n        [\n          /\\bgsa\\/([\\w\\.]+) .*safari\\//i\n          // Google Search Appliance on iOS\n        ],\n        [VERSION, [NAME, \"GSA\"]],\n        [\n          /headlesschrome(?:\\/([\\w\\.]+)| )/i\n          // Chrome Headless\n        ],\n        [VERSION, [NAME, CHROME + \" Headless\"]],\n        [\n          / wv\\).+(chrome)\\/([\\w\\.]+)/i\n          // Chrome WebView\n        ],\n        [[NAME, CHROME + \" WebView\"], VERSION],\n        [\n          /droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i\n          // Android Browser\n        ],\n        [VERSION, [NAME, \"Android \" + BROWSER]],\n        [\n          /(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i\n          // Chrome/OmniWeb/Arora/Tizen/Nokia\n        ],\n        [NAME, VERSION],\n        [\n          /version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i\n          // Mobile Safari\n        ],\n        [VERSION, [NAME, \"Mobile Safari\"]],\n        [\n          /version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i\n          // Safari & Safari Mobile\n        ],\n        [VERSION, NAME],\n        [\n          /webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i\n          // Safari < 3.0\n        ],\n        [NAME, [VERSION, strMapper, oldSafariMap]],\n        [/(webkit|khtml)\\/([\\w\\.]+)/i],\n        [NAME, VERSION],\n        [\n          // Gecko based\n          /(navigator|netscape\\d?)\\/([-\\w\\.]+)/i\n          // Netscape\n        ],\n        [[NAME, \"Netscape\"], VERSION],\n        [\n          /mobile vr; rv:([\\w\\.]+)\\).+firefox/i\n          // Firefox Reality\n        ],\n        [VERSION, [NAME, FIREFOX + \" Reality\"]],\n        [\n          /ekiohf.+(flow)\\/([\\w\\.]+)/i,\n          // Flow\n          /(swiftfox)/i,\n          // Swiftfox\n          /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\w\\.\\+]+)/i,\n          // IceDragon/Iceweasel/Camino/Chimera/Fennec/Maemo/Minimo/Conkeror/Klar\n          /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\\/([-\\w\\.]+)$/i,\n          // Firefox/SeaMonkey/K-Meleon/IceCat/IceApe/Firebird/Phoenix\n          /(firefox)\\/([\\w\\.]+)/i,\n          // Other Firefox-based\n          /(mozilla)\\/([\\w\\.]+) .+rv\\:.+gecko\\/\\d+/i,\n          // Mozilla\n          // Other\n          /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,\n          // Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Sleipnir/Obigo/Mosaic/Go/ICE/UP.Browser\n          /(links) \\(([\\w\\.]+)/i\n          // Links\n        ],\n        [NAME, VERSION],\n        [\n          /(cobalt)\\/([\\w\\.]+)/i\n          // Cobalt\n        ],\n        [NAME, [VERSION, /master.|lts./, \"\"]]\n      ],\n      cpu: [\n        [\n          /(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i\n          // AMD64 (x64)\n        ],\n        [[ARCHITECTURE, \"amd64\"]],\n        [\n          /(ia32(?=;))/i\n          // IA32 (quicktime)\n        ],\n        [[ARCHITECTURE, lowerize]],\n        [\n          /((?:i[346]|x)86)[;\\)]/i\n          // IA32 (x86)\n        ],\n        [[ARCHITECTURE, \"ia32\"]],\n        [\n          /\\b(aarch64|arm(v?8e?l?|_?64))\\b/i\n          // ARM64\n        ],\n        [[ARCHITECTURE, \"arm64\"]],\n        [\n          /\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i\n          // ARMHF\n        ],\n        [[ARCHITECTURE, \"armhf\"]],\n        [\n          // PocketPC mistakenly identified as PowerPC\n          /windows (ce|mobile); ppc;/i\n        ],\n        [[ARCHITECTURE, \"arm\"]],\n        [\n          /((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i\n          // PowerPC\n        ],\n        [[ARCHITECTURE, /ower/, EMPTY, lowerize]],\n        [\n          /(sun4\\w)[;\\)]/i\n          // SPARC\n        ],\n        [[ARCHITECTURE, \"sparc\"]],\n        [\n          /((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i\n          // IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC\n        ],\n        [[ARCHITECTURE, lowerize]]\n      ],\n      device: [\n        [\n          //////////////////////////\n          // MOBILES & TABLETS\n          // Ordered by popularity\n          /////////////////////////\n          // Samsung\n          /\\b(sch-i[89]0\\d|shw-m380s|sm-[ptx]\\w{2,4}|gt-[pn]\\d{2,4}|sgh-t8[56]9|nexus 10)/i\n        ],\n        [MODEL, [VENDOR, SAMSUNG], [TYPE, TABLET]],\n        [\n          /\\b((?:s[cgp]h|gt|sm)-\\w+|galaxy nexus)/i,\n          /samsung[- ]([-\\w]+)/i,\n          /sec-(sgh\\w+)/i\n        ],\n        [MODEL, [VENDOR, SAMSUNG], [TYPE, MOBILE]],\n        [\n          // Apple\n          /((ipod|iphone)\\d+,\\d+)/i\n          // iPod/iPhone model\n        ],\n        [MODEL, [VENDOR, APPLE], [TYPE, MOBILE]],\n        [\n          /(ipad\\d+,\\d+)/i\n          // iPad model\n        ],\n        [MODEL, [VENDOR, APPLE], [TYPE, TABLET]],\n        [\n          /\\((ip(?:hone|od)[\\w ]*);/i\n          // iPod/iPhone\n        ],\n        [MODEL, [VENDOR, APPLE], [TYPE, MOBILE]],\n        [\n          /\\((ipad);[-\\w\\),; ]+apple/i,\n          // iPad\n          /applecoremedia\\/[\\w\\.]+ \\((ipad)/i,\n          /\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i\n        ],\n        [MODEL, [VENDOR, APPLE], [TYPE, TABLET]],\n        [/(macintosh);/i],\n        [MODEL, [VENDOR, APPLE]],\n        [\n          // Huawei\n          /\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i\n        ],\n        [MODEL, [VENDOR, HUAWEI], [TYPE, TABLET]],\n        [\n          /(?:huawei|honor)([-\\w ]+)[;\\)]/i,\n          /\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i\n        ],\n        [MODEL, [VENDOR, HUAWEI], [TYPE, MOBILE]],\n        [\n          // Xiaomi\n          /\\b(poco[\\w ]+)(?: bui|\\))/i,\n          // Xiaomi POCO\n          /\\b; (\\w+) build\\/hm\\1/i,\n          // Xiaomi Hongmi 'numeric' models\n          /\\b(hm[-_ ]?note?[_ ]?(?:\\d\\w)?) bui/i,\n          // Xiaomi Hongmi\n          /\\b(redmi[\\-_ ]?(?:note|k)?[\\w_ ]+)(?: bui|\\))/i,\n          // Xiaomi Redmi\n          /\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i\n          // Xiaomi Mi\n        ],\n        [\n          [MODEL, /_/g, \" \"],\n          [VENDOR, XIAOMI],\n          [TYPE, MOBILE]\n        ],\n        [\n          /\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i\n          // Mi Pad tablets\n        ],\n        [\n          [MODEL, /_/g, \" \"],\n          [VENDOR, XIAOMI],\n          [TYPE, TABLET]\n        ],\n        [\n          // OPPO\n          /; (\\w+) bui.+ oppo/i,\n          /\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i\n        ],\n        [MODEL, [VENDOR, \"OPPO\"], [TYPE, MOBILE]],\n        [\n          // Vivo\n          /vivo (\\w+)(?: bui|\\))/i,\n          /\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i\n        ],\n        [MODEL, [VENDOR, \"Vivo\"], [TYPE, MOBILE]],\n        [\n          // Realme\n          /\\b(rmx[12]\\d{3})(?: bui|;|\\))/i\n        ],\n        [MODEL, [VENDOR, \"Realme\"], [TYPE, MOBILE]],\n        [\n          // Motorola\n          /\\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\\b[\\w ]+build\\//i,\n          /\\bmot(?:orola)?[- ](\\w*)/i,\n          /((?:moto[\\w\\(\\) ]+|xt\\d{3,4}|nexus 6)(?= bui|\\)))/i\n        ],\n        [MODEL, [VENDOR, MOTOROLA], [TYPE, MOBILE]],\n        [/\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i],\n        [MODEL, [VENDOR, MOTOROLA], [TYPE, TABLET]],\n        [\n          // LG\n          /((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i\n        ],\n        [MODEL, [VENDOR, LG], [TYPE, TABLET]],\n        [\n          /(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,\n          /\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,\n          /\\blg-?([\\d\\w]+) bui/i\n        ],\n        [MODEL, [VENDOR, LG], [TYPE, MOBILE]],\n        [\n          // Lenovo\n          /(ideatab[-\\w ]+)/i,\n          /lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i\n        ],\n        [MODEL, [VENDOR, \"Lenovo\"], [TYPE, TABLET]],\n        [\n          // Nokia\n          /(?:maemo|nokia).*(n900|lumia \\d+)/i,\n          /nokia[-_ ]?([-\\w\\.]*)/i\n        ],\n        [\n          [MODEL, /_/g, \" \"],\n          [VENDOR, \"Nokia\"],\n          [TYPE, MOBILE]\n        ],\n        [\n          // Google\n          /(pixel c)\\b/i\n          // Google Pixel C\n        ],\n        [MODEL, [VENDOR, GOOGLE], [TYPE, TABLET]],\n        [\n          /droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i\n          // Google Pixel\n        ],\n        [MODEL, [VENDOR, GOOGLE], [TYPE, MOBILE]],\n        [\n          // Sony\n          /droid.+ (a?\\d[0-2]{2}so|[c-g]\\d{4}|so[-gl]\\w+|xq-a\\w[4-7][12])(?= bui|\\).+chrome\\/(?![1-6]{0,1}\\d\\.))/i\n        ],\n        [MODEL, [VENDOR, SONY], [TYPE, MOBILE]],\n        [/sony tablet [ps]/i, /\\b(?:sony)?sgp\\w+(?: bui|\\))/i],\n        [\n          [MODEL, \"Xperia Tablet\"],\n          [VENDOR, SONY],\n          [TYPE, TABLET]\n        ],\n        [\n          // OnePlus\n          / (kb2005|in20[12]5|be20[12][59])\\b/i,\n          /(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i\n        ],\n        [MODEL, [VENDOR, \"OnePlus\"], [TYPE, MOBILE]],\n        [\n          // Amazon\n          /(alexa)webm/i,\n          /(kf[a-z]{2}wi)( bui|\\))/i,\n          // Kindle Fire without Silk\n          /(kf[a-z]+)( bui|\\)).+silk\\//i\n          // Kindle Fire HD\n        ],\n        [MODEL, [VENDOR, AMAZON], [TYPE, TABLET]],\n        [\n          /((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i\n          // Fire Phone\n        ],\n        [\n          [MODEL, /(.+)/g, \"Fire Phone $1\"],\n          [VENDOR, AMAZON],\n          [TYPE, MOBILE]\n        ],\n        [\n          // BlackBerry\n          /(playbook);[-\\w\\),; ]+(rim)/i\n          // BlackBerry PlayBook\n        ],\n        [MODEL, VENDOR, [TYPE, TABLET]],\n        [\n          /\\b((?:bb[a-f]|st[hv])100-\\d)/i,\n          /\\(bb10; (\\w+)/i\n          // BlackBerry 10\n        ],\n        [MODEL, [VENDOR, BLACKBERRY], [TYPE, MOBILE]],\n        [\n          // Asus\n          /(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i\n        ],\n        [MODEL, [VENDOR, ASUS], [TYPE, TABLET]],\n        [/ (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i],\n        [MODEL, [VENDOR, ASUS], [TYPE, MOBILE]],\n        [\n          // HTC\n          /(nexus 9)/i\n          // HTC Nexus 9\n        ],\n        [MODEL, [VENDOR, \"HTC\"], [TYPE, TABLET]],\n        [\n          /(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i,\n          // HTC\n          // ZTE\n          /(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,\n          /(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\\w]*)/i\n          // Alcatel/GeeksPhone/Nexian/Panasonic/Sony\n        ],\n        [VENDOR, [MODEL, /_/g, \" \"], [TYPE, MOBILE]],\n        [\n          // Acer\n          /droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i\n        ],\n        [MODEL, [VENDOR, \"Acer\"], [TYPE, TABLET]],\n        [\n          // Meizu\n          /droid.+; (m[1-5] note) bui/i,\n          /\\bmz-([-\\w]{2,})/i\n        ],\n        [MODEL, [VENDOR, \"Meizu\"], [TYPE, MOBILE]],\n        [\n          // Sharp\n          /\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i\n        ],\n        [MODEL, [VENDOR, SHARP], [TYPE, MOBILE]],\n        [\n          // MIXED\n          /(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\w]*)/i,\n          // BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron\n          /(hp) ([\\w ]+\\w)/i,\n          // HP iPAQ\n          /(asus)-?(\\w+)/i,\n          // Asus\n          /(microsoft); (lumia[\\w ]+)/i,\n          // Microsoft Lumia\n          /(lenovo)[-_ ]?([-\\w]+)/i,\n          // Lenovo\n          /(jolla)/i,\n          // Jolla\n          /(oppo) ?([\\w ]+) bui/i\n          // OPPO\n        ],\n        [VENDOR, MODEL, [TYPE, MOBILE]],\n        [\n          /(archos) (gamepad2?)/i,\n          // Archos\n          /(hp).+(touchpad(?!.+tablet)|tablet)/i,\n          // HP TouchPad\n          /(kindle)\\/([\\w\\.]+)/i,\n          // Kindle\n          /(nook)[\\w ]+build\\/(\\w+)/i,\n          // Nook\n          /(dell) (strea[kpr\\d ]*[\\dko])/i,\n          // Dell Streak\n          /(le[- ]+pan)[- ]+(\\w{1,9}) bui/i,\n          // Le Pan Tablets\n          /(trinity)[- ]*(t\\d{3}) bui/i,\n          // Trinity Tablets\n          /(gigaset)[- ]+(q\\w{1,9}) bui/i,\n          // Gigaset Tablets\n          /(vodafone) ([\\w ]+)(?:\\)| bui)/i\n          // Vodafone\n        ],\n        [VENDOR, MODEL, [TYPE, TABLET]],\n        [\n          /(surface duo)/i\n          // Surface Duo\n        ],\n        [MODEL, [VENDOR, MICROSOFT], [TYPE, TABLET]],\n        [\n          /droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i\n          // Fairphone\n        ],\n        [MODEL, [VENDOR, \"Fairphone\"], [TYPE, MOBILE]],\n        [\n          /(u304aa)/i\n          // AT&T\n        ],\n        [MODEL, [VENDOR, \"AT&T\"], [TYPE, MOBILE]],\n        [\n          /\\bsie-(\\w*)/i\n          // Siemens\n        ],\n        [MODEL, [VENDOR, \"Siemens\"], [TYPE, MOBILE]],\n        [\n          /\\b(rct\\w+) b/i\n          // RCA Tablets\n        ],\n        [MODEL, [VENDOR, \"RCA\"], [TYPE, TABLET]],\n        [\n          /\\b(venue[\\d ]{2,7}) b/i\n          // Dell Venue Tablets\n        ],\n        [MODEL, [VENDOR, \"Dell\"], [TYPE, TABLET]],\n        [\n          /\\b(q(?:mv|ta)\\w+) b/i\n          // Verizon Tablet\n        ],\n        [MODEL, [VENDOR, \"Verizon\"], [TYPE, TABLET]],\n        [\n          /\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i\n          // Barnes & Noble Tablet\n        ],\n        [MODEL, [VENDOR, \"Barnes & Noble\"], [TYPE, TABLET]],\n        [/\\b(tm\\d{3}\\w+) b/i],\n        [MODEL, [VENDOR, \"NuVision\"], [TYPE, TABLET]],\n        [\n          /\\b(k88) b/i\n          // ZTE K Series Tablet\n        ],\n        [MODEL, [VENDOR, \"ZTE\"], [TYPE, TABLET]],\n        [\n          /\\b(nx\\d{3}j) b/i\n          // ZTE Nubia\n        ],\n        [MODEL, [VENDOR, \"ZTE\"], [TYPE, MOBILE]],\n        [\n          /\\b(gen\\d{3}) b.+49h/i\n          // Swiss GEN Mobile\n        ],\n        [MODEL, [VENDOR, \"Swiss\"], [TYPE, MOBILE]],\n        [\n          /\\b(zur\\d{3}) b/i\n          // Swiss ZUR Tablet\n        ],\n        [MODEL, [VENDOR, \"Swiss\"], [TYPE, TABLET]],\n        [\n          /\\b((zeki)?tb.*\\b) b/i\n          // Zeki Tablets\n        ],\n        [MODEL, [VENDOR, \"Zeki\"], [TYPE, TABLET]],\n        [\n          /\\b([yr]\\d{2}) b/i,\n          /\\b(dragon[- ]+touch |dt)(\\w{5}) b/i\n          // Dragon Touch Tablet\n        ],\n        [[VENDOR, \"Dragon Touch\"], MODEL, [TYPE, TABLET]],\n        [\n          /\\b(ns-?\\w{0,9}) b/i\n          // Insignia Tablets\n        ],\n        [MODEL, [VENDOR, \"Insignia\"], [TYPE, TABLET]],\n        [\n          /\\b((nxa|next)-?\\w{0,9}) b/i\n          // NextBook Tablets\n        ],\n        [MODEL, [VENDOR, \"NextBook\"], [TYPE, TABLET]],\n        [\n          /\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i\n          // Voice Xtreme Phones\n        ],\n        [[VENDOR, \"Voice\"], MODEL, [TYPE, MOBILE]],\n        [\n          /\\b(lvtel\\-)?(v1[12]) b/i\n          // LvTel Phones\n        ],\n        [[VENDOR, \"LvTel\"], MODEL, [TYPE, MOBILE]],\n        [\n          /\\b(ph-1) /i\n          // Essential PH-1\n        ],\n        [MODEL, [VENDOR, \"Essential\"], [TYPE, MOBILE]],\n        [\n          /\\b(v(100md|700na|7011|917g).*\\b) b/i\n          // Envizen Tablets\n        ],\n        [MODEL, [VENDOR, \"Envizen\"], [TYPE, TABLET]],\n        [\n          /\\b(trio[-\\w\\. ]+) b/i\n          // MachSpeed Tablets\n        ],\n        [MODEL, [VENDOR, \"MachSpeed\"], [TYPE, TABLET]],\n        [\n          /\\btu_(1491) b/i\n          // Rotor Tablets\n        ],\n        [MODEL, [VENDOR, \"Rotor\"], [TYPE, TABLET]],\n        [\n          /(shield[\\w ]+) b/i\n          // Nvidia Shield Tablets\n        ],\n        [MODEL, [VENDOR, \"Nvidia\"], [TYPE, TABLET]],\n        [\n          /(sprint) (\\w+)/i\n          // Sprint Phones\n        ],\n        [VENDOR, MODEL, [TYPE, MOBILE]],\n        [\n          /(kin\\.[onetw]{3})/i\n          // Microsoft Kin\n        ],\n        [\n          [MODEL, /\\./g, \" \"],\n          [VENDOR, MICROSOFT],\n          [TYPE, MOBILE]\n        ],\n        [\n          /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i\n          // Zebra\n        ],\n        [MODEL, [VENDOR, ZEBRA], [TYPE, TABLET]],\n        [/droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i],\n        [MODEL, [VENDOR, ZEBRA], [TYPE, MOBILE]],\n        [\n          ///////////////////\n          // CONSOLES\n          ///////////////////\n          /(ouya)/i,\n          // Ouya\n          /(nintendo) ([wids3utch]+)/i\n          // Nintendo\n        ],\n        [VENDOR, MODEL, [TYPE, CONSOLE]],\n        [\n          /droid.+; (shield) bui/i\n          // Nvidia\n        ],\n        [MODEL, [VENDOR, \"Nvidia\"], [TYPE, CONSOLE]],\n        [\n          /(playstation [345portablevi]+)/i\n          // Playstation\n        ],\n        [MODEL, [VENDOR, SONY], [TYPE, CONSOLE]],\n        [\n          /\\b(xbox(?: one)?(?!; xbox))[\\); ]/i\n          // Microsoft Xbox\n        ],\n        [MODEL, [VENDOR, MICROSOFT], [TYPE, CONSOLE]],\n        [\n          ///////////////////\n          // SMARTTVS\n          ///////////////////\n          /smart-tv.+(samsung)/i\n          // Samsung\n        ],\n        [VENDOR, [TYPE, SMARTTV]],\n        [/hbbtv.+maple;(\\d+)/i],\n        [\n          [MODEL, /^/, \"SmartTV\"],\n          [VENDOR, SAMSUNG],\n          [TYPE, SMARTTV]\n        ],\n        [\n          /(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i\n          // LG SmartTV\n        ],\n        [\n          [VENDOR, LG],\n          [TYPE, SMARTTV]\n        ],\n        [\n          /(apple) ?tv/i\n          // Apple TV\n        ],\n        [VENDOR, [MODEL, APPLE + \" TV\"], [TYPE, SMARTTV]],\n        [\n          /crkey/i\n          // Google Chromecast\n        ],\n        [\n          [MODEL, CHROME + \"cast\"],\n          [VENDOR, GOOGLE],\n          [TYPE, SMARTTV]\n        ],\n        [\n          /droid.+aft(\\w)( bui|\\))/i\n          // Fire TV\n        ],\n        [MODEL, [VENDOR, AMAZON], [TYPE, SMARTTV]],\n        [\n          /\\(dtv[\\);].+(aquos)/i,\n          /(aquos-tv[\\w ]+)\\)/i\n          // Sharp\n        ],\n        [MODEL, [VENDOR, SHARP], [TYPE, SMARTTV]],\n        [\n          /(bravia[\\w ]+)( bui|\\))/i\n          // Sony\n        ],\n        [MODEL, [VENDOR, SONY], [TYPE, SMARTTV]],\n        [\n          /(mitv-\\w{5}) bui/i\n          // Xiaomi\n        ],\n        [MODEL, [VENDOR, XIAOMI], [TYPE, SMARTTV]],\n        [\n          /\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i,\n          // Roku\n          /hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w ]*; *(\\w[^;]*);([^;]*)/i\n          // HbbTV devices\n        ],\n        [\n          [VENDOR, trim],\n          [MODEL, trim],\n          [TYPE, SMARTTV]\n        ],\n        [\n          /\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i\n          // SmartTV from Unidentified Vendors\n        ],\n        [[TYPE, SMARTTV]],\n        [\n          ///////////////////\n          // WEARABLES\n          ///////////////////\n          /((pebble))app/i\n          // Pebble\n        ],\n        [VENDOR, MODEL, [TYPE, WEARABLE]],\n        [\n          /droid.+; (glass) \\d/i\n          // Google Glass\n        ],\n        [MODEL, [VENDOR, GOOGLE], [TYPE, WEARABLE]],\n        [/droid.+; (wt63?0{2,3})\\)/i],\n        [MODEL, [VENDOR, ZEBRA], [TYPE, WEARABLE]],\n        [\n          /(quest( 2)?)/i\n          // Oculus Quest\n        ],\n        [MODEL, [VENDOR, FACEBOOK], [TYPE, WEARABLE]],\n        [\n          ///////////////////\n          // EMBEDDED\n          ///////////////////\n          /(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i\n          // Tesla\n        ],\n        [VENDOR, [TYPE, EMBEDDED]],\n        [\n          ////////////////////\n          // MIXED (GENERIC)\n          ///////////////////\n          /droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i\n          // Android Phones from Unidentified Vendors\n        ],\n        [MODEL, [TYPE, MOBILE]],\n        [\n          /droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i\n          // Android Tablets from Unidentified Vendors\n        ],\n        [MODEL, [TYPE, TABLET]],\n        [\n          /\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i\n          // Unidentifiable Tablet\n        ],\n        [[TYPE, TABLET]],\n        [\n          /(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i\n          // Unidentifiable Mobile\n        ],\n        [[TYPE, MOBILE]],\n        [\n          /(android[-\\w\\. ]{0,9});.+buil/i\n          // Generic Android Device\n        ],\n        [MODEL, [VENDOR, \"Generic\"]]\n      ],\n      engine: [\n        [\n          /windows.+ edge\\/([\\w\\.]+)/i\n          // EdgeHTML\n        ],\n        [VERSION, [NAME, EDGE + \"HTML\"]],\n        [\n          /webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i\n          // Blink\n        ],\n        [VERSION, [NAME, \"Blink\"]],\n        [\n          /(presto)\\/([\\w\\.]+)/i,\n          // Presto\n          /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\\/([\\w\\.]+)/i,\n          // WebKit/Trident/NetFront/NetSurf/Amaya/Lynx/w3m/Goanna\n          /ekioh(flow)\\/([\\w\\.]+)/i,\n          // Flow\n          /(khtml|tasman|links)[\\/ ]\\(?([\\w\\.]+)/i,\n          // KHTML/Tasman/Links\n          /(icab)[\\/ ]([23]\\.[\\d\\.]+)/i\n          // iCab\n        ],\n        [NAME, VERSION],\n        [\n          /rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i\n          // Gecko\n        ],\n        [VERSION, NAME]\n      ],\n      os: [\n        [\n          // Windows\n          /microsoft (windows) (vista|xp)/i\n          // Windows (iTunes)\n        ],\n        [NAME, VERSION],\n        [\n          /(windows) nt 6\\.2; (arm)/i,\n          // Windows RT\n          /(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i,\n          // Windows Phone\n          /(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i\n        ],\n        [NAME, [VERSION, strMapper, windowsVersionMap]],\n        [/(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i],\n        [\n          [NAME, \"Windows\"],\n          [VERSION, strMapper, windowsVersionMap]\n        ],\n        [\n          // iOS/macOS\n          /ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i,\n          // iOS\n          /cfnetwork\\/.+darwin/i\n        ],\n        [\n          [VERSION, /_/g, \".\"],\n          [NAME, \"iOS\"]\n        ],\n        [\n          /(mac os x) ?([\\w\\. ]*)/i,\n          /(macintosh|mac_powerpc\\b)(?!.+haiku)/i\n          // Mac OS\n        ],\n        [\n          [NAME, \"Mac OS\"],\n          [VERSION, /_/g, \".\"]\n        ],\n        [\n          // Mobile OSes\n          /droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i\n          // Android-x86/HarmonyOS\n        ],\n        [VERSION, NAME],\n        [\n          // Android/WebOS/QNX/Bada/RIM/Maemo/MeeGo/Sailfish OS\n          /(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,\n          /(blackberry)\\w*\\/([\\w\\.]*)/i,\n          // Blackberry\n          /(tizen|kaios)[\\/ ]([\\w\\.]+)/i,\n          // Tizen/KaiOS\n          /\\((series40);/i\n          // Series 40\n        ],\n        [NAME, VERSION],\n        [\n          /\\(bb(10);/i\n          // BlackBerry 10\n        ],\n        [VERSION, [NAME, BLACKBERRY]],\n        [\n          /(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i\n          // Symbian\n        ],\n        [VERSION, [NAME, \"Symbian\"]],\n        [\n          /mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i\n          // Firefox OS\n        ],\n        [VERSION, [NAME, FIREFOX + \" OS\"]],\n        [\n          /web0s;.+rt(tv)/i,\n          /\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i\n          // WebOS\n        ],\n        [VERSION, [NAME, \"webOS\"]],\n        [\n          // Google Chromecast\n          /crkey\\/([\\d\\.]+)/i\n          // Google Chromecast\n        ],\n        [VERSION, [NAME, CHROME + \"cast\"]],\n        [\n          /(cros) [\\w]+ ([\\w\\.]+\\w)/i\n          // Chromium OS\n        ],\n        [[NAME, \"Chromium OS\"], VERSION],\n        [\n          // Console\n          /(nintendo|playstation) ([wids345portablevuch]+)/i,\n          // Nintendo/Playstation\n          /(xbox); +xbox ([^\\);]+)/i,\n          // Microsoft Xbox (360, One, X, S, Series X, Series S)\n          // Other\n          /\\b(joli|palm)\\b ?(?:os)?\\/?([\\w\\.]*)/i,\n          // Joli/Palm\n          /(mint)[\\/\\(\\) ]?(\\w*)/i,\n          // Mint\n          /(mageia|vectorlinux)[; ]/i,\n          // Mageia/VectorLinux\n          /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\\/ ]?(?!chrom|package)([-\\w\\.]*)/i,\n          // Ubuntu/Debian/SUSE/Gentoo/Arch/Slackware/Fedora/Mandriva/CentOS/PCLinuxOS/RedHat/Zenwalk/Linpus/Raspbian/Plan9/Minix/RISCOS/Contiki/Deepin/Manjaro/elementary/Sabayon/Linspire\n          /(hurd|linux) ?([\\w\\.]*)/i,\n          // Hurd/Linux\n          /(gnu) ?([\\w\\.]*)/i,\n          // GNU\n          /\\b([-frentopcghs]{0,5}bsd|dragonfly)[\\/ ]?(?!amd|[ix346]{1,2}86)([\\w\\.]*)/i,\n          // FreeBSD/NetBSD/OpenBSD/PC-BSD/GhostBSD/DragonFly\n          /(haiku) (\\w+)/i\n          // Haiku\n        ],\n        [NAME, VERSION],\n        [\n          /(sunos) ?([\\w\\.\\d]*)/i\n          // Solaris\n        ],\n        [[NAME, \"Solaris\"], VERSION],\n        [\n          /((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i,\n          // Solaris\n          /(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i,\n          // AIX\n          /\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,\n          // BeOS/OS2/AmigaOS/MorphOS/OpenVMS/Fuchsia/HP-UX\n          /(unix) ?([\\w\\.]*)/i\n          // UNIX\n        ],\n        [NAME, VERSION]\n      ]\n    };\n    var UAParser = function(ua, extensions) {\n      if (typeof ua === OBJ_TYPE) {\n        extensions = ua;\n        ua = undefined$1;\n      }\n      if (!(this instanceof UAParser)) {\n        return new UAParser(ua, extensions).getResult();\n      }\n      var _ua = ua || (typeof window2 !== UNDEF_TYPE && window2.navigator && window2.navigator.userAgent ? window2.navigator.userAgent : EMPTY);\n      var _rgxmap = extensions ? extend(regexes, extensions) : regexes;\n      this.getBrowser = function() {\n        var _browser = {};\n        _browser[NAME] = undefined$1;\n        _browser[VERSION] = undefined$1;\n        rgxMapper.call(_browser, _ua, _rgxmap.browser);\n        _browser.major = majorize(_browser.version);\n        return _browser;\n      };\n      this.getCPU = function() {\n        var _cpu = {};\n        _cpu[ARCHITECTURE] = undefined$1;\n        rgxMapper.call(_cpu, _ua, _rgxmap.cpu);\n        return _cpu;\n      };\n      this.getDevice = function() {\n        var _device = {};\n        _device[VENDOR] = undefined$1;\n        _device[MODEL] = undefined$1;\n        _device[TYPE] = undefined$1;\n        rgxMapper.call(_device, _ua, _rgxmap.device);\n        return _device;\n      };\n      this.getEngine = function() {\n        var _engine = {};\n        _engine[NAME] = undefined$1;\n        _engine[VERSION] = undefined$1;\n        rgxMapper.call(_engine, _ua, _rgxmap.engine);\n        return _engine;\n      };\n      this.getOS = function() {\n        var _os = {};\n        _os[NAME] = undefined$1;\n        _os[VERSION] = undefined$1;\n        rgxMapper.call(_os, _ua, _rgxmap.os);\n        return _os;\n      };\n      this.getResult = function() {\n        return {\n          ua: this.getUA(),\n          browser: this.getBrowser(),\n          engine: this.getEngine(),\n          os: this.getOS(),\n          device: this.getDevice(),\n          cpu: this.getCPU()\n        };\n      };\n      this.getUA = function() {\n        return _ua;\n      };\n      this.setUA = function(ua2) {\n        _ua = typeof ua2 === STR_TYPE && ua2.length > UA_MAX_LENGTH ? trim(ua2, UA_MAX_LENGTH) : ua2;\n        return this;\n      };\n      this.setUA(_ua);\n      return this;\n    };\n    UAParser.VERSION = LIBVERSION;\n    UAParser.BROWSER = enumerize([NAME, VERSION, MAJOR]);\n    UAParser.CPU = enumerize([ARCHITECTURE]);\n    UAParser.DEVICE = enumerize([\n      MODEL,\n      VENDOR,\n      TYPE,\n      CONSOLE,\n      MOBILE,\n      SMARTTV,\n      TABLET,\n      WEARABLE,\n      EMBEDDED\n    ]);\n    UAParser.ENGINE = UAParser.OS = enumerize([NAME, VERSION]);\n    {\n      if (module.exports) {\n        exports = module.exports = UAParser;\n      }\n      exports.UAParser = UAParser;\n    }\n    var $ = typeof window2 !== UNDEF_TYPE && (window2.jQuery || window2.Zepto);\n    if ($ && !$.ua) {\n      var parser = new UAParser();\n      $.ua = parser.getResult();\n      $.ua.get = function() {\n        return parser.getUA();\n      };\n      $.ua.set = function(ua) {\n        parser.setUA(ua);\n        var result = parser.getResult();\n        for (var prop in result) {\n          $.ua[prop] = result[prop];\n        }\n      };\n    }\n  })(typeof window === \"object\" ? window : commonjsGlobal);\n})(uaParser, uaParser.exports);\nvar uaParserExports = uaParser.exports;\nexport {\n  uaParserExports as u\n};\n","import { AnalyticsConnector } from \"../../analytics-connector/dist/analytics-connector.esm.js\";\nimport { safeGlobal, EvaluationEngine, Poller, SdkFlagApi, SdkEvaluationApi, topologicalSort, FetchError } from \"../../experiment-core/dist/experiment-core.esm.js\";\nimport { u as uaParserExports } from \"../../ua-parser-js/src/ua-parser.js\";\nvar __assign = function() {\n  __assign = Object.assign || function __assign2(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s)\n        if (Object.prototype.hasOwnProperty.call(s, p))\n          t[p] = s[p];\n    }\n    return t;\n  };\n  return __assign.apply(this, arguments);\n};\nfunction __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function(resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = Promise))(function(resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\nfunction __generator(thisArg, body) {\n  var _ = {\n    label: 0,\n    sent: function() {\n      if (t[0] & 1)\n        throw t[1];\n      return t[1];\n    },\n    trys: [],\n    ops: []\n  }, f, y, t, g;\n  return g = {\n    next: verb(0),\n    \"throw\": verb(1),\n    \"return\": verb(2)\n  }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n    return this;\n  }), g;\n  function verb(n) {\n    return function(v) {\n      return step([n, v]);\n    };\n  }\n  function step(op) {\n    if (f)\n      throw new TypeError(\"Generator is already executing.\");\n    while (g && (g = 0, op[0] && (_ = 0)), _)\n      try {\n        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)\n          return t;\n        if (y = 0, t)\n          op = [op[0] & 2, t.value];\n        switch (op[0]) {\n          case 0:\n          case 1:\n            t = op;\n            break;\n          case 4:\n            _.label++;\n            return {\n              value: op[1],\n              done: false\n            };\n          case 5:\n            _.label++;\n            y = op[1];\n            op = [0];\n            continue;\n          case 7:\n            op = _.ops.pop();\n            _.trys.pop();\n            continue;\n          default:\n            if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n              _ = 0;\n              continue;\n            }\n            if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n              _.label = op[1];\n              break;\n            }\n            if (op[0] === 6 && _.label < t[1]) {\n              _.label = t[1];\n              t = op;\n              break;\n            }\n            if (t && _.label < t[2]) {\n              _.label = t[2];\n              _.ops.push(op);\n              break;\n            }\n            if (t[2])\n              _.ops.pop();\n            _.trys.pop();\n            continue;\n        }\n        op = body.call(thisArg, _);\n      } catch (e) {\n        op = [6, e];\n        y = 0;\n      } finally {\n        f = t = 0;\n      }\n    if (op[0] & 5)\n      throw op[1];\n    return {\n      value: op[0] ? op[1] : void 0,\n      done: true\n    };\n  }\n}\nfunction __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n  if (m)\n    return m.call(o);\n  if (o && typeof o.length === \"number\")\n    return {\n      next: function() {\n        if (o && i >= o.length)\n          o = void 0;\n        return {\n          value: o && o[i++],\n          done: !o\n        };\n      }\n    };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nfunction __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m)\n    return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n    while ((n === void 0 || n-- > 0) && !(r = i.next()).done)\n      ar.push(r.value);\n  } catch (error) {\n    e = {\n      error\n    };\n  } finally {\n    try {\n      if (r && !r.done && (m = i[\"return\"]))\n        m.call(i);\n    } finally {\n      if (e)\n        throw e.error;\n    }\n  }\n  return ar;\n}\nfunction __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2)\n    for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n        if (!ar)\n          ar = Array.prototype.slice.call(from, 0, i);\n        ar[i] = from[i];\n      }\n    }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\ntypeof SuppressedError === \"function\" ? SuppressedError : function(error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nfunction unfetch(e, n) {\n  return n = n || {}, new Promise(function(t, r) {\n    var s = new XMLHttpRequest(), o = [], u = [], i = {}, a = function() {\n      return {\n        ok: 2 == (s.status / 100 | 0),\n        statusText: s.statusText,\n        status: s.status,\n        url: s.responseURL,\n        text: function() {\n          return Promise.resolve(s.responseText);\n        },\n        json: function() {\n          return Promise.resolve(JSON.parse(s.responseText));\n        },\n        blob: function() {\n          return Promise.resolve(new Blob([s.response]));\n        },\n        clone: a,\n        headers: {\n          keys: function() {\n            return o;\n          },\n          entries: function() {\n            return u;\n          },\n          get: function(e2) {\n            return i[e2.toLowerCase()];\n          },\n          has: function(e2) {\n            return e2.toLowerCase() in i;\n          }\n        }\n      };\n    };\n    for (var l in s.open(n.method || \"get\", e, true), s.onload = function() {\n      s.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm, function(e2, n2, t2) {\n        o.push(n2 = n2.toLowerCase()), u.push([n2, t2]), i[n2] = i[n2] ? i[n2] + \",\" + t2 : t2;\n      }), t(a());\n    }, s.onerror = r, s.withCredentials = \"include\" == n.credentials, n.headers)\n      s.setRequestHeader(l, n.headers[l]);\n    s.send(n.body || null);\n  });\n}\nvar fetch = safeGlobal.fetch || unfetch;\nvar timeout = function(promise, timeoutMillis) {\n  if (timeoutMillis == null || timeoutMillis <= 0) {\n    return promise;\n  }\n  return new Promise(function(resolve, reject) {\n    safeGlobal.setTimeout(function() {\n      reject(Error(\"Request timeout after \" + timeoutMillis + \" milliseconds\"));\n    }, timeoutMillis);\n    promise.then(resolve, reject);\n  });\n};\nvar _request = function(requestUrl, method, headers, data, timeoutMillis) {\n  var call = function() {\n    return __awaiter(void 0, void 0, void 0, function() {\n      var response, simpleResponse;\n      var _a;\n      return __generator(this, function(_b) {\n        switch (_b.label) {\n          case 0:\n            return [4, fetch(requestUrl, {\n              method,\n              headers,\n              body: data\n            })];\n          case 1:\n            response = _b.sent();\n            _a = {\n              status: response.status\n            };\n            return [4, response.text()];\n          case 2:\n            simpleResponse = (_a.body = _b.sent(), _a);\n            return [2, simpleResponse];\n        }\n      });\n    });\n  };\n  return timeout(call(), timeoutMillis);\n};\nvar WrapperClient = (\n  /** @class */\n  function() {\n    function WrapperClient2(client) {\n      this.client = client;\n    }\n    WrapperClient2.prototype.request = function(request) {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              return [4, this.client.request(request.requestUrl, request.method, request.headers, null, request.timeoutMillis)];\n            case 1:\n              return [2, _a.sent()];\n          }\n        });\n      });\n    };\n    return WrapperClient2;\n  }()\n);\nvar FetchHttpClient = { request: _request };\nvar Source;\n(function(Source2) {\n  Source2[\"LocalStorage\"] = \"localStorage\";\n  Source2[\"InitialVariants\"] = \"initialVariants\";\n})(Source || (Source = {}));\nvar VariantSource;\n(function(VariantSource2) {\n  VariantSource2[\"LocalStorage\"] = \"storage\";\n  VariantSource2[\"InitialVariants\"] = \"initial\";\n  VariantSource2[\"SecondaryLocalStorage\"] = \"secondary-storage\";\n  VariantSource2[\"SecondaryInitialVariants\"] = \"secondary-initial\";\n  VariantSource2[\"FallbackInline\"] = \"fallback-inline\";\n  VariantSource2[\"FallbackConfig\"] = \"fallback-config\";\n  VariantSource2[\"LocalEvaluation\"] = \"local-evaluation\";\n})(VariantSource || (VariantSource = {}));\nvar isFallback = function(source) {\n  return !source || source === VariantSource.FallbackInline || source === VariantSource.FallbackConfig || source === VariantSource.SecondaryInitialVariants;\n};\nvar Defaults = {\n  debug: false,\n  instanceName: \"$default_instance\",\n  fallbackVariant: {},\n  initialVariants: {},\n  initialFlags: void 0,\n  source: Source.LocalStorage,\n  serverUrl: \"https://api.lab.amplitude.com\",\n  flagsServerUrl: \"https://flag.lab.amplitude.com\",\n  serverZone: \"US\",\n  fetchTimeoutMillis: 1e4,\n  retryFetchOnFailure: true,\n  automaticExposureTracking: true,\n  pollOnStart: true,\n  fetchOnStart: true,\n  automaticFetchOnAmplitudeIdentityChange: false,\n  userProvider: null,\n  analyticsProvider: null,\n  exposureTrackingProvider: null,\n  httpClient: FetchHttpClient\n};\nvar version = \"1.11.0\";\nvar ConnectorUserProvider = (\n  /** @class */\n  function() {\n    function ConnectorUserProvider2(identityStore) {\n      this.identityStore = identityStore;\n    }\n    ConnectorUserProvider2.prototype.identityReady = function(ms) {\n      return __awaiter(this, void 0, void 0, function() {\n        var identity;\n        var _this = this;\n        return __generator(this, function(_a) {\n          identity = this.identityStore.getIdentity();\n          if (!identity.userId && !identity.deviceId) {\n            return [2, Promise.race([\n              new Promise(function(resolve) {\n                var listener = function() {\n                  resolve(void 0);\n                  _this.identityStore.removeIdentityListener(listener);\n                };\n                _this.identityStore.addIdentityListener(listener);\n              }),\n              new Promise(function(resolve, reject) {\n                safeGlobal.setTimeout(reject, ms, \"Timed out waiting for Amplitude Analytics SDK to initialize. You must ensure that the analytics SDK is initialized prior to calling fetch().\");\n              })\n            ])];\n          }\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    ConnectorUserProvider2.prototype.getUser = function() {\n      var identity = this.identityStore.getIdentity();\n      var userProperties = void 0;\n      try {\n        userProperties = identity.userProperties;\n      } catch (_a) {\n        console.warn(\"[Experiment] failed to cast user properties\");\n      }\n      return {\n        user_id: identity.userId,\n        device_id: identity.deviceId,\n        user_properties: userProperties\n      };\n    };\n    return ConnectorUserProvider2;\n  }()\n);\nvar ConnectorExposureTrackingProvider = (\n  /** @class */\n  function() {\n    function ConnectorExposureTrackingProvider2(eventBridge) {\n      this.eventBridge = eventBridge;\n    }\n    ConnectorExposureTrackingProvider2.prototype.track = function(exposure) {\n      this.eventBridge.logEvent({\n        eventType: \"$exposure\",\n        eventProperties: exposure\n      });\n    };\n    return ConnectorExposureTrackingProvider2;\n  }()\n);\nvar DefaultUserProvider = (\n  /** @class */\n  function() {\n    function DefaultUserProvider2(applicationContextProvider, userProvider) {\n      this.ua = new uaParserExports.UAParser(typeof navigator !== \"undefined\" ? navigator.userAgent : null).getResult();\n      this.contextProvider = applicationContextProvider;\n      this.userProvider = userProvider;\n    }\n    DefaultUserProvider2.prototype.getUser = function() {\n      var _a;\n      var user = ((_a = this.userProvider) === null || _a === void 0 ? void 0 : _a.getUser()) || {};\n      var context = this.contextProvider.getApplicationContext();\n      return __assign({ version: context.versionName, language: context.language, platform: context.platform, os: context.os || this.getOs(this.ua), device_model: context.deviceModel || this.getDeviceModel(this.ua) }, user);\n    };\n    DefaultUserProvider2.prototype.getOs = function(ua) {\n      var _a, _b;\n      return [(_a = ua.browser) === null || _a === void 0 ? void 0 : _a.name, (_b = ua.browser) === null || _b === void 0 ? void 0 : _b.major].filter(function(e) {\n        return e !== null && e !== void 0;\n      }).join(\" \");\n    };\n    DefaultUserProvider2.prototype.getDeviceModel = function(ua) {\n      var _a;\n      return (_a = ua.os) === null || _a === void 0 ? void 0 : _a.name;\n    };\n    return DefaultUserProvider2;\n  }()\n);\nvar LocalStorage = (\n  /** @class */\n  function() {\n    function LocalStorage2() {\n    }\n    LocalStorage2.prototype.get = function(key) {\n      return localStorage.getItem(key);\n    };\n    LocalStorage2.prototype.put = function(key, value) {\n      localStorage.setItem(key, value);\n    };\n    LocalStorage2.prototype.delete = function(key) {\n      localStorage.removeItem(key);\n    };\n    return LocalStorage2;\n  }()\n);\nvar getVariantStorage = function(deploymentKey, instanceName, storage) {\n  var truncatedDeployment = deploymentKey.substring(deploymentKey.length - 6);\n  var namespace = \"amp-exp-\".concat(instanceName, \"-\").concat(truncatedDeployment);\n  return new LoadStoreCache(namespace, storage, transformVariantFromStorage);\n};\nvar getFlagStorage = function(deploymentKey, instanceName, storage) {\n  if (storage === void 0) {\n    storage = new LocalStorage();\n  }\n  var truncatedDeployment = deploymentKey.substring(deploymentKey.length - 6);\n  var namespace = \"amp-exp-\".concat(instanceName, \"-\").concat(truncatedDeployment, \"-flags\");\n  return new LoadStoreCache(namespace, storage);\n};\nvar LoadStoreCache = (\n  /** @class */\n  function() {\n    function LoadStoreCache2(namespace, storage, transformer) {\n      this.cache = {};\n      this.namespace = namespace;\n      this.storage = storage;\n      this.transformer = transformer;\n    }\n    LoadStoreCache2.prototype.get = function(key) {\n      return this.cache[key];\n    };\n    LoadStoreCache2.prototype.getAll = function() {\n      return __assign({}, this.cache);\n    };\n    LoadStoreCache2.prototype.put = function(key, value) {\n      this.cache[key] = value;\n    };\n    LoadStoreCache2.prototype.putAll = function(values) {\n      var e_1, _a;\n      try {\n        for (var _b = __values(Object.keys(values)), _c = _b.next(); !_c.done; _c = _b.next()) {\n          var key = _c.value;\n          this.cache[key] = values[key];\n        }\n      } catch (e_1_1) {\n        e_1 = { error: e_1_1 };\n      } finally {\n        try {\n          if (_c && !_c.done && (_a = _b.return))\n            _a.call(_b);\n        } finally {\n          if (e_1)\n            throw e_1.error;\n        }\n      }\n    };\n    LoadStoreCache2.prototype.remove = function(key) {\n      delete this.cache[key];\n    };\n    LoadStoreCache2.prototype.clear = function() {\n      this.cache = {};\n    };\n    LoadStoreCache2.prototype.load = function() {\n      var e_2, _a;\n      var rawValues = this.storage.get(this.namespace);\n      var jsonValues;\n      try {\n        jsonValues = JSON.parse(rawValues) || {};\n      } catch (_b) {\n        return;\n      }\n      var values = {};\n      try {\n        for (var _c = __values(Object.keys(jsonValues)), _d = _c.next(); !_d.done; _d = _c.next()) {\n          var key = _d.value;\n          try {\n            var value = void 0;\n            if (this.transformer) {\n              value = this.transformer(jsonValues[key]);\n            } else {\n              value = jsonValues[key];\n            }\n            if (value) {\n              values[key] = value;\n            }\n          } catch (_e) {\n          }\n        }\n      } catch (e_2_1) {\n        e_2 = { error: e_2_1 };\n      } finally {\n        try {\n          if (_d && !_d.done && (_a = _c.return))\n            _a.call(_c);\n        } finally {\n          if (e_2)\n            throw e_2.error;\n        }\n      }\n      this.clear();\n      this.putAll(values);\n    };\n    LoadStoreCache2.prototype.store = function(values) {\n      if (values === void 0) {\n        values = this.cache;\n      }\n      this.storage.put(this.namespace, JSON.stringify(values));\n    };\n    return LoadStoreCache2;\n  }()\n);\nvar transformVariantFromStorage = function(storageValue) {\n  if (typeof storageValue === \"string\") {\n    return {\n      key: storageValue,\n      value: storageValue\n    };\n  } else if (typeof storageValue === \"object\") {\n    var key = storageValue[\"key\"];\n    var value = storageValue[\"value\"];\n    var payload = storageValue[\"payload\"];\n    var metadata = storageValue[\"metadata\"];\n    var experimentKey = storageValue[\"expKey\"];\n    if (metadata && metadata.experimentKey) {\n      experimentKey = metadata.experimentKey;\n    } else if (experimentKey) {\n      metadata = metadata || {};\n      metadata[\"experimentKey\"] = experimentKey;\n    }\n    var variant = {};\n    if (key) {\n      variant.key = key;\n    } else if (value) {\n      variant.key = value;\n    }\n    if (value)\n      variant.value = value;\n    if (metadata)\n      variant.metadata = metadata;\n    if (payload)\n      variant.payload = payload;\n    if (experimentKey)\n      variant.expKey = experimentKey;\n    return variant;\n  }\n};\nvar exposureEvent = function(user, key, variant, source) {\n  var _a;\n  var name = \"[Experiment] Exposure\";\n  var value = variant === null || variant === void 0 ? void 0 : variant.value;\n  var userProperty = \"[Experiment] \".concat(key);\n  return {\n    name,\n    user,\n    key,\n    variant,\n    userProperty,\n    properties: {\n      key,\n      variant: value,\n      source\n    },\n    userProperties: (_a = {}, _a[userProperty] = value, _a)\n  };\n};\nvar isNullOrUndefined = function(value) {\n  return value === null || value === void 0;\n};\nvar isNullUndefinedOrEmpty = function(value) {\n  if (isNullOrUndefined(value))\n    return true;\n  return value && Object.keys(value).length === 0;\n};\nvar isLocalEvaluationMode = function(flag) {\n  var _a;\n  return ((_a = flag === null || flag === void 0 ? void 0 : flag.metadata) === null || _a === void 0 ? void 0 : _a.evaluationMode) === \"local\";\n};\nvar Backoff = (\n  /** @class */\n  function() {\n    function Backoff2(attempts, min, max, scalar) {\n      this.started = false;\n      this.done = false;\n      this.attempts = attempts;\n      this.min = min;\n      this.max = max;\n      this.scalar = scalar;\n    }\n    Backoff2.prototype.start = function(fn) {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              if (!this.started) {\n                this.started = true;\n              } else {\n                throw Error(\"Backoff already started\");\n              }\n              return [4, this.backoff(fn, 0, this.min)];\n            case 1:\n              _a.sent();\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    Backoff2.prototype.cancel = function() {\n      this.done = true;\n      clearTimeout(this.timeoutHandle);\n    };\n    Backoff2.prototype.backoff = function(fn, attempt, delay) {\n      return __awaiter(this, void 0, void 0, function() {\n        var _this = this;\n        return __generator(this, function(_a) {\n          if (this.done) {\n            return [\n              2\n              /*return*/\n            ];\n          }\n          this.timeoutHandle = safeGlobal.setTimeout(function() {\n            return __awaiter(_this, void 0, void 0, function() {\n              var nextAttempt, nextDelay;\n              return __generator(this, function(_a2) {\n                switch (_a2.label) {\n                  case 0:\n                    _a2.trys.push([0, 2, , 3]);\n                    return [4, fn()];\n                  case 1:\n                    _a2.sent();\n                    return [3, 3];\n                  case 2:\n                    _a2.sent();\n                    nextAttempt = attempt + 1;\n                    if (nextAttempt < this.attempts) {\n                      nextDelay = Math.min(delay * this.scalar, this.max);\n                      this.backoff(fn, nextAttempt, nextDelay);\n                    }\n                    return [3, 3];\n                  case 3:\n                    return [\n                      2\n                      /*return*/\n                    ];\n                }\n              });\n            });\n          }, delay);\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    return Backoff2;\n  }()\n);\nvar convertUserToContext = function(user) {\n  var e_1, _a;\n  var _b, _c;\n  if (!user) {\n    return {};\n  }\n  var context = { user };\n  var groups = {};\n  if (!user.groups) {\n    return context;\n  }\n  try {\n    for (var _d = __values(Object.keys(user.groups)), _e = _d.next(); !_e.done; _e = _d.next()) {\n      var groupType = _e.value;\n      var groupNames = user.groups[groupType];\n      if (groupNames.length > 0 && groupNames[0]) {\n        var groupName = groupNames[0];\n        var groupNameMap = {\n          group_name: groupName\n        };\n        var groupProperties = (_c = (_b = user.group_properties) === null || _b === void 0 ? void 0 : _b[groupType]) === null || _c === void 0 ? void 0 : _c[groupName];\n        if (groupProperties && Object.keys(groupProperties).length > 0) {\n          groupNameMap[\"group_properties\"] = groupProperties;\n        }\n        groups[groupType] = groupNameMap;\n      }\n    }\n  } catch (e_1_1) {\n    e_1 = { error: e_1_1 };\n  } finally {\n    try {\n      if (_e && !_e.done && (_a = _d.return))\n        _a.call(_d);\n    } finally {\n      if (e_1)\n        throw e_1.error;\n    }\n  }\n  if (Object.keys(groups).length > 0) {\n    context[\"groups\"] = groups;\n  }\n  delete context.user[\"groups\"];\n  delete context.user[\"group_properties\"];\n  return context;\n};\nvar convertVariant = function(value) {\n  if (value === null || value === void 0) {\n    return {};\n  }\n  if (typeof value == \"string\") {\n    return {\n      key: value,\n      value\n    };\n  } else {\n    return value;\n  }\n};\nvar convertEvaluationVariantToVariant = function(evaluationVariant) {\n  if (!evaluationVariant) {\n    return {};\n  }\n  var experimentKey = void 0;\n  if (evaluationVariant.metadata) {\n    experimentKey = evaluationVariant.metadata[\"experimentKey\"];\n  }\n  var variant = {};\n  if (evaluationVariant.key)\n    variant.key = evaluationVariant.key;\n  if (evaluationVariant.value)\n    variant.value = evaluationVariant.value;\n  if (evaluationVariant.payload)\n    variant.payload = evaluationVariant.payload;\n  if (experimentKey)\n    variant.expKey = experimentKey;\n  if (evaluationVariant.metadata)\n    variant.metadata = evaluationVariant.metadata;\n  return variant;\n};\nvar SessionAnalyticsProvider = (\n  /** @class */\n  function() {\n    function SessionAnalyticsProvider2(analyticsProvider) {\n      this.setProperties = {};\n      this.unsetProperties = {};\n      this.analyticsProvider = analyticsProvider;\n    }\n    SessionAnalyticsProvider2.prototype.track = function(event) {\n      if (this.setProperties[event.key] == event.variant.value) {\n        return;\n      } else {\n        this.setProperties[event.key] = event.variant.value;\n        delete this.unsetProperties[event.key];\n      }\n      this.analyticsProvider.track(event);\n    };\n    SessionAnalyticsProvider2.prototype.setUserProperty = function(event) {\n      if (this.setProperties[event.key] == event.variant.value) {\n        return;\n      }\n      this.analyticsProvider.setUserProperty(event);\n    };\n    SessionAnalyticsProvider2.prototype.unsetUserProperty = function(event) {\n      if (this.unsetProperties[event.key]) {\n        return;\n      } else {\n        this.unsetProperties[event.key] = \"unset\";\n        delete this.setProperties[event.key];\n      }\n      this.analyticsProvider.unsetUserProperty(event);\n    };\n    return SessionAnalyticsProvider2;\n  }()\n);\nvar SessionExposureTrackingProvider = (\n  /** @class */\n  function() {\n    function SessionExposureTrackingProvider2(exposureTrackingProvider) {\n      this.tracked = {};\n      this.exposureTrackingProvider = exposureTrackingProvider;\n    }\n    SessionExposureTrackingProvider2.prototype.track = function(exposure) {\n      var trackedExposure = this.tracked[exposure.flag_key];\n      if (trackedExposure && trackedExposure.variant === exposure.variant) {\n        return;\n      } else {\n        this.tracked[exposure.flag_key] = exposure;\n        this.exposureTrackingProvider.track(exposure);\n      }\n    };\n    return SessionExposureTrackingProvider2;\n  }()\n);\nvar fetchBackoffTimeout = 1e4;\nvar fetchBackoffAttempts = 8;\nvar fetchBackoffMinMillis = 500;\nvar fetchBackoffMaxMillis = 1e4;\nvar fetchBackoffScalar = 1.5;\nvar flagPollerIntervalMillis = 6e4;\nvar euServerUrl = \"https://api.lab.eu.amplitude.com\";\nvar euFlagsServerUrl = \"https://flag.lab.eu.amplitude.com\";\nvar ExperimentClient = (\n  /** @class */\n  function() {\n    function ExperimentClient2(apiKey, config) {\n      var _this = this;\n      var _a, _b;\n      this.engine = new EvaluationEngine();\n      this.poller = new Poller(function() {\n        return _this.doFlags();\n      }, flagPollerIntervalMillis);\n      this.isRunning = false;\n      this.apiKey = apiKey;\n      this.config = __assign(__assign(__assign({}, Defaults), config), {\n        // Set server URLs separately\n        serverUrl: (config === null || config === void 0 ? void 0 : config.serverUrl) || (((_a = config === null || config === void 0 ? void 0 : config.serverZone) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === \"eu\" ? euServerUrl : Defaults.serverUrl),\n        flagsServerUrl: (config === null || config === void 0 ? void 0 : config.flagsServerUrl) || (((_b = config === null || config === void 0 ? void 0 : config.serverZone) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === \"eu\" ? euFlagsServerUrl : Defaults.flagsServerUrl)\n      });\n      if (this.config.initialVariants) {\n        for (var flagKey in this.config.initialVariants) {\n          this.config.initialVariants[flagKey] = transformVariantFromStorage(this.config.initialVariants[flagKey]);\n        }\n      }\n      if (this.config.userProvider) {\n        this.userProvider = this.config.userProvider;\n      }\n      if (this.config.analyticsProvider) {\n        this.analyticsProvider = new SessionAnalyticsProvider(this.config.analyticsProvider);\n      }\n      if (this.config.exposureTrackingProvider) {\n        this.exposureTrackingProvider = new SessionExposureTrackingProvider(this.config.exposureTrackingProvider);\n      }\n      var httpClient = new WrapperClient(this.config.httpClient || FetchHttpClient);\n      this.flagApi = new SdkFlagApi(this.apiKey, this.config.flagsServerUrl, httpClient);\n      this.evaluationApi = new SdkEvaluationApi(this.apiKey, this.config.serverUrl, httpClient);\n      var storage = new LocalStorage();\n      this.variants = getVariantStorage(this.apiKey, this.config.instanceName, storage);\n      this.flags = getFlagStorage(this.apiKey, this.config.instanceName, storage);\n      try {\n        this.flags.load();\n        this.variants.load();\n      } catch (e) {\n      }\n      this.mergeInitialFlagsWithStorage();\n    }\n    ExperimentClient2.prototype.start = function(user) {\n      var _a;\n      return __awaiter(this, void 0, void 0, function() {\n        var flagsReadyPromise, fetchOnStart;\n        return __generator(this, function(_b) {\n          switch (_b.label) {\n            case 0:\n              if (this.isRunning) {\n                return [\n                  2\n                  /*return*/\n                ];\n              } else {\n                this.isRunning = true;\n              }\n              this.setUser(user);\n              flagsReadyPromise = this.doFlags();\n              fetchOnStart = (_a = this.config.fetchOnStart) !== null && _a !== void 0 ? _a : true;\n              if (!fetchOnStart)\n                return [3, 2];\n              return [4, Promise.all([this.fetch(user), flagsReadyPromise])];\n            case 1:\n              _b.sent();\n              return [3, 4];\n            case 2:\n              return [4, flagsReadyPromise];\n            case 3:\n              _b.sent();\n              _b.label = 4;\n            case 4:\n              if (this.config.pollOnStart) {\n                this.poller.start();\n              }\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    ExperimentClient2.prototype.stop = function() {\n      if (!this.isRunning) {\n        return;\n      }\n      this.poller.stop();\n      this.isRunning = false;\n    };\n    ExperimentClient2.prototype.fetch = function(user, options) {\n      if (user === void 0) {\n        user = this.user;\n      }\n      return __awaiter(this, void 0, void 0, function() {\n        var e_1;\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              this.setUser(user || {});\n              _a.label = 1;\n            case 1:\n              _a.trys.push([1, 3, , 4]);\n              return [4, this.fetchInternal(user, this.config.fetchTimeoutMillis, this.config.retryFetchOnFailure, options)];\n            case 2:\n              _a.sent();\n              return [3, 4];\n            case 3:\n              e_1 = _a.sent();\n              console.error(e_1);\n              return [3, 4];\n            case 4:\n              return [2, this];\n          }\n        });\n      });\n    };\n    ExperimentClient2.prototype.variant = function(key, fallback) {\n      var _a, _b;\n      if (!this.apiKey) {\n        return { value: void 0 };\n      }\n      var sourceVariant = this.variantAndSource(key, fallback);\n      if (this.config.automaticExposureTracking) {\n        this.exposureInternal(key, sourceVariant);\n      }\n      this.debug(\"[Experiment] variant for \".concat(key, \" is \").concat(((_a = sourceVariant.variant) === null || _a === void 0 ? void 0 : _a.key) || ((_b = sourceVariant.variant) === null || _b === void 0 ? void 0 : _b.value)));\n      return sourceVariant.variant || {};\n    };\n    ExperimentClient2.prototype.exposure = function(key) {\n      var sourceVariant = this.variantAndSource(key);\n      this.exposureInternal(key, sourceVariant);\n    };\n    ExperimentClient2.prototype.all = function() {\n      if (!this.apiKey) {\n        return {};\n      }\n      var evaluatedVariants = this.evaluate();\n      for (var flagKey in evaluatedVariants) {\n        var flag = this.flags.get(flagKey);\n        if (!isLocalEvaluationMode(flag)) {\n          delete evaluatedVariants[flagKey];\n        }\n      }\n      return __assign(__assign(__assign({}, this.secondaryVariants()), this.sourceVariants()), evaluatedVariants);\n    };\n    ExperimentClient2.prototype.clear = function() {\n      this.variants.clear();\n      try {\n        void this.variants.store();\n      } catch (e) {\n      }\n    };\n    ExperimentClient2.prototype.getUser = function() {\n      var _a;\n      if (!this.user) {\n        return this.user;\n      }\n      if ((_a = this.user) === null || _a === void 0 ? void 0 : _a.user_properties) {\n        var userPropertiesCopy = __assign({}, this.user.user_properties);\n        return __assign(__assign({}, this.user), { user_properties: userPropertiesCopy });\n      } else {\n        return __assign({}, this.user);\n      }\n    };\n    ExperimentClient2.prototype.setUser = function(user) {\n      var _a;\n      if (!user) {\n        this.user = null;\n        return;\n      }\n      if ((_a = this.user) === null || _a === void 0 ? void 0 : _a.user_properties) {\n        var userPropertiesCopy = __assign({}, user.user_properties);\n        this.user = __assign(__assign({}, user), { user_properties: userPropertiesCopy });\n      } else {\n        this.user = __assign({}, user);\n      }\n    };\n    ExperimentClient2.prototype.getUserProvider = function() {\n      return this.userProvider;\n    };\n    ExperimentClient2.prototype.setUserProvider = function(userProvider) {\n      this.userProvider = userProvider;\n      return this;\n    };\n    ExperimentClient2.prototype.mergeInitialFlagsWithStorage = function() {\n      var _this = this;\n      if (this.config.initialFlags) {\n        var initialFlags = JSON.parse(this.config.initialFlags);\n        initialFlags.forEach(function(flag) {\n          if (!_this.flags.get(flag.key)) {\n            _this.flags.put(flag.key, flag);\n          }\n        });\n      }\n    };\n    ExperimentClient2.prototype.evaluate = function(flagKeys) {\n      var e_2, _a;\n      var user = this.addContext(this.user);\n      var flags = topologicalSort(this.flags.getAll(), flagKeys);\n      var context = convertUserToContext(user);\n      var evaluationVariants = this.engine.evaluate(context, flags);\n      var variants = {};\n      try {\n        for (var _b = __values(Object.keys(evaluationVariants)), _c = _b.next(); !_c.done; _c = _b.next()) {\n          var flagKey = _c.value;\n          variants[flagKey] = convertEvaluationVariantToVariant(evaluationVariants[flagKey]);\n        }\n      } catch (e_2_1) {\n        e_2 = { error: e_2_1 };\n      } finally {\n        try {\n          if (_c && !_c.done && (_a = _b.return))\n            _a.call(_b);\n        } finally {\n          if (e_2)\n            throw e_2.error;\n        }\n      }\n      return variants;\n    };\n    ExperimentClient2.prototype.variantAndSource = function(key, fallback) {\n      var sourceVariant = {};\n      if (this.config.source === Source.LocalStorage) {\n        sourceVariant = this.localStorageVariantAndSource(key, fallback);\n      } else if (this.config.source === Source.InitialVariants) {\n        sourceVariant = this.initialVariantsVariantAndSource(key, fallback);\n      }\n      var flag = this.flags.get(key);\n      if (isLocalEvaluationMode(flag) || !sourceVariant.variant && flag) {\n        sourceVariant = this.localEvaluationVariantAndSource(key, flag, fallback);\n      }\n      return sourceVariant;\n    };\n    ExperimentClient2.prototype.localEvaluationVariantAndSource = function(key, flag, fallback) {\n      var _a;\n      var defaultSourceVariant = {};\n      var variant = this.evaluate([flag.key])[key];\n      var source = VariantSource.LocalEvaluation;\n      var isLocalEvaluationDefault = (_a = variant === null || variant === void 0 ? void 0 : variant.metadata) === null || _a === void 0 ? void 0 : _a.default;\n      if (!isNullOrUndefined(variant) && !isLocalEvaluationDefault) {\n        return {\n          variant: convertVariant(variant),\n          source,\n          hasDefaultVariant: false\n        };\n      } else if (isLocalEvaluationDefault) {\n        defaultSourceVariant = {\n          variant: convertVariant(variant),\n          source,\n          hasDefaultVariant: true\n        };\n      }\n      if (!isNullOrUndefined(fallback)) {\n        return {\n          variant: convertVariant(fallback),\n          source: VariantSource.FallbackInline,\n          hasDefaultVariant: defaultSourceVariant.hasDefaultVariant\n        };\n      }\n      var initialVariant = this.config.initialVariants[key];\n      if (!isNullOrUndefined(initialVariant)) {\n        return {\n          variant: convertVariant(initialVariant),\n          source: VariantSource.SecondaryInitialVariants,\n          hasDefaultVariant: defaultSourceVariant.hasDefaultVariant\n        };\n      }\n      var fallbackVariant = convertVariant(this.config.fallbackVariant);\n      var fallbackSourceVariant = {\n        variant: fallbackVariant,\n        source: VariantSource.FallbackConfig,\n        hasDefaultVariant: defaultSourceVariant.hasDefaultVariant\n      };\n      if (!isNullUndefinedOrEmpty(fallbackVariant)) {\n        return fallbackSourceVariant;\n      }\n      return defaultSourceVariant;\n    };\n    ExperimentClient2.prototype.localStorageVariantAndSource = function(key, fallback) {\n      var _a;\n      var defaultSourceVariant = {};\n      var localStorageVariant = this.variants.get(key);\n      var isLocalStorageDefault = (_a = localStorageVariant === null || localStorageVariant === void 0 ? void 0 : localStorageVariant.metadata) === null || _a === void 0 ? void 0 : _a.default;\n      if (!isNullOrUndefined(localStorageVariant) && !isLocalStorageDefault) {\n        return {\n          variant: convertVariant(localStorageVariant),\n          source: VariantSource.LocalStorage,\n          hasDefaultVariant: false\n        };\n      } else if (isLocalStorageDefault) {\n        defaultSourceVariant = {\n          variant: convertVariant(localStorageVariant),\n          source: VariantSource.LocalStorage,\n          hasDefaultVariant: true\n        };\n      }\n      if (!isNullOrUndefined(fallback)) {\n        return {\n          variant: convertVariant(fallback),\n          source: VariantSource.FallbackInline,\n          hasDefaultVariant: defaultSourceVariant.hasDefaultVariant\n        };\n      }\n      var initialVariant = this.config.initialVariants[key];\n      if (!isNullOrUndefined(initialVariant)) {\n        return {\n          variant: convertVariant(initialVariant),\n          source: VariantSource.SecondaryInitialVariants,\n          hasDefaultVariant: defaultSourceVariant.hasDefaultVariant\n        };\n      }\n      var fallbackVariant = convertVariant(this.config.fallbackVariant);\n      var fallbackSourceVariant = {\n        variant: fallbackVariant,\n        source: VariantSource.FallbackConfig,\n        hasDefaultVariant: defaultSourceVariant.hasDefaultVariant\n      };\n      if (!isNullUndefinedOrEmpty(fallbackVariant)) {\n        return fallbackSourceVariant;\n      }\n      return defaultSourceVariant;\n    };\n    ExperimentClient2.prototype.initialVariantsVariantAndSource = function(key, fallback) {\n      var _a;\n      var defaultSourceVariant = {};\n      var initialVariantsVariant = this.config.initialVariants[key];\n      if (!isNullOrUndefined(initialVariantsVariant)) {\n        return {\n          variant: convertVariant(initialVariantsVariant),\n          source: VariantSource.InitialVariants,\n          hasDefaultVariant: false\n        };\n      }\n      var localStorageVariant = this.variants.get(key);\n      var isLocalStorageDefault = (_a = localStorageVariant === null || localStorageVariant === void 0 ? void 0 : localStorageVariant.metadata) === null || _a === void 0 ? void 0 : _a.default;\n      if (!isNullOrUndefined(localStorageVariant) && !isLocalStorageDefault) {\n        return {\n          variant: convertVariant(localStorageVariant),\n          source: VariantSource.LocalStorage,\n          hasDefaultVariant: false\n        };\n      } else if (isLocalStorageDefault) {\n        defaultSourceVariant = {\n          variant: convertVariant(localStorageVariant),\n          source: VariantSource.LocalStorage,\n          hasDefaultVariant: true\n        };\n      }\n      if (!isNullOrUndefined(fallback)) {\n        return {\n          variant: convertVariant(fallback),\n          source: VariantSource.FallbackInline,\n          hasDefaultVariant: defaultSourceVariant.hasDefaultVariant\n        };\n      }\n      var fallbackVariant = convertVariant(this.config.fallbackVariant);\n      var fallbackSourceVariant = {\n        variant: fallbackVariant,\n        source: VariantSource.FallbackConfig,\n        hasDefaultVariant: defaultSourceVariant.hasDefaultVariant\n      };\n      if (!isNullUndefinedOrEmpty(fallbackVariant)) {\n        return fallbackSourceVariant;\n      }\n      return defaultSourceVariant;\n    };\n    ExperimentClient2.prototype.fetchInternal = function(user, timeoutMillis, retry, options) {\n      return __awaiter(this, void 0, void 0, function() {\n        var variants, e_3;\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              if (!this.apiKey) {\n                throw Error(\"Experiment API key is empty\");\n              }\n              this.debug(\"[Experiment] Fetch all: retry=\".concat(retry));\n              if (retry) {\n                this.stopRetries();\n              }\n              _a.label = 1;\n            case 1:\n              _a.trys.push([1, 4, , 5]);\n              return [4, this.doFetch(user, timeoutMillis, options)];\n            case 2:\n              variants = _a.sent();\n              return [4, this.storeVariants(variants, options)];\n            case 3:\n              _a.sent();\n              return [2, variants];\n            case 4:\n              e_3 = _a.sent();\n              if (retry && this.shouldRetryFetch(e_3)) {\n                void this.startRetries(user, options);\n              }\n              throw e_3;\n            case 5:\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    ExperimentClient2.prototype.doFetch = function(user, timeoutMillis, options) {\n      return __awaiter(this, void 0, void 0, function() {\n        var results, variants, _a, _b, key;\n        var e_4, _c;\n        return __generator(this, function(_d) {\n          switch (_d.label) {\n            case 0:\n              return [4, this.addContextOrWait(user, 1e4)];\n            case 1:\n              user = _d.sent();\n              this.debug(\"[Experiment] Fetch variants for user: \", user);\n              return [4, this.evaluationApi.getVariants(user, __assign({ timeoutMillis }, options))];\n            case 2:\n              results = _d.sent();\n              variants = {};\n              try {\n                for (_a = __values(Object.keys(results)), _b = _a.next(); !_b.done; _b = _a.next()) {\n                  key = _b.value;\n                  variants[key] = convertEvaluationVariantToVariant(results[key]);\n                }\n              } catch (e_4_1) {\n                e_4 = { error: e_4_1 };\n              } finally {\n                try {\n                  if (_b && !_b.done && (_c = _a.return))\n                    _c.call(_a);\n                } finally {\n                  if (e_4)\n                    throw e_4.error;\n                }\n              }\n              this.debug(\"[Experiment] Received variants: \", variants);\n              return [2, variants];\n          }\n        });\n      });\n    };\n    ExperimentClient2.prototype.doFlags = function() {\n      return __awaiter(this, void 0, void 0, function() {\n        var flags;\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              return [4, this.flagApi.getFlags({\n                libraryName: \"experiment-js-client\",\n                libraryVersion: version,\n                timeoutMillis: this.config.fetchTimeoutMillis\n              })];\n            case 1:\n              flags = _a.sent();\n              this.flags.clear();\n              this.flags.putAll(flags);\n              try {\n                this.flags.store();\n              } catch (e) {\n              }\n              this.mergeInitialFlagsWithStorage();\n              return [\n                2\n                /*return*/\n              ];\n          }\n        });\n      });\n    };\n    ExperimentClient2.prototype.storeVariants = function(variants, options) {\n      return __awaiter(this, void 0, void 0, function() {\n        var failedFlagKeys, _loop_1, this_1, key, key;\n        return __generator(this, function(_a) {\n          failedFlagKeys = options && options.flagKeys ? options.flagKeys : [];\n          if (failedFlagKeys.length === 0) {\n            this.variants.clear();\n          }\n          _loop_1 = function(key2) {\n            failedFlagKeys = failedFlagKeys.filter(function(flagKey) {\n              return flagKey !== key2;\n            });\n            this_1.variants.put(key2, variants[key2]);\n          };\n          this_1 = this;\n          for (key in variants) {\n            _loop_1(key);\n          }\n          for (key in failedFlagKeys) {\n            this.variants.remove(key);\n          }\n          try {\n            this.variants.store();\n          } catch (e) {\n          }\n          this.debug(\"[Experiment] Stored variants: \", variants);\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    ExperimentClient2.prototype.startRetries = function(user, options) {\n      return __awaiter(this, void 0, void 0, function() {\n        var _this = this;\n        return __generator(this, function(_a) {\n          this.debug(\"[Experiment] Retry fetch\");\n          this.retriesBackoff = new Backoff(fetchBackoffAttempts, fetchBackoffMinMillis, fetchBackoffMaxMillis, fetchBackoffScalar);\n          void this.retriesBackoff.start(function() {\n            return __awaiter(_this, void 0, void 0, function() {\n              return __generator(this, function(_a2) {\n                switch (_a2.label) {\n                  case 0:\n                    return [4, this.fetchInternal(user, fetchBackoffTimeout, false, options)];\n                  case 1:\n                    _a2.sent();\n                    return [\n                      2\n                      /*return*/\n                    ];\n                }\n              });\n            });\n          });\n          return [\n            2\n            /*return*/\n          ];\n        });\n      });\n    };\n    ExperimentClient2.prototype.stopRetries = function() {\n      if (this.retriesBackoff) {\n        this.retriesBackoff.cancel();\n      }\n    };\n    ExperimentClient2.prototype.addContext = function(user) {\n      var _a, _b;\n      var providedUser = (_a = this.userProvider) === null || _a === void 0 ? void 0 : _a.getUser();\n      var mergedUserProperties = __assign(__assign({}, user === null || user === void 0 ? void 0 : user.user_properties), providedUser === null || providedUser === void 0 ? void 0 : providedUser.user_properties);\n      return __assign(__assign(__assign({ library: \"experiment-js-client/\".concat(version) }, (_b = this.userProvider) === null || _b === void 0 ? void 0 : _b.getUser()), user), { user_properties: mergedUserProperties });\n    };\n    ExperimentClient2.prototype.addContextOrWait = function(user, ms) {\n      return __awaiter(this, void 0, void 0, function() {\n        return __generator(this, function(_a) {\n          switch (_a.label) {\n            case 0:\n              if (!(this.userProvider instanceof DefaultUserProvider))\n                return [3, 2];\n              if (!(this.userProvider.userProvider instanceof ConnectorUserProvider))\n                return [3, 2];\n              return [4, this.userProvider.userProvider.identityReady(ms)];\n            case 1:\n              _a.sent();\n              _a.label = 2;\n            case 2:\n              return [2, this.addContext(user)];\n          }\n        });\n      });\n    };\n    ExperimentClient2.prototype.sourceVariants = function() {\n      if (this.config.source == Source.LocalStorage) {\n        return this.variants.getAll();\n      } else if (this.config.source == Source.InitialVariants) {\n        return this.config.initialVariants;\n      }\n    };\n    ExperimentClient2.prototype.secondaryVariants = function() {\n      if (this.config.source == Source.LocalStorage) {\n        return this.config.initialVariants;\n      } else if (this.config.source == Source.InitialVariants) {\n        return this.variants.getAll();\n      }\n    };\n    ExperimentClient2.prototype.exposureInternal = function(key, sourceVariant) {\n      var _a, _b, _c, _d, _e, _f;\n      this.legacyExposureInternal(key, sourceVariant.variant, sourceVariant.source);\n      var exposure = { flag_key: key };\n      var fallback = isFallback(sourceVariant.source);\n      if (fallback && !sourceVariant.hasDefaultVariant) {\n        return;\n      }\n      if ((_a = sourceVariant.variant) === null || _a === void 0 ? void 0 : _a.expKey) {\n        exposure.experiment_key = (_b = sourceVariant.variant) === null || _b === void 0 ? void 0 : _b.expKey;\n      }\n      var metadata = (_c = sourceVariant.variant) === null || _c === void 0 ? void 0 : _c.metadata;\n      if (!fallback && !(metadata === null || metadata === void 0 ? void 0 : metadata.default)) {\n        if ((_d = sourceVariant.variant) === null || _d === void 0 ? void 0 : _d.key) {\n          exposure.variant = sourceVariant.variant.key;\n        } else if ((_e = sourceVariant.variant) === null || _e === void 0 ? void 0 : _e.value) {\n          exposure.variant = sourceVariant.variant.value;\n        }\n      }\n      if (metadata)\n        exposure.metadata = metadata;\n      (_f = this.exposureTrackingProvider) === null || _f === void 0 ? void 0 : _f.track(exposure);\n    };\n    ExperimentClient2.prototype.legacyExposureInternal = function(key, variant, source) {\n      var _a, _b, _c, _d, _e;\n      if (this.analyticsProvider) {\n        var user = this.addContext(this.getUser());\n        var event_1 = exposureEvent(user, key, variant, source);\n        if (isFallback(source) || !(variant === null || variant === void 0 ? void 0 : variant.value)) {\n          (_b = (_a = this.analyticsProvider) === null || _a === void 0 ? void 0 : _a.unsetUserProperty) === null || _b === void 0 ? void 0 : _b.call(_a, event_1);\n        } else if (variant === null || variant === void 0 ? void 0 : variant.value) {\n          (_d = (_c = this.analyticsProvider) === null || _c === void 0 ? void 0 : _c.setUserProperty) === null || _d === void 0 ? void 0 : _d.call(_c, event_1);\n          (_e = this.analyticsProvider) === null || _e === void 0 ? void 0 : _e.track(event_1);\n        }\n      }\n    };\n    ExperimentClient2.prototype.debug = function(message) {\n      var optionalParams = [];\n      for (var _i = 1; _i < arguments.length; _i++) {\n        optionalParams[_i - 1] = arguments[_i];\n      }\n      if (this.config.debug) {\n        console.debug.apply(console, __spreadArray([message], __read(optionalParams), false));\n      }\n    };\n    ExperimentClient2.prototype.shouldRetryFetch = function(e) {\n      if (e instanceof FetchError) {\n        return e.statusCode < 400 || e.statusCode >= 500 || e.statusCode === 429;\n      }\n      return true;\n    };\n    return ExperimentClient2;\n  }()\n);\nvar instances = {};\nvar initialize = function(apiKey, config) {\n  var instanceName = (config === null || config === void 0 ? void 0 : config.instanceName) || Defaults.instanceName;\n  var instanceKey = \"\".concat(instanceName, \".\").concat(apiKey);\n  var connector = AnalyticsConnector.getInstance(instanceName);\n  if (!instances[instanceKey]) {\n    config = __assign(__assign({}, config), { userProvider: new DefaultUserProvider(connector.applicationContextProvider, config === null || config === void 0 ? void 0 : config.userProvider) });\n    instances[instanceKey] = new ExperimentClient(apiKey, config);\n  }\n  return instances[instanceKey];\n};\nvar initializeWithAmplitudeAnalytics = function(apiKey, config) {\n  var instanceName = (config === null || config === void 0 ? void 0 : config.instanceName) || Defaults.instanceName;\n  var instanceKey = \"\".concat(instanceName, \".\").concat(apiKey);\n  var connector = AnalyticsConnector.getInstance(instanceName);\n  if (!instances[instanceKey]) {\n    config = __assign({ userProvider: new DefaultUserProvider(connector.applicationContextProvider, new ConnectorUserProvider(connector.identityStore)), exposureTrackingProvider: new ConnectorExposureTrackingProvider(connector.eventBridge) }, config);\n    instances[instanceKey] = new ExperimentClient(apiKey, config);\n    if (config.automaticFetchOnAmplitudeIdentityChange) {\n      connector.identityStore.addIdentityListener(function() {\n        instances[instanceKey].fetch();\n      });\n    }\n  }\n  return instances[instanceKey];\n};\nvar Experiment = {\n  initialize,\n  initializeWithAmplitudeAnalytics\n};\nexport {\n  Experiment,\n  ExperimentClient,\n  Source\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nimport * as index from \"../../node_modules/@amplitude/analytics-browser/lib/esm/index.js\";\nimport { Experiment } from \"../../node_modules/@amplitude/experiment-js-client/dist/experiment.esm.js\";\nimport { env } from \"../../config/index.js\";\nimport \"../stores/content/content.store.js\";\nimport { isServer } from \"../../utils/context.js\";\nimport \"../../utils/event-properties/source.js\";\nimport \"framer\";\nimport \"react\";\nconst AMPLITUDE_DEVICE_ID_DATA_ATTRIBUTE = \"29cmAmplitudeDeviceId\";\nconst AMPLITUDE_EXPERIMENT_CLIENT_KEY = env.sdk.amplitude.experimentClientKey;\nconst AMPLITUDE_ANALYTICS_KEY = env.sdk.amplitude.analyticsKey;\nclass WebAmplitudeService {\n  constructor(experimentKey, analyticsKey, config) {\n    __publicField(this, \"DEACTIVATE_FLAG\", {\n      key: \"off\",\n      metadata: {\n        default: true\n      }\n    });\n    __publicField(this, \"client\");\n    __publicField(this, \"analytics\", index);\n    __publicField(this, \"variants\", {});\n    this.experimentKey = experimentKey;\n    this.analyticsKey = analyticsKey;\n    this.config = config;\n  }\n  async init() {\n    if (isServer()) {\n      return;\n    }\n    const {\n      appDeviceId\n    } = WebAmplitudeService.getAppDeviceIdFromBody();\n    this.analytics.init(this.analyticsKey, void 0, {\n      defaultTracking: false,\n      ...appDeviceId && {\n        deviceId: appDeviceId\n      }\n    });\n    this.client = Experiment.initializeWithAmplitudeAnalytics(this.experimentKey, {\n      ...this.config,\n      pollOnStart: false\n    });\n    await this.client.start();\n  }\n  isExistsVariants() {\n    return Object.keys(this.variants).length > 0;\n  }\n  updateConfig(newConfig) {\n    if (!newConfig) {\n      this.config = {\n        debug: env.name !== \"production\"\n      };\n      return false;\n    }\n    this.config = newConfig;\n    return true;\n  }\n  async variant(variantFlag) {\n    var _a;\n    try {\n      const variant = (_a = this.client) == null ? void 0 : _a.variant(variantFlag);\n      if (!variant) {\n        return this.DEACTIVATE_FLAG;\n      }\n      return variant;\n    } catch (error) {\n      return this.DEACTIVATE_FLAG;\n    }\n  }\n  /**\n   * iOS 6.96.0 (1359), Android 4.206.0 (800) 버전부터 앱에서 amplitude device id를 웹에 전달할 목적으로 웹뷰 body 태그에 AMPLITUDE_DEVICE_ID_DATA_ATTRIBUTE를 추가하였고, 다음 메서드는 이를 조회하는 함수입니다.\n   */\n  static getAppDeviceIdFromBody() {\n    const appDeviceId = WebAmplitudeService.getBodyDatasetValue(AMPLITUDE_DEVICE_ID_DATA_ATTRIBUTE);\n    return {\n      appDeviceId\n    };\n  }\n  static getBodyDatasetValue(key) {\n    var _a;\n    if (typeof window !== \"undefined\" && ((_a = window.document) == null ? void 0 : _a.body)) {\n      return window.document.body.dataset[key];\n    }\n    return void 0;\n  }\n}\nconst webAmplitude = new WebAmplitudeService(AMPLITUDE_EXPERIMENT_CLIENT_KEY, AMPLITUDE_ANALYTICS_KEY, {\n  debug: env.name !== \"production\"\n});\nwebAmplitude.init().catch(() => {\n});\nexport {\n  webAmplitude\n};\n","import { useState, useEffect } from \"react\";\nimport { webAmplitude } from \"./WebAmplitudeService.js\";\nconst useWebAmplitudeVariants = (flagKey) => {\n  const [isLoading, setLoading] = useState(true);\n  const [amplitudeVariant, setAmplitudeVariant] = useState({});\n  useEffect(() => {\n    const getAmplitudeVariant = async () => {\n      const variant = await webAmplitude.variant(flagKey);\n      setAmplitudeVariant(variant);\n      setLoading(false);\n    };\n    void getAmplitudeVariant();\n  }, [flagKey]);\n  return {\n    isLoading,\n    ...amplitudeVariant\n  };\n};\nexport {\n  useWebAmplitudeVariants\n};\n","import { authFetch } from \"../authFetch.js\";\nimport { env } from \"../../config/index.js\";\nconst ONE_MEMBER_CONNECT_LINK_TIMEOUT_MS = 5e3;\nclass AuthApiService {\n  // [OCMP] 통합 계정 BFF - 통합회원 여부 체크\n  async checkIfOneMemberExists() {\n    return authFetch(`${env.workspace.auth}/api/check-if-one`, {\n      credentials: \"include\"\n    }).then((res) => res.json());\n  }\n  // [OCMP] 통합 계정 - 안내 바텀시트 메세지\n  async getOneLoginNoticeData() {\n    return authFetch(`${env.api.user}/api/v1/onemember/bottom-sheet?type=connectComplete`, {\n      credentials: \"include\"\n    }).then((res) => res.json());\n  }\n  /**\n   * [OCMP] 통합 계정 - 전환 주소 조회 (MPRD-14130)\n   * 전환 진입을 네비게이션(`/connect/redirect`)으로 하면 Authorization 헤더를 실을 수 없어 JWT 전용 인증에서 401 이 난다.\n   */\n  async getOneMemberConnectLink({\n    redirectUrl,\n    returnUrl\n  }) {\n    const params = new URLSearchParams({\n      redirectUrl,\n      returnUrl\n    });\n    let timeoutId;\n    const timeout = new Promise((_, reject) => {\n      timeoutId = setTimeout(() => reject(new Error(\"connect/link timeout\")), ONE_MEMBER_CONNECT_LINK_TIMEOUT_MS);\n    });\n    const request = authFetch(`${env.api.user}/api/v4/onemember/connect/link?${params.toString()}`, {\n      credentials: \"include\"\n    }).then(async (res) => {\n      if (!res.ok) {\n        throw new Error(`connect/link ${res.status}`);\n      }\n      return await res.json();\n    });\n    try {\n      return await Promise.race([request, timeout]);\n    } finally {\n      clearTimeout(timeoutId);\n    }\n  }\n}\nconst authApi = new AuthApiService();\nexport {\n  authApi\n};\n","import useSWRMutation from \"../../node_modules/swr/mutation/dist/index.js\";\nimport { authApi } from \"../../apis/auth/AuthApiService.js\";\nconst MSS_ONE_BFF_ERROR_CODE = {\n  MSS_ONE_NOT_OPENED: \"MSS_ONE_NOT_OPENED\",\n  // feature flag 체크\n  MSS_ONE_IV_INVALID: \"MSS_ONE_IV_INVALID\"\n  // 본인인증 토큰으로 CI 정보 가져올 때 에러\n};\nconst useCheckOne = () => {\n  const checkOne = useSWRMutation(\"check-if-one-member-exists\", () => authApi.checkIfOneMemberExists());\n  return {\n    isLoading: checkOne.isMutating,\n    onCheckOne: async () => {\n      var _a, _b;\n      const response = await checkOne.trigger();\n      if (((_a = response.meta) == null ? void 0 : _a.errorCode) === MSS_ONE_BFF_ERROR_CODE.MSS_ONE_NOT_OPENED)\n        return false;\n      if (((_b = response.meta) == null ? void 0 : _b.result) === \"FAIL\")\n        return false;\n      return response.data === true;\n    }\n  };\n};\nexport {\n  MSS_ONE_BFF_ERROR_CODE,\n  useCheckOne\n};\n","import { useRef, useEffect } from \"react\";\nimport { env } from \"../../config/index.js\";\nimport { useWebAmplitudeVariants } from \"../amplitude-variant/useWebAmplitudeVariants.js\";\nimport { useCurrentUser } from \"../useCurrentUser.js\";\nimport { isCanvas } from \"../../utils/framer/isCanvas.js\";\nimport { isFramerPreview } from \"../../utils/framer/isFramerPreview.js\";\nimport { isWebview } from \"../../utils/device.js\";\nimport { useCheckOne } from \"./useCheckOne.js\";\nconst TREATMENT_VARIANT = \"treatment\";\nconst FORCE_POPUP_FLAG_KEYS = {\n  // FLAG:(youngjae-yoo) (~26.06.17) (프레이머 전 페이지 가드) 통합계정 강제전환 AB test - 저등급 M29CMCCF-1625\n  LOW: \"29cm-onemember-force-popup-low\",\n  // FLAG:(youngjae-yoo) (~26.06.17) (프레이머 전 페이지 가드) 통합계정 강제전환 AB test - 고등급 M29CMCCF-1625\n  HIGH: \"29cm-onemember-force-popup-high\"\n};\nconst useForceOneMemberRedirect = () => {\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    onCheckOne\n  } = useCheckOne();\n  const lowFlag = useWebAmplitudeVariants(FORCE_POPUP_FLAG_KEYS.LOW);\n  const highFlag = useWebAmplitudeVariants(FORCE_POPUP_FLAG_KEYS.HIGH);\n  const hasRedirectedRef = useRef(false);\n  useEffect(() => {\n    if (hasRedirectedRef.current) {\n      return;\n    }\n    if (isWebview() || isCanvas() || isFramerPreview()) {\n      return;\n    }\n    if (!logged) {\n      return;\n    }\n    if (lowFlag.isLoading || highFlag.isLoading) {\n      return;\n    }\n    const isTargetVariant = lowFlag.value === TREATMENT_VARIANT || highFlag.value === TREATMENT_VARIANT;\n    if (!isTargetVariant) {\n      return;\n    }\n    hasRedirectedRef.current = true;\n    onCheckOne().then((isOneMember) => {\n      if (isOneMember) {\n        hasRedirectedRef.current = false;\n        return;\n      }\n      window.location.href = env.workspace.legacy.home;\n    });\n  }, [logged, lowFlag.isLoading, lowFlag.value, highFlag.isLoading, highFlag.value, onCheckOne]);\n};\nexport {\n  useForceOneMemberRedirect\n};\n","import { useRef } from \"react\";\nimport useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { HttpStatusError } from \"../../apis/APIService.types.js\";\nimport { framerApi } from \"../../apis/framer/FramerApiService.js\";\nconst FRAMER_CONTENT_ID_COLLECTION_FETCHER_KEY = \"framer-content-id-collection\";\nconst MAX_ATTEMPTS = 3;\nconst RETRY_DELAY_MS = 1e3;\nconst BACKGROUND_RETRY_COUNT = 3;\nconst RETRYABLE_CLIENT_ERROR_STATUS = [408, 429];\nconst isRetryableError = (error) => {\n  if (!(error instanceof HttpStatusError) || error.status < 400 || error.status >= 500) {\n    return true;\n  }\n  return RETRYABLE_CLIENT_ERROR_STATUS.includes(error.status);\n};\nconst fetchWithRetry = async (contentId, maxAttempts, attempt = 1) => {\n  try {\n    return await framerApi.getFramerContentIdCollection(contentId);\n  } catch (error) {\n    if (attempt >= maxAttempts || !isRetryableError(error)) {\n      throw error;\n    }\n    await new Promise((resolve) => setTimeout(resolve, RETRY_DELAY_MS));\n    return fetchWithRetry(contentId, maxAttempts, attempt + 1);\n  }\n};\nconst useFetchFramerContentIdCollection = ({\n  contentId,\n  enabled = true\n}) => {\n  const shouldFetch = enabled;\n  const hasFailed = useRef(false);\n  const {\n    isLoading,\n    ...rest\n  } = useSWR(shouldFetch ? [FRAMER_CONTENT_ID_COLLECTION_FETCHER_KEY, contentId] : null, () => fetchWithRetry(contentId, hasFailed.current ? 1 : MAX_ATTEMPTS).catch((error) => {\n    hasFailed.current = true;\n    throw error;\n  }), {\n    revalidateOnFocus: false,\n    errorRetryCount: BACKGROUND_RETRY_COUNT,\n    shouldRetryOnError: isRetryableError\n  });\n  return {\n    ...rest,\n    isLoading: isLoading || !enabled\n  };\n};\nexport {\n  FRAMER_CONTENT_ID_COLLECTION_FETCHER_KEY,\n  useFetchFramerContentIdCollection\n};\n","const MESSAGE_TYPE = {\n  /**\n   * 익스텐션에서 메타데이터를 요청할 때의 메세지 타입 (Extension -> Bootstrap)\n   */\n  REQUEST_METADATA: \"requestMetadata\",\n  /**\n   * 익스텐션에 메타데이터를 전달할 때의 메세지 타입 (Bootstrap -> Extension)\n   */\n  RESPONSE_METADATA: \"responseMetadata\",\n  /**\n   * 메타데이터의 초기화 / 변경 등으로 익스텐션이 메타데이터를 클린업 할 수 있도록 전달할 때의 메세지 타입 (Bootstrap -> Extension)\n   */\n  METADATA_INIT: \"metadataInit\",\n  /**\n   * 메타데이터가 업데이트 된 시점을 익스텐션이 알 수 있도록 전달할 때의 메세지 타입 (Bootstrap -> Extension)\n   */\n  METADATA_UPDATED: \"metadataUpdated\",\n  /**\n   * 익스텐션에서 콘텐츠 아이디를 요청할 때의 메세지 타입 (Extension -> Bootstrap)\n   */\n  REQUEST_CONTENT_ID: \"requestContentId\",\n  /**\n   * 익스텐션에 콘텐츠 아이디를 전달할 때의 메세지 타입 (Bootstrap -> Extension)\n   */\n  RESPONSE_CONTENT_ID: \"responseContentId\",\n  /**\n   * 익스텐션에서 추가 메타데이터를 요청할 때의 메세지 타입 (Extension -> Bootstrap)\n   * (ex. 상품 번호 목록)\n   */\n  REQUEST_ADDITIONAL_METADATA: \"requestAdditionalMetadata\",\n  /**\n   * 익스텐션에 추가 메타데이터를 전달할 때의 메세지 타입 (Bootstrap -> Extension)\n   */\n  RESPONSE_ADDITIONAL_METADATA: \"responseAdditionalMetadata\"\n};\nexport {\n  MESSAGE_TYPE\n};\n","const deduplicate = (duplicates, predicate) => {\n  return duplicates.filter((x, index, array) => array.findIndex((y) => predicate(x, y)) === index);\n};\nexport {\n  deduplicate\n};\n","import { useRef, useEffect } from \"react\";\nfunction usePrevious(state) {\n  var ref = useRef();\n  useEffect(function() {\n    ref.current = state;\n  });\n  return ref.current;\n}\nexport {\n  usePrevious as default\n};\n","function listCacheClear() {\n  this.__data__ = [];\n  this.size = 0;\n}\nexport {\n  listCacheClear as default\n};\n","function eq(value, other) {\n  return value === other || value !== value && other !== other;\n}\nexport {\n  eq as default\n};\n","import eq from \"./eq.js\";\nfunction assocIndexOf(array, key) {\n  var length = array.length;\n  while (length--) {\n    if (eq(array[length][0], key)) {\n      return length;\n    }\n  }\n  return -1;\n}\nexport {\n  assocIndexOf as default\n};\n","import assocIndexOf from \"./_assocIndexOf.js\";\nvar arrayProto = Array.prototype;\nvar splice = arrayProto.splice;\nfunction listCacheDelete(key) {\n  var data = this.__data__, index = assocIndexOf(data, key);\n  if (index < 0) {\n    return false;\n  }\n  var lastIndex = data.length - 1;\n  if (index == lastIndex) {\n    data.pop();\n  } else {\n    splice.call(data, index, 1);\n  }\n  --this.size;\n  return true;\n}\nexport {\n  listCacheDelete as default\n};\n","import assocIndexOf from \"./_assocIndexOf.js\";\nfunction listCacheGet(key) {\n  var data = this.__data__, index = assocIndexOf(data, key);\n  return index < 0 ? void 0 : data[index][1];\n}\nexport {\n  listCacheGet as default\n};\n","import assocIndexOf from \"./_assocIndexOf.js\";\nfunction listCacheHas(key) {\n  return assocIndexOf(this.__data__, key) > -1;\n}\nexport {\n  listCacheHas as default\n};\n","import assocIndexOf from \"./_assocIndexOf.js\";\nfunction listCacheSet(key, value) {\n  var data = this.__data__, index = assocIndexOf(data, key);\n  if (index < 0) {\n    ++this.size;\n    data.push([key, value]);\n  } else {\n    data[index][1] = value;\n  }\n  return this;\n}\nexport {\n  listCacheSet as default\n};\n","import listCacheClear from \"./_listCacheClear.js\";\nimport listCacheDelete from \"./_listCacheDelete.js\";\nimport listCacheGet from \"./_listCacheGet.js\";\nimport listCacheHas from \"./_listCacheHas.js\";\nimport listCacheSet from \"./_listCacheSet.js\";\nfunction ListCache(entries) {\n  var index = -1, length = entries == null ? 0 : entries.length;\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\nListCache.prototype.clear = listCacheClear;\nListCache.prototype[\"delete\"] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\nexport {\n  ListCache as default\n};\n","import ListCache from \"./_ListCache.js\";\nfunction stackClear() {\n  this.__data__ = new ListCache();\n  this.size = 0;\n}\nexport {\n  stackClear as default\n};\n","function stackDelete(key) {\n  var data = this.__data__, result = data[\"delete\"](key);\n  this.size = data.size;\n  return result;\n}\nexport {\n  stackDelete as default\n};\n","function stackGet(key) {\n  return this.__data__.get(key);\n}\nexport {\n  stackGet as default\n};\n","function stackHas(key) {\n  return this.__data__.has(key);\n}\nexport {\n  stackHas as default\n};\n","import baseGetTag from \"./_baseGetTag.js\";\nimport isObject from \"./isObject.js\";\nvar asyncTag = \"[object AsyncFunction]\", funcTag = \"[object Function]\", genTag = \"[object GeneratorFunction]\", proxyTag = \"[object Proxy]\";\nfunction isFunction(value) {\n  if (!isObject(value)) {\n    return false;\n  }\n  var tag = baseGetTag(value);\n  return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\nexport {\n  isFunction as default\n};\n","import root from \"./_root.js\";\nvar coreJsData = root[\"__core-js_shared__\"];\nexport {\n  coreJsData as default\n};\n","import coreJsData from \"./_coreJsData.js\";\nvar maskSrcKey = function() {\n  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || \"\");\n  return uid ? \"Symbol(src)_1.\" + uid : \"\";\n}();\nfunction isMasked(func) {\n  return !!maskSrcKey && maskSrcKey in func;\n}\nexport {\n  isMasked as default\n};\n","var funcProto = Function.prototype;\nvar funcToString = funcProto.toString;\nfunction toSource(func) {\n  if (func != null) {\n    try {\n      return funcToString.call(func);\n    } catch (e) {\n    }\n    try {\n      return func + \"\";\n    } catch (e) {\n    }\n  }\n  return \"\";\n}\nexport {\n  toSource as default\n};\n","import isFunction from \"./isFunction.js\";\nimport isMasked from \"./_isMasked.js\";\nimport isObject from \"./isObject.js\";\nimport toSource from \"./_toSource.js\";\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\nvar funcProto = Function.prototype, objectProto = Object.prototype;\nvar funcToString = funcProto.toString;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nvar reIsNative = RegExp(\n  \"^\" + funcToString.call(hasOwnProperty).replace(reRegExpChar, \"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, \"$1.*?\") + \"$\"\n);\nfunction baseIsNative(value) {\n  if (!isObject(value) || isMasked(value)) {\n    return false;\n  }\n  var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n  return pattern.test(toSource(value));\n}\nexport {\n  baseIsNative as default\n};\n","function getValue(object, key) {\n  return object == null ? void 0 : object[key];\n}\nexport {\n  getValue as default\n};\n","import baseIsNative from \"./_baseIsNative.js\";\nimport getValue from \"./_getValue.js\";\nfunction getNative(object, key) {\n  var value = getValue(object, key);\n  return baseIsNative(value) ? value : void 0;\n}\nexport {\n  getNative as default\n};\n","import getNative from \"./_getNative.js\";\nimport root from \"./_root.js\";\nvar Map = getNative(root, \"Map\");\nexport {\n  Map as default\n};\n","import getNative from \"./_getNative.js\";\nvar nativeCreate = getNative(Object, \"create\");\nexport {\n  nativeCreate as default\n};\n","import nativeCreate from \"./_nativeCreate.js\";\nfunction hashClear() {\n  this.__data__ = nativeCreate ? nativeCreate(null) : {};\n  this.size = 0;\n}\nexport {\n  hashClear as default\n};\n","function hashDelete(key) {\n  var result = this.has(key) && delete this.__data__[key];\n  this.size -= result ? 1 : 0;\n  return result;\n}\nexport {\n  hashDelete as default\n};\n","import nativeCreate from \"./_nativeCreate.js\";\nvar HASH_UNDEFINED = \"__lodash_hash_undefined__\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction hashGet(key) {\n  var data = this.__data__;\n  if (nativeCreate) {\n    var result = data[key];\n    return result === HASH_UNDEFINED ? void 0 : result;\n  }\n  return hasOwnProperty.call(data, key) ? data[key] : void 0;\n}\nexport {\n  hashGet as default\n};\n","import nativeCreate from \"./_nativeCreate.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction hashHas(key) {\n  var data = this.__data__;\n  return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);\n}\nexport {\n  hashHas as default\n};\n","import nativeCreate from \"./_nativeCreate.js\";\nvar HASH_UNDEFINED = \"__lodash_hash_undefined__\";\nfunction hashSet(key, value) {\n  var data = this.__data__;\n  this.size += this.has(key) ? 0 : 1;\n  data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;\n  return this;\n}\nexport {\n  hashSet as default\n};\n","import hashClear from \"./_hashClear.js\";\nimport hashDelete from \"./_hashDelete.js\";\nimport hashGet from \"./_hashGet.js\";\nimport hashHas from \"./_hashHas.js\";\nimport hashSet from \"./_hashSet.js\";\nfunction Hash(entries) {\n  var index = -1, length = entries == null ? 0 : entries.length;\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\nHash.prototype.clear = hashClear;\nHash.prototype[\"delete\"] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\nexport {\n  Hash as default\n};\n","import Hash from \"./_Hash.js\";\nimport ListCache from \"./_ListCache.js\";\nimport Map from \"./_Map.js\";\nfunction mapCacheClear() {\n  this.size = 0;\n  this.__data__ = {\n    \"hash\": new Hash(),\n    \"map\": new (Map || ListCache)(),\n    \"string\": new Hash()\n  };\n}\nexport {\n  mapCacheClear as default\n};\n","function isKeyable(value) {\n  var type = typeof value;\n  return type == \"string\" || type == \"number\" || type == \"symbol\" || type == \"boolean\" ? value !== \"__proto__\" : value === null;\n}\nexport {\n  isKeyable as default\n};\n","import isKeyable from \"./_isKeyable.js\";\nfunction getMapData(map, key) {\n  var data = map.__data__;\n  return isKeyable(key) ? data[typeof key == \"string\" ? \"string\" : \"hash\"] : data.map;\n}\nexport {\n  getMapData as default\n};\n","import getMapData from \"./_getMapData.js\";\nfunction mapCacheDelete(key) {\n  var result = getMapData(this, key)[\"delete\"](key);\n  this.size -= result ? 1 : 0;\n  return result;\n}\nexport {\n  mapCacheDelete as default\n};\n","import getMapData from \"./_getMapData.js\";\nfunction mapCacheGet(key) {\n  return getMapData(this, key).get(key);\n}\nexport {\n  mapCacheGet as default\n};\n","import getMapData from \"./_getMapData.js\";\nfunction mapCacheHas(key) {\n  return getMapData(this, key).has(key);\n}\nexport {\n  mapCacheHas as default\n};\n","import getMapData from \"./_getMapData.js\";\nfunction mapCacheSet(key, value) {\n  var data = getMapData(this, key), size = data.size;\n  data.set(key, value);\n  this.size += data.size == size ? 0 : 1;\n  return this;\n}\nexport {\n  mapCacheSet as default\n};\n","import mapCacheClear from \"./_mapCacheClear.js\";\nimport mapCacheDelete from \"./_mapCacheDelete.js\";\nimport mapCacheGet from \"./_mapCacheGet.js\";\nimport mapCacheHas from \"./_mapCacheHas.js\";\nimport mapCacheSet from \"./_mapCacheSet.js\";\nfunction MapCache(entries) {\n  var index = -1, length = entries == null ? 0 : entries.length;\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype[\"delete\"] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\nexport {\n  MapCache as default\n};\n","import ListCache from \"./_ListCache.js\";\nimport Map from \"./_Map.js\";\nimport MapCache from \"./_MapCache.js\";\nvar LARGE_ARRAY_SIZE = 200;\nfunction stackSet(key, value) {\n  var data = this.__data__;\n  if (data instanceof ListCache) {\n    var pairs = data.__data__;\n    if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {\n      pairs.push([key, value]);\n      this.size = ++data.size;\n      return this;\n    }\n    data = this.__data__ = new MapCache(pairs);\n  }\n  data.set(key, value);\n  this.size = data.size;\n  return this;\n}\nexport {\n  stackSet as default\n};\n","import ListCache from \"./_ListCache.js\";\nimport stackClear from \"./_stackClear.js\";\nimport stackDelete from \"./_stackDelete.js\";\nimport stackGet from \"./_stackGet.js\";\nimport stackHas from \"./_stackHas.js\";\nimport stackSet from \"./_stackSet.js\";\nfunction Stack(entries) {\n  var data = this.__data__ = new ListCache(entries);\n  this.size = data.size;\n}\nStack.prototype.clear = stackClear;\nStack.prototype[\"delete\"] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\nexport {\n  Stack as default\n};\n","var HASH_UNDEFINED = \"__lodash_hash_undefined__\";\nfunction setCacheAdd(value) {\n  this.__data__.set(value, HASH_UNDEFINED);\n  return this;\n}\nexport {\n  setCacheAdd as default\n};\n","function setCacheHas(value) {\n  return this.__data__.has(value);\n}\nexport {\n  setCacheHas as default\n};\n","import MapCache from \"./_MapCache.js\";\nimport setCacheAdd from \"./_setCacheAdd.js\";\nimport setCacheHas from \"./_setCacheHas.js\";\nfunction SetCache(values) {\n  var index = -1, length = values == null ? 0 : values.length;\n  this.__data__ = new MapCache();\n  while (++index < length) {\n    this.add(values[index]);\n  }\n}\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\nexport {\n  SetCache as default\n};\n","function arraySome(array, predicate) {\n  var index = -1, length = array == null ? 0 : array.length;\n  while (++index < length) {\n    if (predicate(array[index], index, array)) {\n      return true;\n    }\n  }\n  return false;\n}\nexport {\n  arraySome as default\n};\n","function cacheHas(cache, key) {\n  return cache.has(key);\n}\nexport {\n  cacheHas as default\n};\n","import SetCache from \"./_SetCache.js\";\nimport arraySome from \"./_arraySome.js\";\nimport cacheHas from \"./_cacheHas.js\";\nvar COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n  var isPartial = bitmask & COMPARE_PARTIAL_FLAG, arrLength = array.length, othLength = other.length;\n  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n    return false;\n  }\n  var arrStacked = stack.get(array);\n  var othStacked = stack.get(other);\n  if (arrStacked && othStacked) {\n    return arrStacked == other && othStacked == array;\n  }\n  var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : void 0;\n  stack.set(array, other);\n  stack.set(other, array);\n  while (++index < arrLength) {\n    var arrValue = array[index], othValue = other[index];\n    if (customizer) {\n      var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);\n    }\n    if (compared !== void 0) {\n      if (compared) {\n        continue;\n      }\n      result = false;\n      break;\n    }\n    if (seen) {\n      if (!arraySome(other, function(othValue2, othIndex) {\n        if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) {\n          return seen.push(othIndex);\n        }\n      })) {\n        result = false;\n        break;\n      }\n    } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n      result = false;\n      break;\n    }\n  }\n  stack[\"delete\"](array);\n  stack[\"delete\"](other);\n  return result;\n}\nexport {\n  equalArrays as default\n};\n","import root from \"./_root.js\";\nvar Uint8Array = root.Uint8Array;\nexport {\n  Uint8Array as default\n};\n","function mapToArray(map) {\n  var index = -1, result = Array(map.size);\n  map.forEach(function(value, key) {\n    result[++index] = [key, value];\n  });\n  return result;\n}\nexport {\n  mapToArray as default\n};\n","function setToArray(set) {\n  var index = -1, result = Array(set.size);\n  set.forEach(function(value) {\n    result[++index] = value;\n  });\n  return result;\n}\nexport {\n  setToArray as default\n};\n","import Symbol$1 from \"./_Symbol.js\";\nimport Uint8Array from \"./_Uint8Array.js\";\nimport eq from \"./eq.js\";\nimport equalArrays from \"./_equalArrays.js\";\nimport mapToArray from \"./_mapToArray.js\";\nimport setToArray from \"./_setToArray.js\";\nvar COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;\nvar boolTag = \"[object Boolean]\", dateTag = \"[object Date]\", errorTag = \"[object Error]\", mapTag = \"[object Map]\", numberTag = \"[object Number]\", regexpTag = \"[object RegExp]\", setTag = \"[object Set]\", stringTag = \"[object String]\", symbolTag = \"[object Symbol]\";\nvar arrayBufferTag = \"[object ArrayBuffer]\", dataViewTag = \"[object DataView]\";\nvar symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n  switch (tag) {\n    case dataViewTag:\n      if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {\n        return false;\n      }\n      object = object.buffer;\n      other = other.buffer;\n    case arrayBufferTag:\n      if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n        return false;\n      }\n      return true;\n    case boolTag:\n    case dateTag:\n    case numberTag:\n      return eq(+object, +other);\n    case errorTag:\n      return object.name == other.name && object.message == other.message;\n    case regexpTag:\n    case stringTag:\n      return object == other + \"\";\n    case mapTag:\n      var convert = mapToArray;\n    case setTag:\n      var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n      convert || (convert = setToArray);\n      if (object.size != other.size && !isPartial) {\n        return false;\n      }\n      var stacked = stack.get(object);\n      if (stacked) {\n        return stacked == other;\n      }\n      bitmask |= COMPARE_UNORDERED_FLAG;\n      stack.set(object, other);\n      var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n      stack[\"delete\"](object);\n      return result;\n    case symbolTag:\n      if (symbolValueOf) {\n        return symbolValueOf.call(object) == symbolValueOf.call(other);\n      }\n  }\n  return false;\n}\nexport {\n  equalByTag as default\n};\n","function arrayPush(array, values) {\n  var index = -1, length = values.length, offset = array.length;\n  while (++index < length) {\n    array[offset + index] = values[index];\n  }\n  return array;\n}\nexport {\n  arrayPush as default\n};\n","var isArray = Array.isArray;\nexport {\n  isArray as default\n};\n","import arrayPush from \"./_arrayPush.js\";\nimport isArray from \"./isArray.js\";\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n  var result = keysFunc(object);\n  return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\nexport {\n  baseGetAllKeys as default\n};\n","function arrayFilter(array, predicate) {\n  var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];\n  while (++index < length) {\n    var value = array[index];\n    if (predicate(value, index, array)) {\n      result[resIndex++] = value;\n    }\n  }\n  return result;\n}\nexport {\n  arrayFilter as default\n};\n","function stubArray() {\n  return [];\n}\nexport {\n  stubArray as default\n};\n","import arrayFilter from \"./_arrayFilter.js\";\nimport stubArray from \"./stubArray.js\";\nvar objectProto = Object.prototype;\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n  if (object == null) {\n    return [];\n  }\n  object = Object(object);\n  return arrayFilter(nativeGetSymbols(object), function(symbol) {\n    return propertyIsEnumerable.call(object, symbol);\n  });\n};\nexport {\n  getSymbols as default\n};\n","function baseTimes(n, iteratee) {\n  var index = -1, result = Array(n);\n  while (++index < n) {\n    result[index] = iteratee(index);\n  }\n  return result;\n}\nexport {\n  baseTimes as default\n};\n","import baseGetTag from \"./_baseGetTag.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar argsTag = \"[object Arguments]\";\nfunction baseIsArguments(value) {\n  return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\nexport {\n  baseIsArguments as default\n};\n","import baseIsArguments from \"./_baseIsArguments.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\nvar isArguments = baseIsArguments(/* @__PURE__ */ function() {\n  return arguments;\n}()) ? baseIsArguments : function(value) {\n  return isObjectLike(value) && hasOwnProperty.call(value, \"callee\") && !propertyIsEnumerable.call(value, \"callee\");\n};\nexport {\n  isArguments as default\n};\n","function stubFalse() {\n  return false;\n}\nexport {\n  stubFalse as default\n};\n","import root from \"./_root.js\";\nimport stubFalse from \"./stubFalse.js\";\nvar freeExports = typeof exports == \"object\" && exports && !exports.nodeType && exports;\nvar freeModule = freeExports && typeof module == \"object\" && module && !module.nodeType && module;\nvar moduleExports = freeModule && freeModule.exports === freeExports;\nvar Buffer = moduleExports ? root.Buffer : void 0;\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;\nvar isBuffer = nativeIsBuffer || stubFalse;\nexport {\n  isBuffer as default\n};\n","var MAX_SAFE_INTEGER = 9007199254740991;\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\nfunction isIndex(value, length) {\n  var type = typeof value;\n  length = length == null ? MAX_SAFE_INTEGER : length;\n  return !!length && (type == \"number\" || type != \"symbol\" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);\n}\nexport {\n  isIndex as default\n};\n","var MAX_SAFE_INTEGER = 9007199254740991;\nfunction isLength(value) {\n  return typeof value == \"number\" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\nexport {\n  isLength as default\n};\n","import baseGetTag from \"./_baseGetTag.js\";\nimport isLength from \"./isLength.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar argsTag = \"[object Arguments]\", arrayTag = \"[object Array]\", boolTag = \"[object Boolean]\", dateTag = \"[object Date]\", errorTag = \"[object Error]\", funcTag = \"[object Function]\", mapTag = \"[object Map]\", numberTag = \"[object Number]\", objectTag = \"[object Object]\", regexpTag = \"[object RegExp]\", setTag = \"[object Set]\", stringTag = \"[object String]\", weakMapTag = \"[object WeakMap]\";\nvar arrayBufferTag = \"[object ArrayBuffer]\", dataViewTag = \"[object DataView]\", float32Tag = \"[object Float32Array]\", float64Tag = \"[object Float64Array]\", int8Tag = \"[object Int8Array]\", int16Tag = \"[object Int16Array]\", int32Tag = \"[object Int32Array]\", uint8Tag = \"[object Uint8Array]\", uint8ClampedTag = \"[object Uint8ClampedArray]\", uint16Tag = \"[object Uint16Array]\", uint32Tag = \"[object Uint32Array]\";\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;\nfunction baseIsTypedArray(value) {\n  return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\nexport {\n  baseIsTypedArray as default\n};\n","function baseUnary(func) {\n  return function(value) {\n    return func(value);\n  };\n}\nexport {\n  baseUnary as default\n};\n","import freeGlobal from \"./_freeGlobal.js\";\nvar freeExports = typeof exports == \"object\" && exports && !exports.nodeType && exports;\nvar freeModule = freeExports && typeof module == \"object\" && module && !module.nodeType && module;\nvar moduleExports = freeModule && freeModule.exports === freeExports;\nvar freeProcess = moduleExports && freeGlobal.process;\nvar nodeUtil = function() {\n  try {\n    var types = freeModule && freeModule.require && freeModule.require(\"util\").types;\n    if (types) {\n      return types;\n    }\n    return freeProcess && freeProcess.binding && freeProcess.binding(\"util\");\n  } catch (e) {\n  }\n}();\nexport {\n  nodeUtil as default\n};\n","import baseIsTypedArray from \"./_baseIsTypedArray.js\";\nimport baseUnary from \"./_baseUnary.js\";\nimport nodeUtil from \"./_nodeUtil.js\";\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\nexport {\n  isTypedArray as default\n};\n","import baseTimes from \"./_baseTimes.js\";\nimport isArguments from \"./isArguments.js\";\nimport isArray from \"./isArray.js\";\nimport isBuffer from \"./isBuffer.js\";\nimport isIndex from \"./_isIndex.js\";\nimport isTypedArray from \"./isTypedArray.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction arrayLikeKeys(value, inherited) {\n  var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;\n  for (var key in value) {\n    if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.\n    (key == \"length\" || // Node.js 0.10 has enumerable non-index properties on buffers.\n    isBuff && (key == \"offset\" || key == \"parent\") || // PhantomJS 2 has enumerable non-index properties on typed arrays.\n    isType && (key == \"buffer\" || key == \"byteLength\" || key == \"byteOffset\") || // Skip index properties.\n    isIndex(key, length)))) {\n      result.push(key);\n    }\n  }\n  return result;\n}\nexport {\n  arrayLikeKeys as default\n};\n","var objectProto = Object.prototype;\nfunction isPrototype(value) {\n  var Ctor = value && value.constructor, proto = typeof Ctor == \"function\" && Ctor.prototype || objectProto;\n  return value === proto;\n}\nexport {\n  isPrototype as default\n};\n","function overArg(func, transform) {\n  return function(arg) {\n    return func(transform(arg));\n  };\n}\nexport {\n  overArg as default\n};\n","import overArg from \"./_overArg.js\";\nvar nativeKeys = overArg(Object.keys, Object);\nexport {\n  nativeKeys as default\n};\n","import isPrototype from \"./_isPrototype.js\";\nimport nativeKeys from \"./_nativeKeys.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction baseKeys(object) {\n  if (!isPrototype(object)) {\n    return nativeKeys(object);\n  }\n  var result = [];\n  for (var key in Object(object)) {\n    if (hasOwnProperty.call(object, key) && key != \"constructor\") {\n      result.push(key);\n    }\n  }\n  return result;\n}\nexport {\n  baseKeys as default\n};\n","import isFunction from \"./isFunction.js\";\nimport isLength from \"./isLength.js\";\nfunction isArrayLike(value) {\n  return value != null && isLength(value.length) && !isFunction(value);\n}\nexport {\n  isArrayLike as default\n};\n","import arrayLikeKeys from \"./_arrayLikeKeys.js\";\nimport baseKeys from \"./_baseKeys.js\";\nimport isArrayLike from \"./isArrayLike.js\";\nfunction keys(object) {\n  return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\nexport {\n  keys as default\n};\n","import baseGetAllKeys from \"./_baseGetAllKeys.js\";\nimport getSymbols from \"./_getSymbols.js\";\nimport keys from \"./keys.js\";\nfunction getAllKeys(object) {\n  return baseGetAllKeys(object, keys, getSymbols);\n}\nexport {\n  getAllKeys as default\n};\n","import getAllKeys from \"./_getAllKeys.js\";\nvar COMPARE_PARTIAL_FLAG = 1;\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n  var isPartial = bitmask & COMPARE_PARTIAL_FLAG, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;\n  if (objLength != othLength && !isPartial) {\n    return false;\n  }\n  var index = objLength;\n  while (index--) {\n    var key = objProps[index];\n    if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n      return false;\n    }\n  }\n  var objStacked = stack.get(object);\n  var othStacked = stack.get(other);\n  if (objStacked && othStacked) {\n    return objStacked == other && othStacked == object;\n  }\n  var result = true;\n  stack.set(object, other);\n  stack.set(other, object);\n  var skipCtor = isPartial;\n  while (++index < objLength) {\n    key = objProps[index];\n    var objValue = object[key], othValue = other[key];\n    if (customizer) {\n      var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);\n    }\n    if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {\n      result = false;\n      break;\n    }\n    skipCtor || (skipCtor = key == \"constructor\");\n  }\n  if (result && !skipCtor) {\n    var objCtor = object.constructor, othCtor = other.constructor;\n    if (objCtor != othCtor && (\"constructor\" in object && \"constructor\" in other) && !(typeof objCtor == \"function\" && objCtor instanceof objCtor && typeof othCtor == \"function\" && othCtor instanceof othCtor)) {\n      result = false;\n    }\n  }\n  stack[\"delete\"](object);\n  stack[\"delete\"](other);\n  return result;\n}\nexport {\n  equalObjects as default\n};\n","import getNative from \"./_getNative.js\";\nimport root from \"./_root.js\";\nvar DataView = getNative(root, \"DataView\");\nexport {\n  DataView as default\n};\n","import getNative from \"./_getNative.js\";\nimport root from \"./_root.js\";\nvar Promise$1 = getNative(root, \"Promise\");\nexport {\n  Promise$1 as default\n};\n","import getNative from \"./_getNative.js\";\nimport root from \"./_root.js\";\nvar Set = getNative(root, \"Set\");\nexport {\n  Set as default\n};\n","import getNative from \"./_getNative.js\";\nimport root from \"./_root.js\";\nvar WeakMap = getNative(root, \"WeakMap\");\nexport {\n  WeakMap as default\n};\n","import DataView from \"./_DataView.js\";\nimport Map from \"./_Map.js\";\nimport Promise$1 from \"./_Promise.js\";\nimport Set from \"./_Set.js\";\nimport WeakMap from \"./_WeakMap.js\";\nimport baseGetTag from \"./_baseGetTag.js\";\nimport toSource from \"./_toSource.js\";\nvar mapTag = \"[object Map]\", objectTag = \"[object Object]\", promiseTag = \"[object Promise]\", setTag = \"[object Set]\", weakMapTag = \"[object WeakMap]\";\nvar dataViewTag = \"[object DataView]\";\nvar dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);\nvar getTag = baseGetTag;\nif (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {\n  getTag = function(value) {\n    var result = baseGetTag(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : \"\";\n    if (ctorString) {\n      switch (ctorString) {\n        case dataViewCtorString:\n          return dataViewTag;\n        case mapCtorString:\n          return mapTag;\n        case promiseCtorString:\n          return promiseTag;\n        case setCtorString:\n          return setTag;\n        case weakMapCtorString:\n          return weakMapTag;\n      }\n    }\n    return result;\n  };\n}\nconst getTag$1 = getTag;\nexport {\n  getTag$1 as default\n};\n","import Stack from \"./_Stack.js\";\nimport equalArrays from \"./_equalArrays.js\";\nimport equalByTag from \"./_equalByTag.js\";\nimport equalObjects from \"./_equalObjects.js\";\nimport getTag from \"./_getTag.js\";\nimport isArray from \"./isArray.js\";\nimport isBuffer from \"./isBuffer.js\";\nimport isTypedArray from \"./isTypedArray.js\";\nvar COMPARE_PARTIAL_FLAG = 1;\nvar argsTag = \"[object Arguments]\", arrayTag = \"[object Array]\", objectTag = \"[object Object]\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n  var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);\n  objTag = objTag == argsTag ? objectTag : objTag;\n  othTag = othTag == argsTag ? objectTag : othTag;\n  var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;\n  if (isSameTag && isBuffer(object)) {\n    if (!isBuffer(other)) {\n      return false;\n    }\n    objIsArr = true;\n    objIsObj = false;\n  }\n  if (isSameTag && !objIsObj) {\n    stack || (stack = new Stack());\n    return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n  }\n  if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n    var objIsWrapped = objIsObj && hasOwnProperty.call(object, \"__wrapped__\"), othIsWrapped = othIsObj && hasOwnProperty.call(other, \"__wrapped__\");\n    if (objIsWrapped || othIsWrapped) {\n      var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;\n      stack || (stack = new Stack());\n      return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n    }\n  }\n  if (!isSameTag) {\n    return false;\n  }\n  stack || (stack = new Stack());\n  return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\nexport {\n  baseIsEqualDeep as default\n};\n","import baseIsEqualDeep from \"./_baseIsEqualDeep.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n  if (value === other) {\n    return true;\n  }\n  if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {\n    return value !== value && other !== other;\n  }\n  return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\nexport {\n  baseIsEqual as default\n};\n","import baseIsEqual from \"./_baseIsEqual.js\";\nfunction isEqual(value, other) {\n  return baseIsEqual(value, other);\n}\nexport {\n  isEqual as default\n};\n","import { useRef, useEffect, useCallback } from \"react\";\nimport { useContentStore } from \"../../hooks/stores/content/content.store.js\";\nimport { useReceiveMessage } from \"../../hooks/useReceiveMessage.js\";\nimport { isCanvas } from \"../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport { isWebview } from \"../../utils/device.js\";\nimport { getSeriesPath } from \"../../utils/getSeriesPath.js\";\nimport \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport { useFetchFramerContentIdCollection } from \"../../hooks/fetchers/useFetchFramerContentIdCollection.js\";\nimport \"../../config/index.js\";\nimport \"../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../apis/framer/FramerApiService.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../apis/user/UserApiService.js\";\nimport \"../../apis/preuser/PreuserApiService.js\";\nimport \"../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../hooks/stores/toast/toast.store.js\";\nimport \"../../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../components/systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport { shallow as shallow$1 } from \"../../node_modules/zustand/esm/shallow.js\";\nimport \"../../hooks/useFeatureFlag.js\";\nimport \"../../utils/redirectLogin.js\";\nimport \"../../utils/event-properties/source.js\";\nimport { useComponentTiming } from \"../../hooks/beacon/useComponentTiming.js\";\nimport { MESSAGE_TYPE } from \"./Bootstrap.constants.js\";\nimport { productEmitter, ProductEvent } from \"../../utils/event-emitter/product-event-emitter.js\";\nimport { deduplicate } from \"../../utils/deduplicate.js\";\nimport usePrevious from \"../../node_modules/react-use/esm/usePrevious.js\";\nimport debounce from \"../../node_modules/lodash-es/debounce.js\";\nimport isEqual from \"../../node_modules/lodash-es/isEqual.js\";\nimport useIsomorphicLayoutEffect from \"../../node_modules/react-use/esm/useIsomorphicLayoutEffect.js\";\nconst collectProductIds = () => {\n  return new Promise((resolve) => {\n    if (!productEmitter.has(ProductEvent.SYNC_IDS)) {\n      return resolve([]);\n    }\n    const debounced = debounce((productIds) => resolve(productIds), 500);\n    const unsubscribe = useContentStore.subscribe((state) => state.productIds, debounced);\n    useContentStore.getState().dispatchInitProductIds();\n    productEmitter.emit(ProductEvent.SYNC_IDS);\n    unsubscribe();\n  });\n};\nconst collectVideoUrls = () => {\n  const urls = Array.from(document.querySelectorAll(\"video\")).map((element) => element.src);\n  return deduplicate(urls, (x, y) => x === y);\n};\nconst useSendAdditionalMetadata = () => {\n  useReceiveMessage(MESSAGE_TYPE.REQUEST_ADDITIONAL_METADATA, async () => {\n    if (!isCanvas()) {\n      return;\n    }\n    const productIds = await collectProductIds();\n    const videoUrls = collectVideoUrls();\n    const additional = {\n      productIdList: productIds,\n      videoUrlList: videoUrls\n    };\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.RESPONSE_ADDITIONAL_METADATA,\n      payload: additional\n    }, \"*\");\n  });\n};\nconst useSendMetadata = (metadata) => {\n  useReceiveMessage(MESSAGE_TYPE.REQUEST_METADATA, () => {\n    if (!isCanvas()) {\n      return;\n    }\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.RESPONSE_METADATA,\n      payload: metadata\n    }, \"*\");\n  });\n};\nconst useSendMetadataStatus = (metadata) => {\n  const isMounted = useRef(true);\n  const prevMetadata = usePrevious(metadata);\n  useEffect(() => {\n    if (!isCanvas()) {\n      return;\n    }\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.METADATA_INIT,\n      payload: metadata\n    }, \"*\");\n  }, [metadata]);\n  const sendMetadataStatus = (incoming) => {\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.METADATA_UPDATED,\n      payload: incoming\n    }, \"*\");\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.METADATA_INIT,\n      payload: incoming\n    }, \"*\");\n  };\n  const debounced = useCallback(debounce(sendMetadataStatus, 300), []);\n  useEffect(() => {\n    if (isMounted.current) {\n      isMounted.current = false;\n      return;\n    }\n    if (!isCanvas()) {\n      return;\n    }\n    if (isEqual(prevMetadata, metadata)) {\n      return;\n    }\n    debounced(metadata);\n  }, [metadata]);\n};\nconst useSendContentId = (contentId) => {\n  useReceiveMessage(MESSAGE_TYPE.REQUEST_CONTENT_ID, () => {\n    if (!isCanvas()) {\n      return;\n    }\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.RESPONSE_CONTENT_ID,\n      payload: contentId\n    }, \"*\");\n  });\n};\nconst CONTENT_SUMMARY_COMPONENT = \"ContentSummary\";\nconst useInitializeContentSummary = ({\n  title,\n  contentId,\n  mobilePoster\n}) => {\n  const [dispatchSetSummary, dispatchInitSummary] = useContentStore((state) => [state.dispatchSetSummary, state.dispatchInitSummary], shallow$1);\n  const {\n    data,\n    error\n  } = useFetchFramerContentIdCollection({\n    contentId,\n    enabled: !!contentId && contentId !== \"\"\n  });\n  const {\n    markFailed\n  } = useComponentTiming(CONTENT_SUMMARY_COMPONENT);\n  const isFailed = Boolean(error) && data === void 0;\n  const onSiteContentId = data === void 0 ? error ? null : void 0 : (data == null ? void 0 : data.onSiteContentId) ?? null;\n  useEffect(() => {\n    if (isFailed) {\n      markFailed(error);\n    }\n  }, [isFailed]);\n  useEffect(() => {\n    dispatchSetSummary({\n      title,\n      contentId,\n      series: getSeriesPath(),\n      onSiteContentId,\n      mobilePoster\n    });\n  }, [title, contentId, onSiteContentId, mobilePoster]);\n  useEffect(() => () => dispatchInitSummary(), []);\n};\nconst useIsOrganicScroll = () => {\n  const isDragging = useRef(false);\n  const isScrolling = useRef(false);\n  useEffect(() => {\n    const handleTouchMove = () => {\n      isDragging.current = true;\n    };\n    const handleTouchEnd = () => {\n      if (isScrolling.current) {\n        return;\n      }\n      isDragging.current = false;\n    };\n    const handleScroll = () => {\n      isScrolling.current = true;\n      debouncedHandleScrollEnd();\n    };\n    const debouncedHandleScrollEnd = debounce(() => {\n      isDragging.current = false;\n      isScrolling.current = false;\n    }, 300);\n    window.addEventListener(\"touchmove\", handleTouchMove);\n    window.addEventListener(\"touchend\", handleTouchEnd);\n    window.addEventListener(\"scroll\", handleScroll);\n    return () => {\n      window.removeEventListener(\"touchmove\", handleTouchMove);\n      window.removeEventListener(\"touchend\", handleTouchEnd);\n      window.removeEventListener(\"scroll\", handleScroll);\n    };\n  }, []);\n  return {\n    isOrganicScroll: isDragging\n  };\n};\nconst stringToNumber = (value) => {\n  if (!value) {\n    return void 0;\n  }\n  const parsed = Number(value);\n  return Number.isNaN(parsed) ? void 0 : parsed;\n};\nconst FONT_FAMILY_OUTPUT_URL = \"https://d13fzx7h5ezopb.cloudfront.net/fonts/font2.css\";\nconst FONT_FAMILY_OUTPUT_ID = \"font-family-output\";\nconst FONT_FAMILY_VARIABLE_SCRIPT_ID = \"font-family-variable\";\nconst useInjectFontCSS = () => {\n  const injectFontCSS = () => {\n    const isExistFontCSSScript = document.getElementById(FONT_FAMILY_OUTPUT_ID) !== null;\n    if (!isExistFontCSSScript) {\n      const link = document.createElement(\"link\");\n      link.id = FONT_FAMILY_OUTPUT_ID;\n      link.rel = \"stylesheet\";\n      link.href = new URL(FONT_FAMILY_OUTPUT_URL).href;\n      document.head.appendChild(link);\n    }\n  };\n  const injectFontVariableScript = () => {\n    const isExistFontVariableScript = document.getElementById(FONT_FAMILY_VARIABLE_SCRIPT_ID) !== null;\n    if (!isExistFontVariableScript) {\n      const style = document.createElement(\"style\");\n      style.id = FONT_FAMILY_VARIABLE_SCRIPT_ID;\n      style.textContent = `:root { --font-29cm-editorial: '29CM Editorial'; } body { font-family: var(--font-29cm-editorial), 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; }`;\n      document.head.appendChild(style);\n    }\n  };\n  useIsomorphicLayoutEffect(() => {\n    injectFontCSS();\n    injectFontVariableScript();\n  }, []);\n};\nconst VIEWPORT_META_CONTENT = \"width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover\";\nconst useSyncViewportMeta = () => {\n  useEffect(() => {\n    if (isCanvas() || !isWebview()) {\n      return;\n    }\n    const existingViewportMeta = document.querySelector('meta[name=\"viewport\"]');\n    const viewportMeta = existingViewportMeta ?? document.createElement(\"meta\");\n    const previousContent = viewportMeta.getAttribute(\"content\");\n    if (!existingViewportMeta) {\n      viewportMeta.setAttribute(\"name\", \"viewport\");\n      document.head.appendChild(viewportMeta);\n    }\n    viewportMeta.setAttribute(\"content\", VIEWPORT_META_CONTENT);\n    return () => {\n      if (previousContent === null) {\n        viewportMeta.remove();\n        return;\n      }\n      viewportMeta.setAttribute(\"content\", previousContent);\n    };\n  }, []);\n};\nexport {\n  stringToNumber,\n  useInitializeContentSummary,\n  useInjectFontCSS,\n  useIsOrganicScroll,\n  useSendAdditionalMetadata,\n  useSendContentId,\n  useSendMetadata,\n  useSendMetadataStatus,\n  useSyncViewportMeta\n};\n","import { getQueryParams } from \"../location.js\";\nconst REWARD_KEY_MAPPING = {\n  reward_key: \"rewardKey\",\n  rewardKey: \"rewardKey\",\n  reward_program_key: \"rewardProgramKey\",\n  rewardProgramKey: \"rewardProgramKey\",\n  reward_entry_type: \"rewardEntryType\",\n  rewardEntryType: \"rewardEntryType\"\n};\nconst getRewardParams = () => {\n  const query = getQueryParams();\n  return Object.keys(query).reduce((newParams, key) => {\n    const rewardKey = Object.keys(REWARD_KEY_MAPPING).find((rewardParam) => REWARD_KEY_MAPPING[rewardParam] === key || rewardParam === key);\n    if (rewardKey) {\n      return {\n        ...newParams,\n        [rewardKey]: query[key]\n      };\n    }\n    return newParams;\n  }, {});\n};\nexport {\n  getRewardParams\n};\n","function parseViewAttribution(value) {\n  const normalizedValue = Array.isArray(value) ? value[0] : value;\n  if (!normalizedValue) {\n    return {};\n  }\n  const result = {};\n  const pairs = normalizedValue.split(\",\");\n  for (const pair of pairs) {\n    try {\n      const [key, ...valueParts] = pair.split(\":\");\n      if (key && valueParts.length > 0) {\n        const joinedValue = valueParts.join(\":\");\n        const numericValue = Number(joinedValue);\n        if (!isNaN(numericValue) && isFinite(numericValue)) {\n          result[key.trim()] = numericValue;\n        } else {\n          result[key.trim()] = joinedValue.trim();\n        }\n      }\n    } catch (error) {\n      continue;\n    }\n  }\n  return result;\n}\nfunction mergeUtmParams(properties, utmParams) {\n  const {\n    utm_campaign,\n    n_campaign_type\n  } = utmParams;\n  return {\n    ...properties,\n    ...utm_campaign && {\n      utm_campaign\n    },\n    ...n_campaign_type && {\n      n_campaign_type\n    }\n  };\n}\nexport {\n  mergeUtmParams,\n  parseViewAttribution\n};\n","import { useEffect, useRef } from \"react\";\nimport { useAnalytics } from \"../../hooks/analytics/useAnalytics.js\";\nimport { getSourceParams } from \"../../utils/event-properties/source.js\";\nimport { isTabView } from \"../../utils/custom-tab/isTabView.js\";\nimport { getSeriesPath } from \"../../utils/getSeriesPath.js\";\nimport { useTrackSnowplowEvent } from \"../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { getRewardParams } from \"../../utils/event-properties/reward.js\";\nimport \"../../hooks/stores/content/content.store.js\";\nimport { parseViewAttribution, mergeUtmParams } from \"../../utils/event-properties/parseViewAttribution.js\";\nimport \"framer\";\nimport { getQueryParams } from \"../../utils/location.js\";\nconst useTrackVisitContent = ({\n  contentId,\n  title\n}, isInitBraze) => {\n  const {\n    trackFirebase,\n    trackAmplitude,\n    trackWebBraze,\n    trackWebviewBraze\n  } = useAnalytics();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  useEffect(() => {\n    const sourceParams = getSourceParams();\n    const rewardParams = getRewardParams();\n    const extraProperties = {\n      curr_screen: \"home_main\",\n      current_screen: \"home_main\"\n    };\n    const extraSnowplowProperties = {\n      ...rewardParams,\n      link_value: `${window.location.origin}${window.location.pathname}`\n    };\n    const properties = {\n      content_no: contentId,\n      content_title: title,\n      type: getSeriesPath(),\n      format_type: \"FRAMER\",\n      ...isTabView() ? extraProperties : {},\n      ...sourceParams\n    };\n    trackAmplitude(\"visit_content\", properties);\n    trackFirebase(\"visit_content\", properties);\n    trackSnowplowEvent(\"view_page\", extraSnowplowProperties);\n  }, []);\n  useEffect(() => {\n    if (!isInitBraze) {\n      return;\n    }\n    const brazeProperties = {\n      type: \"framer\",\n      content_no: contentId,\n      content_title: title\n    };\n    trackWebBraze(\"visit_content\", brazeProperties);\n    trackWebviewBraze(\"visit_content\", brazeProperties);\n  }, [isInitBraze]);\n};\nconst useTrackViewAttribution = () => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const query = getQueryParams();\n  const hasTrackedRef = useRef(false);\n  useEffect(() => {\n    if (hasTrackedRef.current) {\n      return;\n    }\n    if (query.view_attribution === void 0) {\n      return;\n    }\n    const viewAttributionProperties = parseViewAttribution(query.view_attribution);\n    const mergedProperties = mergeUtmParams(viewAttributionProperties, {\n      utm_campaign: typeof query.utm_campaign === \"string\" ? query.utm_campaign : void 0,\n      n_campaign_type: typeof query.n_campaign_type === \"string\" ? query.n_campaign_type : void 0\n    });\n    trackSnowplowEvent(\"view_attribution\", mergedProperties);\n    hasTrackedRef.current = true;\n  }, [query.n_campaign_type, query.utm_campaign, query.view_attribution, trackSnowplowEvent]);\n};\nexport {\n  useTrackViewAttribution,\n  useTrackVisitContent\n};\n","import { useRef, useEffect } from \"react\";\nconst useUpdatedRef = (value) => {\n  const ref = useRef(value);\n  useEffect(() => {\n    ref.current = value;\n  }, [value]);\n  return ref;\n};\nexport {\n  useUpdatedRef\n};\n","import { useEffect } from \"react\";\nconst useWindowEventListener = (type, listener) => {\n  useEffect(() => {\n    window.addEventListener(type, listener);\n    return () => window.removeEventListener(type, listener);\n  }, [type, listener]);\n};\nexport {\n  useWindowEventListener\n};\n","import { useRef, useCallback } from \"react\";\nimport { useUpdatedRef } from \"./useUpdatedRef.js\";\nimport { useWindowEventListener } from \"./useWindowEventListener.js\";\nconst useOverHalfInView = (elementsRef, callback) => {\n  const prevIsInView = useRef(false);\n  const updatedCallback = useUpdatedRef(callback);\n  const handleScroll = useCallback(() => {\n    if (elementsRef.current === null) {\n      return;\n    }\n    const isInView = elementsRef.current.some((element) => isOverHalfInView(element));\n    if (isInView !== prevIsInView.current) {\n      updatedCallback.current(isInView);\n    }\n    prevIsInView.current = isInView;\n  }, []);\n  useWindowEventListener(\"scroll\", handleScroll);\n};\nconst isOverHalfInView = (element) => {\n  const {\n    offsetTop,\n    offsetHeight\n  } = element;\n  const threshold = window.scrollY + window.innerHeight / 2;\n  const bottom = offsetTop + offsetHeight;\n  return offsetTop <= threshold && threshold <= bottom;\n};\nexport {\n  useOverHalfInView\n};\n","import { useCallback } from \"react\";\nimport debounce from \"../node_modules/lodash-es/debounce.js\";\nimport { useWindowEventListener } from \"./useWindowEventListener.js\";\nconst SCROLL_END_DEBOUNCE_MS = 300;\nconst useWindowScrollEndEventListener = (listener) => {\n  const handleScrollEnd = useCallback(debounce(listener, SCROLL_END_DEBOUNCE_MS), [listener]);\n  useWindowEventListener(\"scroll\", handleScrollEnd);\n};\nexport {\n  useWindowScrollEndEventListener\n};\n","import { useRef, useCallback } from \"react\";\nimport { useWindowEventListener } from \"./useWindowEventListener.js\";\nimport { useWindowScrollEndEventListener } from \"./useWindowScrollEndEventListener.js\";\nimport { useUpdatedRef } from \"./useUpdatedRef.js\";\nconst useWindowScrollStartEventListener = (listener) => {\n  const isExecuted = useRef(false);\n  const updatedListener = useUpdatedRef(listener);\n  const handleScroll = useCallback((e) => {\n    if (isExecuted.current) {\n      return;\n    }\n    updatedListener.current(e);\n    isExecuted.current = true;\n  }, []);\n  const handleScrollEnd = useCallback(() => {\n    isExecuted.current = false;\n  }, []);\n  useWindowEventListener(\"scroll\", handleScroll);\n  useWindowScrollEndEventListener(handleScrollEnd);\n};\nexport {\n  useWindowScrollStartEventListener\n};\n","import { useRef, useEffect } from \"react\";\nconst useElementsRefById = (elementIds) => {\n  const elementsRef = useRef([]);\n  useEffect(() => {\n    elementsRef.current = elementIds.reduce((prev, curr) => {\n      const element = document.getElementById(curr);\n      if (element) {\n        prev.push(element);\n      }\n      return prev;\n    }, []);\n  }, [elementIds]);\n  return elementsRef;\n};\nexport {\n  useElementsRefById\n};\n","import { useRef, useEffect } from \"react\";\nvar useInterval = function(callback, delay) {\n  var savedCallback = useRef(function() {\n  });\n  useEffect(function() {\n    savedCallback.current = callback;\n  });\n  useEffect(function() {\n    if (delay !== null) {\n      var interval_1 = setInterval(function() {\n        return savedCallback.current();\n      }, delay || 0);\n      return function() {\n        return clearInterval(interval_1);\n      };\n    }\n    return void 0;\n  }, [delay]);\n};\nexport {\n  useInterval as default\n};\n","import { useRef, useEffect, useCallback } from \"react\";\nimport { useIsOrganicScroll } from \"../Bootstrap.hooks.js\";\nimport { useAnalytics } from \"../../../hooks/analytics/useAnalytics.js\";\nimport { useOverHalfInView } from \"../../../hooks/useOverHalfInView.js\";\nimport { useWindowScrollStartEventListener } from \"../../../hooks/useWindowScrollStartEventListener.js\";\nimport { useContentStore } from \"../../../hooks/stores/content/content.store.js\";\nimport { useElementsRefById } from \"../../../hooks/useElementsRefById.js\";\nimport { useReceiveMessage } from \"../../../hooks/useReceiveMessage.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport { useGlobalSceneStackStore } from \"../../../hooks/stores/global-scene-stack/global-scene-stack.store.js\";\nimport { Scene } from \"../../../hooks/stores/global-scene-stack/global-scene-stack.types.js\";\nimport useInterval from \"../../../node_modules/react-use/esm/useInterval.js\";\nimport debounce from \"../../../node_modules/lodash-es/debounce.js\";\nconst TRACK_PING_CONTENT_DELAY = 3e3;\nconst useTrackPingContent = (canTrackPingContentEvent) => {\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  useInterval(() => {\n    if (!canTrackPingContentEvent()) {\n      return;\n    }\n    const {\n      summary: {\n        contentId\n      }\n    } = useContentStore.getState();\n    const properties = {\n      content_no: contentId,\n      format_type: \"FRAMER\"\n    };\n    trackAmplitude(\"ping_content\", properties);\n    trackFirebase(\"ping_content\", properties);\n  }, TRACK_PING_CONTENT_DELAY);\n};\nconst useTrackScrollContent = (canTrackScrollContentEvent) => {\n  const prevScrollTop = useRef(0);\n  const prevScrollTime = useRef(Date.now());\n  const {\n    isOrganicScroll\n  } = useIsOrganicScroll();\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const updateScrollTop = () => {\n    prevScrollTop.current = window.scrollY;\n  };\n  const updateScrollTime = () => prevScrollTime.current = Date.now();\n  const getProperties = () => {\n    const {\n      scrollY\n    } = window;\n    const viewportWidth = window.innerWidth;\n    const viewportBottomPosition = getViewportBottomPosition(scrollY, window.innerHeight);\n    const scrollDirection = getScrollDirection(prevScrollTop.current, scrollY);\n    const scrollTimeElapsedMs = Date.now() - prevScrollTime.current;\n    const {\n      summary: {\n        title,\n        series,\n        contentId\n      }\n    } = useContentStore.getState();\n    return {\n      viewport_width: toIntegerString(viewportWidth),\n      min: toIntegerString(scrollY),\n      max: toIntegerString(viewportBottomPosition),\n      time_elapsed_ms: `${scrollTimeElapsedMs}`,\n      direction: scrollDirection,\n      content_no: contentId,\n      content_title: title,\n      source: series,\n      format_type: \"FRAMER\",\n      is_organic: isOrganicScroll.current.toString()\n    };\n  };\n  useEffect(() => {\n    const handleScroll = () => {\n      debouncedTrackScrollContent(isOrganicScroll.current);\n    };\n    const debouncedTrackScrollContent = debounce((isOrganic) => {\n      if (!canTrackScrollContentEvent()) {\n        return;\n      }\n      const properties = {\n        ...getProperties(),\n        is_organic: isOrganic.toString()\n      };\n      trackAmplitude(\"scroll_content\", properties);\n      trackFirebase(\"scroll_content\", properties);\n      updateScrollTop();\n      updateScrollTime();\n    }, 300);\n    window.addEventListener(\"scroll\", handleScroll);\n    return () => {\n      window.removeEventListener(\"scroll\", handleScroll);\n    };\n  }, []);\n};\nconst useCanTrackReadingIndexEvents = (excludeSectionIds) => {\n  const {\n    isScrolledInExcludedSection,\n    isExcludedSectionInView\n  } = useIsExcludedSectionInView(excludeSectionIds);\n  const isWebviewLayerOpen = useIsWebviewLayerOpen();\n  const isMainScene = () => {\n    const {\n      sceneStack\n    } = useGlobalSceneStackStore.getState();\n    return sceneStack[sceneStack.length - 1] === Scene.MAIN;\n  };\n  const canTrackScrollContentEvent = () => {\n    return !isWebviewLayerOpen() && isMainScene() && !isScrolledInExcludedSection();\n  };\n  const canTrackPingContentEvent = () => {\n    return !isCanvas() && !isWebviewLayerOpen() && isMainScene() && !isExcludedSectionInView();\n  };\n  return {\n    canTrackScrollContentEvent,\n    canTrackPingContentEvent\n  };\n};\nconst useIsWebviewLayerOpen = () => {\n  const isWindowFocused = useRef(true);\n  const isWebviewLayerOpen = () => !isWindowFocused.current;\n  const handleReceiveMessage = useCallback((payload) => {\n    isWindowFocused.current = JSON.parse(payload.value.toString());\n  }, []);\n  useReceiveMessage(\"isWindowFocused\", handleReceiveMessage);\n  return isWebviewLayerOpen;\n};\nconst useIsExcludedSectionInView = (excludeSectionIds) => {\n  const prevIsInView = useRef(false);\n  const isInView = useRef(false);\n  const elements = useElementsRefById(excludeSectionIds);\n  useOverHalfInView(elements, (incoming) => {\n    isInView.current = incoming;\n  });\n  useWindowScrollStartEventListener(() => {\n    prevIsInView.current = isInView.current;\n  });\n  const isScrolledInExcludedSection = () => {\n    return prevIsInView.current && isInView.current;\n  };\n  const isExcludedSectionInView = () => isInView.current;\n  return {\n    isScrolledInExcludedSection,\n    isExcludedSectionInView\n  };\n};\nconst toIntegerString = (number) => `${Math.round(number)}`;\nconst getViewportBottomPosition = (scrollY, innerHeight) => {\n  return scrollY + innerHeight;\n};\nconst getScrollDirection = (prevScrollPosition, nextScrollPosition) => {\n  return prevScrollPosition < nextScrollPosition ? \"down\" : \"up\";\n};\nexport {\n  useCanTrackReadingIndexEvents,\n  useIsExcludedSectionInView,\n  useIsWebviewLayerOpen,\n  useTrackPingContent,\n  useTrackScrollContent\n};\n","import { jsx, Fragment } from \"react/jsx-runtime\";\nimport { useCanTrackReadingIndexEvents, useTrackPingContent, useTrackScrollContent } from \"./AdvancedReadingIndexTracker.hooks.js\";\nconst AdvancedReadingIndexTracker = ({\n  excludeSectionIds\n}) => {\n  const {\n    canTrackPingContentEvent,\n    canTrackScrollContentEvent\n  } = useCanTrackReadingIndexEvents(excludeSectionIds);\n  useTrackPingContent(canTrackPingContentEvent);\n  useTrackScrollContent(canTrackScrollContentEvent);\n  return /* @__PURE__ */ jsx(Fragment, {});\n};\nexport {\n  AdvancedReadingIndexTracker\n};\n","import { useRef, useCallback, useEffect } from \"react\";\nimport { useAnalytics } from \"../../../hooks/analytics/useAnalytics.js\";\nimport { useContentStore } from \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useIsOrganicScroll } from \"../Bootstrap.hooks.js\";\nimport { useReceiveMessage } from \"../../../hooks/useReceiveMessage.js\";\nimport debounce from \"../../../node_modules/lodash-es/debounce.js\";\nconst useTrackStayContent = () => {\n  const prevFocusTime = useRef(Date.now());\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const handleReceiveMessage = useCallback((payload) => {\n    const updateFocusTime = (latestFocusTime) => {\n      prevFocusTime.current = latestFocusTime;\n    };\n    const currentTime = Date.now();\n    const isWindowFocused = payload.value.toString();\n    if (isWindowFocused === \"true\") {\n      updateFocusTime(currentTime);\n      return;\n    }\n    const {\n      summary: {\n        title,\n        series,\n        contentId\n      }\n    } = useContentStore.getState();\n    const properties = {\n      time_elapsed_ms: `${currentTime - prevFocusTime.current}`,\n      content_no: contentId,\n      content_title: title,\n      source: series,\n      format_type: \"FRAMER\"\n    };\n    trackAmplitude(\"stay_content\", properties);\n    trackFirebase(\"stay_content\", properties);\n  }, []);\n  useReceiveMessage(\"isWindowFocused\", handleReceiveMessage);\n};\nconst useTrackScrollContent = () => {\n  const prevScrollTop = useRef(0);\n  const prevScrollTime = useRef(Date.now());\n  const {\n    isOrganicScroll\n  } = useIsOrganicScroll();\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  useEffect(() => {\n    const updateScrollTop = () => {\n      prevScrollTop.current = window.scrollY;\n    };\n    const updateScrollTime = (latestScrollTime) => {\n      prevScrollTime.current = latestScrollTime;\n    };\n    const toIntegerString = (number) => `${Math.round(number)}`;\n    const handleScroll = () => {\n      debouncedTrackScrollContent(isOrganicScroll.current);\n    };\n    const debouncedTrackScrollContent = debounce((isOrganic) => {\n      const {\n        scrollY\n      } = window;\n      const viewportWidth = window.innerWidth;\n      const viewportBottomPosition = getViewportBottomPosition(scrollY, window.innerHeight);\n      const scrollDirection = getScrollDirection(prevScrollTop.current, scrollY);\n      const scrollTime = Date.now();\n      const scrollTimeElapsedMs = scrollTime - prevScrollTime.current;\n      const {\n        summary: {\n          title,\n          series,\n          contentId\n        }\n      } = useContentStore.getState();\n      const properties = {\n        viewport_width: toIntegerString(viewportWidth),\n        min: toIntegerString(scrollY),\n        max: toIntegerString(viewportBottomPosition),\n        time_elapsed_ms: `${scrollTimeElapsedMs}`,\n        direction: scrollDirection,\n        content_no: contentId,\n        content_title: title,\n        source: series,\n        format_type: \"FRAMER\",\n        is_organic: isOrganic.toString()\n      };\n      trackAmplitude(\"scroll_content\", properties);\n      trackFirebase(\"scroll_content\", properties);\n      updateScrollTop();\n      updateScrollTime(scrollTime);\n    }, 300);\n    window.addEventListener(\"scroll\", handleScroll);\n    return () => {\n      window.removeEventListener(\"scroll\", handleScroll);\n    };\n  }, []);\n};\nconst getViewportBottomPosition = (scrollY, innerHeight) => {\n  return scrollY + innerHeight;\n};\nconst getScrollDirection = (prevScrollPosition, nextScrollPosition) => {\n  return prevScrollPosition < nextScrollPosition ? \"down\" : \"up\";\n};\nexport {\n  useTrackScrollContent,\n  useTrackStayContent\n};\n","import { jsx, Fragment } from \"react/jsx-runtime\";\nimport { useTrackScrollContent, useTrackStayContent } from \"./ReadingIndexTracker.hooks.js\";\nconst ReadingIndexTracker = () => {\n  useTrackScrollContent();\n  useTrackStayContent();\n  return /* @__PURE__ */ jsx(Fragment, {});\n};\nexport {\n  ReadingIndexTracker\n};\n","import \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { initializeApp } from \"../../node_modules/@firebase/app/dist/esm/index.esm2017.js\";\nconst initFirebase = ({\n  appName,\n  options\n}) => initializeApp(options, appName);\nexport {\n  initFirebase\n};\n","import { useState, useEffect } from \"react\";\nimport { isMobile, isWebview } from \"../../../utils/device.js\";\nimport { env } from \"../../../config/index.js\";\nimport { UserService } from \"../../../libs/services/user/UserService.js\";\nimport { getBrazeInstance } from \"../../../utils/analytics/braze/web/brazeInstance.js\";\nconst INIT_PARAMETER = {\n  KEY: env.sdk.braze.apiKey,\n  OPTIONS: {\n    baseUrl: env.sdk.braze.endPoint,\n    enableLogging: env.name !== \"production\",\n    allowUserSuppliedJavascript: true\n  }\n};\nconst BRAZE_SCRIPT_ID = \"braze\";\nconst BRAZE_SCRIPT_SRC = \"https://js.appboycdn.com/web-sdk/5.4/braze.min.js\";\nconst useInitBrazeCDN = () => {\n  const [isInitBraze, setIsInitBraze] = useState(false);\n  useEffect(() => {\n    loadBrazeScript().then(() => {\n      brazeInit();\n      setIsInitBraze(true);\n    }).catch((error) => console.error(error));\n  }, []);\n  return {\n    isInitBraze\n  };\n};\nfunction loadBrazeScript() {\n  return new Promise((resolve, reject) => {\n    const scriptExist = document.getElementById(BRAZE_SCRIPT_ID);\n    if (scriptExist) {\n      resolve(void 0);\n      return;\n    }\n    const script = document.createElement(\"script\");\n    script.id = BRAZE_SCRIPT_ID;\n    script.src = BRAZE_SCRIPT_SRC;\n    script.onload = () => {\n      resolve(\"Script loaded successfully\");\n    };\n    script.onerror = () => {\n      reject(new Error(\"Braze script failed to load\"));\n    };\n    document.body.appendChild(script);\n  });\n}\nconst brazeInit = () => {\n  const braze = getBrazeInstance();\n  if (!braze) {\n    return;\n  }\n  braze.initialize(INIT_PARAMETER.KEY, INIT_PARAMETER.OPTIONS);\n  const userService = new UserService();\n  const user = userService.getUserFromCookies();\n  if (user.no) {\n    braze.changeUser(user.no);\n  }\n  if (isMobile() && !isWebview()) {\n    braze.automaticallyShowInAppMessages();\n  }\n  braze.openSession();\n};\nexport {\n  useInitBrazeCDN\n};\n","import { createUTCFromKST } from \"../../../utils/date-helpers/createUTCFromKST.js\";\nimport { isAfter } from \"../../../node_modules/date-fns/isAfter.js\";\nimport { isBefore } from \"../../../node_modules/date-fns/isBefore.js\";\nconst CAMPAIGN_SCHEDULE = {\n  TEASING: {\n    startKST: \"2025-06-01 10:00\",\n    endKST: \"2025-06-04 18:59\"\n  },\n  MAIN: {\n    startKST: \"2025-06-04 19:00\",\n    endKST: \"2025-06-13 23:59\"\n  },\n  LAST_DAY: {\n    startKST: \"2025-06-14 00:00\",\n    endKST: \"2025-06-14 23:59\"\n  }\n};\nconst getCampaignPhaseStatus = () => {\n  const now = /* @__PURE__ */ new Date();\n  const teasingStart = createUTCFromKST(CAMPAIGN_SCHEDULE.TEASING.startKST);\n  const teasingEnd = createUTCFromKST(CAMPAIGN_SCHEDULE.TEASING.endKST);\n  const mainStart = createUTCFromKST(CAMPAIGN_SCHEDULE.MAIN.startKST);\n  const mainEnd = createUTCFromKST(CAMPAIGN_SCHEDULE.MAIN.endKST);\n  const lastDayStart = createUTCFromKST(CAMPAIGN_SCHEDULE.LAST_DAY.startKST);\n  const lastDayEnd = createUTCFromKST(CAMPAIGN_SCHEDULE.LAST_DAY.endKST);\n  return {\n    isDuringTeasingPeriod: isAfter(now, teasingStart) && isBefore(now, teasingEnd),\n    isDuringInitialMainPeriod: isAfter(now, mainStart) && isBefore(now, mainEnd),\n    isFinalDayOnMainPeriod: isAfter(now, lastDayStart) && isBefore(now, lastDayEnd),\n    isDuringFullMainPeriod: isAfter(now, mainStart) && isBefore(now, lastDayEnd)\n  };\n};\nexport {\n  getCampaignPhaseStatus\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { typography } from \"../../../styles/typography.js\";\nconst Title = ({\n  strongText,\n  text\n}) => {\n  return /* @__PURE__ */ jsxs(\"h1\", { style: titleStyle, children: [\n    /* @__PURE__ */ jsx(\"span\", { style: strongTitleStyle, children: strongText }),\n    text\n  ] });\n};\nconst titleStyle = {\n  ...typography(14, 400, 1.4),\n  color: \"#FFFFFFE6\"\n};\nconst strongTitleStyle = {\n  ...typography(14, 700, 1.4),\n  color: \"#FF4800\"\n};\nexport {\n  Title\n};\n","import { useTrackSnowplowEvent } from \"../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nconst useTrackCampaignBanner = () => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const eventProperties = {\n    section_name: \"29week_temp_banner\",\n    position: -1\n  };\n  const trackClickContent = (title) => {\n    trackSnowplowEvent(\"click_content\", {\n      ...eventProperties,\n      section_title: title\n    });\n  };\n  const trackImpressionContent = (title) => {\n    trackSnowplowEvent(\"impression_content\", {\n      ...eventProperties,\n      section_title: title\n    });\n  };\n  return {\n    trackClickContent,\n    trackImpressionContent\n  };\n};\nexport {\n  useTrackCampaignBanner\n};\n","import { addDays } from \"./addDays.js\";\nimport { addMonths } from \"./addMonths.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nimport { toDate } from \"./toDate.js\";\nfunction add(date, duration) {\n  const {\n    years = 0,\n    months = 0,\n    weeks = 0,\n    days = 0,\n    hours = 0,\n    minutes = 0,\n    seconds = 0\n  } = duration;\n  const _date = toDate(date);\n  const dateWithMonths = months || years ? addMonths(_date, months + years * 12) : _date;\n  const dateWithDays = days || weeks ? addDays(dateWithMonths, days + weeks * 7) : dateWithMonths;\n  const minutesToAdd = minutes + hours * 60;\n  const secondsToAdd = seconds + minutesToAdd * 60;\n  const msToAdd = secondsToAdd * 1e3;\n  const finalDate = constructFrom(date, dateWithDays.getTime() + msToAdd);\n  return finalDate;\n}\nexport {\n  add,\n  add as default\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { useState } from \"react\";\nimport { env } from \"../../../config/index.js\";\nimport { getCampaignPhaseStatus } from \"./CampaignBanner.utils.js\";\nimport { useIsMounted } from \"../../../hooks/useIsMounted.js\";\nimport { getImageUrl } from \"../../../utils/image/getImageUrl.js\";\nimport { Intersection } from \"../../@shared/Intersection/Intersection.js\";\nimport \"react-dom\";\nimport { Icon } from \"../../@shared/Icon/Icon.js\";\nimport api from \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport { Title } from \"./Title.js\";\nimport { isWebview } from \"../../../utils/device.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport { useIsMobileDevice } from \"../../../hooks/useIsMobileDevice.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { useTrackCampaignBanner } from \"./CampaignBanner.hooks.event.js\";\nimport { add } from \"../../../node_modules/date-fns/add.js\";\nconst CAMPAIGN_IMAGE_PATH = \"/next-edition/2025/05/21/ff710328ef114111ab09bc74914edd89_20250521141720.png\";\nconst CAMPAIGN_BANNER_VISIBILITY_COOKIE_KEY = \"campaign_banner_visibility\";\nconst CLOSE_COOKIE_VALUE = \"closed\";\nconst COOKIE_OPTIONS = {\n  expires: add(/* @__PURE__ */ new Date(), {\n    days: 1\n  }),\n  domain: \".29cm.co.kr\",\n  path: \"/\"\n};\nconst CAMPAIGN_NAME = \"이구위크\";\nconst TEXT = {\n  TEASING: \" 카드 게임하고 경품 받기\",\n  MAIN: \" 최애 브랜드 단 하루 29%\",\n  LAST_DAY: \" 최대 혜택 오늘이 마지막!\"\n};\nconst CampaignBanner = ({\n  hidden\n}) => {\n  const [isActive, setIsActive] = useState(true);\n  const isMounted = useIsMounted();\n  const isMobile = useIsMobileDevice();\n  const {\n    trackClickContent,\n    trackImpressionContent\n  } = useTrackCampaignBanner();\n  const containerStyle = {\n    position: \"relative\",\n    width: \"100%\",\n    display: \"flex\",\n    alignItems: \"center\",\n    background: \"#000000\",\n    padding: \"5px 16px 5px 16px\",\n    justifyContent: isMobile ? \"normal\" : \"center\"\n  };\n  const closeButtonStyle = {\n    position: \"absolute\",\n    right: isMobile ? \"16px\" : \"40px\",\n    top: \"50%\",\n    transform: \"translateY(-50%)\"\n  };\n  const campaignBannerVisibilityValue = api.get(CAMPAIGN_BANNER_VISIBILITY_COOKIE_KEY);\n  const setCookies = () => {\n    api.set(CAMPAIGN_BANNER_VISIBILITY_COOKIE_KEY, CLOSE_COOKIE_VALUE, COOKIE_OPTIONS);\n  };\n  const {\n    isDuringTeasingPeriod,\n    isDuringInitialMainPeriod,\n    isFinalDayOnMainPeriod,\n    isDuringFullMainPeriod\n  } = getCampaignPhaseStatus();\n  const isDuringCampaign = isDuringTeasingPeriod || isDuringFullMainPeriod;\n  const getText = () => {\n    if (isDuringTeasingPeriod) {\n      return TEXT.TEASING;\n    }\n    if (isDuringInitialMainPeriod) {\n      return TEXT.MAIN;\n    }\n    if (isFinalDayOnMainPeriod) {\n      return TEXT.LAST_DAY;\n    }\n    return \"\";\n  };\n  const subTitle = getText();\n  if (!isMounted || hidden || !isDuringCampaign || !isActive || campaignBannerVisibilityValue === CLOSE_COOKIE_VALUE) {\n    return null;\n  }\n  const handleClose = () => {\n    setIsActive(false);\n    setCookies();\n  };\n  const handleClick = () => {\n    const campaignUrl = `${env.workspace.content}/campaign/2025/06/29week`;\n    trackClickContent(CAMPAIGN_NAME + subTitle);\n    if (isDuringTeasingPeriod) {\n      document.location.href = `${campaignUrl}/teasing`;\n      return;\n    }\n    document.location.href = campaignUrl;\n  };\n  if (isWebview()) {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(Intersection, { threshold: 0.99, onView: () => {\n    trackImpressionContent(CAMPAIGN_NAME + subTitle);\n  }, children: /* @__PURE__ */ jsxs(\"div\", { style: containerStyle, children: [\n    /* @__PURE__ */ jsxs(\"button\", { type: \"button\", style: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: \"8px\",\n      ...buttonStyle\n    }, onClick: handleClick, children: [\n      /* @__PURE__ */ jsx(\"img\", { style: {\n        borderRadius: \"2px\"\n      }, src: getImageUrl(CAMPAIGN_IMAGE_PATH), alt: \"\", width: 40, height: 40 }),\n      /* @__PURE__ */ jsx(Title, { strongText: CAMPAIGN_NAME, text: subTitle }),\n      /* @__PURE__ */ jsx(\"span\", { children: /* @__PURE__ */ jsx(Icon, { type: \"chevronRight\", weight: \"bold\", size: 18, color: \"#fff\" }) })\n    ] }),\n    /* @__PURE__ */ jsx(\"button\", { type: \"button\", style: {\n      ...closeButtonStyle,\n      ...buttonStyle\n    }, onClick: handleClose, children: /* @__PURE__ */ jsx(Icon, { type: \"close\", weight: \"bold\", size: 18, color: \"#fff\" }) })\n  ] }) });\n};\nconst buttonStyle = {\n  cursor: \"pointer\",\n  background: \"transparent\",\n  borderWidth: 0,\n  outline: \"none\",\n  padding: 0\n};\nexport {\n  CampaignBanner\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useReducedMotion, motion } from \"framer-motion\";\nimport { useRef, useState, useMemo, useEffect, useCallback, useInsertionEffect, useLayoutEffect } from \"react\";\nconst Le = 20, ne = 100, Oe = () => {\n  const [e, t] = useState(true);\n  return useEffect(() => {\n    const n = globalThis.setTimeout(() => t(false), 0);\n    let r = globalThis.scrollY, s = 0, o;\n    const l = () => {\n      s = Date.now();\n      const u = globalThis.scrollY, a = u - r;\n      if (u < document.documentElement.clientHeight) {\n        r = u, t(false);\n        return;\n      }\n      Math.abs(a) < Le || (r = u, t(a > 0));\n    }, i = () => {\n      const u = Date.now() - s;\n      if (globalThis.clearTimeout(o), u >= ne) {\n        l();\n        return;\n      }\n      o = globalThis.setTimeout(l, ne - u);\n    };\n    return globalThis.addEventListener(\"scroll\", i, { passive: true }), () => {\n      globalThis.clearTimeout(n), globalThis.clearTimeout(o), globalThis.removeEventListener(\"scroll\", i);\n    };\n  }, []), e;\n}, Pe = \".number-event-gate.visible,.number-event-gate .visible{visibility:visible}.number-event-gate.static,.number-event-gate .static{position:static}.number-event-gate.absolute,.number-event-gate .absolute{position:absolute}.number-event-gate.relative,.number-event-gate .relative{position:relative}.number-event-gate.inset-0,.number-event-gate .inset-0{inset:0}.number-event-gate.box-border,.number-event-gate .box-border{box-sizing:border-box}.number-event-gate.block,.number-event-gate .block{display:block}.number-event-gate.inline-block,.number-event-gate .inline-block{display:inline-block}.number-event-gate.flex,.number-event-gate .flex{display:flex}.number-event-gate.hidden,.number-event-gate .hidden{display:none}.number-event-gate.shrink-0,.number-event-gate .shrink-0{flex-shrink:0}.number-event-gate.transform,.number-event-gate .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.number-event-gate.resize,.number-event-gate .resize{resize:both}.number-event-gate.items-center,.number-event-gate .items-center{align-items:center}.number-event-gate.justify-center,.number-event-gate .justify-center{justify-content:center}.number-event-gate.overflow-hidden,.number-event-gate .overflow-hidden{overflow:hidden}.number-event-gate.whitespace-nowrap,.number-event-gate .whitespace-nowrap{white-space:nowrap}.number-event-gate.rounded-full,.number-event-gate .rounded-full{border-radius:9999px}.number-event-gate.border,.number-event-gate .border{border-width:1px}.number-event-gate.border-solid,.number-event-gate .border-solid{border-style:solid}.number-event-gate.border-divider-strong,.number-event-gate .border-divider-strong{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity,1))}.number-event-gate.text-left,.number-event-gate .text-left{text-align:left}.number-event-gate.text-s-bold,.number-event-gate .text-s-bold{font-size:12px;line-height:136%;font-weight:700}.number-event-gate.text-xxs-medium,.number-event-gate .text-xxs-medium{font-size:10px;line-height:120%;font-weight:500}.number-event-gate.tabular-nums,.number-event-gate .tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.number-event-gate.text-accent,.number-event-gate .text-accent{color:rgb(255 72 0/var(--tw-text-opacity,1))}.number-event-gate.text-accent,.number-event-gate .text-accent,.number-event-gate.text-black,.number-event-gate .text-black{--tw-text-opacity:1}.number-event-gate.text-black,.number-event-gate .text-black{color:rgb(0 0 0/var(--tw-text-opacity,1))}.number-event-gate.no-underline,.number-event-gate .no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.number-event-gate.filter,.number-event-gate .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.number-event-gate.transition,.number-event-gate .transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.number-event-gate.ease-in-out,.number-event-gate .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}\", Y = /SSS|SS|HH|mm|ss/g, I = 1e3, O = 60 * I, j = 60 * O, L = (e, t) => String(Math.floor(e)).padStart(t, \"0\"), Me = { HH: j, mm: O, ss: I, SS: 10, SSS: 1 }, De = (e, t, n) => {\n  const r = /HH/.test(t), s = /mm/.test(t);\n  switch (n) {\n    case \"HH\":\n      return L(e / j, 2);\n    case \"mm\":\n      return L(r ? e % j / O : e / O, 2);\n    case \"ss\":\n      return L(s ? e % O / I : e / I, 2);\n    case \"SS\":\n      return L(e % I / 10, 2);\n    case \"SSS\":\n      return L(e % I, 3);\n  }\n}, He = (e, t) => {\n  const n = Math.max(0, e), r = [];\n  let s = 0;\n  Y.lastIndex = 0;\n  let o = Y.exec(t);\n  for (; o !== null; ) {\n    const l = o[0], i = o.index;\n    i > s && r.push({ type: \"text\", value: t.slice(s, i) }), r.push({ type: \"number\", value: De(n, t, l), unitMs: Me[l] }), s = i + l.length, o = Y.exec(t);\n  }\n  return s < t.length && r.push({ type: \"text\", value: t.slice(s) }), r;\n}, D = 12, Ue = [9, 8, 7, 6, 5, 4, 3, 2, 1, 0], $e = 0.1, Ge = 100, re = \"text-accent\", Fe = (e) => {\n  const t = [], n = [], r = e.findIndex((o) => o.type === \"number\"), s = e.map((o) => o.type).lastIndexOf(\"number\");\n  return e.forEach((o, l) => {\n    if (o.type === \"text\") {\n      t.push({\n        kind: \"text\",\n        key: `t${l}`,\n        value: o.value,\n        accent: l > r && l < s\n      });\n      return;\n    }\n    for (let i = o.value.length - 1; i >= 0; i -= 1) {\n      const u = o.unitMs * 10 ** i;\n      t.push({ kind: \"digit\", key: `d${n.length}`, index: n.length }), n.push(Math.min(Ge, u * $e));\n    }\n  }), { cells: t, slides: n };\n}, Be = (e) => {\n  let t = 0;\n  for (const n of e)\n    n.type === \"number\" && (t += n.value.length);\n  return t;\n}, Xe = globalThis.window === void 0 ? useEffect : useLayoutEffect, Ye = ({ endAt: e, format: t, className: n }) => {\n  const r = useReducedMotion(), [s, o] = useState(null), l = useRef(null), i = useRef([]), u = useRef([]), a = useRef([]), p = useCallback(\n    (c) => {\n      let d = 0;\n      for (const g of c)\n        if (g.type !== \"text\")\n          for (let f = 0; f < g.value.length; f += 1) {\n            const m = g.value[f], y = u.current[d], A = 9 - Number(m), E = a.current[d];\n            if (y != null && A !== E) {\n              const T = E !== void 0 && Math.abs(A - E) === 1;\n              a.current[d] = A, y.style.transitionDuration = T && !r ? `${i.current[d]}ms` : \"0ms\", y.style.transform = `translateY(-${A * D}px)`;\n            }\n            d += 1;\n          }\n    },\n    [r]\n  ), v = useCallback(() => {\n    const c = He(e - Date.now(), t), d = `${Be(c)} ${t}`;\n    if (d === l.current) {\n      p(c);\n      return;\n    }\n    const { cells: g, slides: f } = Fe(c);\n    l.current = d, i.current = f, u.current = [], a.current = [], o(g);\n  }, [e, t, p]);\n  return Xe(() => {\n    s !== null && v();\n  }, [s, v]), useEffect(() => {\n    let c = 0;\n    const d = () => {\n      v(), c = requestAnimationFrame(d);\n    };\n    return d(), () => cancelAnimationFrame(c);\n  }, [v]), /* @__PURE__ */ jsx(\"span\", { className: n, style: { display: \"block\", height: D, whiteSpace: \"nowrap\" }, children: s == null ? void 0 : s.map(\n    (c) => c.kind === \"text\" ? /* @__PURE__ */ jsx(\"span\", { className: c.accent ? re : void 0, style: { whiteSpace: \"pre\" }, children: c.value }, c.key) : /* @__PURE__ */ jsx(\n      \"span\",\n      {\n        className: re,\n        style: { display: \"inline-block\", height: D, overflow: \"hidden\", verticalAlign: \"top\" },\n        children: /* @__PURE__ */ jsx(\n          \"span\",\n          {\n            ref: (d) => {\n              u.current[c.index] = d;\n            },\n            style: { display: \"block\", transitionProperty: \"transform\", transitionTimingFunction: \"linear\" },\n            children: Ue.map((d) => /* @__PURE__ */ jsx(\"span\", { style: { display: \"block\", height: D }, children: d }, d))\n          }\n        )\n      },\n      c.key\n    )\n  ) });\n}, z = 33, We = \"#00CAE5\", je = ({ lottieUrl: e }) => {\n  const t = useRef(null), [n, r] = useState(false);\n  return useEffect(() => {\n    if (r(false), e === void 0 || t.current === null)\n      return;\n    let s = true, o = null;\n    return (async () => {\n      try {\n        const i = await import(\"../../../lottie-web/build/player/lottie.js\").then((n2) => n2.l), u = i.default ?? i;\n        if (!s || t.current === null)\n          return;\n        \"setIDPrefix\" in u && typeof u.setIDPrefix == \"function\" && u.setIDPrefix(\"number-event-\");\n        const a = u.loadAnimation({\n          container: t.current,\n          renderer: \"svg\",\n          loop: true,\n          autoplay: true,\n          path: e\n        });\n        o = a, a.addEventListener(\"DOMLoaded\", () => {\n          s && r(true);\n        }), a.addEventListener(\"data_failed\", () => {\n          s && r(false);\n        });\n      } catch {\n        s && r(false);\n      }\n    })(), () => {\n      s = false, o == null || o.destroy();\n    };\n  }, [e]), /* @__PURE__ */ jsx(\n    \"span\",\n    {\n      className: \"relative block shrink-0 rounded-full\",\n      style: {\n        width: z,\n        height: z,\n        backgroundColor: n ? void 0 : We\n      },\n      \"aria-hidden\": \"true\",\n      children: /* @__PURE__ */ jsx(\"span\", { ref: t, className: \"absolute inset-0 block\" })\n    }\n  );\n}, ze = \"number-event-gate-styles\", he = (e, t, { enabled: n = true, prepend: r = false } = {}) => {\n  useInsertionEffect(() => {\n    if (!n || document.getElementById(e) !== null)\n      return;\n    const s = document.createElement(\"style\");\n    if (s.id = e, s.textContent = t, r) {\n      document.head.insertBefore(s, document.head.firstChild);\n      return;\n    }\n    document.head.appendChild(s);\n  }, [e, t, n, r]);\n}, Ke = (e) => {\n  he(ze, Pe, { enabled: e, prepend: true });\n}, oe = [\"매주 화요일\", \"2시에 9경와\", \"2시의 9매 찬스\", \"29찾고 혜택받기\"], Ve = \"2시에 9경와 이벤트 보러가기\", H = 16, ve = 80, K = 16, ge = 4, G = 3, q = \"number-event-gate-rolling\", P = \"number-event-gate-chevron\", qe = { type: \"spring\", stiffness: 438, damping: 40, mass: 1 }, Je = { type: \"spring\", stiffness: 815, damping: 54, mass: 1 }, se = 5, ye = 4.5, Ee = 1, Ze = z + ye * 2 + Ee * 2, Qe = 6, et = (e) => e + ge + K + G, le = 12 - Ee - G, tt = () => /* @__PURE__ */ jsx(\"svg\", { width: K, height: K, viewBox: \"0 0 16 16\", fill: \"none\", \"aria-hidden\": \"true\", children: /* @__PURE__ */ jsx(\n  \"path\",\n  {\n    d: \"M6.32788 2.90887C6.65332 2.58344 7.18083 2.58344 7.50626 2.90887L12.0082 7.41083C12.3337 7.73626 12.3337 8.26378 12.0082 8.58921L7.50626 13.0912C7.18083 13.4166 6.65331 13.4166 6.32788 13.0912C6.00244 12.7657 6.00245 12.2382 6.32788 11.9128L10.2406 8.00002L6.32788 4.08726C6.00244 3.76182 6.00244 3.23431 6.32788 2.90887Z\",\n    fill: \"black\",\n    fillOpacity: 0.5\n  }\n) }), nt = \"#EDF6F6\", Ae = 2, rt = 0.35, Se = Ae + rt, J = (e) => `${q}-${e}`, ot = (e) => {\n  const t = 100 / e, n = t * Ae / Se, r = (o) => Number(o.toFixed(2)), s = Array.from({ length: e }, (o, l) => {\n    const i = r(l * t), u = r(l * t + n);\n    return `  ${i}%, ${u}% { transform: translateY(-${H * l}px); }`;\n  });\n  return `@keyframes ${J(e)} {\n${s.join(`\n`)}\n  100% { transform: translateY(-${H * e}px); }\n}\n@media (prefers-reduced-motion: reduce) {\n  .${q} { animation: none !important; }\n}`;\n}, st = (e) => {\n  he(`${J(e)}-style`, ot(e));\n}, lt = 0.15, we = 4, it = \"cubic-bezier(0.33, 0, 0.67, 1)\", at = (() => {\n  const e = lt / we * 100, t = [0, 1, 2, 3, 4].map((n) => {\n    const r = n % 2 === 0 ? 0 : G;\n    return `  ${Number((n * e).toFixed(2))}% { transform: translateX(${r}px); }`;\n  });\n  return `@keyframes ${P} {\n${t.join(`\n`)}\n  100% { transform: translateX(0); }\n}\n@media (prefers-reduced-motion: reduce) {\n  .${P} { animation: none !important; }\n}`;\n})(), ct = () => {\n  useInsertionEffect(() => {\n    const e = `${P}-style`;\n    if (document.getElementById(e) !== null)\n      return;\n    const t = document.createElement(\"style\");\n    t.id = e, t.textContent = at, document.head.appendChild(t);\n  }, []);\n}, ut = (e) => {\n  const [t, n] = useState(ve);\n  return useLayoutEffect(() => {\n    const r = e.current;\n    if (r === null)\n      return;\n    const s = () => n(r.offsetWidth);\n    if (s(), typeof ResizeObserver > \"u\")\n      return window.addEventListener(\"resize\", s), () => window.removeEventListener(\"resize\", s);\n    const o = new ResizeObserver(s);\n    return o.observe(r), () => o.disconnect();\n  }, [e]), t;\n}, Ut = ({\n  landingUrl: e,\n  onClick: t,\n  characterLottieUrl: n,\n  phrases: r = oe,\n  ariaLabel: s,\n  className: o,\n  countdown: l = null,\n  injectStyles: i = false,\n  backgroundColor: u\n}) => {\n  const a = r.length === 0 ? oe : r, p = e != null, v = s ?? (p ? Ve : a[0]);\n  Ke(i);\n  const c = useRef(null), d = ut(c), g = p ? et(d) : d, f = p ? le : le + G, m = Oe(), y = useReducedMotion();\n  st(a.length), ct();\n  const E = y ? { duration: 0 } : m ? Je : qe, T = [...a, a[0]];\n  return /* @__PURE__ */ jsxs(\n    motion.a,\n    {\n      href: e ?? void 0,\n      onClick: t,\n      \"aria-label\": v,\n      className: [\n        // `border-solid`·`no-underline` 은 Tailwind preflight 가 주는 값을 명시로 되받은 것이다.\n        // 발행 CSS 는 reset 을 싣지 않아(§8), preflight 없는 소비처에서는 border-style 이 none 이라\n        // 테두리가 통째로 안 그려지고 `<a>` 기본 밑줄이 남는다.\n        \"number-event-gate box-border flex items-center justify-center rounded-full border border-divider-strong border-solid no-underline\",\n        o ?? \"\"\n      ].filter(Boolean).join(\" \"),\n      style: {\n        backgroundColor: u ?? nt,\n        height: Ze,\n        // 블록 플렉스라 부모가 넓으면 알약도 늘어난다. 배너 폭은 내용이 정한다 (시안 157).\n        width: \"fit-content\",\n        padding: `${ye}px ${se}px`,\n        /*\n         * iOS 는 링크·이미지를 길게 누르면 미리보기와 복사 메뉴를 띄운다 (CMQA-7731 과 같은\n         * 현상). 배너는 눌러서 허브로 가는 버튼이라 그 메뉴가 설 자리가 없다.\n         * 상속되므로 안쪽 캐릭터·화살표까지 함께 덮인다. 인라인이라 autoprefixer 가 붙지 않고,\n         * 발행본은 소비처 설정에도 기댈 수 없어 `-webkit-` 을 직접 적는다 (iOS 15~16).\n         */\n        WebkitTouchCallout: \"none\",\n        WebkitUserSelect: \"none\",\n        userSelect: \"none\"\n      },\n      initial: false,\n      animate: { paddingRight: m ? se : f },\n      transition: E,\n      children: [\n        /* @__PURE__ */ jsx(je, { lottieUrl: n }),\n        /* @__PURE__ */ jsxs(\n          motion.span,\n          {\n            \"aria-hidden\": m,\n            className: \"flex items-center overflow-hidden\",\n            style: { gap: ge },\n            initial: false,\n            animate: {\n              marginLeft: m ? 0 : Qe,\n              width: m ? 0 : g,\n              opacity: m ? 0 : 1\n            },\n            transition: E,\n            children: [\n              /* @__PURE__ */ jsxs(\n                \"span\",\n                {\n                  ref: c,\n                  className: \"block shrink-0\",\n                  style: { width: \"max-content\", minWidth: ve },\n                  children: [\n                    /* @__PURE__ */ jsx(\"span\", { className: \"block overflow-hidden text-left\", style: { height: H }, children: /* @__PURE__ */ jsx(\n                      \"span\",\n                      {\n                        className: `${q} block`,\n                        style: {\n                          animation: `${J(a.length)} ${Se * a.length}s ease-in-out infinite`\n                        },\n                        children: T.map((k, M) => /* @__PURE__ */ jsx(\n                          \"span\",\n                          {\n                            className: \"flex items-center whitespace-nowrap text-black text-s-bold\",\n                            style: { height: H },\n                            children: k\n                          },\n                          `${k}-${M}`\n                        ))\n                      }\n                    ) }),\n                    l !== null && /* `tabular-nums` 로 자리 폭을 맞춘다 — 숫자마다 폭이 다르면 굴러갈 때 줄이 출렁인다. */\n                    /* @__PURE__ */ jsx(\n                      Ye,\n                      {\n                        endAt: l.endAt,\n                        format: l.format,\n                        className: \"text-left text-black text-xxs-medium tabular-nums\"\n                      }\n                    )\n                  ]\n                }\n              ),\n              p && /* @__PURE__ */ jsx(\n                \"span\",\n                {\n                  className: `${P} flex shrink-0`,\n                  style: { animation: `${P} ${we}s ${it} infinite` },\n                  children: /* @__PURE__ */ jsx(tt, {})\n                }\n              )\n            ]\n          }\n        )\n      ]\n    }\n  );\n}, _e = (e) => e === \"MUSINSA_MONEY_POINT\", dt = () => {\n  if (globalThis.window === void 0)\n    return null;\n  try {\n    const e = globalThis.localStorage;\n    return {\n      get: (t) => e.getItem(t),\n      set: (t, n) => e.setItem(t, n),\n      remove: (t) => e.removeItem(t)\n    };\n  } catch {\n    return null;\n  }\n}, ft = () => globalThis.window === void 0 ? null : globalThis.location.href, mt = (e, t) => t >= e.startAt && t <= e.endAt, xe = (e, t) => e.events.filter((n) => t >= n.startAt && t <= n.endAt).reduce(\n  (n, r) => n === null || r.startAt < n.startAt ? r : n,\n  null\n), Z = (e, t) => e.events.filter((n) => n.startAt > t).reduce(\n  (n, r) => n === null || r.startAt < n.startAt ? r : n,\n  null\n), pt = (e, t) => {\n  if (t > e.endAt)\n    return null;\n  const n = [e.startAt, e.endAt + 1];\n  for (const s of e.events)\n    n.push(s.startAt, s.endAt + 1);\n  let r = null;\n  for (const s of n)\n    s > t && (r === null || s < r) && (r = s);\n  return r;\n}, ie = \"showEventGateBanner\", bt = { leftPadding: 12, bottomPadding: 20 }, ht = () => \"window\" in globalThis ? globalThis : void 0, vt = ({ cacheVersion: e, pageName: t }) => {\n  var s, o, l;\n  const n = ht();\n  if (n === void 0)\n    return;\n  const r = {\n    ...bt,\n    cacheVersion: e,\n    ...t === void 0 ? {} : { pageName: t }\n  };\n  try {\n    const i = (o = (s = n.webkit) == null ? void 0 : s.messageHandlers) == null ? void 0 : o[ie];\n    if (typeof (i == null ? void 0 : i.postMessage) == \"function\") {\n      i.postMessage(r);\n      return;\n    }\n    const u = (l = n.android29cm) == null ? void 0 : l[ie];\n    typeof u == \"function\" && u(JSON.stringify(r));\n  } catch {\n  }\n}, Te = {\n  /** 스케줄 L2 캐시 (TTL 60분). 실제 키는 환경별로 갈린다 — `scheduleStorageKey` */\n  SCHEDULE: \"number-event/schedule\"\n}, gt = (e) => `${Te.SCHEDULE}/${e}`, U = (e) => typeof e == \"object\" && e !== null && !Array.isArray(e), $ = (e) => {\n  if (typeof e == \"number\" && Number.isFinite(e))\n    return e;\n  if (typeof e != \"string\" || e.length === 0)\n    return null;\n  const t = Date.parse(e);\n  return Number.isNaN(t) ? null : t;\n}, _ = (e) => typeof e == \"string\" && e.length > 0 ? e : null, W = (e) => Array.isArray(e) ? e.filter((t) => typeof t == \"number\") : [], Ne = (e) => Array.isArray(e) ? e.filter((t) => typeof t == \"string\") : [], yt = (e) => {\n  if (!U(e))\n    return null;\n  const t = $(e.startAt), n = $(e.endAt);\n  if (t === null || n === null || t > n)\n    return null;\n  const r = e.rewardType === \"MUSINSA_MONEY_POINT\" ? \"MUSINSA_MONEY_POINT\" : \"COUPON\", s = e.rewardType === void 0 || e.rewardType === null || e.rewardType === \"COUPON\" || e.rewardType === \"MUSINSA_MONEY_POINT\", o = Array.isArray(e.rewardIds) ? W(e.rewardIds) : W(e.couponIds), l = s ? o : [];\n  return {\n    eventId: typeof e.eventId == \"number\" ? e.eventId : 0,\n    name: _(e.name) ?? \"\",\n    startAt: t,\n    endAt: n,\n    rewardType: r,\n    rewardIds: l,\n    // 머니 회차 PDP 대상 판별용(고객 API 명세). 쿠폰 회차·미설정은 빈 배열이라 대상 판별에 영향 없다.\n    productIds: W(e.productIds),\n    // 하위호환: 쿠폰 회차만 채워 게임 gate(`couponIds.length > 0`)를 유지한다.\n    // 머니 회차·모르는 타입(rewardIds=[]) 은 빈 배열 → 게임 미개방(소비 측 이관 전까지 의도된 동작).\n    couponIds: r === \"COUPON\" ? l : [],\n    notes: Ne(e.notes),\n    // 응답은 `webLink`, 정규화 후는 `landingUrl` — L2 캐시가 후자를 이 함수로 되돌려 넣는다.\n    landingUrl: _(e.webLink ?? e.landingUrl),\n    appLink: _(e.appLink),\n    lottieUrl: _(e.lottieUrl),\n    timerFormat: _(e.timerFormat)\n  };\n}, ke = (e) => {\n  if (!U(e))\n    return null;\n  let t = e;\n  if (\"data\" in e || \"result\" in e) {\n    if (typeof e.result == \"string\" && e.result !== \"SUCCESS\" || !U(e.data))\n      return null;\n    t = e.data;\n  }\n  const n = $(t.startAt ?? t.startedAt), r = $(t.endAt ?? t.endedAt);\n  if (n === null || r === null || n > r)\n    return null;\n  const s = Array.isArray(t.events) ? t.events.map(yt).filter((l) => l !== null).sort((l, i) => l.startAt - i.startAt) : [], o = s.reduce(\n    (l, i) => l === void 0 || i.startAt >= l.startAt ? i : l,\n    void 0\n  );\n  return {\n    appTechId: typeof t.appTechId == \"number\" ? t.appTechId : 0,\n    title: _(t.title) ?? \"\",\n    startAt: n,\n    endAt: r,\n    // `parsePhase` 는 id 가 없는 단계에 0 을 채운다 — `??` 로 받으면 그 센티널이 적재까지 흘러\n    // 존재하지 않는 회차로 집계된다.\n    eventId: o !== void 0 && o.eventId > 0 ? o.eventId : null,\n    landingUrl: (o == null ? void 0 : o.landingUrl) ?? _(t.landingUrl),\n    appLink: (o == null ? void 0 : o.appLink) ?? _(t.appLink),\n    lottieUrl: (o == null ? void 0 : o.lottieUrl) ?? _(t.lottieUrl),\n    notes: (o == null ? void 0 : o.notes) ?? Ne(t.notes),\n    exposureRatio: typeof t.exposureRatio == \"number\" ? t.exposureRatio : null,\n    events: s\n  };\n}, Et = (e) => U(e) && e.result === \"SUCCESS\" && e.data === null, At = 60 * 60 * 1e3, V = (e, t) => t !== void 0 && e.cacheVersion !== t, ae = (e, t, n) => {\n  try {\n    const r = e.get(t);\n    if (r === null)\n      return null;\n    const s = JSON.parse(r);\n    if (typeof s != \"object\" || s === null)\n      return null;\n    const { cachedAt: o, cacheVersion: l, schedule: i } = s;\n    if (typeof o != \"number\" || i === void 0 || l !== void 0 && typeof l != \"string\")\n      return null;\n    const u = i === null ? null : ke(i);\n    if (i !== null && u === null)\n      return null;\n    const a = { cachedAt: o, cacheVersion: l, schedule: u };\n    return V(a, n) ? null : a;\n  } catch {\n    return null;\n  }\n}, ce = (e, t, n) => {\n  try {\n    e.set(t, JSON.stringify(n));\n  } catch {\n  }\n}, St = ({\n  fetchRaw: e,\n  storage: t = null,\n  now: n = () => Date.now(),\n  ttlMs: r = At,\n  storageKey: s = Te.SCHEDULE,\n  cacheVersion: o\n}) => {\n  const l = s;\n  let i = o, u = o !== void 0, a = null, p = null, v = 0;\n  const c = (f) => n() - f.cachedAt < r, d = async (f) => {\n    const m = i, y = a ?? (t === null ? null : ae(t, l, m));\n    try {\n      const A = await e(), E = ke(A);\n      if (f !== v)\n        return E;\n      if (E === null) {\n        if (Et(A)) {\n          const k = { cachedAt: n(), cacheVersion: m, schedule: null };\n          return a = k, t !== null && ce(t, l, k), null;\n        }\n        return a = null, t == null || t.remove(l), null;\n      }\n      const T = { cachedAt: n(), cacheVersion: m, schedule: E };\n      return a = T, t !== null && ce(t, l, T), E;\n    } catch {\n      return y === null || V(y, i) ? null : y.schedule;\n    }\n  }, g = () => {\n    v += 1, a = null, p = null;\n    try {\n      t == null || t.remove(l);\n    } catch {\n    }\n  };\n  return {\n    getSchedule() {\n      if (a !== null && c(a) && !V(a, i))\n        return Promise.resolve(a.schedule);\n      if (t !== null) {\n        const m = ae(t, l, i);\n        if (m !== null && c(m))\n          return a = m, Promise.resolve(m.schedule);\n        m !== null && (a = m);\n      }\n      if (p !== null)\n        return p;\n      const f = d(v);\n      return p = f, f.finally(() => {\n        p === f && (p = null);\n      }), f;\n    },\n    /**\n     * 전이는 넷이다 — 모름(`undefined`) · 첫 주입 · 같은 값 · 바뀐 값. **무효화는 마지막\n     * 하나뿐이다.** 나머지에서 `clear()` 를 태우면 새 문서마다 L2 가 날아간다.\n     *\n     * 첫 주입에서 `memory` 만 떨구는 이유와 `inFlight` 를 두는 이유는 ADR 참고.\n     * @see docs/workstreams/number-event-29/decisions/2026-08-19-gate-kill-switch-payload.md\n     */\n    setCacheVersion(f) {\n      if (!(f === void 0 || f === i)) {\n        if (!u) {\n          u = true, i = f, a = (a == null ? void 0 : a.cacheVersion) === f ? a : null;\n          return;\n        }\n        i = f, g();\n      }\n    },\n    clear: g\n  };\n}, wt = {\n  development: \"https://dev-content-api.29cm.co.kr\",\n  qa: \"https://qa-content-api.29cm.co.kr\",\n  production: \"https://content-api.29cm.co.kr\"\n}, _t = \"/api/v1/apptechs/types/NUMBER_EVENT_29\", xt = (e) => `${wt[e]}${_t}`, Tt = (e) => async () => {\n  const t = await fetch(xt(e), {\n    headers: { Accept: \"application/json\" }\n  });\n  if (!t.ok)\n    throw new Error(`schedule fetch failed: ${t.status}`);\n  return t.json();\n}, ue = /* @__PURE__ */ new Map(), Re = (e) => {\n  const t = ue.get(e);\n  if (t !== void 0)\n    return t;\n  const n = St({\n    fetchRaw: Tt(e),\n    storage: dt(),\n    storageKey: gt(e)\n  });\n  return ue.set(e, n), n;\n}, de = \"relative.invalid\", Nt = (e) => {\n  let t = e.length;\n  for (; t > 0 && e[t - 1] === \"/\"; )\n    t -= 1;\n  return e.slice(0, t);\n}, fe = (e) => {\n  const t = e.trim();\n  if (t.length === 0)\n    return null;\n  let n;\n  try {\n    n = new URL(t, `https://${de}`);\n  } catch {\n    return null;\n  }\n  const { pathname: r } = n, s = r.length > 1 ? Nt(r) : r;\n  return {\n    // host 는 URL 이 소문자로 정규화해 준다. pathname 은 그대로 오므로 여기서 내린다.\n    host: n.host === de ? null : n.host,\n    path: s.toLowerCase()\n  };\n}, kt = (e, t) => {\n  const n = fe(e), r = fe(t);\n  return !(n === null || r === null || n.path !== r.path || n.host !== null && r.host !== null && n.host !== r.host);\n}, Rt = 2147483647, It = \"시작까지 HH:mm:ss\", Ct = [\"오늘 이벤트 종료\"], Lt = {\n  visible: false,\n  landingUrl: null,\n  appLink: null,\n  phrases: [],\n  isMoneyReward: false,\n  characterLottieUrl: void 0,\n  countdown: null,\n  tracking: { title: \"\", eventId: null },\n  gateClosed: false\n}, Ot = (e, t) => e !== null && xe(e, t) === null && Z(e, t) === null, Pt = (e, t, n, r) => {\n  const s = { visible: true, gateClosed: false, tracking: r }, o = Z(e, t);\n  return o !== null ? {\n    ...s,\n    landingUrl: o.landingUrl ?? n,\n    appLink: o.appLink ?? e.appLink,\n    characterLottieUrl: o.lottieUrl ?? e.lottieUrl ?? void 0,\n    phrases: o.notes,\n    isMoneyReward: _e(o.rewardType),\n    countdown: { endAt: o.startAt, format: It }\n  } : {\n    ...s,\n    landingUrl: null,\n    appLink: null,\n    characterLottieUrl: e.lottieUrl ?? void 0,\n    phrases: Ct,\n    isMoneyReward: false,\n    countdown: null\n  };\n};\nfunction Ft({\n  enabled: e,\n  env: t,\n  mode: n = \"static\",\n  cacheVersion: r,\n  relayTarget: s = false,\n  pageName: o\n}) {\n  const [l, i] = useState(null), [u, a] = useState(0), p = useMemo(() => Re(t), [t]);\n  useEffect(() => {\n    if (p.setCacheVersion(r), e === void 0 || e === false && !(r !== void 0 && s))\n      return;\n    let x = true;\n    return p.getSchedule().then((N) => {\n      x && i({ cacheVersion: r, schedule: N });\n    }), () => {\n      x = false;\n    };\n  }, [e, p, r, s]);\n  const v = l !== null && l.cacheVersion === r ? l : null, c = (v == null ? void 0 : v.schedule) ?? null, d = Date.now(), g = c !== null && mt(c, d), f = v !== null && !g;\n  useEffect(() => {\n    !s || r === void 0 || !f || vt({ cacheVersion: r, pageName: o });\n  }, [s, r, f, o]), useEffect(() => {\n    if (c === null)\n      return;\n    const S = pt(c, Date.now());\n    if (S === null)\n      return;\n    const x = Math.min(Math.max(0, S - Date.now()), Rt), N = setTimeout(() => a((F) => F + 1), x);\n    return () => clearTimeout(N);\n  }, [c, u]), useEffect(() => {\n    if (globalThis.document === void 0)\n      return;\n    const S = () => {\n      document.visibilityState === \"visible\" && a((x) => x + 1);\n    };\n    return document.addEventListener(\"visibilitychange\", S), () => document.removeEventListener(\"visibilitychange\", S);\n  }, []), useEffect(() => {\n    if (globalThis.window === void 0)\n      return;\n    const S = (x) => {\n      const N = x.data;\n      if (typeof N != \"object\" || N === null)\n        return;\n      const { type: F, payload: B } = N;\n      F === \"isWindowFocused\" && (B == null ? void 0 : B.value) === \"true\" && a((Ie) => Ie + 1);\n    };\n    return window.addEventListener(\"message\", S), () => window.removeEventListener(\"message\", S);\n  }, []);\n  const m = (c == null ? void 0 : c.landingUrl) ?? null, y = ft(), A = m !== null && y !== null && kt(y, m), E = n === \"phased\" && g && Ot(c, d);\n  if (!(e === true && (g && !A && (m !== null || E))) || c === null)\n    return { ...Lt, gateClosed: f };\n  const M = { title: c.title, eventId: c.eventId }, b = n === \"phased\" ? xe(c, d) : null;\n  if (n === \"phased\" && b === null)\n    return Pt(c, d, m, M);\n  const Q = (b == null ? void 0 : b.timerFormat) ?? null;\n  return {\n    visible: true,\n    gateClosed: false,\n    // 링크도 문구처럼 단계를 따른다. 노출 판정의 `landingUrl` 은 회차 값 그대로다 — 허브가\n    // 단계마다 달라지지 않아 억제 비교가 흔들릴 이유가 없다.\n    landingUrl: (b == null ? void 0 : b.landingUrl) ?? m,\n    appLink: (b == null ? void 0 : b.appLink) ?? c.appLink,\n    phrases: (b == null ? void 0 : b.notes) ?? c.notes,\n    isMoneyReward: _e(b == null ? void 0 : b.rewardType),\n    characterLottieUrl: c.lottieUrl ?? void 0,\n    /*\n     * 타이머 유무는 회차가 정한다 — 어드민이 단계마다 `timerFormat` 을 넣거나 비운다.\n     * **결측일 때만 행이 빠진다.** 토큰 없는 템플릿(`\"곧 시작해요\"`)은 정적 텍스트로 그대로\n     * 그린다 — ME 와 공유하는 계약이다.\n     */\n    countdown: b !== null && Q !== null ? { endAt: b.endAt, format: Q } : null,\n    tracking: M\n  };\n}\nconst Bt = \"FloatingBanner\", Xt = -1;\nexport {\n  Ut as EventGateBanner,\n  Xt as GATE_BANNER_POSITION,\n  Bt as GATE_BANNER_SECTION_NAME,\n  Te as STORAGE_KEYS,\n  xe as activePhase,\n  mt as isGateOpen,\n  _e as isMusinsaMoneyReward,\n  gt as scheduleStorageKey,\n  Ft as useGateBanner\n};\n","import { GATE_BANNER_POSITION as Xt, GATE_BANNER_SECTION_NAME as Bt } from \"../../../node_modules/@29cm/number-event/dist/main.js\";\nimport { useTrackSnowplowEvent } from \"../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nconst useTrackEventGateBanner = ({\n  tracking,\n  landingUrl\n}) => {\n  var _a;\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  if (landingUrl === null) {\n    return {\n      trackImpression: void 0,\n      trackClick: void 0\n    };\n  }\n  const eventProperties = {\n    position: Xt,\n    section_name: Bt,\n    section_title: tracking.title,\n    link_value: landingUrl,\n    // 스키마·수집기가 String 이라 문자열로 싣는다. **정의서의 integer 는 오기다** — platform 도\n    // 정의서를 근거로 숫자화했다가 되돌렸다(#8174). 회차 미등록이면 생략된다.\n    event_id: (_a = tracking.eventId) == null ? void 0 : _a.toString()\n  };\n  const trackImpression = () => {\n    trackSnowplowEvent(\"impression_content\", eventProperties);\n  };\n  const trackClick = () => {\n    trackSnowplowEvent(\"click_content\", eventProperties);\n  };\n  return {\n    trackImpression,\n    trackClick\n  };\n};\nexport {\n  useTrackEventGateBanner\n};\n","const NUMBER_EVENT_29_FLAG = \"number-event-29\";\nconst LOADING = {\n  visible: void 0,\n  cacheVersion: void 0,\n  backgroundColor: void 0\n};\nconst BLOCKED = {\n  visible: false,\n  cacheVersion: void 0,\n  backgroundColor: void 0\n};\nconst HEX_COLOR = /^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;\nconst resolveBackgroundColor = (value) => typeof value === \"string\" && HEX_COLOR.test(value) ? value : void 0;\nconst resolveGateFlag = ({\n  isLoading,\n  payload\n}) => {\n  if (isLoading) {\n    return LOADING;\n  }\n  if (typeof payload !== \"object\" || payload === null) {\n    return BLOCKED;\n  }\n  const {\n    visible,\n    cacheVersion,\n    backgroundColor\n  } = payload;\n  if (typeof visible !== \"boolean\") {\n    return BLOCKED;\n  }\n  return {\n    visible,\n    cacheVersion: typeof cacheVersion === \"string\" ? cacheVersion : void 0,\n    backgroundColor: resolveBackgroundColor(backgroundColor)\n  };\n};\nconst DESKTOP_BOTTOM = 80;\nconst resolveBottomInset = ({\n  isMobile,\n  naturalInsetBottom\n}) => isMobile ? Math.max(12, naturalInsetBottom) : DESKTOP_BOTTOM;\nexport {\n  NUMBER_EVENT_29_FLAG,\n  resolveBottomInset,\n  resolveGateFlag\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useGateBanner as Ft, EventGateBanner as Ut } from \"../../../node_modules/@29cm/number-event/dist/main.js\";\nimport { Intersection } from \"../../@shared/Intersection/Intersection.js\";\nimport \"react-dom\";\nimport \"../../@shared/Icon/Icon.js\";\nimport { env } from \"../../../config/index.js\";\nimport { isWebview } from \"../../../utils/device.js\";\nimport \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport { useGlobalLayoutStore } from \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport { isTabView } from \"../../../utils/custom-tab/isTabView.js\";\nimport { useFeatureFlagPayload } from \"../../../hooks/useFeatureFlag.js\";\nimport { useIsMobileDevice } from \"../../../hooks/useIsMobileDevice.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { useTrackEventGateBanner } from \"./EventGateBanner.hooks.event.js\";\nimport { resolveGateFlag, resolveBottomInset, NUMBER_EVENT_29_FLAG } from \"./EventGateBanner.utils.js\";\nconst EventGateBanner = () => {\n  const {\n    visible: flagVisible,\n    cacheVersion,\n    backgroundColor\n  } = resolveGateFlag(useFeatureFlagPayload(NUMBER_EVENT_29_FLAG));\n  const bottomInset = resolveBottomInset({\n    isMobile: useIsMobileDevice(),\n    naturalInsetBottom: useGlobalLayoutStore((state) => state.naturalInset.bottom)\n  });\n  const enabled = flagVisible === void 0 ? void 0 : flagVisible && !isCanvas() && !isTabView();\n  const {\n    visible,\n    landingUrl,\n    appLink,\n    phrases,\n    characterLottieUrl,\n    countdown,\n    tracking\n  } = Ft({\n    enabled,\n    env: env.name,\n    // 29찾기는 앱 웹뷰 전용이다. 모바일 웹에서 카운트다운을 소구하면 참여할 수 없는 게임을\n    // 광고하는 셈이라, 웹은 회차 최종 상태 하나만 고정으로 보여준다.\n    mode: isWebview() ? \"phased\" : \"static\",\n    // platform 과 **같은 값**이어야 한다 — 값이 갈리면 L2 를 공유하는 두 레포가 서로의 캐시를\n    // 지운다.\n    cacheVersion\n  });\n  if (!visible) {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(\n    EventGateBannerView,\n    {\n      href: isWebview() && appLink !== null ? appLink : landingUrl,\n      landingUrl,\n      phrases,\n      characterLottieUrl,\n      countdown,\n      tracking,\n      bottomInset,\n      backgroundColor\n    }\n  );\n};\nconst EventGateBannerView = ({\n  href,\n  landingUrl,\n  phrases,\n  characterLottieUrl,\n  countdown,\n  tracking,\n  bottomInset,\n  backgroundColor\n}) => {\n  const {\n    trackImpression,\n    trackClick\n  } = useTrackEventGateBanner({\n    tracking,\n    landingUrl\n  });\n  return /* @__PURE__ */ jsx(Intersection, { style: getContainerStyle(bottomInset), threshold: 0.99, once: true, onView: trackImpression, children: /* @__PURE__ */ jsx(\n    Ut,\n    {\n      landingUrl: href,\n      phrases,\n      characterLottieUrl,\n      countdown,\n      onClick: trackClick,\n      backgroundColor,\n      injectStyles: true\n    }\n  ) });\n};\nconst getContainerStyle = (bottomInset) => ({\n  position: \"fixed\",\n  left: 12,\n  bottom: `calc(env(safe-area-inset-bottom) + ${bottomInset}px)`,\n  zIndex: 3e3\n});\nexport {\n  EventGateBanner\n};\n","const SENTRY_DSN = \"https://c000ce3b976952a3aa10ac1385b08a66@o4509014776086528.ingest.us.sentry.io/4509320742699009\";\nexport {\n  SENTRY_DSN\n};\n","const A = \"__unmatched__\";\nfunction k(t, e) {\n  const r = t[e];\n  if (r === \"+\" || r === \"*\")\n    return { length: 1, variable: true, repeating: true };\n  if (r === \"?\")\n    return { length: 1, variable: false, repeating: false };\n  if (r !== \"{\")\n    return null;\n  const n = /^\\{(\\d*)(,?)(\\d*)\\}/.exec(t.slice(e));\n  if (!n)\n    return null;\n  const [l, s, i, c] = n;\n  if (!i)\n    return {\n      length: l.length,\n      variable: false,\n      repeating: Number(s) >= 2\n    };\n  if (c === \"\")\n    return { length: l.length, variable: true, repeating: true };\n  const u = Number(c) >= 2;\n  return { length: l.length, variable: u, repeating: u };\n}\nfunction T(t) {\n  var l, s;\n  const e = [];\n  let r = false, n = 0;\n  for (; n < t.length; ) {\n    const i = t[n];\n    if (i === \"\\\\\") {\n      n += 2;\n      continue;\n    }\n    if (r) {\n      i === \"]\" && (r = false), n += 1;\n      continue;\n    }\n    if (i === \"[\") {\n      r = true, n += 1;\n      continue;\n    }\n    if (i === \"(\") {\n      e.push(false), n += 1;\n      continue;\n    }\n    if (i === \"|\") {\n      e.length > 0 && (e[e.length - 1] = true), n += 1;\n      continue;\n    }\n    if (i === \")\") {\n      const u = (l = e.pop()) != null ? l : false, o = k(t, n + 1);\n      if (o != null && o.repeating && u)\n        return true;\n      e.length > 0 && (u || o != null && o.variable) && (e[e.length - 1] = true), n += 1 + ((s = o == null ? void 0 : o.length) != null ? s : 0);\n      continue;\n    }\n    const c = k(t, n);\n    if (c != null && c.variable) {\n      e.length > 0 && (e[e.length - 1] = true);\n      const u = k(t, n + c.length);\n      if (u != null && u.repeating)\n        return true;\n      n += c.length;\n      continue;\n    }\n    n += 1;\n  }\n  return false;\n}\nconst v = /[a-zA-Z0-9_~-]/;\nfunction E(t, e) {\n  return t[e] !== \"/\" ? null : _(t, e + 1);\n}\nfunction _(t, e) {\n  let r = \"\", n = e;\n  for (; n < t.length; ) {\n    const l = t[n];\n    if (l === \"\\\\\") {\n      const s = t[n + 1];\n      if (s === void 0 || /[a-zA-Z0-9]/.test(s))\n        return null;\n      if (s === \"/\")\n        break;\n      r += s, n += 2;\n      continue;\n    }\n    if (l === \"/\" || l === \"$\")\n      break;\n    if (!v.test(l))\n      return null;\n    r += l, n += 1;\n  }\n  return r === \"\" || r.includes(\"?\") || r.includes(\"#\") ? null : r;\n}\nfunction L(t) {\n  let e = 0, r = false;\n  for (let n = 0; n < t.length; n++) {\n    const l = t[n];\n    if (l === \"\\\\\") {\n      n += 1;\n      continue;\n    }\n    if (r) {\n      l === \"]\" && (r = false);\n      continue;\n    }\n    if (l === \"[\")\n      r = true;\n    else if (l === \"(\")\n      e += 1;\n    else if (l === \")\")\n      e -= 1;\n    else if (l === \"|\" && e === 0)\n      return true;\n  }\n  return false;\n}\nfunction w(t) {\n  var l;\n  const e = [];\n  let r = 0, n = \"\";\n  for (let s = 0; s < t.length; s++) {\n    const i = t[s];\n    if (i === \"\\\\\") {\n      n += i + ((l = t[s + 1]) != null ? l : \"\"), s += 1;\n      continue;\n    }\n    if (i === \"(\" ? r += 1 : i === \")\" && (r -= 1), i === \"|\" && r === 0) {\n      e.push(n), n = \"\";\n      continue;\n    }\n    n += i;\n  }\n  return e.push(n), e;\n}\nfunction I(t) {\n  if (!t.endsWith(\"$\"))\n    return false;\n  let e = 0;\n  for (let r = t.length - 2; r >= 0 && t[r] === \"\\\\\"; r--)\n    e++;\n  return e % 2 === 0;\n}\nfunction N(t) {\n  if (!t.startsWith(\"^\") || !I(t) || L(t))\n    return null;\n  const e = t.slice(1), r = /* @__PURE__ */ new Set(), n = e.match(/^\\(\\?:((?:[^()\\\\]|\\\\.|\\([^()]*\\))*)\\)(\\??)/);\n  if (n) {\n    const [s, i, c] = n;\n    for (const u of w(i)) {\n      const o = u.match(/^\\/\\(\\?:([^()|]+(?:\\|[^()|]+)*)\\)$/);\n      if (o) {\n        for (const m of o[1].split(\"|\")) {\n          const b = _(m, 0);\n          if (b === null)\n            return null;\n          r.add(b);\n        }\n        continue;\n      }\n      const d = E(u, 0);\n      if (d === null)\n        return null;\n      r.add(d);\n    }\n    if (c === \"?\") {\n      const u = E(e.slice(s.length), 0);\n      if (u === null)\n        return null;\n      r.add(u);\n    }\n    return [...r];\n  }\n  const l = E(e, 0);\n  return l === null ? null : [l];\n}\nfunction x(t) {\n  const e = /* @__PURE__ */ new Map(), r = [];\n  for (const n of t) {\n    const l = N(n.pattern);\n    if (!l) {\n      r.push(n);\n      continue;\n    }\n    for (const s of l) {\n      const i = e.get(s);\n      i ? i.push(n) : e.set(s, [n]);\n    }\n  }\n  return { buckets: e, always: r };\n}\nfunction R(t) {\n  const e = t.match(/^\\/([^/?#]*)/);\n  return e ? e[1] : \"\";\n}\nfunction C(t, e = {}) {\n  var d, m, b;\n  const r = (d = e.fallback) != null ? d : A, n = (m = e.maxPatternLength) != null ? m : 300, l = [], s = [];\n  t.forEach((f, h) => {\n    const a = f == null ? void 0 : f.checkRegex;\n    if (typeof a != \"string\" || typeof f.screenId != \"string\" || f.screenId === \"\") {\n      s.push((f == null ? void 0 : f.screenId) || `(index ${h})`);\n      return;\n    }\n    if (a.length > n || T(a)) {\n      s.push(f.screenId);\n      return;\n    }\n    let p;\n    try {\n      p = new RegExp(a);\n    } catch (g) {\n      s.push(f.screenId);\n      return;\n    }\n    l.push({ screenId: f.screenId, regex: p, pattern: a, order: h });\n  }), s.length > 0 && ((b = e.onWarn) != null ? b : (h) => console.warn(h))(\n    `[Beacon] screenFromRegistry: ${s.length}/${t.length} 규칙을 건너뜁니다 (컴파일 실패 · 길이 초과 · 중첩 수량자) — ${s.join(\", \")}`\n  );\n  const { buckets: i, always: c } = x(l);\n  let u, o = r;\n  return function(h) {\n    if (h === u)\n      return o;\n    let a;\n    const p = i.get(R(h));\n    if (p) {\n      for (const g of p)\n        if (g.regex.test(h)) {\n          a = g;\n          break;\n        }\n    }\n    if (c.length > 0) {\n      for (const g of c)\n        if (g.regex.test(h)) {\n          (!a || g.order < a.order) && (a = g);\n          break;\n        }\n    }\n    return u = h, o = a ? a.screenId : r, o;\n  };\n}\nexport {\n  A as DEFAULT_UNMATCHED_SCREEN,\n  C as screenFromRegistry\n};\n","const screens = [\n  {\n    \"screenId\": \"29cm-brand\",\n    \"checkRegex\": \"^(?:/shop|/store)/brand/(?<brandId>[0-9]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-cart\",\n    \"checkRegex\": \"^/order/cart/?$\"\n  },\n  {\n    \"screenId\": \"29cm-category-main\",\n    \"checkRegex\": \"^(?:/list/shop|/store/category/main)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home\",\n    \"checkRegex\": \"^(?:/home/?|/)$\"\n  },\n  {\n    \"screenId\": \"29cm-like-goods\",\n    \"checkRegex\": \"^(?:/like\\\\?tab=product|/my\\\\-page/heart/product/?)$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage\",\n    \"checkRegex\": \"^(?:/mypage|/my\\\\-page)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-pdp\",\n    \"checkRegex\": \"^(?:/product|/products)/(?<productId>[0-9]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-search\",\n    \"checkRegex\": \"^(?:/search\\\\?keyword=(?<keyword>[^&]+)|/store/search/?)$\"\n  },\n  {\n    \"screenId\": \"29cm-search-start\",\n    \"checkRegex\": \"^(?:/search|/store/search)/start/?$\"\n  },\n  {\n    \"screenId\": \"29cm-best\",\n    \"checkRegex\": \"^(?:/best/home|/best\\\\-products)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-brand-news\",\n    \"checkRegex\": \"^(?:/content)?/brand\\\\-news/(?<brandnewId>[0-9]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-collection-detail\",\n    \"checkRegex\": \"^/content/collection/(?<collectionId>[0-9]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-collection-list\",\n    \"checkRegex\": \"^/collection/list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-magazine\",\n    \"checkRegex\": \"^(?:/content/magazine(?:\\\\?tab=(?<tab>[^&]+))?|/content/29magazine/?)$\"\n  },\n  {\n    \"screenId\": \"29cm-content-special\",\n    \"checkRegex\": \"^/content/(?:special|exclusive)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29week\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?week/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29week-teasing\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?week/teasing/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29week-first-benefit\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?week/first-benefit/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29week-secret-29week\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?week/secret-29-week/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29week-29live\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?week/29-live/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29week-offline\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?week/offline/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29week-schedule-women\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?week/schedule-women/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29week-schedule-men\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?week/schedule-men/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29week-sub\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?week/(?<page>[^/?]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29homeweek\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?home-?week/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29homeweek-sub\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?home-?week/(?<page>[^/?]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29fashionweek\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?fashion-?week/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29fashionweek-sub\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?fashion-?week/(?<page>[^/?]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29day\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?day/?$\"\n  },\n  {\n    \"screenId\": \"29cm-campaign-29day-sub\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/29-?day/(?<page>[^/?]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-campaign\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/(?<slug>[^/?]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-campaign-sub\",\n    \"checkRegex\": \"^/content/campaign/(?<year>[0-9]{4})/(?<month>[0-9]{2})/(?<slug>[^/?]+)/(?<page>[^/?]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-category-collection\",\n    \"checkRegex\": \"^/content/category-collection/(?<year>[0-9]{4})/(?<month>[0-9]{2})/(?<slug>[^/?]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-category-collection-sub\",\n    \"checkRegex\": \"^/content/category-collection/(?<year>[0-9]{4})/(?<month>[0-9]{2})/(?<slug>[^/?]+)/(?<page>[^/?]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-event\",\n    \"checkRegex\": \"^/store/event/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gift\",\n    \"checkRegex\": \"^/store/gift/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gift-category-list\",\n    \"checkRegex\": \"^/store/gift/category\\\\-list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gift-form\",\n    \"checkRegex\": \"^/store/gift/form/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gift-list\",\n    \"checkRegex\": \"^/store/gift/list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gift-recommend\",\n    \"checkRegex\": \"^/store/gift/recommend/?$\"\n  },\n  {\n    \"screenId\": \"29cm-like-brand\",\n    \"checkRegex\": \"^(?:/like\\\\?tab=brand|/my\\\\-page/heart/brand/?)$\"\n  },\n  {\n    \"screenId\": \"29cm-like-post\",\n    \"checkRegex\": \"^(?:/like\\\\?tab=post|/my\\\\-page/heart/post/?)$\"\n  },\n  {\n    \"screenId\": \"29cm-like-selection\",\n    \"checkRegex\": \"^(?:/like\\\\?tab=product\\\\-selection|/my\\\\-page/selection/?)$\"\n  },\n  {\n    \"screenId\": \"29cm-lookbook\",\n    \"checkRegex\": \"^/store/lookbook/?$\"\n  },\n  {\n    \"screenId\": \"29cm-lookbook-detail\",\n    \"checkRegex\": \"^/store/lookbook/(?<lookbookId>[0-9]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-review\",\n    \"checkRegex\": \"^/product/catalog/(?<catalogId>[0-9]+)/review/?$\"\n  },\n  {\n    \"screenId\": \"29cm-selection-detail\",\n    \"checkRegex\": \"^/store/selections/(?<selectionId>[0-9a-zA-Z\\\\-]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-selection-onboarding\",\n    \"checkRegex\": \"^/store/selection/onboarding/?$\"\n  },\n  {\n    \"screenId\": \"29cm-showcase-detail\",\n    \"checkRegex\": \"^/content/showcase/(?<showcaseId>[0-9]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-showcase-main\",\n    \"checkRegex\": \"^/store/showcase/?$\"\n  },\n  {\n    \"screenId\": \"29cm-similar-items\",\n    \"checkRegex\": \"^/products/(?<productId>[0-9]+)/recommend\\\\-similar\\\\-items/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-pdp\",\n    \"checkRegex\": \"^/catalog/(?<catalogId>[0-9]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-qna\",\n    \"checkRegex\": \"^/catalog/(?<catalogId>[0-9]+)/qna/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-review\",\n    \"checkRegex\": \"^/catalog/(?<catalogId>[0-9]+)/review/?$\"\n  },\n  {\n    \"screenId\": \"29cm-account-edit\",\n    \"checkRegex\": \"^/my\\\\-page/account/edit/?$\"\n  },\n  {\n    \"screenId\": \"29cm-membership\",\n    \"checkRegex\": \"^/order/my\\\\-order/grade/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mileage\",\n    \"checkRegex\": \"^/order/my\\\\-order/mileage/?$\"\n  },\n  {\n    \"screenId\": \"29cm-musinsa-money\",\n    \"checkRegex\": \"^/my\\\\-page/musinsa\\\\-money/?$\"\n  },\n  {\n    \"screenId\": \"29cm-my-review\",\n    \"checkRegex\": \"^/order/my\\\\-order/review/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-list\",\n    \"checkRegex\": \"^/order/(?:list|my\\\\-order/list)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-cscenter-notice-notice-list\",\n    \"checkRegex\": \"^/order/my\\\\-order/cscenter/notice/notice\\\\-list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-cscenter-qna-chatbot\",\n    \"checkRegex\": \"^/order/my\\\\-order/cscenter/qna/chatbot/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-cscenter-qna-qna-mantoman-detail\",\n    \"checkRegex\": \"^/order/my\\\\-order/cscenter/qna/qna\\\\-mantoman\\\\-detail/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-cscenter-qna-qna-mantoman-list\",\n    \"checkRegex\": \"^/order/my\\\\-order/cscenter/qna/qna\\\\-mantoman\\\\-list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-cscenter-qna-qna-product-list\",\n    \"checkRegex\": \"^/order/my\\\\-order/cscenter/qna/qna\\\\-product\\\\-list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-adult-verification-user-v5-callback\",\n    \"checkRegex\": \"^/adult\\\\-verification/user/v5/callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gallery-home-editor-contents\",\n    \"checkRegex\": \"^/gallery/home/editor/contents/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gallery-home-editor-new\",\n    \"checkRegex\": \"^/gallery/home/editor/new/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-cscenter-faq\",\n    \"checkRegex\": \"^/order/my\\\\-order/cscenter/faq/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-cscenter-voc\",\n    \"checkRegex\": \"^/order/my\\\\-order/cscenter/voc/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-mileage-previous-history\",\n    \"checkRegex\": \"^/order/my\\\\-order/mileage/previous\\\\-history/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-review-write\",\n    \"checkRegex\": \"^/order/my\\\\-order/review/write/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-ticket-order-detail-popup-order-confirmation-popup\",\n    \"checkRegex\": \"^/ticket\\\\-order/detail/popup/order\\\\-confirmation\\\\-popup/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-adult-verification-gift-callback\",\n    \"checkRegex\": \"^/adult\\\\-verification/gift/callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-adult-verification-user-v5\",\n    \"checkRegex\": \"^/adult\\\\-verification/user/v5/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-terms-privacy-game-event\",\n    \"checkRegex\": \"^/terms/privacy/game\\\\-event/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-terms-privacy-raffle-group\",\n    \"checkRegex\": \"^/terms/privacy/raffle\\\\-group/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-voucher-landing\",\n    \"checkRegex\": \"^(?:/content)?/space/voucher/landing/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gallery-home-bridge\",\n    \"checkRegex\": \"^/gallery/home/bridge/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-collection-products-search\",\n    \"checkRegex\": \"^/collection/products/search/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-terms-local-member-privacy-policy\",\n    \"checkRegex\": \"^/terms/local\\\\-member/privacy\\\\-policy/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-terms-one-member-privacy-policy\",\n    \"checkRegex\": \"^/terms/one\\\\-member/privacy\\\\-policy/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-account-delete\",\n    \"checkRegex\": \"^/my\\\\-page/account/delete/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-account-twofactor\",\n    \"checkRegex\": \"^/my\\\\-page/account/twofactor/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-bridge-invalid-path\",\n    \"checkRegex\": \"^/my\\\\-page/bridge/invalid\\\\-path/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-bridge-onemember\",\n    \"checkRegex\": \"^/my\\\\-page/bridge/onemember/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-bridge-plcc\",\n    \"checkRegex\": \"^/my\\\\-page/bridge/plcc/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-curator-bridge\",\n    \"checkRegex\": \"^/my\\\\-page/curator/bridge/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-musinsa-money-close\",\n    \"checkRegex\": \"^/my\\\\-page/musinsa\\\\-money/close/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-musinsa-money-disconnect\",\n    \"checkRegex\": \"^/my\\\\-page/musinsa\\\\-money/disconnect/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-musinsa-money-error\",\n    \"checkRegex\": \"^/my\\\\-page/musinsa\\\\-money/error/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-musinsa-pay-bridge-callback\",\n    \"checkRegex\": \"^/my\\\\-page/musinsa\\\\-pay\\\\-bridge/callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-musinsa-pay-bridge-close\",\n    \"checkRegex\": \"^/my\\\\-page/musinsa\\\\-pay\\\\-bridge/close/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-musinsa-samsung-card-close\",\n    \"checkRegex\": \"^/my\\\\-page/musinsa\\\\-samsung\\\\-card/close/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-webview-close\",\n    \"checkRegex\": \"^/my\\\\-page/webview/close/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-callback-musinsa-payments\",\n    \"checkRegex\": \"^/order/callback/musinsa\\\\-payments/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-experiment-brand-coupon-push\",\n    \"checkRegex\": \"^/order/experiment/brand\\\\-coupon\\\\-push/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-integrate-mileage-agreement\",\n    \"checkRegex\": \"^/order/integrate\\\\-mileage/agreement/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-integrate-mileage-combine\",\n    \"checkRegex\": \"^/order/integrate\\\\-mileage/combine/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-musinsa-money-callback\",\n    \"checkRegex\": \"^/order/musinsa\\\\-money/callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-coupon\",\n    \"checkRegex\": \"^/order/my\\\\-order/coupon/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-cs-history\",\n    \"checkRegex\": \"^/order/my\\\\-order/cs\\\\-history/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-cscenter\",\n    \"checkRegex\": \"^/order/my\\\\-order/cscenter/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-exchange-withdrawal-confirm\",\n    \"checkRegex\": \"^/order/my\\\\-order/exchange\\\\-withdrawal\\\\-confirm/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-receipt\",\n    \"checkRegex\": \"^/order/my\\\\-order/receipt/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-category-home\",\n    \"checkRegex\": \"^/store/category/home/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-category-list\",\n    \"checkRegex\": \"^/store/category/list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-concierge-list\",\n    \"checkRegex\": \"^/store/concierge/list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-delivery-today-products\",\n    \"checkRegex\": \"^/store/delivery\\\\-today/products/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-gift-box\",\n    \"checkRegex\": \"^/store/gift/box/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-gift-relay-list\",\n    \"checkRegex\": \"^/store/gift/relay\\\\-list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-pt-coming\",\n    \"checkRegex\": \"^/store/pt/coming/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-pt-history\",\n    \"checkRegex\": \"^/store/pt/history/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-search-brand\",\n    \"checkRegex\": \"^/store/search/brand/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-selection-create\",\n    \"checkRegex\": \"^/store/selection/create/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-selection-influencer-feed\",\n    \"checkRegex\": \"^/store/selection/influencer\\\\-feed/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-selection-liked-products-edit\",\n    \"checkRegex\": \"^/store/selection/liked\\\\-products\\\\-edit/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-adult-verification-gift\",\n    \"checkRegex\": \"^/adult\\\\-verification/gift/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-certification-callback\",\n    \"checkRegex\": \"^/certification/callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-identity-verification-callback\",\n    \"checkRegex\": \"^/identity\\\\-verification/callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-identity-verification-direct-update-callback\",\n    \"checkRegex\": \"^/identity\\\\-verification/direct\\\\-update\\\\-callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-identity-verification-form\",\n    \"checkRegex\": \"^/identity\\\\-verification/form/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-identity-verification-onemember-selfcertify-callback\",\n    \"checkRegex\": \"^/identity\\\\-verification/onemember\\\\-selfcertify\\\\-callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-inactive-account-success\",\n    \"checkRegex\": \"^/inactive\\\\-account/success/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-terms-marketing\",\n    \"checkRegex\": \"^/terms/marketing/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-terms-privacy\",\n    \"checkRegex\": \"^/terms/privacy/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-terms-service\",\n    \"checkRegex\": \"^/terms/service/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-update-verification-callback\",\n    \"checkRegex\": \"^/update\\\\-verification/callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-update-verification-form\",\n    \"checkRegex\": \"^/update\\\\-verification/form/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-embed-broadcast\",\n    \"checkRegex\": \"^(?:/content)?/embed/broadcast/?$\"\n  },\n  {\n    \"screenId\": \"29cm-customer-contact-us\",\n    \"checkRegex\": \"^/customer/contact\\\\-us/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gallery-not-allowed\",\n    \"checkRegex\": \"^/gallery/not\\\\-allowed/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-category-main\",\n    \"checkRegex\": \"^/category/main/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-collection-products\",\n    \"checkRegex\": \"^/collection/products/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-embed-best-products\",\n    \"checkRegex\": \"^/embed/best\\\\-products/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-embed-discovery\",\n    \"checkRegex\": \"^/embed/discovery/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-embed-display-ad\",\n    \"checkRegex\": \"^/embed/display\\\\-ad/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-space-scan\",\n    \"checkRegex\": \"^/space/scan/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-terms-agreement\",\n    \"checkRegex\": \"^/terms/agreement/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-terms-brand\",\n    \"checkRegex\": \"^/terms/brand/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-terms-dispute-resolution-standard\",\n    \"checkRegex\": \"^/terms/dispute\\\\-resolution\\\\-standard/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-terms-payment-agency\",\n    \"checkRegex\": \"^/terms/payment\\\\-agency/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-webview-close\",\n    \"checkRegex\": \"^/webview/close/?$\"\n  },\n  {\n    \"screenId\": \"29cm-inbox-universal\",\n    \"checkRegex\": \"^/inbox/universal/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-forced-conversion\",\n    \"checkRegex\": \"^/my\\\\-page/forced\\\\-conversion/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-musinsa-money-bridge\",\n    \"checkRegex\": \"^/my\\\\-page/musinsa\\\\-money\\\\-bridge/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-musinsa-pay-bridge\",\n    \"checkRegex\": \"^/my\\\\-page/musinsa\\\\-pay\\\\-bridge/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-musinsa-samsung-card\",\n    \"checkRegex\": \"^/my\\\\-page/musinsa\\\\-samsung\\\\-card/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-mystyle\",\n    \"checkRegex\": \"^/my\\\\-page/mystyle/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-one-connect-bridge\",\n    \"checkRegex\": \"^/my\\\\-page/one\\\\-connect\\\\-bridge/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-one-connect-callback\",\n    \"checkRegex\": \"^/my\\\\-page/one\\\\-connect\\\\-callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-one-leave-callback\",\n    \"checkRegex\": \"^/my\\\\-page/one\\\\-leave\\\\-callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-password-reconfirm\",\n    \"checkRegex\": \"^/my\\\\-page/password\\\\-reconfirm/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-preuser\",\n    \"checkRegex\": \"^/my\\\\-page/preuser/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-checkout\",\n    \"checkRegex\": \"^/order/checkout/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-integrate-mileage\",\n    \"checkRegex\": \"^/order/integrate\\\\-mileage/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order\",\n    \"checkRegex\": \"^/order/my\\\\-order/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-size\",\n    \"checkRegex\": \"^/order/my\\\\-size/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-refund\",\n    \"checkRegex\": \"^/order/refund/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-refund-account\",\n    \"checkRegex\": \"^/order/refund\\\\-account/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-return\",\n    \"checkRegex\": \"^/order/return/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-best-items\",\n    \"checkRegex\": \"^/store/best\\\\-items/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-category-sort-experiment\",\n    \"checkRegex\": \"^/store/category\\\\-sort\\\\-experiment/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-concierge\",\n    \"checkRegex\": \"^/store/concierge/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-like-brand-new\",\n    \"checkRegex\": \"^/store/like\\\\-brand\\\\-new/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-like-discount-products\",\n    \"checkRegex\": \"^/store/like\\\\-discount\\\\-products/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-link\",\n    \"checkRegex\": \"^/store/link/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-new\",\n    \"checkRegex\": \"^/store/new/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-pt\",\n    \"checkRegex\": \"^/store/pt/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-recommend-products\",\n    \"checkRegex\": \"^/store/recommend\\\\-products/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-search-keyword-dashboard\",\n    \"checkRegex\": \"^/store/search\\\\-keyword\\\\-dashboard/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-special-order\",\n    \"checkRegex\": \"^/store/special\\\\-order/?$\"\n  },\n  {\n    \"screenId\": \"29cm-terms-advertising\",\n    \"checkRegex\": \"^/terms/advertising/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-callback-musinsa-payments\",\n    \"checkRegex\": \"^/callback/musinsa\\\\-payments/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-mobile-ticket-list\",\n    \"checkRegex\": \"^/mobile\\\\-ticket/list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-account-list\",\n    \"checkRegex\": \"^/account\\\\-list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-certification\",\n    \"checkRegex\": \"^/certification/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-email-login\",\n    \"checkRegex\": \"^/email\\\\-login/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-email-unsubscribe\",\n    \"checkRegex\": \"^/email\\\\-unsubscribe/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-email-verification\",\n    \"checkRegex\": \"^/email\\\\-verification/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-guest\",\n    \"checkRegex\": \"^/guest/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-inactive-account\",\n    \"checkRegex\": \"^/inactive\\\\-account/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-join\",\n    \"checkRegex\": \"^/join/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-join-result\",\n    \"checkRegex\": \"^/join\\\\-result/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-login\",\n    \"checkRegex\": \"^/login/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-oauth-callback\",\n    \"checkRegex\": \"^/oauth\\\\-callback/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-profile\",\n    \"checkRegex\": \"^/profile/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-recover-account\",\n    \"checkRegex\": \"^/recover\\\\-account/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-sso\",\n    \"checkRegex\": \"^/sso/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-twofactor\",\n    \"checkRegex\": \"^/twofactor/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-unsubscribe\",\n    \"checkRegex\": \"^/unsubscribe/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-all-banner\",\n    \"checkRegex\": \"^(?:/content)?/all\\\\-banner/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-engagement\",\n    \"checkRegex\": \"^(?:/content)?/engagement/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-engagement-count-deactivate\",\n    \"checkRegex\": \"^(?:/content)?/engagement\\\\-count\\\\-deactivate/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-favorite-brand-news\",\n    \"checkRegex\": \"^(?:/content)?/favorite\\\\-brand\\\\-news/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-history-recommend\",\n    \"checkRegex\": \"^(?:/content)?/history\\\\-recommend/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-recommendations-for-you\",\n    \"checkRegex\": \"^(?:/content)?/recommendations\\\\-for\\\\-you/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space\",\n    \"checkRegex\": \"^(?:/content)?/space/?$\"\n  },\n  {\n    \"screenId\": \"29cm-customer\",\n    \"checkRegex\": \"^/customer/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-preuser\",\n    \"checkRegex\": \"^/preuser/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-product-discontinued\",\n    \"checkRegex\": \"^/product\\\\-discontinued/?$\"\n  },\n  {\n    \"screenId\": \"29cm-inbox\",\n    \"checkRegex\": \"^/inbox/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop\",\n    \"checkRegex\": \"^/store/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-checkout\",\n    \"checkRegex\": \"^/checkout/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-refund\",\n    \"checkRegex\": \"^/refund/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-refund-account\",\n    \"checkRegex\": \"^/refund\\\\-account/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-return\",\n    \"checkRegex\": \"^/return/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-return-ticket\",\n    \"checkRegex\": \"^/return\\\\-ticket/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-seat\",\n    \"checkRegex\": \"^/seat/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-zone\",\n    \"checkRegex\": \"^/zone/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gallery-home-posts-id-comments\",\n    \"checkRegex\": \"^/gallery/home/posts/(?<postId>[^/]+)/comments/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-detail-id-print\",\n    \"checkRegex\": \"^/order/my\\\\-order/detail/(?<orderNo>[^/]+)/print/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-return-id-id\",\n    \"checkRegex\": \"^/order/my\\\\-order/return/(?<orderId>[^/]+)/(?<itemId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-selection-campaigns-id-influencer-list\",\n    \"checkRegex\": \"^/store/selection/campaigns/(?<campaignId>[^/]+)/influencer\\\\-list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-mobile-ticket-id-tickets-view-transfer\",\n    \"checkRegex\": \"^/mobile\\\\-ticket/(?<orderNo>[^/]+)/tickets/view/transfer/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-consulting-reserve-id\",\n    \"checkRegex\": \"^(?:/content)?/space/consulting/reserve/(?<spaceId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-manage-consulting-id\",\n    \"checkRegex\": \"^(?:/content)?/space/manage/consulting/(?<consultingId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-manage-coupon-id\",\n    \"checkRegex\": \"^(?:/content)?/space/manage/coupon/(?<offlineCouponId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-manage-id-consulting\",\n    \"checkRegex\": \"^(?:/content)?/space/manage/(?<spaceId>[^/]+)/consulting/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-manage-id-prev-consulting\",\n    \"checkRegex\": \"^(?:/content)?/space/manage/(?<spaceId>[^/]+)/prev\\\\-consulting/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-voucher-apple-id\",\n    \"checkRegex\": \"^(?:/content)?/space/voucher/apple/(?<seasonId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-voucher-brand-id\",\n    \"checkRegex\": \"^(?:/content)?/space/voucher/brand/(?<seasonId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gallery-home-editor-id\",\n    \"checkRegex\": \"^/gallery/home/editor/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gallery-home-posts-id\",\n    \"checkRegex\": \"^/gallery/home/posts/(?<postId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-gallery-home-products-id\",\n    \"checkRegex\": \"^/gallery/home/products/(?<productId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-app-tech-card-game-id-landing\",\n    \"checkRegex\": \"^/app\\\\-tech/card\\\\-game/(?<appTechId>[^/]+)/landing/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-preuser-event-id-apply\",\n    \"checkRegex\": \"^/preuser/event/(?<eventKey>[^/]+)/apply/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-gift-onelink-id\",\n    \"checkRegex\": \"^/order/gift/onelink/(?<token>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-cancel-detail-id\",\n    \"checkRegex\": \"^/order/my\\\\-order/cancel\\\\-detail/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-cancel-id\",\n    \"checkRegex\": \"^/order/my\\\\-order/cancel/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-detail-id\",\n    \"checkRegex\": \"^/order/my\\\\-order/detail/(?<orderNo>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-exchange-accepted-id\",\n    \"checkRegex\": \"^/order/my\\\\-order/exchange\\\\-accepted/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-exchange-detail-id\",\n    \"checkRegex\": \"^/order/my\\\\-order/exchange\\\\-detail/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-exchange-id\",\n    \"checkRegex\": \"^/order/my\\\\-order/exchange/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-my-order-return-detail-id\",\n    \"checkRegex\": \"^/order/my\\\\-order/return\\\\-detail/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-product-booking-id-qna\",\n    \"checkRegex\": \"^/product/booking/(?<id>[^/]+)/qna/?$\"\n  },\n  {\n    \"screenId\": \"29cm-product-booking-id-review\",\n    \"checkRegex\": \"^/product/booking/(?<id>[^/]+)/review/?$\"\n  },\n  {\n    \"screenId\": \"29cm-product-catalog-id-gallery\",\n    \"checkRegex\": \"^/product/catalog/(?<id>[^/]+)/gallery/?$\"\n  },\n  {\n    \"screenId\": \"29cm-product-catalog-id-payment-related-products-list\",\n    \"checkRegex\": \"^/product/catalog/(?<id>[^/]+)/payment\\\\-related\\\\-products\\\\-list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-product-catalog-id-qna\",\n    \"checkRegex\": \"^/product/catalog/(?<id>[^/]+)/qna/?$\"\n  },\n  {\n    \"screenId\": \"29cm-product-catalog-id-recommend\",\n    \"checkRegex\": \"^/product/catalog/(?<id>[^/]+)/recommend/?$\"\n  },\n  {\n    \"screenId\": \"29cm-product-catalog-id-similar-products-list\",\n    \"checkRegex\": \"^/product/catalog/(?<id>[^/]+)/similar\\\\-products\\\\-list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-brand-id-new-items\",\n    \"checkRegex\": \"^/store/brand/(?<brandId>[^/]+)/new\\\\-items/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-brand-id-new-products\",\n    \"checkRegex\": \"^/store/brand/(?<brandId>[^/]+)/new\\\\-products/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-brand-id-tv\",\n    \"checkRegex\": \"^/store/brand/(?<brandId>[^/]+)/tv/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-coupon-collection-id-products\",\n    \"checkRegex\": \"^/store/coupon\\\\-collection/(?<couponCollectionId>[^/]+)/products/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-coupon-id-products\",\n    \"checkRegex\": \"^/store/coupon/(?<couponId>[^/]+)/products/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-invite-receive-id\",\n    \"checkRegex\": \"^/store/invite/receive/(?<rewardKey>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-invite-send-id\",\n    \"checkRegex\": \"^/store/invite/send/(?<rewardProgramKey>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-invite-taste-share-id\",\n    \"checkRegex\": \"^/store/invite/taste\\\\-share/(?<rewardProgramKey>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-selection-campaigns-id\",\n    \"checkRegex\": \"^/store/selection/campaigns/(?<campaignId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-mobile-ticket-id-tickets-view\",\n    \"checkRegex\": \"^/mobile\\\\-ticket/(?<orderNo>[^/]+)/tickets/view/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-my-order-detail-id-print\",\n    \"checkRegex\": \"^/my\\\\-order/detail/(?<orderNo>[^/]+)/print/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-pentaport-mobile-ticket-id-tickets-view\",\n    \"checkRegex\": \"^/pentaport\\\\-mobile\\\\-ticket/(?<orderNo>[^/]+)/tickets/view/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-ticket-order-detail-id-transfer\",\n    \"checkRegex\": \"^/ticket\\\\-order/detail/(?<orderNo>[^/]+)/transfer/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-private-collection-id\",\n    \"checkRegex\": \"^(?:/content)?/private/collection/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-consulting-id\",\n    \"checkRegex\": \"^(?:/content)?/space/consulting/(?<consultingId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-coupon-id\",\n    \"checkRegex\": \"^(?:/content)?/space/coupon/(?<seasonId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-like-item-id\",\n    \"checkRegex\": \"^(?:/content)?/space/like\\\\-item/(?<itemNo>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-limited-order-event-id\",\n    \"checkRegex\": \"^(?:/content)?/space/limited\\\\-order\\\\-event/(?<eventId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-sample-sale-id\",\n    \"checkRegex\": \"^(?:/content)?/space/sample\\\\-sale/(?<exhibitionId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-voucher-id\",\n    \"checkRegex\": \"^(?:/content)?/space/voucher/(?<seasonId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-app-tech-card-game-id\",\n    \"checkRegex\": \"^/app\\\\-tech/card\\\\-game/(?<appTechId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-category-id-recommendation\",\n    \"checkRegex\": \"^/category/(?<categoryLargeCode>[^/]+)/recommendation/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-category-tab-id-preview\",\n    \"checkRegex\": \"^/category\\\\-tab/(?<categoryLargeCode>[^/]+)/preview/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-preuser-event-id\",\n    \"checkRegex\": \"^/preuser/event/(?<eventKey>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-products-id-images\",\n    \"checkRegex\": \"^/products/(?<id>[^/]+)/images/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-products-id-related-items\",\n    \"checkRegex\": \"^/products/(?<id>[^/]+)/related\\\\-items/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-products-id-related-living-items\",\n    \"checkRegex\": \"^/products/(?<id>[^/]+)/related\\\\-living\\\\-items/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-products-id-related-purchase-items\",\n    \"checkRegex\": \"^/products/(?<id>[^/]+)/related\\\\-purchase\\\\-items/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-products-id-similar-image-items\",\n    \"checkRegex\": \"^/products/(?<id>[^/]+)/similar\\\\-image\\\\-items/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-space-products-id\",\n    \"checkRegex\": \"^/space/products/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-mypage-preuser-id\",\n    \"checkRegex\": \"^/my\\\\-page/preuser/(?<applicantKey>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-confirmed-id\",\n    \"checkRegex\": \"^/order/confirmed/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-order-gift-id\",\n    \"checkRegex\": \"^/order/gift/(?<token>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-product-booking-id\",\n    \"checkRegex\": \"^/product/booking/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-product-catalog-id\",\n    \"checkRegex\": \"^/product/catalog/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-product-product-id\",\n    \"checkRegex\": \"^/product/product/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-shop-push-sale-id\",\n    \"checkRegex\": \"^/store/push\\\\-sale/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-catalog-id-payment-related-products-list\",\n    \"checkRegex\": \"^/catalog/(?<id>[^/]+)/payment\\\\-related\\\\-products\\\\-list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-catalog-id-session\",\n    \"checkRegex\": \"^/catalog/(?<id>[^/]+)/session/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-catalog-id-similar-products-list\",\n    \"checkRegex\": \"^/catalog/(?<id>[^/]+)/similar\\\\-products\\\\-list/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-mobile-ticket-list-id\",\n    \"checkRegex\": \"^/mobile\\\\-ticket/list/(?<no>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-my-order-cancel-detail-id\",\n    \"checkRegex\": \"^/my\\\\-order/cancel\\\\-detail/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-my-order-cancel-id\",\n    \"checkRegex\": \"^/my\\\\-order/cancel/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-my-order-detail-id\",\n    \"checkRegex\": \"^/my\\\\-order/detail/(?<orderNo>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-ticket-order-cancel-detail-id\",\n    \"checkRegex\": \"^/ticket\\\\-order/cancel\\\\-detail/(?<orderNo>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-ticket-order-detail-id\",\n    \"checkRegex\": \"^/ticket\\\\-order/detail/(?<orderNo>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-app29cm-id\",\n    \"checkRegex\": \"^/app29cm/(?<android>.+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-auth-update-verification-id\",\n    \"checkRegex\": \"^/update\\\\-verification/(?<updateLinkKey>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-coupon-collection-id\",\n    \"checkRegex\": \"^(?:/content)?/coupon\\\\-collection/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-curation-id\",\n    \"checkRegex\": \"^(?:/content)?/curation/(?<category>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-plcc-id\",\n    \"checkRegex\": \"^(?:/content)?/plcc/(?<id>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-post-id\",\n    \"checkRegex\": \"^(?:/content)?/post/(?<postNo>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-content-space-id\",\n    \"checkRegex\": \"^(?:/content)?/space/(?<spaceId>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-home-category-tab-id\",\n    \"checkRegex\": \"^/category\\\\-tab/(?<categoryLargeCode>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-checkout-id\",\n    \"checkRegex\": \"^/checkout/(?<orderNo>[^/]+)/?$\"\n  },\n  {\n    \"screenId\": \"29cm-ticket-confirmed-id\",\n    \"checkRegex\": \"^/confirmed/(?<orderNo>[^/]+)/?$\"\n  }\n];\nexport {\n  screens as default\n};\n","import { init as Ir } from \"../node_modules/@beacon/sdk-browser/dist/index.js\";\nimport { screenFromRegistry as C } from \"../node_modules/@beacon/sdk-browser/dist/screenRegistry/index.js\";\nimport screens from \"../node_modules/@musinsa/screen-registry/dist/29cm/web.js\";\nimport { env } from \"../config/index.js\";\nimport \"../hooks/stores/content/content.store.js\";\nimport { isStageOrigin } from \"../utils/location.js\";\nimport \"../utils/event-properties/source.js\";\nimport { isCanvas } from \"../utils/framer/isCanvas.js\";\nimport { isFramerPreview } from \"../utils/framer/isFramerPreview.js\";\nimport \"react\";\nimport { isServer } from \"../utils/context.js\";\nconst BEACON_PROJECT_ID = \"29cm-framer-web\";\nconst NOISE_PATTERNS = [\n  // NOTE: 다른 도메인 스크립트 에러 — 브라우저가 스택 · 메시지를 가림\n  {\n    id: \"cross-origin-script-error\",\n    pattern: /^Script error\\.?$/\n  },\n  // NOTE: 앱 전환 · 화면 꺼짐 시 Firebase IndexedDB · Analytics 요청 중단\n  {\n    id: \"abort-error\",\n    pattern: /^AbortError$/\n  },\n  // NOTE: 인앱 브라우저 백그라운드 전환 시 IndexedDB 오류\n  {\n    id: \"idb-database-deleted\",\n    pattern: /^Database deleted by request of the user$/\n  },\n  {\n    id: \"idb-internal-error\",\n    pattern: /^An internal error was encountered in the Indexed Database server$/\n  },\n  {\n    id: \"idb-connection-closing\",\n    pattern: /The database connection is closing\\.$/\n  },\n  {\n    id: \"idb-delete-range\",\n    pattern: /^Attempt to delete range from database without an in-progress transaction$/\n  },\n  // NOTE: 브라우저 경고성 에러\n  {\n    id: \"resize-observer-loop\",\n    pattern: /^ResizeObserver loop (completed with undelivered notifications|limit exceeded)\\.?$/\n  },\n  // NOTE: 유저가 공유 시트를 닫음\n  {\n    id: \"web-share-cancel\",\n    pattern: /^(Abort due to cancellation of share\\.|Share canceled|Internal error: could not connect to Web Share interface\\.)$/\n  },\n  // NOTE: 인앱 브리지 · 확장 프로그램 · 크로스오리진\n  {\n    id: \"postmessage-clone\",\n    pattern: /could not be cloned\\.$/\n  },\n  {\n    id: \"android-bridge-gone\",\n    pattern: /^Error invoking postMessage: Java object is gone$/\n  },\n  {\n    id: \"injected-wallet-webkit\",\n    pattern: /window\\.ethereum|window\\.webkit\\.messageHandlers/\n  },\n  {\n    id: \"injected-extension-messaging\",\n    pattern: /^Cannot read properties of undefined \\(reading '(onMessage|sendMessage)'\\)$/\n  },\n  {\n    id: \"cross-origin-frame\",\n    pattern: /^Blocked a frame with origin .* from accessing a cross-origin frame/\n  },\n  {\n    id: \"operation-insecure\",\n    pattern: /^The operation is insecure\\.$/\n  },\n  {\n    id: \"firebase-installations-offline\",\n    pattern: /installations\\/app-offline/\n  }\n];\nconst dropUserScriptLoadFailed = (exception) => {\n  var _a;\n  const [first] = exception.exception.values;\n  const isUserScriptLoadFailed = (first == null ? void 0 : first.value) === \"Load failed\" && ((_a = first.raw_stacktrace) == null ? void 0 : _a.includes(\"@user-script:\")) === true;\n  return isUserScriptLoadFailed ? null : exception;\n};\nconst initBeacon = () => {\n  if (isServer()) {\n    return null;\n  }\n  if (!env.beacon.endpoint) {\n    return null;\n  }\n  if (isStageOrigin()) {\n    return null;\n  }\n  return Ir({\n    endpoint: env.beacon.endpoint,\n    projectId: BEACON_PROJECT_ID,\n    deployEnvironment: env.beacon.deployEnvironment,\n    // NOTE: Sentry 와 같은 가드 — 캔버스·프리뷰 신호 차단\n    enabled: !isFramerPreview() && !isCanvas(),\n    // NOTE: 미매칭 pathname 은 '__unmatched__'\n    screen: C(screens),\n    noisePatterns: NOISE_PATTERNS,\n    beforeSendException: dropUserScriptLoadFailed\n  });\n};\nexport {\n  initBeacon\n};\n","const DEBUG_BUILD = typeof __SENTRY_DEBUG__ === \"undefined\" || __SENTRY_DEBUG__;\nexport {\n  DEBUG_BUILD\n};\n","const objectToString = Object.prototype.toString;\nfunction isError(wat) {\n  switch (objectToString.call(wat)) {\n    case \"[object Error]\":\n    case \"[object Exception]\":\n    case \"[object DOMException]\":\n    case \"[object WebAssembly.Exception]\":\n      return true;\n    default:\n      return isInstanceOf(wat, Error);\n  }\n}\nfunction isBuiltin(wat, className) {\n  return objectToString.call(wat) === `[object ${className}]`;\n}\nfunction isErrorEvent(wat) {\n  return isBuiltin(wat, \"ErrorEvent\");\n}\nfunction isDOMError(wat) {\n  return isBuiltin(wat, \"DOMError\");\n}\nfunction isDOMException(wat) {\n  return isBuiltin(wat, \"DOMException\");\n}\nfunction isString(wat) {\n  return isBuiltin(wat, \"String\");\n}\nfunction isParameterizedString(wat) {\n  return typeof wat === \"object\" && wat !== null && \"__sentry_template_string__\" in wat && \"__sentry_template_values__\" in wat;\n}\nfunction isPrimitive(wat) {\n  return wat === null || isParameterizedString(wat) || typeof wat !== \"object\" && typeof wat !== \"function\";\n}\nfunction isPlainObject(wat) {\n  return isBuiltin(wat, \"Object\");\n}\nfunction isEvent(wat) {\n  return typeof Event !== \"undefined\" && isInstanceOf(wat, Event);\n}\nfunction isElement(wat) {\n  return typeof Element !== \"undefined\" && isInstanceOf(wat, Element);\n}\nfunction isRegExp(wat) {\n  return isBuiltin(wat, \"RegExp\");\n}\nfunction isThenable(wat) {\n  return Boolean((wat == null ? void 0 : wat.then) && typeof wat.then === \"function\");\n}\nfunction isSyntheticEvent(wat) {\n  return isPlainObject(wat) && \"nativeEvent\" in wat && \"preventDefault\" in wat && \"stopPropagation\" in wat;\n}\nfunction isInstanceOf(wat, base) {\n  try {\n    return wat instanceof base;\n  } catch (_e) {\n    return false;\n  }\n}\nfunction isVueViewModel(wat) {\n  return !!(typeof wat === \"object\" && wat !== null && (wat.__isVue || wat._isVue));\n}\nfunction isRequest(request) {\n  return typeof Request !== \"undefined\" && isInstanceOf(request, Request);\n}\nexport {\n  isDOMError,\n  isDOMException,\n  isElement,\n  isError,\n  isErrorEvent,\n  isEvent,\n  isInstanceOf,\n  isParameterizedString,\n  isPlainObject,\n  isPrimitive,\n  isRegExp,\n  isRequest,\n  isString,\n  isSyntheticEvent,\n  isThenable,\n  isVueViewModel\n};\n","const GLOBAL_OBJ = globalThis;\nexport {\n  GLOBAL_OBJ\n};\n","import { isString } from \"./is.js\";\nimport { GLOBAL_OBJ } from \"./worldwide.js\";\nconst WINDOW = GLOBAL_OBJ;\nconst DEFAULT_MAX_STRING_LENGTH = 80;\nfunction htmlTreeAsString(elem, options = {}) {\n  if (!elem) {\n    return \"<unknown>\";\n  }\n  try {\n    let currentElem = elem;\n    const MAX_TRAVERSE_HEIGHT = 5;\n    const out = [];\n    let height = 0;\n    let len = 0;\n    const separator = \" > \";\n    const sepLength = separator.length;\n    let nextStr;\n    const keyAttrs = Array.isArray(options) ? options : options.keyAttrs;\n    const maxStringLength = !Array.isArray(options) && options.maxStringLength || DEFAULT_MAX_STRING_LENGTH;\n    while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {\n      nextStr = _htmlElementAsString(currentElem, keyAttrs);\n      if (nextStr === \"html\" || height > 1 && len + out.length * sepLength + nextStr.length >= maxStringLength) {\n        break;\n      }\n      out.push(nextStr);\n      len += nextStr.length;\n      currentElem = currentElem.parentNode;\n    }\n    return out.reverse().join(separator);\n  } catch (_oO) {\n    return \"<unknown>\";\n  }\n}\nfunction _htmlElementAsString(el, keyAttrs) {\n  const elem = el;\n  const out = [];\n  if (!(elem == null ? void 0 : elem.tagName)) {\n    return \"\";\n  }\n  if (WINDOW.HTMLElement) {\n    if (elem instanceof HTMLElement && elem.dataset) {\n      if (elem.dataset[\"sentryComponent\"]) {\n        return elem.dataset[\"sentryComponent\"];\n      }\n      if (elem.dataset[\"sentryElement\"]) {\n        return elem.dataset[\"sentryElement\"];\n      }\n    }\n  }\n  out.push(elem.tagName.toLowerCase());\n  const keyAttrPairs = (keyAttrs == null ? void 0 : keyAttrs.length) ? keyAttrs.filter((keyAttr) => elem.getAttribute(keyAttr)).map((keyAttr) => [keyAttr, elem.getAttribute(keyAttr)]) : null;\n  if (keyAttrPairs == null ? void 0 : keyAttrPairs.length) {\n    keyAttrPairs.forEach((keyAttrPair) => {\n      out.push(`[${keyAttrPair[0]}=\"${keyAttrPair[1]}\"]`);\n    });\n  } else {\n    if (elem.id) {\n      out.push(`#${elem.id}`);\n    }\n    const className = elem.className;\n    if (className && isString(className)) {\n      const classes = className.split(/\\s+/);\n      for (const c of classes) {\n        out.push(`.${c}`);\n      }\n    }\n  }\n  const allowedAttrs = [\"aria-label\", \"type\", \"name\", \"title\", \"alt\"];\n  for (const k of allowedAttrs) {\n    const attr = elem.getAttribute(k);\n    if (attr) {\n      out.push(`[${k}=\"${attr}\"]`);\n    }\n  }\n  return out.join(\"\");\n}\nfunction getLocationHref() {\n  try {\n    return WINDOW.document.location.href;\n  } catch (oO) {\n    return \"\";\n  }\n}\nfunction getComponentName(elem) {\n  if (!WINDOW.HTMLElement) {\n    return null;\n  }\n  let currentElem = elem;\n  const MAX_TRAVERSE_HEIGHT = 5;\n  for (let i = 0; i < MAX_TRAVERSE_HEIGHT; i++) {\n    if (!currentElem) {\n      return null;\n    }\n    if (currentElem instanceof HTMLElement) {\n      if (currentElem.dataset[\"sentryComponent\"]) {\n        return currentElem.dataset[\"sentryComponent\"];\n      }\n      if (currentElem.dataset[\"sentryElement\"]) {\n        return currentElem.dataset[\"sentryElement\"];\n      }\n    }\n    currentElem = currentElem.parentNode;\n  }\n  return null;\n}\nexport {\n  getComponentName,\n  getLocationHref,\n  htmlTreeAsString\n};\n","const SDK_VERSION = \"9.19.0\";\nexport {\n  SDK_VERSION\n};\n","import { SDK_VERSION } from \"./utils-hoist/version.js\";\nimport { GLOBAL_OBJ } from \"./utils-hoist/worldwide.js\";\nfunction getMainCarrier() {\n  getSentryCarrier(GLOBAL_OBJ);\n  return GLOBAL_OBJ;\n}\nfunction getSentryCarrier(carrier) {\n  const __SENTRY__ = carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n  __SENTRY__.version = __SENTRY__.version || SDK_VERSION;\n  return __SENTRY__[SDK_VERSION] = __SENTRY__[SDK_VERSION] || {};\n}\nfunction getGlobalSingleton(name, creator, obj = GLOBAL_OBJ) {\n  const __SENTRY__ = obj.__SENTRY__ = obj.__SENTRY__ || {};\n  const carrier = __SENTRY__[SDK_VERSION] = __SENTRY__[SDK_VERSION] || {};\n  return carrier[name] || (carrier[name] = creator());\n}\nexport {\n  getGlobalSingleton,\n  getMainCarrier,\n  getSentryCarrier\n};\n","import { getGlobalSingleton } from \"../carrier.js\";\nimport { DEBUG_BUILD } from \"../debug-build.js\";\nimport { GLOBAL_OBJ } from \"./worldwide.js\";\nconst PREFIX = \"Sentry Logger \";\nconst CONSOLE_LEVELS = [\n  \"debug\",\n  \"info\",\n  \"warn\",\n  \"error\",\n  \"log\",\n  \"assert\",\n  \"trace\"\n];\nconst originalConsoleMethods = {};\nfunction consoleSandbox(callback) {\n  if (!(\"console\" in GLOBAL_OBJ)) {\n    return callback();\n  }\n  const console = GLOBAL_OBJ.console;\n  const wrappedFuncs = {};\n  const wrappedLevels = Object.keys(originalConsoleMethods);\n  wrappedLevels.forEach((level) => {\n    const originalConsoleMethod = originalConsoleMethods[level];\n    wrappedFuncs[level] = console[level];\n    console[level] = originalConsoleMethod;\n  });\n  try {\n    return callback();\n  } finally {\n    wrappedLevels.forEach((level) => {\n      console[level] = wrappedFuncs[level];\n    });\n  }\n}\nfunction makeLogger() {\n  let enabled = false;\n  const logger2 = {\n    enable: () => {\n      enabled = true;\n    },\n    disable: () => {\n      enabled = false;\n    },\n    isEnabled: () => enabled\n  };\n  if (DEBUG_BUILD) {\n    CONSOLE_LEVELS.forEach((name) => {\n      logger2[name] = (...args) => {\n        if (enabled) {\n          consoleSandbox(() => {\n            GLOBAL_OBJ.console[name](`${PREFIX}[${name}]:`, ...args);\n          });\n        }\n      };\n    });\n  } else {\n    CONSOLE_LEVELS.forEach((name) => {\n      logger2[name] = () => void 0;\n    });\n  }\n  return logger2;\n}\nconst logger = getGlobalSingleton(\"logger\", makeLogger);\nexport {\n  CONSOLE_LEVELS,\n  consoleSandbox,\n  logger,\n  originalConsoleMethods\n};\n","import { isString, isRegExp, isVueViewModel } from \"./is.js\";\nfunction truncate(str, max = 0) {\n  if (typeof str !== \"string\" || max === 0) {\n    return str;\n  }\n  return str.length <= max ? str : `${str.slice(0, max)}...`;\n}\nfunction safeJoin(input, delimiter) {\n  if (!Array.isArray(input)) {\n    return \"\";\n  }\n  const output = [];\n  for (let i = 0; i < input.length; i++) {\n    const value = input[i];\n    try {\n      if (isVueViewModel(value)) {\n        output.push(\"[VueViewModel]\");\n      } else {\n        output.push(String(value));\n      }\n    } catch (e) {\n      output.push(\"[value cannot be serialized]\");\n    }\n  }\n  return output.join(delimiter);\n}\nfunction isMatchingPattern(value, pattern, requireExactStringMatch = false) {\n  if (!isString(value)) {\n    return false;\n  }\n  if (isRegExp(pattern)) {\n    return pattern.test(value);\n  }\n  if (isString(pattern)) {\n    return requireExactStringMatch ? value === pattern : value.includes(pattern);\n  }\n  return false;\n}\nfunction stringMatchesSomePattern(testString, patterns = [], requireExactStringMatch = false) {\n  return patterns.some((pattern) => isMatchingPattern(testString, pattern, requireExactStringMatch));\n}\nexport {\n  isMatchingPattern,\n  safeJoin,\n  stringMatchesSomePattern,\n  truncate\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { htmlTreeAsString } from \"./browser.js\";\nimport { isError, isEvent, isInstanceOf, isElement } from \"./is.js\";\nimport { logger } from \"./logger.js\";\nimport { truncate } from \"./string.js\";\nfunction fill(source, name, replacementFactory) {\n  if (!(name in source)) {\n    return;\n  }\n  const original = source[name];\n  if (typeof original !== \"function\") {\n    return;\n  }\n  const wrapped = replacementFactory(original);\n  if (typeof wrapped === \"function\") {\n    markFunctionWrapped(wrapped, original);\n  }\n  try {\n    source[name] = wrapped;\n  } catch {\n    DEBUG_BUILD && logger.log(`Failed to replace method \"${name}\" in object`, source);\n  }\n}\nfunction addNonEnumerableProperty(obj, name, value) {\n  try {\n    Object.defineProperty(obj, name, {\n      // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n      value,\n      writable: true,\n      configurable: true\n    });\n  } catch (o_O) {\n    DEBUG_BUILD && logger.log(`Failed to add non-enumerable property \"${name}\" to object`, obj);\n  }\n}\nfunction markFunctionWrapped(wrapped, original) {\n  try {\n    const proto = original.prototype || {};\n    wrapped.prototype = original.prototype = proto;\n    addNonEnumerableProperty(wrapped, \"__sentry_original__\", original);\n  } catch (o_O) {\n  }\n}\nfunction getOriginalFunction(func) {\n  return func.__sentry_original__;\n}\nfunction convertToPlainObject(value) {\n  if (isError(value)) {\n    return {\n      message: value.message,\n      name: value.name,\n      stack: value.stack,\n      ...getOwnProperties(value)\n    };\n  } else if (isEvent(value)) {\n    const newObj = {\n      type: value.type,\n      target: serializeEventTarget(value.target),\n      currentTarget: serializeEventTarget(value.currentTarget),\n      ...getOwnProperties(value)\n    };\n    if (typeof CustomEvent !== \"undefined\" && isInstanceOf(value, CustomEvent)) {\n      newObj.detail = value.detail;\n    }\n    return newObj;\n  } else {\n    return value;\n  }\n}\nfunction serializeEventTarget(target) {\n  try {\n    return isElement(target) ? htmlTreeAsString(target) : Object.prototype.toString.call(target);\n  } catch (_oO) {\n    return \"<unknown>\";\n  }\n}\nfunction getOwnProperties(obj) {\n  if (typeof obj === \"object\" && obj !== null) {\n    const extractedProps = {};\n    for (const property in obj) {\n      if (Object.prototype.hasOwnProperty.call(obj, property)) {\n        extractedProps[property] = obj[property];\n      }\n    }\n    return extractedProps;\n  } else {\n    return {};\n  }\n}\nfunction extractExceptionKeysForMessage(exception, maxLength = 40) {\n  const keys = Object.keys(convertToPlainObject(exception));\n  keys.sort();\n  const firstKey = keys[0];\n  if (!firstKey) {\n    return \"[object has no keys]\";\n  }\n  if (firstKey.length >= maxLength) {\n    return truncate(firstKey, maxLength);\n  }\n  for (let includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n    const serialized = keys.slice(0, includedKeys).join(\", \");\n    if (serialized.length > maxLength) {\n      continue;\n    }\n    if (includedKeys === keys.length) {\n      return serialized;\n    }\n    return truncate(serialized, maxLength);\n  }\n  return \"\";\n}\nexport {\n  addNonEnumerableProperty,\n  convertToPlainObject,\n  extractExceptionKeysForMessage,\n  fill,\n  getOriginalFunction,\n  markFunctionWrapped\n};\n","import { addNonEnumerableProperty } from \"./object.js\";\nimport { GLOBAL_OBJ } from \"./worldwide.js\";\nfunction getCrypto() {\n  const gbl = GLOBAL_OBJ;\n  return gbl.crypto || gbl.msCrypto;\n}\nfunction uuid4(crypto = getCrypto()) {\n  let getRandomByte = () => Math.random() * 16;\n  try {\n    if (crypto == null ? void 0 : crypto.randomUUID) {\n      return crypto.randomUUID().replace(/-/g, \"\");\n    }\n    if (crypto == null ? void 0 : crypto.getRandomValues) {\n      getRandomByte = () => {\n        const typedArray = new Uint8Array(1);\n        crypto.getRandomValues(typedArray);\n        return typedArray[0];\n      };\n    }\n  } catch (_) {\n  }\n  return (\"10000000100040008000\" + 1e11).replace(\n    /[018]/g,\n    (c) => (\n      // eslint-disable-next-line no-bitwise\n      (c ^ (getRandomByte() & 15) >> c / 4).toString(16)\n    )\n  );\n}\nfunction getFirstException(event) {\n  var _a, _b;\n  return (_b = (_a = event.exception) == null ? void 0 : _a.values) == null ? void 0 : _b[0];\n}\nfunction getEventDescription(event) {\n  const { message, event_id: eventId } = event;\n  if (message) {\n    return message;\n  }\n  const firstException = getFirstException(event);\n  if (firstException) {\n    if (firstException.type && firstException.value) {\n      return `${firstException.type}: ${firstException.value}`;\n    }\n    return firstException.type || firstException.value || eventId || \"<unknown>\";\n  }\n  return eventId || \"<unknown>\";\n}\nfunction addExceptionTypeValue(event, value, type) {\n  const exception = event.exception = event.exception || {};\n  const values = exception.values = exception.values || [];\n  const firstException = values[0] = values[0] || {};\n  if (!firstException.value) {\n    firstException.value = value || \"\";\n  }\n  if (!firstException.type) {\n    firstException.type = type || \"Error\";\n  }\n}\nfunction addExceptionMechanism(event, newMechanism) {\n  const firstException = getFirstException(event);\n  if (!firstException) {\n    return;\n  }\n  const defaultMechanism = { type: \"generic\", handled: true };\n  const currentMechanism = firstException.mechanism;\n  firstException.mechanism = { ...defaultMechanism, ...currentMechanism, ...newMechanism };\n  if (newMechanism && \"data\" in newMechanism) {\n    const mergedData = { ...currentMechanism == null ? void 0 : currentMechanism.data, ...newMechanism.data };\n    firstException.mechanism.data = mergedData;\n  }\n}\nfunction checkOrSetAlreadyCaught(exception) {\n  if (isAlreadyCaptured(exception)) {\n    return true;\n  }\n  try {\n    addNonEnumerableProperty(exception, \"__sentry_captured__\", true);\n  } catch (err) {\n  }\n  return false;\n}\nfunction isAlreadyCaptured(exception) {\n  try {\n    return exception.__sentry_captured__;\n  } catch {\n  }\n}\nexport {\n  addExceptionMechanism,\n  addExceptionTypeValue,\n  checkOrSetAlreadyCaught,\n  getEventDescription,\n  uuid4\n};\n","import { isThenable } from \"./is.js\";\nvar States;\n(function(States2) {\n  const PENDING = 0;\n  States2[States2[\"PENDING\"] = PENDING] = \"PENDING\";\n  const RESOLVED = 1;\n  States2[States2[\"RESOLVED\"] = RESOLVED] = \"RESOLVED\";\n  const REJECTED = 2;\n  States2[States2[\"REJECTED\"] = REJECTED] = \"REJECTED\";\n})(States || (States = {}));\nfunction resolvedSyncPromise(value) {\n  return new SyncPromise((resolve) => {\n    resolve(value);\n  });\n}\nfunction rejectedSyncPromise(reason) {\n  return new SyncPromise((_, reject) => {\n    reject(reason);\n  });\n}\nclass SyncPromise {\n  constructor(executor) {\n    this._state = States.PENDING;\n    this._handlers = [];\n    this._runExecutor(executor);\n  }\n  /** @inheritdoc */\n  then(onfulfilled, onrejected) {\n    return new SyncPromise((resolve, reject) => {\n      this._handlers.push([\n        false,\n        (result) => {\n          if (!onfulfilled) {\n            resolve(result);\n          } else {\n            try {\n              resolve(onfulfilled(result));\n            } catch (e) {\n              reject(e);\n            }\n          }\n        },\n        (reason) => {\n          if (!onrejected) {\n            reject(reason);\n          } else {\n            try {\n              resolve(onrejected(reason));\n            } catch (e) {\n              reject(e);\n            }\n          }\n        }\n      ]);\n      this._executeHandlers();\n    });\n  }\n  /** @inheritdoc */\n  catch(onrejected) {\n    return this.then((val) => val, onrejected);\n  }\n  /** @inheritdoc */\n  finally(onfinally) {\n    return new SyncPromise((resolve, reject) => {\n      let val;\n      let isRejected;\n      return this.then(\n        (value) => {\n          isRejected = false;\n          val = value;\n          if (onfinally) {\n            onfinally();\n          }\n        },\n        (reason) => {\n          isRejected = true;\n          val = reason;\n          if (onfinally) {\n            onfinally();\n          }\n        }\n      ).then(() => {\n        if (isRejected) {\n          reject(val);\n          return;\n        }\n        resolve(val);\n      });\n    });\n  }\n  /** Excute the resolve/reject handlers. */\n  _executeHandlers() {\n    if (this._state === States.PENDING) {\n      return;\n    }\n    const cachedHandlers = this._handlers.slice();\n    this._handlers = [];\n    cachedHandlers.forEach((handler) => {\n      if (handler[0]) {\n        return;\n      }\n      if (this._state === States.RESOLVED) {\n        handler[1](this._value);\n      }\n      if (this._state === States.REJECTED) {\n        handler[2](this._value);\n      }\n      handler[0] = true;\n    });\n  }\n  /** Run the executor for the SyncPromise. */\n  _runExecutor(executor) {\n    const setResult = (state, value) => {\n      if (this._state !== States.PENDING) {\n        return;\n      }\n      if (isThenable(value)) {\n        void value.then(resolve, reject);\n        return;\n      }\n      this._state = state;\n      this._value = value;\n      this._executeHandlers();\n    };\n    const resolve = (value) => {\n      setResult(States.RESOLVED, value);\n    };\n    const reject = (reason) => {\n      setResult(States.REJECTED, reason);\n    };\n    try {\n      executor(resolve, reject);\n    } catch (e) {\n      reject(e);\n    }\n  }\n}\nexport {\n  SyncPromise,\n  rejectedSyncPromise,\n  resolvedSyncPromise\n};\n","import { GLOBAL_OBJ } from \"./worldwide.js\";\nconst ONE_SECOND_IN_MS = 1e3;\nfunction dateTimestampInSeconds() {\n  return Date.now() / ONE_SECOND_IN_MS;\n}\nfunction createUnixTimestampInSecondsFunc() {\n  const { performance } = GLOBAL_OBJ;\n  if (!(performance == null ? void 0 : performance.now)) {\n    return dateTimestampInSeconds;\n  }\n  const approxStartingTimeOrigin = Date.now() - performance.now();\n  const timeOrigin = performance.timeOrigin == void 0 ? approxStartingTimeOrigin : performance.timeOrigin;\n  return () => {\n    return (timeOrigin + performance.now()) / ONE_SECOND_IN_MS;\n  };\n}\nconst timestampInSeconds = createUnixTimestampInSecondsFunc();\nlet cachedTimeOrigin;\nfunction getBrowserTimeOrigin() {\n  var _a;\n  const { performance } = GLOBAL_OBJ;\n  if (!(performance == null ? void 0 : performance.now)) {\n    return [void 0, \"none\"];\n  }\n  const threshold = 3600 * 1e3;\n  const performanceNow = performance.now();\n  const dateNow = Date.now();\n  const timeOriginDelta = performance.timeOrigin ? Math.abs(performance.timeOrigin + performanceNow - dateNow) : threshold;\n  const timeOriginIsReliable = timeOriginDelta < threshold;\n  const navigationStart = (_a = performance.timing) == null ? void 0 : _a.navigationStart;\n  const hasNavigationStart = typeof navigationStart === \"number\";\n  const navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n  const navigationStartIsReliable = navigationStartDelta < threshold;\n  if (timeOriginIsReliable || navigationStartIsReliable) {\n    if (timeOriginDelta <= navigationStartDelta) {\n      return [performance.timeOrigin, \"timeOrigin\"];\n    } else {\n      return [navigationStart, \"navigationStart\"];\n    }\n  }\n  return [dateNow, \"dateNow\"];\n}\nfunction browserPerformanceTimeOrigin() {\n  if (!cachedTimeOrigin) {\n    cachedTimeOrigin = getBrowserTimeOrigin();\n  }\n  return cachedTimeOrigin[0];\n}\nexport {\n  browserPerformanceTimeOrigin,\n  dateTimestampInSeconds,\n  timestampInSeconds\n};\n","import { uuid4 } from \"./utils-hoist/misc.js\";\nimport { timestampInSeconds } from \"./utils-hoist/time.js\";\nfunction makeSession(context) {\n  const startingTime = timestampInSeconds();\n  const session = {\n    sid: uuid4(),\n    init: true,\n    timestamp: startingTime,\n    started: startingTime,\n    duration: 0,\n    status: \"ok\",\n    errors: 0,\n    ignoreDuration: false,\n    toJSON: () => sessionToJSON(session)\n  };\n  if (context) {\n    updateSession(session, context);\n  }\n  return session;\n}\nfunction updateSession(session, context = {}) {\n  if (context.user) {\n    if (!session.ipAddress && context.user.ip_address) {\n      session.ipAddress = context.user.ip_address;\n    }\n    if (!session.did && !context.did) {\n      session.did = context.user.id || context.user.email || context.user.username;\n    }\n  }\n  session.timestamp = context.timestamp || timestampInSeconds();\n  if (context.abnormal_mechanism) {\n    session.abnormal_mechanism = context.abnormal_mechanism;\n  }\n  if (context.ignoreDuration) {\n    session.ignoreDuration = context.ignoreDuration;\n  }\n  if (context.sid) {\n    session.sid = context.sid.length === 32 ? context.sid : uuid4();\n  }\n  if (context.init !== void 0) {\n    session.init = context.init;\n  }\n  if (!session.did && context.did) {\n    session.did = `${context.did}`;\n  }\n  if (typeof context.started === \"number\") {\n    session.started = context.started;\n  }\n  if (session.ignoreDuration) {\n    session.duration = void 0;\n  } else if (typeof context.duration === \"number\") {\n    session.duration = context.duration;\n  } else {\n    const duration = session.timestamp - session.started;\n    session.duration = duration >= 0 ? duration : 0;\n  }\n  if (context.release) {\n    session.release = context.release;\n  }\n  if (context.environment) {\n    session.environment = context.environment;\n  }\n  if (!session.ipAddress && context.ipAddress) {\n    session.ipAddress = context.ipAddress;\n  }\n  if (!session.userAgent && context.userAgent) {\n    session.userAgent = context.userAgent;\n  }\n  if (typeof context.errors === \"number\") {\n    session.errors = context.errors;\n  }\n  if (context.status) {\n    session.status = context.status;\n  }\n}\nfunction closeSession(session, status) {\n  let context = {};\n  if (status) {\n    context = { status };\n  } else if (session.status === \"ok\") {\n    context = { status: \"exited\" };\n  }\n  updateSession(session, context);\n}\nfunction sessionToJSON(session) {\n  return {\n    sid: `${session.sid}`,\n    init: session.init,\n    // Make sure that sec is converted to ms for date constructor\n    started: new Date(session.started * 1e3).toISOString(),\n    timestamp: new Date(session.timestamp * 1e3).toISOString(),\n    status: session.status,\n    errors: session.errors,\n    did: typeof session.did === \"number\" || typeof session.did === \"string\" ? `${session.did}` : void 0,\n    duration: session.duration,\n    abnormal_mechanism: session.abnormal_mechanism,\n    attrs: {\n      release: session.release,\n      environment: session.environment,\n      ip_address: session.ipAddress,\n      user_agent: session.userAgent\n    }\n  };\n}\nexport {\n  closeSession,\n  makeSession,\n  updateSession\n};\n","function merge(initialObj, mergeObj, levels = 2) {\n  if (!mergeObj || typeof mergeObj !== \"object\" || levels <= 0) {\n    return mergeObj;\n  }\n  if (initialObj && Object.keys(mergeObj).length === 0) {\n    return initialObj;\n  }\n  const output = { ...initialObj };\n  for (const key in mergeObj) {\n    if (Object.prototype.hasOwnProperty.call(mergeObj, key)) {\n      output[key] = merge(output[key], mergeObj[key], levels - 1);\n    }\n  }\n  return output;\n}\nexport {\n  merge\n};\n","import { addNonEnumerableProperty } from \"../utils-hoist/object.js\";\nconst SCOPE_SPAN_FIELD = \"_sentrySpan\";\nfunction _setSpanForScope(scope, span) {\n  if (span) {\n    addNonEnumerableProperty(scope, SCOPE_SPAN_FIELD, span);\n  } else {\n    delete scope[SCOPE_SPAN_FIELD];\n  }\n}\nfunction _getSpanForScope(scope) {\n  return scope[SCOPE_SPAN_FIELD];\n}\nexport {\n  _getSpanForScope,\n  _setSpanForScope\n};\n","import { uuid4 } from \"./misc.js\";\nfunction generateTraceId() {\n  return uuid4();\n}\nfunction generateSpanId() {\n  return uuid4().substring(16);\n}\nexport {\n  generateSpanId,\n  generateTraceId\n};\n","import { updateSession } from \"./session.js\";\nimport { merge } from \"./utils/merge.js\";\nimport { _setSpanForScope, _getSpanForScope } from \"./utils/spanOnScope.js\";\nimport { isPlainObject } from \"./utils-hoist/is.js\";\nimport { logger } from \"./utils-hoist/logger.js\";\nimport { uuid4 } from \"./utils-hoist/misc.js\";\nimport { generateTraceId } from \"./utils-hoist/propagationContext.js\";\nimport { truncate } from \"./utils-hoist/string.js\";\nimport { dateTimestampInSeconds } from \"./utils-hoist/time.js\";\nconst DEFAULT_MAX_BREADCRUMBS = 100;\nclass Scope {\n  /** Flag if notifying is happening. */\n  /** Callback for client to receive scope changes. */\n  /** Callback list that will be called during event processing. */\n  /** Array of breadcrumbs. */\n  /** User */\n  /** Tags */\n  /** Extra */\n  /** Contexts */\n  /** Attachments */\n  /** Propagation Context for distributed tracing */\n  /**\n   * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n   * sent to Sentry\n   */\n  /** Fingerprint */\n  /** Severity */\n  /**\n   * Transaction Name\n   *\n   * IMPORTANT: The transaction name on the scope has nothing to do with root spans/transaction objects.\n   * It's purpose is to assign a transaction to the scope that's added to non-transaction events.\n   */\n  /** Session */\n  /** The client on this scope */\n  /** Contains the last event id of a captured event.  */\n  // NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.\n  constructor() {\n    this._notifyingListeners = false;\n    this._scopeListeners = [];\n    this._eventProcessors = [];\n    this._breadcrumbs = [];\n    this._attachments = [];\n    this._user = {};\n    this._tags = {};\n    this._extra = {};\n    this._contexts = {};\n    this._sdkProcessingMetadata = {};\n    this._propagationContext = {\n      traceId: generateTraceId(),\n      sampleRand: Math.random()\n    };\n  }\n  /**\n   * Clone all data from this scope into a new scope.\n   */\n  clone() {\n    const newScope = new Scope();\n    newScope._breadcrumbs = [...this._breadcrumbs];\n    newScope._tags = { ...this._tags };\n    newScope._extra = { ...this._extra };\n    newScope._contexts = { ...this._contexts };\n    if (this._contexts.flags) {\n      newScope._contexts.flags = {\n        values: [...this._contexts.flags.values]\n      };\n    }\n    newScope._user = this._user;\n    newScope._level = this._level;\n    newScope._session = this._session;\n    newScope._transactionName = this._transactionName;\n    newScope._fingerprint = this._fingerprint;\n    newScope._eventProcessors = [...this._eventProcessors];\n    newScope._attachments = [...this._attachments];\n    newScope._sdkProcessingMetadata = { ...this._sdkProcessingMetadata };\n    newScope._propagationContext = { ...this._propagationContext };\n    newScope._client = this._client;\n    newScope._lastEventId = this._lastEventId;\n    _setSpanForScope(newScope, _getSpanForScope(this));\n    return newScope;\n  }\n  /**\n   * Update the client assigned to this scope.\n   * Note that not every scope will have a client assigned - isolation scopes & the global scope will generally not have a client,\n   * as well as manually created scopes.\n   */\n  setClient(client) {\n    this._client = client;\n  }\n  /**\n   * Set the ID of the last captured error event.\n   * This is generally only captured on the isolation scope.\n   */\n  setLastEventId(lastEventId) {\n    this._lastEventId = lastEventId;\n  }\n  /**\n   * Get the client assigned to this scope.\n   */\n  getClient() {\n    return this._client;\n  }\n  /**\n   * Get the ID of the last captured error event.\n   * This is generally only available on the isolation scope.\n   */\n  lastEventId() {\n    return this._lastEventId;\n  }\n  /**\n   * @inheritDoc\n   */\n  addScopeListener(callback) {\n    this._scopeListeners.push(callback);\n  }\n  /**\n   * Add an event processor that will be called before an event is sent.\n   */\n  addEventProcessor(callback) {\n    this._eventProcessors.push(callback);\n    return this;\n  }\n  /**\n   * Set the user for this scope.\n   * Set to `null` to unset the user.\n   */\n  setUser(user) {\n    this._user = user || {\n      email: void 0,\n      id: void 0,\n      ip_address: void 0,\n      username: void 0\n    };\n    if (this._session) {\n      updateSession(this._session, { user });\n    }\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Get the user from this scope.\n   */\n  getUser() {\n    return this._user;\n  }\n  /**\n   * Set an object that will be merged into existing tags on the scope,\n   * and will be sent as tags data with the event.\n   */\n  setTags(tags) {\n    this._tags = {\n      ...this._tags,\n      ...tags\n    };\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Set a single tag that will be sent as tags data with the event.\n   */\n  setTag(key, value) {\n    this._tags = { ...this._tags, [key]: value };\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Set an object that will be merged into existing extra on the scope,\n   * and will be sent as extra data with the event.\n   */\n  setExtras(extras) {\n    this._extra = {\n      ...this._extra,\n      ...extras\n    };\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Set a single key:value extra entry that will be sent as extra data with the event.\n   */\n  setExtra(key, extra) {\n    this._extra = { ...this._extra, [key]: extra };\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Sets the fingerprint on the scope to send with the events.\n   * @param {string[]} fingerprint Fingerprint to group events in Sentry.\n   */\n  setFingerprint(fingerprint) {\n    this._fingerprint = fingerprint;\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Sets the level on the scope for future events.\n   */\n  setLevel(level) {\n    this._level = level;\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Sets the transaction name on the scope so that the name of e.g. taken server route or\n   * the page location is attached to future events.\n   *\n   * IMPORTANT: Calling this function does NOT change the name of the currently active\n   * root span. If you want to change the name of the active root span, use\n   * `Sentry.updateSpanName(rootSpan, 'new name')` instead.\n   *\n   * By default, the SDK updates the scope's transaction name automatically on sensible\n   * occasions, such as a page navigation or when handling a new request on the server.\n   */\n  setTransactionName(name) {\n    this._transactionName = name;\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Sets context data with the given name.\n   * Data passed as context will be normalized. You can also pass `null` to unset the context.\n   * Note that context data will not be merged - calling `setContext` will overwrite an existing context with the same key.\n   */\n  setContext(key, context) {\n    if (context === null) {\n      delete this._contexts[key];\n    } else {\n      this._contexts[key] = context;\n    }\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Set the session for the scope.\n   */\n  setSession(session) {\n    if (!session) {\n      delete this._session;\n    } else {\n      this._session = session;\n    }\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Get the session from the scope.\n   */\n  getSession() {\n    return this._session;\n  }\n  /**\n   * Updates the scope with provided data. Can work in three variations:\n   * - plain object containing updatable attributes\n   * - Scope instance that'll extract the attributes from\n   * - callback function that'll receive the current scope as an argument and allow for modifications\n   */\n  update(captureContext) {\n    if (!captureContext) {\n      return this;\n    }\n    const scopeToMerge = typeof captureContext === \"function\" ? captureContext(this) : captureContext;\n    const scopeInstance = scopeToMerge instanceof Scope ? scopeToMerge.getScopeData() : isPlainObject(scopeToMerge) ? captureContext : void 0;\n    const { tags, extra, user, contexts, level, fingerprint = [], propagationContext } = scopeInstance || {};\n    this._tags = { ...this._tags, ...tags };\n    this._extra = { ...this._extra, ...extra };\n    this._contexts = { ...this._contexts, ...contexts };\n    if (user && Object.keys(user).length) {\n      this._user = user;\n    }\n    if (level) {\n      this._level = level;\n    }\n    if (fingerprint.length) {\n      this._fingerprint = fingerprint;\n    }\n    if (propagationContext) {\n      this._propagationContext = propagationContext;\n    }\n    return this;\n  }\n  /**\n   * Clears the current scope and resets its properties.\n   * Note: The client will not be cleared.\n   */\n  clear() {\n    this._breadcrumbs = [];\n    this._tags = {};\n    this._extra = {};\n    this._user = {};\n    this._contexts = {};\n    this._level = void 0;\n    this._transactionName = void 0;\n    this._fingerprint = void 0;\n    this._session = void 0;\n    _setSpanForScope(this, void 0);\n    this._attachments = [];\n    this.setPropagationContext({ traceId: generateTraceId(), sampleRand: Math.random() });\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Adds a breadcrumb to the scope.\n   * By default, the last 100 breadcrumbs are kept.\n   */\n  addBreadcrumb(breadcrumb, maxBreadcrumbs) {\n    var _a;\n    const maxCrumbs = typeof maxBreadcrumbs === \"number\" ? maxBreadcrumbs : DEFAULT_MAX_BREADCRUMBS;\n    if (maxCrumbs <= 0) {\n      return this;\n    }\n    const mergedBreadcrumb = {\n      timestamp: dateTimestampInSeconds(),\n      ...breadcrumb,\n      // Breadcrumb messages can theoretically be infinitely large and they're held in memory so we truncate them not to leak (too much) memory\n      message: breadcrumb.message ? truncate(breadcrumb.message, 2048) : breadcrumb.message\n    };\n    this._breadcrumbs.push(mergedBreadcrumb);\n    if (this._breadcrumbs.length > maxCrumbs) {\n      this._breadcrumbs = this._breadcrumbs.slice(-maxCrumbs);\n      (_a = this._client) == null ? void 0 : _a.recordDroppedEvent(\"buffer_overflow\", \"log_item\");\n    }\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Get the last breadcrumb of the scope.\n   */\n  getLastBreadcrumb() {\n    return this._breadcrumbs[this._breadcrumbs.length - 1];\n  }\n  /**\n   * Clear all breadcrumbs from the scope.\n   */\n  clearBreadcrumbs() {\n    this._breadcrumbs = [];\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Add an attachment to the scope.\n   */\n  addAttachment(attachment) {\n    this._attachments.push(attachment);\n    return this;\n  }\n  /**\n   * Clear all attachments from the scope.\n   */\n  clearAttachments() {\n    this._attachments = [];\n    return this;\n  }\n  /**\n   * Get the data of this scope, which should be applied to an event during processing.\n   */\n  getScopeData() {\n    return {\n      breadcrumbs: this._breadcrumbs,\n      attachments: this._attachments,\n      contexts: this._contexts,\n      tags: this._tags,\n      extra: this._extra,\n      user: this._user,\n      level: this._level,\n      fingerprint: this._fingerprint || [],\n      eventProcessors: this._eventProcessors,\n      propagationContext: this._propagationContext,\n      sdkProcessingMetadata: this._sdkProcessingMetadata,\n      transactionName: this._transactionName,\n      span: _getSpanForScope(this)\n    };\n  }\n  /**\n   * Add data which will be accessible during event processing but won't get sent to Sentry.\n   */\n  setSDKProcessingMetadata(newData) {\n    this._sdkProcessingMetadata = merge(this._sdkProcessingMetadata, newData, 2);\n    return this;\n  }\n  /**\n   * Add propagation context to the scope, used for distributed tracing\n   */\n  setPropagationContext(context) {\n    this._propagationContext = context;\n    return this;\n  }\n  /**\n   * Get propagation context from the scope, used for distributed tracing\n   */\n  getPropagationContext() {\n    return this._propagationContext;\n  }\n  /**\n   * Capture an exception for this scope.\n   *\n   * @returns {string} The id of the captured Sentry event.\n   */\n  captureException(exception, hint) {\n    const eventId = (hint == null ? void 0 : hint.event_id) || uuid4();\n    if (!this._client) {\n      logger.warn(\"No client configured on scope - will not capture exception!\");\n      return eventId;\n    }\n    const syntheticException = new Error(\"Sentry syntheticException\");\n    this._client.captureException(\n      exception,\n      {\n        originalException: exception,\n        syntheticException,\n        ...hint,\n        event_id: eventId\n      },\n      this\n    );\n    return eventId;\n  }\n  /**\n   * Capture a message for this scope.\n   *\n   * @returns {string} The id of the captured message.\n   */\n  captureMessage(message, level, hint) {\n    const eventId = (hint == null ? void 0 : hint.event_id) || uuid4();\n    if (!this._client) {\n      logger.warn(\"No client configured on scope - will not capture message!\");\n      return eventId;\n    }\n    const syntheticException = new Error(message);\n    this._client.captureMessage(\n      message,\n      level,\n      {\n        originalException: message,\n        syntheticException,\n        ...hint,\n        event_id: eventId\n      },\n      this\n    );\n    return eventId;\n  }\n  /**\n   * Capture a Sentry event for this scope.\n   *\n   * @returns {string} The id of the captured event.\n   */\n  captureEvent(event, hint) {\n    const eventId = (hint == null ? void 0 : hint.event_id) || uuid4();\n    if (!this._client) {\n      logger.warn(\"No client configured on scope - will not capture event!\");\n      return eventId;\n    }\n    this._client.captureEvent(event, { ...hint, event_id: eventId }, this);\n    return eventId;\n  }\n  /**\n   * This will be called on every set call.\n   */\n  _notifyScopeListeners() {\n    if (!this._notifyingListeners) {\n      this._notifyingListeners = true;\n      this._scopeListeners.forEach((callback) => {\n        callback(this);\n      });\n      this._notifyingListeners = false;\n    }\n  }\n}\nexport {\n  Scope\n};\n","import { getGlobalSingleton } from \"./carrier.js\";\nimport { Scope } from \"./scope.js\";\nfunction getDefaultCurrentScope() {\n  return getGlobalSingleton(\"defaultCurrentScope\", () => new Scope());\n}\nfunction getDefaultIsolationScope() {\n  return getGlobalSingleton(\"defaultIsolationScope\", () => new Scope());\n}\nexport {\n  getDefaultCurrentScope,\n  getDefaultIsolationScope\n};\n","import { getDefaultCurrentScope, getDefaultIsolationScope } from \"../defaultScopes.js\";\nimport { Scope } from \"../scope.js\";\nimport { isThenable } from \"../utils-hoist/is.js\";\nimport { getMainCarrier, getSentryCarrier } from \"../carrier.js\";\nclass AsyncContextStack {\n  constructor(scope, isolationScope) {\n    let assignedScope;\n    if (!scope) {\n      assignedScope = new Scope();\n    } else {\n      assignedScope = scope;\n    }\n    let assignedIsolationScope;\n    if (!isolationScope) {\n      assignedIsolationScope = new Scope();\n    } else {\n      assignedIsolationScope = isolationScope;\n    }\n    this._stack = [{ scope: assignedScope }];\n    this._isolationScope = assignedIsolationScope;\n  }\n  /**\n   * Fork a scope for the stack.\n   */\n  withScope(callback) {\n    const scope = this._pushScope();\n    let maybePromiseResult;\n    try {\n      maybePromiseResult = callback(scope);\n    } catch (e) {\n      this._popScope();\n      throw e;\n    }\n    if (isThenable(maybePromiseResult)) {\n      return maybePromiseResult.then(\n        (res) => {\n          this._popScope();\n          return res;\n        },\n        (e) => {\n          this._popScope();\n          throw e;\n        }\n      );\n    }\n    this._popScope();\n    return maybePromiseResult;\n  }\n  /**\n   * Get the client of the stack.\n   */\n  getClient() {\n    return this.getStackTop().client;\n  }\n  /**\n   * Returns the scope of the top stack.\n   */\n  getScope() {\n    return this.getStackTop().scope;\n  }\n  /**\n   * Get the isolation scope for the stack.\n   */\n  getIsolationScope() {\n    return this._isolationScope;\n  }\n  /**\n   * Returns the topmost scope layer in the order domain > local > process.\n   */\n  getStackTop() {\n    return this._stack[this._stack.length - 1];\n  }\n  /**\n   * Push a scope to the stack.\n   */\n  _pushScope() {\n    const scope = this.getScope().clone();\n    this._stack.push({\n      client: this.getClient(),\n      scope\n    });\n    return scope;\n  }\n  /**\n   * Pop a scope from the stack.\n   */\n  _popScope() {\n    if (this._stack.length <= 1)\n      return false;\n    return !!this._stack.pop();\n  }\n}\nfunction getAsyncContextStack() {\n  const registry = getMainCarrier();\n  const sentry = getSentryCarrier(registry);\n  return sentry.stack = sentry.stack || new AsyncContextStack(getDefaultCurrentScope(), getDefaultIsolationScope());\n}\nfunction withScope(callback) {\n  return getAsyncContextStack().withScope(callback);\n}\nfunction withSetScope(scope, callback) {\n  const stack = getAsyncContextStack();\n  return stack.withScope(() => {\n    stack.getStackTop().scope = scope;\n    return callback(scope);\n  });\n}\nfunction withIsolationScope(callback) {\n  return getAsyncContextStack().withScope(() => {\n    return callback(getAsyncContextStack().getIsolationScope());\n  });\n}\nfunction getStackAsyncContextStrategy() {\n  return {\n    withIsolationScope,\n    withScope,\n    withSetScope,\n    withSetIsolationScope: (_isolationScope, callback) => {\n      return withIsolationScope(callback);\n    },\n    getCurrentScope: () => getAsyncContextStack().getScope(),\n    getIsolationScope: () => getAsyncContextStack().getIsolationScope()\n  };\n}\nexport {\n  AsyncContextStack,\n  getStackAsyncContextStrategy\n};\n","import { getSentryCarrier } from \"../carrier.js\";\nimport { getStackAsyncContextStrategy } from \"./stackStrategy.js\";\nfunction getAsyncContextStrategy(carrier) {\n  const sentry = getSentryCarrier(carrier);\n  if (sentry.acs) {\n    return sentry.acs;\n  }\n  return getStackAsyncContextStrategy();\n}\nexport {\n  getAsyncContextStrategy\n};\n","import { getAsyncContextStrategy } from \"./asyncContext/index.js\";\nimport { getMainCarrier, getGlobalSingleton } from \"./carrier.js\";\nimport { Scope } from \"./scope.js\";\nimport { generateSpanId } from \"./utils-hoist/propagationContext.js\";\nfunction getCurrentScope() {\n  const carrier = getMainCarrier();\n  const acs = getAsyncContextStrategy(carrier);\n  return acs.getCurrentScope();\n}\nfunction getIsolationScope() {\n  const carrier = getMainCarrier();\n  const acs = getAsyncContextStrategy(carrier);\n  return acs.getIsolationScope();\n}\nfunction getGlobalScope() {\n  return getGlobalSingleton(\"globalScope\", () => new Scope());\n}\nfunction withScope(...rest) {\n  const carrier = getMainCarrier();\n  const acs = getAsyncContextStrategy(carrier);\n  if (rest.length === 2) {\n    const [scope, callback] = rest;\n    if (!scope) {\n      return acs.withScope(callback);\n    }\n    return acs.withSetScope(scope, callback);\n  }\n  return acs.withScope(rest[0]);\n}\nfunction getClient() {\n  return getCurrentScope().getClient();\n}\nfunction getTraceContextFromScope(scope) {\n  const propagationContext = scope.getPropagationContext();\n  const { traceId, parentSpanId, propagationSpanId } = propagationContext;\n  const traceContext = {\n    trace_id: traceId,\n    span_id: propagationSpanId || generateSpanId()\n  };\n  if (parentSpanId) {\n    traceContext.parent_span_id = parentSpanId;\n  }\n  return traceContext;\n}\nexport {\n  getClient,\n  getCurrentScope,\n  getGlobalScope,\n  getIsolationScope,\n  getTraceContextFromScope,\n  withScope\n};\n","const STACKTRACE_FRAME_LIMIT = 50;\nconst UNKNOWN_FUNCTION = \"?\";\nconst WEBPACK_ERROR_REGEXP = /\\(error: (.*)\\)/;\nconst STRIP_FRAME_REGEXP = /captureMessage|captureException/;\nfunction createStackParser(...parsers) {\n  const sortedParsers = parsers.sort((a, b) => a[0] - b[0]).map((p) => p[1]);\n  return (stack, skipFirstLines = 0, framesToPop = 0) => {\n    const frames = [];\n    const lines = stack.split(\"\\n\");\n    for (let i = skipFirstLines; i < lines.length; i++) {\n      const line = lines[i];\n      if (line.length > 1024) {\n        continue;\n      }\n      const cleanedLine = WEBPACK_ERROR_REGEXP.test(line) ? line.replace(WEBPACK_ERROR_REGEXP, \"$1\") : line;\n      if (cleanedLine.match(/\\S*Error: /)) {\n        continue;\n      }\n      for (const parser of sortedParsers) {\n        const frame = parser(cleanedLine);\n        if (frame) {\n          frames.push(frame);\n          break;\n        }\n      }\n      if (frames.length >= STACKTRACE_FRAME_LIMIT + framesToPop) {\n        break;\n      }\n    }\n    return stripSentryFramesAndReverse(frames.slice(framesToPop));\n  };\n}\nfunction stackParserFromStackParserOptions(stackParser) {\n  if (Array.isArray(stackParser)) {\n    return createStackParser(...stackParser);\n  }\n  return stackParser;\n}\nfunction stripSentryFramesAndReverse(stack) {\n  if (!stack.length) {\n    return [];\n  }\n  const localStack = Array.from(stack);\n  if (/sentryWrapped/.test(getLastStackFrame(localStack).function || \"\")) {\n    localStack.pop();\n  }\n  localStack.reverse();\n  if (STRIP_FRAME_REGEXP.test(getLastStackFrame(localStack).function || \"\")) {\n    localStack.pop();\n    if (STRIP_FRAME_REGEXP.test(getLastStackFrame(localStack).function || \"\")) {\n      localStack.pop();\n    }\n  }\n  return localStack.slice(0, STACKTRACE_FRAME_LIMIT).map((frame) => ({\n    ...frame,\n    filename: frame.filename || getLastStackFrame(localStack).filename,\n    function: frame.function || UNKNOWN_FUNCTION\n  }));\n}\nfunction getLastStackFrame(arr) {\n  return arr[arr.length - 1] || {};\n}\nconst defaultFunctionName = \"<anonymous>\";\nfunction getFunctionName(fn) {\n  try {\n    if (!fn || typeof fn !== \"function\") {\n      return defaultFunctionName;\n    }\n    return fn.name || defaultFunctionName;\n  } catch (e) {\n    return defaultFunctionName;\n  }\n}\nfunction getFramesFromEvent(event) {\n  const exception = event.exception;\n  if (exception) {\n    const frames = [];\n    try {\n      exception.values.forEach((value) => {\n        if (value.stacktrace.frames) {\n          frames.push(...value.stacktrace.frames);\n        }\n      });\n      return frames;\n    } catch (_oO) {\n      return void 0;\n    }\n  }\n  return void 0;\n}\nexport {\n  UNKNOWN_FUNCTION,\n  createStackParser,\n  getFramesFromEvent,\n  getFunctionName,\n  stackParserFromStackParserOptions,\n  stripSentryFramesAndReverse\n};\n","import global from \"../../../../../vite-plugin-node-polyfills/shims/global/dist/index.js\";\nimport { isVueViewModel, isSyntheticEvent } from \"./is.js\";\nimport { convertToPlainObject } from \"./object.js\";\nimport { getFunctionName } from \"./stacktrace.js\";\nfunction normalize(input, depth = 100, maxProperties = Infinity) {\n  try {\n    return visit(\"\", input, depth, maxProperties);\n  } catch (err) {\n    return { ERROR: `**non-serializable** (${err})` };\n  }\n}\nfunction normalizeToSize(object, depth = 3, maxSize = 100 * 1024) {\n  const normalized = normalize(object, depth);\n  if (jsonSize(normalized) > maxSize) {\n    return normalizeToSize(object, depth - 1, maxSize);\n  }\n  return normalized;\n}\nfunction visit(key, value, depth = Infinity, maxProperties = Infinity, memo = memoBuilder()) {\n  const [memoize, unmemoize] = memo;\n  if (value == null || // this matches null and undefined -> eqeq not eqeqeq\n  [\"boolean\", \"string\"].includes(typeof value) || typeof value === \"number\" && Number.isFinite(value)) {\n    return value;\n  }\n  const stringified = stringifyValue(key, value);\n  if (!stringified.startsWith(\"[object \")) {\n    return stringified;\n  }\n  if (value[\"__sentry_skip_normalization__\"]) {\n    return value;\n  }\n  const remainingDepth = typeof value[\"__sentry_override_normalization_depth__\"] === \"number\" ? value[\"__sentry_override_normalization_depth__\"] : depth;\n  if (remainingDepth === 0) {\n    return stringified.replace(\"object \", \"\");\n  }\n  if (memoize(value)) {\n    return \"[Circular ~]\";\n  }\n  const valueWithToJSON = value;\n  if (valueWithToJSON && typeof valueWithToJSON.toJSON === \"function\") {\n    try {\n      const jsonValue = valueWithToJSON.toJSON();\n      return visit(\"\", jsonValue, remainingDepth - 1, maxProperties, memo);\n    } catch (err) {\n    }\n  }\n  const normalized = Array.isArray(value) ? [] : {};\n  let numAdded = 0;\n  const visitable = convertToPlainObject(value);\n  for (const visitKey in visitable) {\n    if (!Object.prototype.hasOwnProperty.call(visitable, visitKey)) {\n      continue;\n    }\n    if (numAdded >= maxProperties) {\n      normalized[visitKey] = \"[MaxProperties ~]\";\n      break;\n    }\n    const visitValue = visitable[visitKey];\n    normalized[visitKey] = visit(visitKey, visitValue, remainingDepth - 1, maxProperties, memo);\n    numAdded++;\n  }\n  unmemoize(value);\n  return normalized;\n}\nfunction stringifyValue(key, value) {\n  try {\n    if (key === \"domain\" && value && typeof value === \"object\" && value._events) {\n      return \"[Domain]\";\n    }\n    if (key === \"domainEmitter\") {\n      return \"[DomainEmitter]\";\n    }\n    if (typeof global !== \"undefined\" && value === global) {\n      return \"[Global]\";\n    }\n    if (typeof window !== \"undefined\" && value === window) {\n      return \"[Window]\";\n    }\n    if (typeof document !== \"undefined\" && value === document) {\n      return \"[Document]\";\n    }\n    if (isVueViewModel(value)) {\n      return \"[VueViewModel]\";\n    }\n    if (isSyntheticEvent(value)) {\n      return \"[SyntheticEvent]\";\n    }\n    if (typeof value === \"number\" && !Number.isFinite(value)) {\n      return `[${value}]`;\n    }\n    if (typeof value === \"function\") {\n      return `[Function: ${getFunctionName(value)}]`;\n    }\n    if (typeof value === \"symbol\") {\n      return `[${String(value)}]`;\n    }\n    if (typeof value === \"bigint\") {\n      return `[BigInt: ${String(value)}]`;\n    }\n    const objName = getConstructorName(value);\n    if (/^HTML(\\w*)Element$/.test(objName)) {\n      return `[HTMLElement: ${objName}]`;\n    }\n    return `[object ${objName}]`;\n  } catch (err) {\n    return `**non-serializable** (${err})`;\n  }\n}\nfunction getConstructorName(value) {\n  const prototype = Object.getPrototypeOf(value);\n  return (prototype == null ? void 0 : prototype.constructor) ? prototype.constructor.name : \"null prototype\";\n}\nfunction utf8Length(value) {\n  return ~-encodeURI(value).split(/%..|./).length;\n}\nfunction jsonSize(value) {\n  return utf8Length(JSON.stringify(value));\n}\nfunction memoBuilder() {\n  const inner = /* @__PURE__ */ new WeakSet();\n  function memoize(obj) {\n    if (inner.has(obj)) {\n      return true;\n    }\n    inner.add(obj);\n    return false;\n  }\n  function unmemoize(obj) {\n    inner.delete(obj);\n  }\n  return [memoize, unmemoize];\n}\nexport {\n  normalize,\n  normalizeToSize\n};\n","import { addExceptionMechanism, addExceptionTypeValue } from \"../../../../core/build/esm/utils-hoist/misc.js\";\nimport { resolvedSyncPromise } from \"../../../../core/build/esm/utils-hoist/syncpromise.js\";\nimport { isErrorEvent, isDOMError, isDOMException, isError, isPlainObject, isEvent, isParameterizedString } from \"../../../../core/build/esm/utils-hoist/is.js\";\nimport { getClient } from \"../../../../core/build/esm/currentScopes.js\";\nimport { normalizeToSize } from \"../../../../core/build/esm/utils-hoist/normalize.js\";\nimport { extractExceptionKeysForMessage } from \"../../../../core/build/esm/utils-hoist/object.js\";\nfunction exceptionFromError(stackParser, ex) {\n  const frames = parseStackFrames(stackParser, ex);\n  const exception = {\n    type: extractType(ex),\n    value: extractMessage(ex)\n  };\n  if (frames.length) {\n    exception.stacktrace = { frames };\n  }\n  if (exception.type === void 0 && exception.value === \"\") {\n    exception.value = \"Unrecoverable error caught\";\n  }\n  return exception;\n}\nfunction eventFromPlainObject(stackParser, exception, syntheticException, isUnhandledRejection) {\n  const client = getClient();\n  const normalizeDepth = client == null ? void 0 : client.getOptions().normalizeDepth;\n  const errorFromProp = getErrorPropertyFromObject(exception);\n  const extra = {\n    __serialized__: normalizeToSize(exception, normalizeDepth)\n  };\n  if (errorFromProp) {\n    return {\n      exception: {\n        values: [exceptionFromError(stackParser, errorFromProp)]\n      },\n      extra\n    };\n  }\n  const event = {\n    exception: {\n      values: [\n        {\n          type: isEvent(exception) ? exception.constructor.name : isUnhandledRejection ? \"UnhandledRejection\" : \"Error\",\n          value: getNonErrorObjectExceptionValue(exception, { isUnhandledRejection })\n        }\n      ]\n    },\n    extra\n  };\n  if (syntheticException) {\n    const frames = parseStackFrames(stackParser, syntheticException);\n    if (frames.length) {\n      event.exception.values[0].stacktrace = { frames };\n    }\n  }\n  return event;\n}\nfunction eventFromError(stackParser, ex) {\n  return {\n    exception: {\n      values: [exceptionFromError(stackParser, ex)]\n    }\n  };\n}\nfunction parseStackFrames(stackParser, ex) {\n  const stacktrace = ex.stacktrace || ex.stack || \"\";\n  const skipLines = getSkipFirstStackStringLines(ex);\n  const framesToPop = getPopFirstTopFrames(ex);\n  try {\n    return stackParser(stacktrace, skipLines, framesToPop);\n  } catch (e) {\n  }\n  return [];\n}\nconst reactMinifiedRegexp = /Minified React error #\\d+;/i;\nfunction getSkipFirstStackStringLines(ex) {\n  if (ex && reactMinifiedRegexp.test(ex.message)) {\n    return 1;\n  }\n  return 0;\n}\nfunction getPopFirstTopFrames(ex) {\n  if (typeof ex.framesToPop === \"number\") {\n    return ex.framesToPop;\n  }\n  return 0;\n}\nfunction isWebAssemblyException(exception) {\n  if (typeof WebAssembly !== \"undefined\" && typeof WebAssembly.Exception !== \"undefined\") {\n    return exception instanceof WebAssembly.Exception;\n  } else {\n    return false;\n  }\n}\nfunction extractType(ex) {\n  const name = ex == null ? void 0 : ex.name;\n  if (!name && isWebAssemblyException(ex)) {\n    const hasTypeInMessage = ex.message && Array.isArray(ex.message) && ex.message.length == 2;\n    return hasTypeInMessage ? ex.message[0] : \"WebAssembly.Exception\";\n  }\n  return name;\n}\nfunction extractMessage(ex) {\n  const message = ex == null ? void 0 : ex.message;\n  if (isWebAssemblyException(ex)) {\n    if (Array.isArray(ex.message) && ex.message.length == 2) {\n      return ex.message[1];\n    }\n    return \"wasm exception\";\n  }\n  if (!message) {\n    return \"No error message\";\n  }\n  if (message.error && typeof message.error.message === \"string\") {\n    return message.error.message;\n  }\n  return message;\n}\nfunction eventFromException(stackParser, exception, hint, attachStacktrace) {\n  const syntheticException = (hint == null ? void 0 : hint.syntheticException) || void 0;\n  const event = eventFromUnknownInput(stackParser, exception, syntheticException, attachStacktrace);\n  addExceptionMechanism(event);\n  event.level = \"error\";\n  if (hint == null ? void 0 : hint.event_id) {\n    event.event_id = hint.event_id;\n  }\n  return resolvedSyncPromise(event);\n}\nfunction eventFromMessage(stackParser, message, level = \"info\", hint, attachStacktrace) {\n  const syntheticException = (hint == null ? void 0 : hint.syntheticException) || void 0;\n  const event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n  event.level = level;\n  if (hint == null ? void 0 : hint.event_id) {\n    event.event_id = hint.event_id;\n  }\n  return resolvedSyncPromise(event);\n}\nfunction eventFromUnknownInput(stackParser, exception, syntheticException, attachStacktrace, isUnhandledRejection) {\n  let event;\n  if (isErrorEvent(exception) && exception.error) {\n    const errorEvent = exception;\n    return eventFromError(stackParser, errorEvent.error);\n  }\n  if (isDOMError(exception) || isDOMException(exception)) {\n    const domException = exception;\n    if (\"stack\" in exception) {\n      event = eventFromError(stackParser, exception);\n    } else {\n      const name = domException.name || (isDOMError(domException) ? \"DOMError\" : \"DOMException\");\n      const message = domException.message ? `${name}: ${domException.message}` : name;\n      event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n      addExceptionTypeValue(event, message);\n    }\n    if (\"code\" in domException) {\n      event.tags = { ...event.tags, \"DOMException.code\": `${domException.code}` };\n    }\n    return event;\n  }\n  if (isError(exception)) {\n    return eventFromError(stackParser, exception);\n  }\n  if (isPlainObject(exception) || isEvent(exception)) {\n    const objectException = exception;\n    event = eventFromPlainObject(stackParser, objectException, syntheticException, isUnhandledRejection);\n    addExceptionMechanism(event, {\n      synthetic: true\n    });\n    return event;\n  }\n  event = eventFromString(stackParser, exception, syntheticException, attachStacktrace);\n  addExceptionTypeValue(event, `${exception}`, void 0);\n  addExceptionMechanism(event, {\n    synthetic: true\n  });\n  return event;\n}\nfunction eventFromString(stackParser, message, syntheticException, attachStacktrace) {\n  const event = {};\n  if (attachStacktrace && syntheticException) {\n    const frames = parseStackFrames(stackParser, syntheticException);\n    if (frames.length) {\n      event.exception = {\n        values: [{ value: message, stacktrace: { frames } }]\n      };\n    }\n    addExceptionMechanism(event, { synthetic: true });\n  }\n  if (isParameterizedString(message)) {\n    const { __sentry_template_string__, __sentry_template_values__ } = message;\n    event.logentry = {\n      message: __sentry_template_string__,\n      params: __sentry_template_values__\n    };\n    return event;\n  }\n  event.message = message;\n  return event;\n}\nfunction getNonErrorObjectExceptionValue(exception, { isUnhandledRejection }) {\n  const keys = extractExceptionKeysForMessage(exception);\n  const captureType = isUnhandledRejection ? \"promise rejection\" : \"exception\";\n  if (isErrorEvent(exception)) {\n    return `Event \\`ErrorEvent\\` captured as ${captureType} with message \\`${exception.message}\\``;\n  }\n  if (isEvent(exception)) {\n    const className = getObjectClassName(exception);\n    return `Event \\`${className}\\` (type=${exception.type}) captured as ${captureType}`;\n  }\n  return `Object captured as ${captureType} with keys: ${keys}`;\n}\nfunction getObjectClassName(obj) {\n  try {\n    const prototype = Object.getPrototypeOf(obj);\n    return prototype ? prototype.constructor.name : void 0;\n  } catch (e) {\n  }\n}\nfunction getErrorPropertyFromObject(obj) {\n  for (const prop in obj) {\n    if (Object.prototype.hasOwnProperty.call(obj, prop)) {\n      const value = obj[prop];\n      if (value instanceof Error) {\n        return value;\n      }\n    }\n  }\n  return void 0;\n}\nexport {\n  eventFromException,\n  eventFromMessage,\n  eventFromUnknownInput,\n  exceptionFromError,\n  extractMessage,\n  extractType\n};\n","const DEFAULT_ENVIRONMENT = \"production\";\nexport {\n  DEFAULT_ENVIRONMENT\n};\n","import { DEBUG_BUILD } from \"./debug-build.js\";\nimport { isThenable } from \"./utils-hoist/is.js\";\nimport { logger } from \"./utils-hoist/logger.js\";\nimport { SyncPromise } from \"./utils-hoist/syncpromise.js\";\nfunction notifyEventProcessors(processors, event, hint, index = 0) {\n  return new SyncPromise((resolve, reject) => {\n    const processor = processors[index];\n    if (event === null || typeof processor !== \"function\") {\n      resolve(event);\n    } else {\n      const result = processor({ ...event }, hint);\n      DEBUG_BUILD && processor.id && result === null && logger.log(`Event processor \"${processor.id}\" dropped event`);\n      if (isThenable(result)) {\n        void result.then((final) => notifyEventProcessors(processors, final, hint, index + 1).then(resolve)).then(null, reject);\n      } else {\n        void notifyEventProcessors(processors, result, hint, index + 1).then(resolve).then(null, reject);\n      }\n    }\n  });\n}\nexport {\n  notifyEventProcessors\n};\n","import { GLOBAL_OBJ } from \"./worldwide.js\";\nlet parsedStackResults;\nlet lastKeysCount;\nlet cachedFilenameDebugIds;\nfunction getFilenameToDebugIdMap(stackParser) {\n  const debugIdMap = GLOBAL_OBJ._sentryDebugIds;\n  if (!debugIdMap) {\n    return {};\n  }\n  const debugIdKeys = Object.keys(debugIdMap);\n  if (cachedFilenameDebugIds && debugIdKeys.length === lastKeysCount) {\n    return cachedFilenameDebugIds;\n  }\n  lastKeysCount = debugIdKeys.length;\n  cachedFilenameDebugIds = debugIdKeys.reduce((acc, stackKey) => {\n    if (!parsedStackResults) {\n      parsedStackResults = {};\n    }\n    const result = parsedStackResults[stackKey];\n    if (result) {\n      acc[result[0]] = result[1];\n    } else {\n      const parsedStack = stackParser(stackKey);\n      for (let i = parsedStack.length - 1; i >= 0; i--) {\n        const stackFrame = parsedStack[i];\n        const filename = stackFrame == null ? void 0 : stackFrame.filename;\n        const debugId = debugIdMap[stackKey];\n        if (filename && debugId) {\n          acc[filename] = debugId;\n          parsedStackResults[stackKey] = [filename, debugId];\n          break;\n        }\n      }\n    }\n    return acc;\n  }, {});\n  return cachedFilenameDebugIds;\n}\nexport {\n  getFilenameToDebugIdMap\n};\n","const SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = \"sentry.source\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE = \"sentry.sample_rate\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE = \"sentry.previous_trace_sample_rate\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_OP = \"sentry.op\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = \"sentry.origin\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON = \"sentry.idle_span_finish_reason\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT = \"sentry.measurement_unit\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE = \"sentry.measurement_value\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME = \"sentry.custom_span_name\";\nconst SEMANTIC_ATTRIBUTE_PROFILE_ID = \"sentry.profile_id\";\nconst SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME = \"sentry.exclusive_time\";\nconst SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE = \"sentry.link.type\";\nexport {\n  SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME,\n  SEMANTIC_ATTRIBUTE_PROFILE_ID,\n  SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME,\n  SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,\n  SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT,\n  SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE,\n  SEMANTIC_ATTRIBUTE_SENTRY_OP,\n  SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,\n  SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE,\n  SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,\n  SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,\n  SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE\n};\n","import { getClient } from \"../currentScopes.js\";\nfunction hasSpansEnabled(maybeOptions) {\n  var _a;\n  if (typeof __SENTRY_TRACING__ === \"boolean\" && !__SENTRY_TRACING__) {\n    return false;\n  }\n  const options = maybeOptions || ((_a = getClient()) == null ? void 0 : _a.getOptions());\n  return !!options && // Note: This check is `!= null`, meaning \"nullish\". `0` is not \"nullish\", `undefined` and `null` are. (This comment was brought to you by 15 minutes of questioning life)\n  (options.tracesSampleRate != null || !!options.tracesSampler);\n}\nexport {\n  hasSpansEnabled\n};\n","const SPAN_STATUS_UNSET = 0;\nconst SPAN_STATUS_OK = 1;\nconst SPAN_STATUS_ERROR = 2;\nfunction getSpanStatusFromHttpCode(httpStatus) {\n  if (httpStatus < 400 && httpStatus >= 100) {\n    return { code: SPAN_STATUS_OK };\n  }\n  if (httpStatus >= 400 && httpStatus < 500) {\n    switch (httpStatus) {\n      case 401:\n        return { code: SPAN_STATUS_ERROR, message: \"unauthenticated\" };\n      case 403:\n        return { code: SPAN_STATUS_ERROR, message: \"permission_denied\" };\n      case 404:\n        return { code: SPAN_STATUS_ERROR, message: \"not_found\" };\n      case 409:\n        return { code: SPAN_STATUS_ERROR, message: \"already_exists\" };\n      case 413:\n        return { code: SPAN_STATUS_ERROR, message: \"failed_precondition\" };\n      case 429:\n        return { code: SPAN_STATUS_ERROR, message: \"resource_exhausted\" };\n      case 499:\n        return { code: SPAN_STATUS_ERROR, message: \"cancelled\" };\n      default:\n        return { code: SPAN_STATUS_ERROR, message: \"invalid_argument\" };\n    }\n  }\n  if (httpStatus >= 500 && httpStatus < 600) {\n    switch (httpStatus) {\n      case 501:\n        return { code: SPAN_STATUS_ERROR, message: \"unimplemented\" };\n      case 503:\n        return { code: SPAN_STATUS_ERROR, message: \"unavailable\" };\n      case 504:\n        return { code: SPAN_STATUS_ERROR, message: \"deadline_exceeded\" };\n      default:\n        return { code: SPAN_STATUS_ERROR, message: \"internal_error\" };\n    }\n  }\n  return { code: SPAN_STATUS_ERROR, message: \"unknown_error\" };\n}\nfunction setHttpStatus(span, httpStatus) {\n  span.setAttribute(\"http.response.status_code\", httpStatus);\n  const spanStatus = getSpanStatusFromHttpCode(httpStatus);\n  if (spanStatus.message !== \"unknown_error\") {\n    span.setStatus(spanStatus);\n  }\n}\nexport {\n  SPAN_STATUS_ERROR,\n  SPAN_STATUS_OK,\n  SPAN_STATUS_UNSET,\n  getSpanStatusFromHttpCode,\n  setHttpStatus\n};\n","import { addNonEnumerableProperty } from \"../utils-hoist/object.js\";\nconst SCOPE_ON_START_SPAN_FIELD = \"_sentryScope\";\nconst ISOLATION_SCOPE_ON_START_SPAN_FIELD = \"_sentryIsolationScope\";\nfunction setCapturedScopesOnSpan(span, scope, isolationScope) {\n  if (span) {\n    addNonEnumerableProperty(span, ISOLATION_SCOPE_ON_START_SPAN_FIELD, isolationScope);\n    addNonEnumerableProperty(span, SCOPE_ON_START_SPAN_FIELD, scope);\n  }\n}\nfunction getCapturedScopesOnSpan(span) {\n  return {\n    scope: span[SCOPE_ON_START_SPAN_FIELD],\n    isolationScope: span[ISOLATION_SCOPE_ON_START_SPAN_FIELD]\n  };\n}\nexport {\n  getCapturedScopesOnSpan,\n  setCapturedScopesOnSpan\n};\n","function parseSampleRate(sampleRate) {\n  if (typeof sampleRate === \"boolean\") {\n    return Number(sampleRate);\n  }\n  const rate = typeof sampleRate === \"string\" ? parseFloat(sampleRate) : sampleRate;\n  if (typeof rate !== \"number\" || isNaN(rate) || rate < 0 || rate > 1) {\n    return void 0;\n  }\n  return rate;\n}\nexport {\n  parseSampleRate\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { isString } from \"./is.js\";\nimport { logger } from \"./logger.js\";\nconst SENTRY_BAGGAGE_KEY_PREFIX = \"sentry-\";\nconst SENTRY_BAGGAGE_KEY_PREFIX_REGEX = /^sentry-/;\nconst MAX_BAGGAGE_STRING_LENGTH = 8192;\nfunction baggageHeaderToDynamicSamplingContext(baggageHeader) {\n  const baggageObject = parseBaggageHeader(baggageHeader);\n  if (!baggageObject) {\n    return void 0;\n  }\n  const dynamicSamplingContext = Object.entries(baggageObject).reduce((acc, [key, value]) => {\n    if (key.match(SENTRY_BAGGAGE_KEY_PREFIX_REGEX)) {\n      const nonPrefixedKey = key.slice(SENTRY_BAGGAGE_KEY_PREFIX.length);\n      acc[nonPrefixedKey] = value;\n    }\n    return acc;\n  }, {});\n  if (Object.keys(dynamicSamplingContext).length > 0) {\n    return dynamicSamplingContext;\n  } else {\n    return void 0;\n  }\n}\nfunction dynamicSamplingContextToSentryBaggageHeader(dynamicSamplingContext) {\n  if (!dynamicSamplingContext) {\n    return void 0;\n  }\n  const sentryPrefixedDSC = Object.entries(dynamicSamplingContext).reduce(\n    (acc, [dscKey, dscValue]) => {\n      if (dscValue) {\n        acc[`${SENTRY_BAGGAGE_KEY_PREFIX}${dscKey}`] = dscValue;\n      }\n      return acc;\n    },\n    {}\n  );\n  return objectToBaggageHeader(sentryPrefixedDSC);\n}\nfunction parseBaggageHeader(baggageHeader) {\n  if (!baggageHeader || !isString(baggageHeader) && !Array.isArray(baggageHeader)) {\n    return void 0;\n  }\n  if (Array.isArray(baggageHeader)) {\n    return baggageHeader.reduce((acc, curr) => {\n      const currBaggageObject = baggageHeaderToObject(curr);\n      Object.entries(currBaggageObject).forEach(([key, value]) => {\n        acc[key] = value;\n      });\n      return acc;\n    }, {});\n  }\n  return baggageHeaderToObject(baggageHeader);\n}\nfunction baggageHeaderToObject(baggageHeader) {\n  return baggageHeader.split(\",\").map(\n    (baggageEntry) => baggageEntry.split(\"=\").map((keyOrValue) => {\n      try {\n        return decodeURIComponent(keyOrValue.trim());\n      } catch {\n        return;\n      }\n    })\n  ).reduce((acc, [key, value]) => {\n    if (key && value) {\n      acc[key] = value;\n    }\n    return acc;\n  }, {});\n}\nfunction objectToBaggageHeader(object) {\n  if (Object.keys(object).length === 0) {\n    return void 0;\n  }\n  return Object.entries(object).reduce((baggageHeader, [objectKey, objectValue], currentIndex) => {\n    const baggageEntry = `${encodeURIComponent(objectKey)}=${encodeURIComponent(objectValue)}`;\n    const newBaggageHeader = currentIndex === 0 ? baggageEntry : `${baggageHeader},${baggageEntry}`;\n    if (newBaggageHeader.length > MAX_BAGGAGE_STRING_LENGTH) {\n      DEBUG_BUILD && logger.warn(\n        `Not adding key: ${objectKey} with val: ${objectValue} to baggage header due to exceeding baggage size limits.`\n      );\n      return baggageHeader;\n    } else {\n      return newBaggageHeader;\n    }\n  }, \"\");\n}\nexport {\n  MAX_BAGGAGE_STRING_LENGTH,\n  SENTRY_BAGGAGE_KEY_PREFIX,\n  SENTRY_BAGGAGE_KEY_PREFIX_REGEX,\n  baggageHeaderToDynamicSamplingContext,\n  dynamicSamplingContextToSentryBaggageHeader,\n  objectToBaggageHeader,\n  parseBaggageHeader\n};\n","import { parseSampleRate } from \"../utils/parseSampleRate.js\";\nimport { baggageHeaderToDynamicSamplingContext } from \"./baggage.js\";\nimport { generateTraceId, generateSpanId } from \"./propagationContext.js\";\nconst TRACEPARENT_REGEXP = new RegExp(\n  \"^[ \\\\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\\\t]*$\"\n  // whitespace\n);\nfunction extractTraceparentData(traceparent) {\n  if (!traceparent) {\n    return void 0;\n  }\n  const matches = traceparent.match(TRACEPARENT_REGEXP);\n  if (!matches) {\n    return void 0;\n  }\n  let parentSampled;\n  if (matches[3] === \"1\") {\n    parentSampled = true;\n  } else if (matches[3] === \"0\") {\n    parentSampled = false;\n  }\n  return {\n    traceId: matches[1],\n    parentSampled,\n    parentSpanId: matches[2]\n  };\n}\nfunction propagationContextFromHeaders(sentryTrace, baggage) {\n  const traceparentData = extractTraceparentData(sentryTrace);\n  const dynamicSamplingContext = baggageHeaderToDynamicSamplingContext(baggage);\n  if (!(traceparentData == null ? void 0 : traceparentData.traceId)) {\n    return {\n      traceId: generateTraceId(),\n      sampleRand: Math.random()\n    };\n  }\n  const sampleRand = getSampleRandFromTraceparentAndDsc(traceparentData, dynamicSamplingContext);\n  if (dynamicSamplingContext) {\n    dynamicSamplingContext.sample_rand = sampleRand.toString();\n  }\n  const { traceId, parentSpanId, parentSampled } = traceparentData;\n  return {\n    traceId,\n    parentSpanId,\n    sampled: parentSampled,\n    dsc: dynamicSamplingContext || {},\n    // If we have traceparent data but no DSC it means we are not head of trace and we must freeze it\n    sampleRand\n  };\n}\nfunction generateSentryTraceHeader(traceId = generateTraceId(), spanId = generateSpanId(), sampled) {\n  let sampledString = \"\";\n  if (sampled !== void 0) {\n    sampledString = sampled ? \"-1\" : \"-0\";\n  }\n  return `${traceId}-${spanId}${sampledString}`;\n}\nfunction getSampleRandFromTraceparentAndDsc(traceparentData, dsc) {\n  const parsedSampleRand = parseSampleRate(dsc == null ? void 0 : dsc.sample_rand);\n  if (parsedSampleRand !== void 0) {\n    return parsedSampleRand;\n  }\n  const parsedSampleRate = parseSampleRate(dsc == null ? void 0 : dsc.sample_rate);\n  if (parsedSampleRate && (traceparentData == null ? void 0 : traceparentData.parentSampled) !== void 0) {\n    return traceparentData.parentSampled ? (\n      // Returns a sample rand with positive sampling decision [0, sampleRate)\n      Math.random() * parsedSampleRate\n    ) : (\n      // Returns a sample rand with negative sampling decision [sampleRate, 1)\n      parsedSampleRate + Math.random() * (1 - parsedSampleRate)\n    );\n  } else {\n    return Math.random();\n  }\n}\nexport {\n  TRACEPARENT_REGEXP,\n  extractTraceparentData,\n  generateSentryTraceHeader,\n  propagationContextFromHeaders\n};\n","import { getAsyncContextStrategy } from \"../asyncContext/index.js\";\nimport { getMainCarrier } from \"../carrier.js\";\nimport { getCurrentScope } from \"../currentScopes.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from \"../semanticAttributes.js\";\nimport { SPAN_STATUS_UNSET, SPAN_STATUS_OK } from \"../tracing/spanstatus.js\";\nimport { getCapturedScopesOnSpan } from \"../tracing/utils.js\";\nimport { consoleSandbox } from \"../utils-hoist/logger.js\";\nimport { addNonEnumerableProperty } from \"../utils-hoist/object.js\";\nimport { generateSpanId } from \"../utils-hoist/propagationContext.js\";\nimport { timestampInSeconds } from \"../utils-hoist/time.js\";\nimport { generateSentryTraceHeader } from \"../utils-hoist/tracing.js\";\nimport { _getSpanForScope } from \"./spanOnScope.js\";\nconst TRACE_FLAG_NONE = 0;\nconst TRACE_FLAG_SAMPLED = 1;\nlet hasShownSpanDropWarning = false;\nfunction spanToTransactionTraceContext(span) {\n  const { spanId: span_id, traceId: trace_id } = span.spanContext();\n  const { data, op, parent_span_id, status, origin, links } = spanToJSON(span);\n  return {\n    parent_span_id,\n    span_id,\n    trace_id,\n    data,\n    op,\n    status,\n    origin,\n    links\n  };\n}\nfunction spanToTraceContext(span) {\n  const { spanId, traceId: trace_id, isRemote } = span.spanContext();\n  const parent_span_id = isRemote ? spanId : spanToJSON(span).parent_span_id;\n  const scope = getCapturedScopesOnSpan(span).scope;\n  const span_id = isRemote ? (scope == null ? void 0 : scope.getPropagationContext().propagationSpanId) || generateSpanId() : spanId;\n  return {\n    parent_span_id,\n    span_id,\n    trace_id\n  };\n}\nfunction spanToTraceHeader(span) {\n  const { traceId, spanId } = span.spanContext();\n  const sampled = spanIsSampled(span);\n  return generateSentryTraceHeader(traceId, spanId, sampled);\n}\nfunction convertSpanLinksForEnvelope(links) {\n  if (links && links.length > 0) {\n    return links.map(({ context: { spanId, traceId, traceFlags, ...restContext }, attributes }) => ({\n      span_id: spanId,\n      trace_id: traceId,\n      sampled: traceFlags === TRACE_FLAG_SAMPLED,\n      attributes,\n      ...restContext\n    }));\n  } else {\n    return void 0;\n  }\n}\nfunction spanTimeInputToSeconds(input) {\n  if (typeof input === \"number\") {\n    return ensureTimestampInSeconds(input);\n  }\n  if (Array.isArray(input)) {\n    return input[0] + input[1] / 1e9;\n  }\n  if (input instanceof Date) {\n    return ensureTimestampInSeconds(input.getTime());\n  }\n  return timestampInSeconds();\n}\nfunction ensureTimestampInSeconds(timestamp) {\n  const isMs = timestamp > 9999999999;\n  return isMs ? timestamp / 1e3 : timestamp;\n}\nfunction spanToJSON(span) {\n  var _a;\n  if (spanIsSentrySpan(span)) {\n    return span.getSpanJSON();\n  }\n  const { spanId: span_id, traceId: trace_id } = span.spanContext();\n  if (spanIsOpenTelemetrySdkTraceBaseSpan(span)) {\n    const { attributes, startTime, name, endTime, status, links } = span;\n    const parentSpanId = \"parentSpanId\" in span ? span.parentSpanId : \"parentSpanContext\" in span ? (_a = span.parentSpanContext) == null ? void 0 : _a.spanId : void 0;\n    return {\n      span_id,\n      trace_id,\n      data: attributes,\n      description: name,\n      parent_span_id: parentSpanId,\n      start_timestamp: spanTimeInputToSeconds(startTime),\n      // This is [0,0] by default in OTEL, in which case we want to interpret this as no end time\n      timestamp: spanTimeInputToSeconds(endTime) || void 0,\n      status: getStatusMessage(status),\n      op: attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP],\n      origin: attributes[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],\n      links: convertSpanLinksForEnvelope(links)\n    };\n  }\n  return {\n    span_id,\n    trace_id,\n    start_timestamp: 0,\n    data: {}\n  };\n}\nfunction spanIsOpenTelemetrySdkTraceBaseSpan(span) {\n  const castSpan = span;\n  return !!castSpan.attributes && !!castSpan.startTime && !!castSpan.name && !!castSpan.endTime && !!castSpan.status;\n}\nfunction spanIsSentrySpan(span) {\n  return typeof span.getSpanJSON === \"function\";\n}\nfunction spanIsSampled(span) {\n  const { traceFlags } = span.spanContext();\n  return traceFlags === TRACE_FLAG_SAMPLED;\n}\nfunction getStatusMessage(status) {\n  if (!status || status.code === SPAN_STATUS_UNSET) {\n    return void 0;\n  }\n  if (status.code === SPAN_STATUS_OK) {\n    return \"ok\";\n  }\n  return status.message || \"unknown_error\";\n}\nconst CHILD_SPANS_FIELD = \"_sentryChildSpans\";\nconst ROOT_SPAN_FIELD = \"_sentryRootSpan\";\nfunction addChildSpanToSpan(span, childSpan) {\n  const rootSpan = span[ROOT_SPAN_FIELD] || span;\n  addNonEnumerableProperty(childSpan, ROOT_SPAN_FIELD, rootSpan);\n  if (span[CHILD_SPANS_FIELD]) {\n    span[CHILD_SPANS_FIELD].add(childSpan);\n  } else {\n    addNonEnumerableProperty(span, CHILD_SPANS_FIELD, /* @__PURE__ */ new Set([childSpan]));\n  }\n}\nfunction removeChildSpanFromSpan(span, childSpan) {\n  if (span[CHILD_SPANS_FIELD]) {\n    span[CHILD_SPANS_FIELD].delete(childSpan);\n  }\n}\nfunction getSpanDescendants(span) {\n  const resultSet = /* @__PURE__ */ new Set();\n  function addSpanChildren(span2) {\n    if (resultSet.has(span2)) {\n      return;\n    } else if (spanIsSampled(span2)) {\n      resultSet.add(span2);\n      const childSpans = span2[CHILD_SPANS_FIELD] ? Array.from(span2[CHILD_SPANS_FIELD]) : [];\n      for (const childSpan of childSpans) {\n        addSpanChildren(childSpan);\n      }\n    }\n  }\n  addSpanChildren(span);\n  return Array.from(resultSet);\n}\nfunction getRootSpan(span) {\n  return span[ROOT_SPAN_FIELD] || span;\n}\nfunction getActiveSpan() {\n  const carrier = getMainCarrier();\n  const acs = getAsyncContextStrategy(carrier);\n  if (acs.getActiveSpan) {\n    return acs.getActiveSpan();\n  }\n  return _getSpanForScope(getCurrentScope());\n}\nfunction showSpanDropWarning() {\n  if (!hasShownSpanDropWarning) {\n    consoleSandbox(() => {\n      console.warn(\n        \"[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.\"\n      );\n    });\n    hasShownSpanDropWarning = true;\n  }\n}\nexport {\n  TRACE_FLAG_NONE,\n  TRACE_FLAG_SAMPLED,\n  addChildSpanToSpan,\n  convertSpanLinksForEnvelope,\n  getActiveSpan,\n  getRootSpan,\n  getSpanDescendants,\n  getStatusMessage,\n  removeChildSpanFromSpan,\n  showSpanDropWarning,\n  spanIsSampled,\n  spanTimeInputToSeconds,\n  spanToJSON,\n  spanToTraceContext,\n  spanToTraceHeader,\n  spanToTransactionTraceContext\n};\n","import { DEFAULT_ENVIRONMENT } from \"../constants.js\";\nimport { getClient } from \"../currentScopes.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from \"../semanticAttributes.js\";\nimport { hasSpansEnabled } from \"../utils/hasSpansEnabled.js\";\nimport { getRootSpan, spanToJSON, spanIsSampled } from \"../utils/spanUtils.js\";\nimport { baggageHeaderToDynamicSamplingContext } from \"../utils-hoist/baggage.js\";\nimport { addNonEnumerableProperty } from \"../utils-hoist/object.js\";\nimport { getCapturedScopesOnSpan } from \"./utils.js\";\nconst FROZEN_DSC_FIELD = \"_frozenDsc\";\nfunction freezeDscOnSpan(span, dsc) {\n  const spanWithMaybeDsc = span;\n  addNonEnumerableProperty(spanWithMaybeDsc, FROZEN_DSC_FIELD, dsc);\n}\nfunction getDynamicSamplingContextFromClient(trace_id, client) {\n  const options = client.getOptions();\n  const { publicKey: public_key } = client.getDsn() || {};\n  const dsc = {\n    environment: options.environment || DEFAULT_ENVIRONMENT,\n    release: options.release,\n    public_key,\n    trace_id\n  };\n  client.emit(\"createDsc\", dsc);\n  return dsc;\n}\nfunction getDynamicSamplingContextFromScope(client, scope) {\n  const propagationContext = scope.getPropagationContext();\n  return propagationContext.dsc || getDynamicSamplingContextFromClient(propagationContext.traceId, client);\n}\nfunction getDynamicSamplingContextFromSpan(span) {\n  var _a;\n  const client = getClient();\n  if (!client) {\n    return {};\n  }\n  const rootSpan = getRootSpan(span);\n  const rootSpanJson = spanToJSON(rootSpan);\n  const rootSpanAttributes = rootSpanJson.data;\n  const traceState = rootSpan.spanContext().traceState;\n  const rootSpanSampleRate = (traceState == null ? void 0 : traceState.get(\"sentry.sample_rate\")) ?? rootSpanAttributes[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE] ?? rootSpanAttributes[SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE];\n  function applyLocalSampleRateToDsc(dsc2) {\n    if (typeof rootSpanSampleRate === \"number\" || typeof rootSpanSampleRate === \"string\") {\n      dsc2.sample_rate = `${rootSpanSampleRate}`;\n    }\n    return dsc2;\n  }\n  const frozenDsc = rootSpan[FROZEN_DSC_FIELD];\n  if (frozenDsc) {\n    return applyLocalSampleRateToDsc(frozenDsc);\n  }\n  const traceStateDsc = traceState == null ? void 0 : traceState.get(\"sentry.dsc\");\n  const dscOnTraceState = traceStateDsc && baggageHeaderToDynamicSamplingContext(traceStateDsc);\n  if (dscOnTraceState) {\n    return applyLocalSampleRateToDsc(dscOnTraceState);\n  }\n  const dsc = getDynamicSamplingContextFromClient(span.spanContext().traceId, client);\n  const source = rootSpanAttributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n  const name = rootSpanJson.description;\n  if (source !== \"url\" && name) {\n    dsc.transaction = name;\n  }\n  if (hasSpansEnabled()) {\n    dsc.sampled = String(spanIsSampled(rootSpan));\n    dsc.sample_rand = // In OTEL we store the sample rand on the trace state because we cannot access scopes for NonRecordingSpans\n    // The Sentry OTEL SpanSampler takes care of writing the sample rand on the root span\n    (traceState == null ? void 0 : traceState.get(\"sentry.sample_rand\")) ?? // On all other platforms we can actually get the scopes from a root span (we use this as a fallback)\n    ((_a = getCapturedScopesOnSpan(rootSpan).scope) == null ? void 0 : _a.getPropagationContext().sampleRand.toString());\n  }\n  applyLocalSampleRateToDsc(dsc);\n  client.emit(\"createDsc\", dsc, rootSpan);\n  return dsc;\n}\nexport {\n  freezeDscOnSpan,\n  getDynamicSamplingContextFromClient,\n  getDynamicSamplingContextFromScope,\n  getDynamicSamplingContextFromSpan\n};\n","import { getDynamicSamplingContextFromSpan } from \"../tracing/dynamicSamplingContext.js\";\nimport { merge } from \"./merge.js\";\nimport { spanToTraceContext, getRootSpan, spanToJSON } from \"./spanUtils.js\";\nfunction applyScopeDataToEvent(event, data) {\n  const { fingerprint, span, breadcrumbs, sdkProcessingMetadata } = data;\n  applyDataToEvent(event, data);\n  if (span) {\n    applySpanToEvent(event, span);\n  }\n  applyFingerprintToEvent(event, fingerprint);\n  applyBreadcrumbsToEvent(event, breadcrumbs);\n  applySdkMetadataToEvent(event, sdkProcessingMetadata);\n}\nfunction mergeScopeData(data, mergeData) {\n  const {\n    extra,\n    tags,\n    user,\n    contexts,\n    level,\n    sdkProcessingMetadata,\n    breadcrumbs,\n    fingerprint,\n    eventProcessors,\n    attachments,\n    propagationContext,\n    transactionName,\n    span\n  } = mergeData;\n  mergeAndOverwriteScopeData(data, \"extra\", extra);\n  mergeAndOverwriteScopeData(data, \"tags\", tags);\n  mergeAndOverwriteScopeData(data, \"user\", user);\n  mergeAndOverwriteScopeData(data, \"contexts\", contexts);\n  data.sdkProcessingMetadata = merge(data.sdkProcessingMetadata, sdkProcessingMetadata, 2);\n  if (level) {\n    data.level = level;\n  }\n  if (transactionName) {\n    data.transactionName = transactionName;\n  }\n  if (span) {\n    data.span = span;\n  }\n  if (breadcrumbs.length) {\n    data.breadcrumbs = [...data.breadcrumbs, ...breadcrumbs];\n  }\n  if (fingerprint.length) {\n    data.fingerprint = [...data.fingerprint, ...fingerprint];\n  }\n  if (eventProcessors.length) {\n    data.eventProcessors = [...data.eventProcessors, ...eventProcessors];\n  }\n  if (attachments.length) {\n    data.attachments = [...data.attachments, ...attachments];\n  }\n  data.propagationContext = { ...data.propagationContext, ...propagationContext };\n}\nfunction mergeAndOverwriteScopeData(data, prop, mergeVal) {\n  data[prop] = merge(data[prop], mergeVal, 1);\n}\nfunction applyDataToEvent(event, data) {\n  const { extra, tags, user, contexts, level, transactionName } = data;\n  if (Object.keys(extra).length) {\n    event.extra = { ...extra, ...event.extra };\n  }\n  if (Object.keys(tags).length) {\n    event.tags = { ...tags, ...event.tags };\n  }\n  if (Object.keys(user).length) {\n    event.user = { ...user, ...event.user };\n  }\n  if (Object.keys(contexts).length) {\n    event.contexts = { ...contexts, ...event.contexts };\n  }\n  if (level) {\n    event.level = level;\n  }\n  if (transactionName && event.type !== \"transaction\") {\n    event.transaction = transactionName;\n  }\n}\nfunction applyBreadcrumbsToEvent(event, breadcrumbs) {\n  const mergedBreadcrumbs = [...event.breadcrumbs || [], ...breadcrumbs];\n  event.breadcrumbs = mergedBreadcrumbs.length ? mergedBreadcrumbs : void 0;\n}\nfunction applySdkMetadataToEvent(event, sdkProcessingMetadata) {\n  event.sdkProcessingMetadata = {\n    ...event.sdkProcessingMetadata,\n    ...sdkProcessingMetadata\n  };\n}\nfunction applySpanToEvent(event, span) {\n  event.contexts = {\n    trace: spanToTraceContext(span),\n    ...event.contexts\n  };\n  event.sdkProcessingMetadata = {\n    dynamicSamplingContext: getDynamicSamplingContextFromSpan(span),\n    ...event.sdkProcessingMetadata\n  };\n  const rootSpan = getRootSpan(span);\n  const transactionName = spanToJSON(rootSpan).description;\n  if (transactionName && !event.transaction && event.type === \"transaction\") {\n    event.transaction = transactionName;\n  }\n}\nfunction applyFingerprintToEvent(event, fingerprint) {\n  event.fingerprint = event.fingerprint ? Array.isArray(event.fingerprint) ? event.fingerprint : [event.fingerprint] : [];\n  if (fingerprint) {\n    event.fingerprint = event.fingerprint.concat(fingerprint);\n  }\n  if (!event.fingerprint.length) {\n    delete event.fingerprint;\n  }\n}\nexport {\n  applyScopeDataToEvent,\n  mergeAndOverwriteScopeData,\n  mergeScopeData\n};\n","import { DEFAULT_ENVIRONMENT } from \"../constants.js\";\nimport { getGlobalScope } from \"../currentScopes.js\";\nimport { notifyEventProcessors } from \"../eventProcessors.js\";\nimport { Scope } from \"../scope.js\";\nimport { getFilenameToDebugIdMap } from \"../utils-hoist/debug-ids.js\";\nimport { uuid4, addExceptionMechanism } from \"../utils-hoist/misc.js\";\nimport { normalize } from \"../utils-hoist/normalize.js\";\nimport { truncate } from \"../utils-hoist/string.js\";\nimport { dateTimestampInSeconds } from \"../utils-hoist/time.js\";\nimport { mergeScopeData, applyScopeDataToEvent } from \"./applyScopeDataToEvent.js\";\nfunction prepareEvent(options, event, hint, scope, client, isolationScope) {\n  const { normalizeDepth = 3, normalizeMaxBreadth = 1e3 } = options;\n  const prepared = {\n    ...event,\n    event_id: event.event_id || hint.event_id || uuid4(),\n    timestamp: event.timestamp || dateTimestampInSeconds()\n  };\n  const integrations = hint.integrations || options.integrations.map((i) => i.name);\n  applyClientOptions(prepared, options);\n  applyIntegrationsMetadata(prepared, integrations);\n  if (client) {\n    client.emit(\"applyFrameMetadata\", event);\n  }\n  if (event.type === void 0) {\n    applyDebugIds(prepared, options.stackParser);\n  }\n  const finalScope = getFinalScope(scope, hint.captureContext);\n  if (hint.mechanism) {\n    addExceptionMechanism(prepared, hint.mechanism);\n  }\n  const clientEventProcessors = client ? client.getEventProcessors() : [];\n  const data = getGlobalScope().getScopeData();\n  if (isolationScope) {\n    const isolationData = isolationScope.getScopeData();\n    mergeScopeData(data, isolationData);\n  }\n  if (finalScope) {\n    const finalScopeData = finalScope.getScopeData();\n    mergeScopeData(data, finalScopeData);\n  }\n  const attachments = [...hint.attachments || [], ...data.attachments];\n  if (attachments.length) {\n    hint.attachments = attachments;\n  }\n  applyScopeDataToEvent(prepared, data);\n  const eventProcessors = [\n    ...clientEventProcessors,\n    // Run scope event processors _after_ all other processors\n    ...data.eventProcessors\n  ];\n  const result = notifyEventProcessors(eventProcessors, prepared, hint);\n  return result.then((evt) => {\n    if (evt) {\n      applyDebugMeta(evt);\n    }\n    if (typeof normalizeDepth === \"number\" && normalizeDepth > 0) {\n      return normalizeEvent(evt, normalizeDepth, normalizeMaxBreadth);\n    }\n    return evt;\n  });\n}\nfunction applyClientOptions(event, options) {\n  const { environment, release, dist, maxValueLength = 250 } = options;\n  event.environment = event.environment || environment || DEFAULT_ENVIRONMENT;\n  if (!event.release && release) {\n    event.release = release;\n  }\n  if (!event.dist && dist) {\n    event.dist = dist;\n  }\n  const request = event.request;\n  if (request == null ? void 0 : request.url) {\n    request.url = truncate(request.url, maxValueLength);\n  }\n}\nfunction applyDebugIds(event, stackParser) {\n  var _a, _b;\n  const filenameDebugIdMap = getFilenameToDebugIdMap(stackParser);\n  (_b = (_a = event.exception) == null ? void 0 : _a.values) == null ? void 0 : _b.forEach((exception) => {\n    var _a2, _b2;\n    (_b2 = (_a2 = exception.stacktrace) == null ? void 0 : _a2.frames) == null ? void 0 : _b2.forEach((frame) => {\n      if (frame.filename) {\n        frame.debug_id = filenameDebugIdMap[frame.filename];\n      }\n    });\n  });\n}\nfunction applyDebugMeta(event) {\n  var _a, _b;\n  const filenameDebugIdMap = {};\n  (_b = (_a = event.exception) == null ? void 0 : _a.values) == null ? void 0 : _b.forEach((exception) => {\n    var _a2, _b2;\n    (_b2 = (_a2 = exception.stacktrace) == null ? void 0 : _a2.frames) == null ? void 0 : _b2.forEach((frame) => {\n      if (frame.debug_id) {\n        if (frame.abs_path) {\n          filenameDebugIdMap[frame.abs_path] = frame.debug_id;\n        } else if (frame.filename) {\n          filenameDebugIdMap[frame.filename] = frame.debug_id;\n        }\n        delete frame.debug_id;\n      }\n    });\n  });\n  if (Object.keys(filenameDebugIdMap).length === 0) {\n    return;\n  }\n  event.debug_meta = event.debug_meta || {};\n  event.debug_meta.images = event.debug_meta.images || [];\n  const images = event.debug_meta.images;\n  Object.entries(filenameDebugIdMap).forEach(([filename, debug_id]) => {\n    images.push({\n      type: \"sourcemap\",\n      code_file: filename,\n      debug_id\n    });\n  });\n}\nfunction applyIntegrationsMetadata(event, integrationNames) {\n  if (integrationNames.length > 0) {\n    event.sdk = event.sdk || {};\n    event.sdk.integrations = [...event.sdk.integrations || [], ...integrationNames];\n  }\n}\nfunction normalizeEvent(event, depth, maxBreadth) {\n  var _a, _b;\n  if (!event) {\n    return null;\n  }\n  const normalized = {\n    ...event,\n    ...event.breadcrumbs && {\n      breadcrumbs: event.breadcrumbs.map((b) => ({\n        ...b,\n        ...b.data && {\n          data: normalize(b.data, depth, maxBreadth)\n        }\n      }))\n    },\n    ...event.user && {\n      user: normalize(event.user, depth, maxBreadth)\n    },\n    ...event.contexts && {\n      contexts: normalize(event.contexts, depth, maxBreadth)\n    },\n    ...event.extra && {\n      extra: normalize(event.extra, depth, maxBreadth)\n    }\n  };\n  if (((_a = event.contexts) == null ? void 0 : _a.trace) && normalized.contexts) {\n    normalized.contexts.trace = event.contexts.trace;\n    if (event.contexts.trace.data) {\n      normalized.contexts.trace.data = normalize(event.contexts.trace.data, depth, maxBreadth);\n    }\n  }\n  if (event.spans) {\n    normalized.spans = event.spans.map((span) => {\n      return {\n        ...span,\n        ...span.data && {\n          data: normalize(span.data, depth, maxBreadth)\n        }\n      };\n    });\n  }\n  if (((_b = event.contexts) == null ? void 0 : _b.flags) && normalized.contexts) {\n    normalized.contexts.flags = normalize(event.contexts.flags, 3, maxBreadth);\n  }\n  return normalized;\n}\nfunction getFinalScope(scope, captureContext) {\n  if (!captureContext) {\n    return scope;\n  }\n  const finalScope = scope ? scope.clone() : new Scope();\n  finalScope.update(captureContext);\n  return finalScope;\n}\nfunction parseEventHintOrCaptureContext(hint) {\n  if (!hint) {\n    return void 0;\n  }\n  if (hintIsScopeOrFunction(hint)) {\n    return { captureContext: hint };\n  }\n  if (hintIsScopeContext(hint)) {\n    return {\n      captureContext: hint\n    };\n  }\n  return hint;\n}\nfunction hintIsScopeOrFunction(hint) {\n  return hint instanceof Scope || typeof hint === \"function\";\n}\nconst captureContextKeys = [\n  \"user\",\n  \"level\",\n  \"extra\",\n  \"contexts\",\n  \"tags\",\n  \"fingerprint\",\n  \"propagationContext\"\n];\nfunction hintIsScopeContext(hint) {\n  return Object.keys(hint).some((key) => captureContextKeys.includes(key));\n}\nexport {\n  applyClientOptions,\n  applyDebugIds,\n  applyDebugMeta,\n  parseEventHintOrCaptureContext,\n  prepareEvent\n};\n","import { getCurrentScope, getClient, getIsolationScope } from \"./currentScopes.js\";\nimport { makeSession, updateSession, closeSession } from \"./session.js\";\nimport { parseEventHintOrCaptureContext } from \"./utils/prepareEvent.js\";\nimport { GLOBAL_OBJ } from \"./utils-hoist/worldwide.js\";\nfunction captureException(exception, hint) {\n  return getCurrentScope().captureException(exception, parseEventHintOrCaptureContext(hint));\n}\nfunction captureEvent(event, hint) {\n  return getCurrentScope().captureEvent(event, hint);\n}\nfunction isEnabled() {\n  const client = getClient();\n  return (client == null ? void 0 : client.getOptions().enabled) !== false && !!(client == null ? void 0 : client.getTransport());\n}\nfunction startSession(context) {\n  const isolationScope = getIsolationScope();\n  const currentScope = getCurrentScope();\n  const { userAgent } = GLOBAL_OBJ.navigator || {};\n  const session = makeSession({\n    user: currentScope.getUser() || isolationScope.getUser(),\n    ...userAgent && { userAgent },\n    ...context\n  });\n  const currentSession = isolationScope.getSession();\n  if ((currentSession == null ? void 0 : currentSession.status) === \"ok\") {\n    updateSession(currentSession, { status: \"exited\" });\n  }\n  endSession();\n  isolationScope.setSession(session);\n  return session;\n}\nfunction endSession() {\n  const isolationScope = getIsolationScope();\n  const currentScope = getCurrentScope();\n  const session = currentScope.getSession() || isolationScope.getSession();\n  if (session) {\n    closeSession(session);\n  }\n  _sendSessionUpdate();\n  isolationScope.setSession();\n}\nfunction _sendSessionUpdate() {\n  const isolationScope = getIsolationScope();\n  const client = getClient();\n  const session = isolationScope.getSession();\n  if (session && client) {\n    client.captureSession(session);\n  }\n}\nfunction captureSession(end = false) {\n  if (end) {\n    endSession();\n    return;\n  }\n  _sendSessionUpdate();\n}\nexport {\n  captureEvent,\n  captureException,\n  captureSession,\n  endSession,\n  isEnabled,\n  startSession\n};\n","import { GLOBAL_OBJ } from \"../../../../core/build/esm/utils-hoist/worldwide.js\";\nimport { getOriginalFunction, markFunctionWrapped, addNonEnumerableProperty } from \"../../../../core/build/esm/utils-hoist/object.js\";\nimport { withScope } from \"../../../../core/build/esm/currentScopes.js\";\nimport { addExceptionTypeValue, addExceptionMechanism } from \"../../../../core/build/esm/utils-hoist/misc.js\";\nimport { captureException } from \"../../../../core/build/esm/exports.js\";\nconst WINDOW = GLOBAL_OBJ;\nlet ignoreOnError = 0;\nfunction shouldIgnoreOnError() {\n  return ignoreOnError > 0;\n}\nfunction ignoreNextOnError() {\n  ignoreOnError++;\n  setTimeout(() => {\n    ignoreOnError--;\n  });\n}\nfunction wrap(fn, options = {}) {\n  function isFunction(fn2) {\n    return typeof fn2 === \"function\";\n  }\n  if (!isFunction(fn)) {\n    return fn;\n  }\n  try {\n    const wrapper = fn.__sentry_wrapped__;\n    if (wrapper) {\n      if (typeof wrapper === \"function\") {\n        return wrapper;\n      } else {\n        return fn;\n      }\n    }\n    if (getOriginalFunction(fn)) {\n      return fn;\n    }\n  } catch (e) {\n    return fn;\n  }\n  const sentryWrapped = function(...args) {\n    try {\n      const wrappedArguments = args.map((arg) => wrap(arg, options));\n      return fn.apply(this, wrappedArguments);\n    } catch (ex) {\n      ignoreNextOnError();\n      withScope((scope) => {\n        scope.addEventProcessor((event) => {\n          if (options.mechanism) {\n            addExceptionTypeValue(event, void 0, void 0);\n            addExceptionMechanism(event, options.mechanism);\n          }\n          event.extra = {\n            ...event.extra,\n            arguments: args\n          };\n          return event;\n        });\n        captureException(ex);\n      });\n      throw ex;\n    }\n  };\n  try {\n    for (const property in fn) {\n      if (Object.prototype.hasOwnProperty.call(fn, property)) {\n        sentryWrapped[property] = fn[property];\n      }\n    }\n  } catch {\n  }\n  markFunctionWrapped(sentryWrapped, fn);\n  addNonEnumerableProperty(fn, \"__sentry_wrapped__\", sentryWrapped);\n  try {\n    const descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, \"name\");\n    if (descriptor.configurable) {\n      Object.defineProperty(sentryWrapped, \"name\", {\n        get() {\n          return fn.name;\n        }\n      });\n    }\n  } catch {\n  }\n  return sentryWrapped;\n}\nexport {\n  WINDOW,\n  ignoreNextOnError,\n  shouldIgnoreOnError,\n  wrap\n};\n","const SENTRY_API_VERSION = \"7\";\nfunction getBaseApiEndpoint(dsn) {\n  const protocol = dsn.protocol ? `${dsn.protocol}:` : \"\";\n  const port = dsn.port ? `:${dsn.port}` : \"\";\n  return `${protocol}//${dsn.host}${port}${dsn.path ? `/${dsn.path}` : \"\"}/api/`;\n}\nfunction _getIngestEndpoint(dsn) {\n  return `${getBaseApiEndpoint(dsn)}${dsn.projectId}/envelope/`;\n}\nfunction _encodedAuth(dsn, sdkInfo) {\n  const params = {\n    sentry_version: SENTRY_API_VERSION\n  };\n  if (dsn.publicKey) {\n    params.sentry_key = dsn.publicKey;\n  }\n  if (sdkInfo) {\n    params.sentry_client = `${sdkInfo.name}/${sdkInfo.version}`;\n  }\n  return new URLSearchParams(params).toString();\n}\nfunction getEnvelopeEndpointWithUrlEncodedAuth(dsn, tunnel, sdkInfo) {\n  return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, sdkInfo)}`;\n}\nexport {\n  getEnvelopeEndpointWithUrlEncodedAuth\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { consoleSandbox, logger } from \"./logger.js\";\nconst DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+)?)?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/;\nfunction isValidProtocol(protocol) {\n  return protocol === \"http\" || protocol === \"https\";\n}\nfunction dsnToString(dsn, withPassword = false) {\n  const { host, path, pass, port, projectId, protocol, publicKey } = dsn;\n  return `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : \"\"}@${host}${port ? `:${port}` : \"\"}/${path ? `${path}/` : path}${projectId}`;\n}\nfunction dsnFromString(str) {\n  const match = DSN_REGEX.exec(str);\n  if (!match) {\n    consoleSandbox(() => {\n      console.error(`Invalid Sentry Dsn: ${str}`);\n    });\n    return void 0;\n  }\n  const [protocol, publicKey, pass = \"\", host = \"\", port = \"\", lastPath = \"\"] = match.slice(1);\n  let path = \"\";\n  let projectId = lastPath;\n  const split = projectId.split(\"/\");\n  if (split.length > 1) {\n    path = split.slice(0, -1).join(\"/\");\n    projectId = split.pop();\n  }\n  if (projectId) {\n    const projectMatch = projectId.match(/^\\d+/);\n    if (projectMatch) {\n      projectId = projectMatch[0];\n    }\n  }\n  return dsnFromComponents({ host, pass, path, projectId, port, protocol, publicKey });\n}\nfunction dsnFromComponents(components) {\n  return {\n    protocol: components.protocol,\n    publicKey: components.publicKey || \"\",\n    pass: components.pass || \"\",\n    host: components.host,\n    port: components.port || \"\",\n    path: components.path || \"\",\n    projectId: components.projectId\n  };\n}\nfunction validateDsn(dsn) {\n  if (!DEBUG_BUILD) {\n    return true;\n  }\n  const { port, projectId, protocol } = dsn;\n  const requiredComponents = [\"protocol\", \"publicKey\", \"host\", \"projectId\"];\n  const hasMissingRequiredComponent = requiredComponents.find((component) => {\n    if (!dsn[component]) {\n      logger.error(`Invalid Sentry Dsn: ${component} missing`);\n      return true;\n    }\n    return false;\n  });\n  if (hasMissingRequiredComponent) {\n    return false;\n  }\n  if (!projectId.match(/^\\d+$/)) {\n    logger.error(`Invalid Sentry Dsn: Invalid projectId ${projectId}`);\n    return false;\n  }\n  if (!isValidProtocol(protocol)) {\n    logger.error(`Invalid Sentry Dsn: Invalid protocol ${protocol}`);\n    return false;\n  }\n  if (port && isNaN(parseInt(port, 10))) {\n    logger.error(`Invalid Sentry Dsn: Invalid port ${port}`);\n    return false;\n  }\n  return true;\n}\nfunction makeDsn(from) {\n  const components = typeof from === \"string\" ? dsnFromString(from) : dsnFromComponents(from);\n  if (!components || !validateDsn(components)) {\n    return void 0;\n  }\n  return components;\n}\nexport {\n  dsnFromString,\n  dsnToString,\n  makeDsn\n};\n","import { getSentryCarrier } from \"../carrier.js\";\nimport { dsnToString } from \"./dsn.js\";\nimport { normalize } from \"./normalize.js\";\nimport { GLOBAL_OBJ } from \"./worldwide.js\";\nfunction createEnvelope(headers, items = []) {\n  return [headers, items];\n}\nfunction addItemToEnvelope(envelope, newItem) {\n  const [headers, items] = envelope;\n  return [headers, [...items, newItem]];\n}\nfunction forEachEnvelopeItem(envelope, callback) {\n  const envelopeItems = envelope[1];\n  for (const envelopeItem of envelopeItems) {\n    const envelopeItemType = envelopeItem[0].type;\n    const result = callback(envelopeItem, envelopeItemType);\n    if (result) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction encodeUTF8(input) {\n  const carrier = getSentryCarrier(GLOBAL_OBJ);\n  return carrier.encodePolyfill ? carrier.encodePolyfill(input) : new TextEncoder().encode(input);\n}\nfunction serializeEnvelope(envelope) {\n  const [envHeaders, items] = envelope;\n  let parts = JSON.stringify(envHeaders);\n  function append(next) {\n    if (typeof parts === \"string\") {\n      parts = typeof next === \"string\" ? parts + next : [encodeUTF8(parts), next];\n    } else {\n      parts.push(typeof next === \"string\" ? encodeUTF8(next) : next);\n    }\n  }\n  for (const item of items) {\n    const [itemHeaders, payload] = item;\n    append(`\n${JSON.stringify(itemHeaders)}\n`);\n    if (typeof payload === \"string\" || payload instanceof Uint8Array) {\n      append(payload);\n    } else {\n      let stringifiedPayload;\n      try {\n        stringifiedPayload = JSON.stringify(payload);\n      } catch (e) {\n        stringifiedPayload = JSON.stringify(normalize(payload));\n      }\n      append(stringifiedPayload);\n    }\n  }\n  return typeof parts === \"string\" ? parts : concatBuffers(parts);\n}\nfunction concatBuffers(buffers) {\n  const totalLength = buffers.reduce((acc, buf) => acc + buf.length, 0);\n  const merged = new Uint8Array(totalLength);\n  let offset = 0;\n  for (const buffer of buffers) {\n    merged.set(buffer, offset);\n    offset += buffer.length;\n  }\n  return merged;\n}\nfunction createSpanEnvelopeItem(spanJson) {\n  const spanHeaders = {\n    type: \"span\"\n  };\n  return [spanHeaders, spanJson];\n}\nfunction createAttachmentEnvelopeItem(attachment) {\n  const buffer = typeof attachment.data === \"string\" ? encodeUTF8(attachment.data) : attachment.data;\n  return [\n    {\n      type: \"attachment\",\n      length: buffer.length,\n      filename: attachment.filename,\n      content_type: attachment.contentType,\n      attachment_type: attachment.attachmentType\n    },\n    buffer\n  ];\n}\nconst ITEM_TYPE_TO_DATA_CATEGORY_MAP = {\n  session: \"session\",\n  sessions: \"session\",\n  attachment: \"attachment\",\n  transaction: \"transaction\",\n  event: \"error\",\n  client_report: \"internal\",\n  user_report: \"default\",\n  profile: \"profile\",\n  profile_chunk: \"profile\",\n  replay_event: \"replay\",\n  replay_recording: \"replay\",\n  check_in: \"monitor\",\n  feedback: \"feedback\",\n  span: \"span\",\n  raw_security: \"security\",\n  log: \"log_item\"\n};\nfunction envelopeItemTypeToDataCategory(type) {\n  return ITEM_TYPE_TO_DATA_CATEGORY_MAP[type];\n}\nfunction getSdkMetadataForEnvelopeHeader(metadataOrEvent) {\n  if (!(metadataOrEvent == null ? void 0 : metadataOrEvent.sdk)) {\n    return;\n  }\n  const { name, version } = metadataOrEvent.sdk;\n  return { name, version };\n}\nfunction createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn) {\n  var _a;\n  const dynamicSamplingContext = (_a = event.sdkProcessingMetadata) == null ? void 0 : _a.dynamicSamplingContext;\n  return {\n    event_id: event.event_id,\n    sent_at: (/* @__PURE__ */ new Date()).toISOString(),\n    ...sdkInfo && { sdk: sdkInfo },\n    ...!!tunnel && dsn && { dsn: dsnToString(dsn) },\n    ...dynamicSamplingContext && {\n      trace: dynamicSamplingContext\n    }\n  };\n}\nexport {\n  addItemToEnvelope,\n  createAttachmentEnvelopeItem,\n  createEnvelope,\n  createEventEnvelopeHeaders,\n  createSpanEnvelopeItem,\n  envelopeItemTypeToDataCategory,\n  forEachEnvelopeItem,\n  getSdkMetadataForEnvelopeHeader,\n  serializeEnvelope\n};\n","import { getDynamicSamplingContextFromSpan } from \"./tracing/dynamicSamplingContext.js\";\nimport { spanToJSON, showSpanDropWarning } from \"./utils/spanUtils.js\";\nimport { dsnToString } from \"./utils-hoist/dsn.js\";\nimport { getSdkMetadataForEnvelopeHeader, createEnvelope, createEventEnvelopeHeaders, createSpanEnvelopeItem } from \"./utils-hoist/envelope.js\";\nfunction enhanceEventWithSdkInfo(event, sdkInfo) {\n  if (!sdkInfo) {\n    return event;\n  }\n  event.sdk = event.sdk || {};\n  event.sdk.name = event.sdk.name || sdkInfo.name;\n  event.sdk.version = event.sdk.version || sdkInfo.version;\n  event.sdk.integrations = [...event.sdk.integrations || [], ...sdkInfo.integrations || []];\n  event.sdk.packages = [...event.sdk.packages || [], ...sdkInfo.packages || []];\n  return event;\n}\nfunction createSessionEnvelope(session, dsn, metadata, tunnel) {\n  const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n  const envelopeHeaders = {\n    sent_at: (/* @__PURE__ */ new Date()).toISOString(),\n    ...sdkInfo && { sdk: sdkInfo },\n    ...!!tunnel && dsn && { dsn: dsnToString(dsn) }\n  };\n  const envelopeItem = \"aggregates\" in session ? [{ type: \"sessions\" }, session] : [{ type: \"session\" }, session.toJSON()];\n  return createEnvelope(envelopeHeaders, [envelopeItem]);\n}\nfunction createEventEnvelope(event, dsn, metadata, tunnel) {\n  const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n  const eventType = event.type && event.type !== \"replay_event\" ? event.type : \"event\";\n  enhanceEventWithSdkInfo(event, metadata == null ? void 0 : metadata.sdk);\n  const envelopeHeaders = createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn);\n  delete event.sdkProcessingMetadata;\n  const eventItem = [{ type: eventType }, event];\n  return createEnvelope(envelopeHeaders, [eventItem]);\n}\nfunction createSpanEnvelope(spans, client) {\n  function dscHasRequiredProps(dsc2) {\n    return !!dsc2.trace_id && !!dsc2.public_key;\n  }\n  const dsc = getDynamicSamplingContextFromSpan(spans[0]);\n  const dsn = client == null ? void 0 : client.getDsn();\n  const tunnel = client == null ? void 0 : client.getOptions().tunnel;\n  const headers = {\n    sent_at: (/* @__PURE__ */ new Date()).toISOString(),\n    ...dscHasRequiredProps(dsc) && { trace: dsc },\n    ...!!tunnel && dsn && { dsn: dsnToString(dsn) }\n  };\n  const beforeSendSpan = client == null ? void 0 : client.getOptions().beforeSendSpan;\n  const convertToSpanJSON = beforeSendSpan ? (span) => {\n    const spanJson = spanToJSON(span);\n    const processedSpan = beforeSendSpan(spanJson);\n    if (!processedSpan) {\n      showSpanDropWarning();\n      return spanJson;\n    }\n    return processedSpan;\n  } : spanToJSON;\n  const items = [];\n  for (const span of spans) {\n    const spanJson = convertToSpanJSON(span);\n    if (spanJson) {\n      items.push(createSpanEnvelopeItem(spanJson));\n    }\n  }\n  return createEnvelope(headers, items);\n}\nexport {\n  createEventEnvelope,\n  createSessionEnvelope,\n  createSpanEnvelope\n};\n","import { DEBUG_BUILD } from \"./debug-build.js\";\nimport { logger } from \"./utils-hoist/logger.js\";\nconst installedIntegrations = [];\nfunction filterDuplicates(integrations) {\n  const integrationsByName = {};\n  integrations.forEach((currentInstance) => {\n    const { name } = currentInstance;\n    const existingInstance = integrationsByName[name];\n    if (existingInstance && !existingInstance.isDefaultInstance && currentInstance.isDefaultInstance) {\n      return;\n    }\n    integrationsByName[name] = currentInstance;\n  });\n  return Object.values(integrationsByName);\n}\nfunction getIntegrationsToSetup(options) {\n  const defaultIntegrations = options.defaultIntegrations || [];\n  const userIntegrations = options.integrations;\n  defaultIntegrations.forEach((integration) => {\n    integration.isDefaultInstance = true;\n  });\n  let integrations;\n  if (Array.isArray(userIntegrations)) {\n    integrations = [...defaultIntegrations, ...userIntegrations];\n  } else if (typeof userIntegrations === \"function\") {\n    const resolvedUserIntegrations = userIntegrations(defaultIntegrations);\n    integrations = Array.isArray(resolvedUserIntegrations) ? resolvedUserIntegrations : [resolvedUserIntegrations];\n  } else {\n    integrations = defaultIntegrations;\n  }\n  return filterDuplicates(integrations);\n}\nfunction setupIntegrations(client, integrations) {\n  const integrationIndex = {};\n  integrations.forEach((integration) => {\n    if (integration) {\n      setupIntegration(client, integration, integrationIndex);\n    }\n  });\n  return integrationIndex;\n}\nfunction afterSetupIntegrations(client, integrations) {\n  for (const integration of integrations) {\n    if (integration == null ? void 0 : integration.afterAllSetup) {\n      integration.afterAllSetup(client);\n    }\n  }\n}\nfunction setupIntegration(client, integration, integrationIndex) {\n  if (integrationIndex[integration.name]) {\n    DEBUG_BUILD && logger.log(`Integration skipped because it was already installed: ${integration.name}`);\n    return;\n  }\n  integrationIndex[integration.name] = integration;\n  if (installedIntegrations.indexOf(integration.name) === -1 && typeof integration.setupOnce === \"function\") {\n    integration.setupOnce();\n    installedIntegrations.push(integration.name);\n  }\n  if (integration.setup && typeof integration.setup === \"function\") {\n    integration.setup(client);\n  }\n  if (typeof integration.preprocessEvent === \"function\") {\n    const callback = integration.preprocessEvent.bind(integration);\n    client.on(\"preprocessEvent\", (event, hint) => callback(event, hint, client));\n  }\n  if (typeof integration.processEvent === \"function\") {\n    const callback = integration.processEvent.bind(integration);\n    const processor = Object.assign((event, hint) => callback(event, hint, client), {\n      id: integration.name\n    });\n    client.addEventProcessor(processor);\n  }\n  DEBUG_BUILD && logger.log(`Integration installed: ${integration.name}`);\n}\nfunction defineIntegration(fn) {\n  return fn;\n}\nexport {\n  afterSetupIntegrations,\n  defineIntegration,\n  getIntegrationsToSetup,\n  installedIntegrations,\n  setupIntegration,\n  setupIntegrations\n};\n","function getPossibleEventMessages(event) {\n  const possibleMessages = [];\n  if (event.message) {\n    possibleMessages.push(event.message);\n  }\n  try {\n    const lastException = event.exception.values[event.exception.values.length - 1];\n    if (lastException == null ? void 0 : lastException.value) {\n      possibleMessages.push(lastException.value);\n      if (lastException.type) {\n        possibleMessages.push(`${lastException.type}: ${lastException.value}`);\n      }\n    }\n  } catch (e) {\n  }\n  return possibleMessages;\n}\nexport {\n  getPossibleEventMessages\n};\n","import { SEMANTIC_ATTRIBUTE_PROFILE_ID, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME } from \"../semanticAttributes.js\";\nfunction convertTransactionEventToSpanJson(event) {\n  var _a;\n  const { trace_id, parent_span_id, span_id, status, origin, data, op } = ((_a = event.contexts) == null ? void 0 : _a.trace) ?? {};\n  return {\n    data: data ?? {},\n    description: event.transaction,\n    op,\n    parent_span_id,\n    span_id: span_id ?? \"\",\n    start_timestamp: event.start_timestamp ?? 0,\n    status,\n    timestamp: event.timestamp,\n    trace_id: trace_id ?? \"\",\n    origin,\n    profile_id: data == null ? void 0 : data[SEMANTIC_ATTRIBUTE_PROFILE_ID],\n    exclusive_time: data == null ? void 0 : data[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],\n    measurements: event.measurements,\n    is_segment: true\n  };\n}\nfunction convertSpanJsonToTransactionEvent(span) {\n  return {\n    type: \"transaction\",\n    timestamp: span.timestamp,\n    start_timestamp: span.start_timestamp,\n    transaction: span.description,\n    contexts: {\n      trace: {\n        trace_id: span.trace_id,\n        span_id: span.span_id,\n        parent_span_id: span.parent_span_id,\n        op: span.op,\n        status: span.status,\n        origin: span.origin,\n        data: {\n          ...span.data,\n          ...span.profile_id && { [SEMANTIC_ATTRIBUTE_PROFILE_ID]: span.profile_id },\n          ...span.exclusive_time && { [SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]: span.exclusive_time }\n        }\n      }\n    },\n    measurements: span.measurements\n  };\n}\nexport {\n  convertSpanJsonToTransactionEvent,\n  convertTransactionEventToSpanJson\n};\n","import { createEnvelope } from \"./envelope.js\";\nimport { dateTimestampInSeconds } from \"./time.js\";\nfunction createClientReportEnvelope(discarded_events, dsn, timestamp) {\n  const clientReportItem = [\n    { type: \"client_report\" },\n    {\n      timestamp: timestamp || dateTimestampInSeconds(),\n      discarded_events\n    }\n  ];\n  return createEnvelope(dsn ? { dsn } : {}, [clientReportItem]);\n}\nexport {\n  createClientReportEnvelope\n};\n","import { getEnvelopeEndpointWithUrlEncodedAuth } from \"./api.js\";\nimport { DEFAULT_ENVIRONMENT } from \"./constants.js\";\nimport { getTraceContextFromScope, getCurrentScope, getIsolationScope } from \"./currentScopes.js\";\nimport { DEBUG_BUILD } from \"./debug-build.js\";\nimport { createEventEnvelope, createSessionEnvelope } from \"./envelope.js\";\nimport { setupIntegration, afterSetupIntegrations, setupIntegrations } from \"./integration.js\";\nimport { updateSession } from \"./session.js\";\nimport { getDynamicSamplingContextFromScope } from \"./tracing/dynamicSamplingContext.js\";\nimport { getPossibleEventMessages } from \"./utils/eventUtils.js\";\nimport { merge } from \"./utils/merge.js\";\nimport { parseSampleRate } from \"./utils/parseSampleRate.js\";\nimport { prepareEvent } from \"./utils/prepareEvent.js\";\nimport { showSpanDropWarning } from \"./utils/spanUtils.js\";\nimport { convertTransactionEventToSpanJson, convertSpanJsonToTransactionEvent } from \"./utils/transactionEvent.js\";\nimport { createClientReportEnvelope } from \"./utils-hoist/clientreport.js\";\nimport { makeDsn, dsnToString } from \"./utils-hoist/dsn.js\";\nimport { addItemToEnvelope, createAttachmentEnvelopeItem } from \"./utils-hoist/envelope.js\";\nimport { isPrimitive, isThenable, isPlainObject, isParameterizedString } from \"./utils-hoist/is.js\";\nimport { logger } from \"./utils-hoist/logger.js\";\nimport { uuid4, checkOrSetAlreadyCaught } from \"./utils-hoist/misc.js\";\nimport { resolvedSyncPromise, SyncPromise, rejectedSyncPromise } from \"./utils-hoist/syncpromise.js\";\nconst ALREADY_SEEN_ERROR = \"Not capturing exception because it's already been captured.\";\nconst MISSING_RELEASE_FOR_SESSION_ERROR = \"Discarded session because of missing or non-string release\";\nconst INTERNAL_ERROR_SYMBOL = Symbol.for(\"SentryInternalError\");\nconst DO_NOT_SEND_EVENT_SYMBOL = Symbol.for(\"SentryDoNotSendEventError\");\nfunction _makeInternalError(message) {\n  return {\n    message,\n    [INTERNAL_ERROR_SYMBOL]: true\n  };\n}\nfunction _makeDoNotSendEventError(message) {\n  return {\n    message,\n    [DO_NOT_SEND_EVENT_SYMBOL]: true\n  };\n}\nfunction _isInternalError(error) {\n  return !!error && typeof error === \"object\" && INTERNAL_ERROR_SYMBOL in error;\n}\nfunction _isDoNotSendEventError(error) {\n  return !!error && typeof error === \"object\" && DO_NOT_SEND_EVENT_SYMBOL in error;\n}\nclass Client {\n  /** Options passed to the SDK. */\n  /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */\n  /** Array of set up integrations. */\n  /** Number of calls being processed */\n  /** Holds flushable  */\n  // eslint-disable-next-line @typescript-eslint/ban-types\n  /**\n   * Initializes this client instance.\n   *\n   * @param options Options for the client.\n   */\n  constructor(options) {\n    this._options = options;\n    this._integrations = {};\n    this._numProcessing = 0;\n    this._outcomes = {};\n    this._hooks = {};\n    this._eventProcessors = [];\n    if (options.dsn) {\n      this._dsn = makeDsn(options.dsn);\n    } else {\n      DEBUG_BUILD && logger.warn(\"No DSN provided, client will not send events.\");\n    }\n    if (this._dsn) {\n      const url = getEnvelopeEndpointWithUrlEncodedAuth(\n        this._dsn,\n        options.tunnel,\n        options._metadata ? options._metadata.sdk : void 0\n      );\n      this._transport = options.transport({\n        tunnel: this._options.tunnel,\n        recordDroppedEvent: this.recordDroppedEvent.bind(this),\n        ...options.transportOptions,\n        url\n      });\n    }\n  }\n  /**\n   * Captures an exception event and sends it to Sentry.\n   *\n   * Unlike `captureException` exported from every SDK, this method requires that you pass it the current scope.\n   */\n  captureException(exception, hint, scope) {\n    const eventId = uuid4();\n    if (checkOrSetAlreadyCaught(exception)) {\n      DEBUG_BUILD && logger.log(ALREADY_SEEN_ERROR);\n      return eventId;\n    }\n    const hintWithEventId = {\n      event_id: eventId,\n      ...hint\n    };\n    this._process(\n      this.eventFromException(exception, hintWithEventId).then(\n        (event) => this._captureEvent(event, hintWithEventId, scope)\n      )\n    );\n    return hintWithEventId.event_id;\n  }\n  /**\n   * Captures a message event and sends it to Sentry.\n   *\n   * Unlike `captureMessage` exported from every SDK, this method requires that you pass it the current scope.\n   */\n  captureMessage(message, level, hint, currentScope) {\n    const hintWithEventId = {\n      event_id: uuid4(),\n      ...hint\n    };\n    const eventMessage = isParameterizedString(message) ? message : String(message);\n    const promisedEvent = isPrimitive(message) ? this.eventFromMessage(eventMessage, level, hintWithEventId) : this.eventFromException(message, hintWithEventId);\n    this._process(promisedEvent.then((event) => this._captureEvent(event, hintWithEventId, currentScope)));\n    return hintWithEventId.event_id;\n  }\n  /**\n   * Captures a manually created event and sends it to Sentry.\n   *\n   * Unlike `captureEvent` exported from every SDK, this method requires that you pass it the current scope.\n   */\n  captureEvent(event, hint, currentScope) {\n    const eventId = uuid4();\n    if ((hint == null ? void 0 : hint.originalException) && checkOrSetAlreadyCaught(hint.originalException)) {\n      DEBUG_BUILD && logger.log(ALREADY_SEEN_ERROR);\n      return eventId;\n    }\n    const hintWithEventId = {\n      event_id: eventId,\n      ...hint\n    };\n    const sdkProcessingMetadata = event.sdkProcessingMetadata || {};\n    const capturedSpanScope = sdkProcessingMetadata.capturedSpanScope;\n    const capturedSpanIsolationScope = sdkProcessingMetadata.capturedSpanIsolationScope;\n    this._process(\n      this._captureEvent(event, hintWithEventId, capturedSpanScope || currentScope, capturedSpanIsolationScope)\n    );\n    return hintWithEventId.event_id;\n  }\n  /**\n   * Captures a session.\n   */\n  captureSession(session) {\n    this.sendSession(session);\n    updateSession(session, { init: false });\n  }\n  /**\n   * Create a cron monitor check in and send it to Sentry. This method is not available on all clients.\n   *\n   * @param checkIn An object that describes a check in.\n   * @param upsertMonitorConfig An optional object that describes a monitor config. Use this if you want\n   * to create a monitor automatically when sending a check in.\n   * @param scope An optional scope containing event metadata.\n   * @returns A string representing the id of the check in.\n   */\n  /**\n   * Get the current Dsn.\n   */\n  getDsn() {\n    return this._dsn;\n  }\n  /**\n   * Get the current options.\n   */\n  getOptions() {\n    return this._options;\n  }\n  /**\n   * Get the SDK metadata.\n   * @see SdkMetadata\n   */\n  getSdkMetadata() {\n    return this._options._metadata;\n  }\n  /**\n   * Returns the transport that is used by the client.\n   * Please note that the transport gets lazy initialized so it will only be there once the first event has been sent.\n   */\n  getTransport() {\n    return this._transport;\n  }\n  /**\n   * Wait for all events to be sent or the timeout to expire, whichever comes first.\n   *\n   * @param timeout Maximum time in ms the client should wait for events to be flushed. Omitting this parameter will\n   *   cause the client to wait until all events are sent before resolving the promise.\n   * @returns A promise that will resolve with `true` if all events are sent before the timeout, or `false` if there are\n   * still events in the queue when the timeout is reached.\n   */\n  flush(timeout) {\n    const transport = this._transport;\n    if (transport) {\n      this.emit(\"flush\");\n      return this._isClientDoneProcessing(timeout).then((clientFinished) => {\n        return transport.flush(timeout).then((transportFlushed) => clientFinished && transportFlushed);\n      });\n    } else {\n      return resolvedSyncPromise(true);\n    }\n  }\n  /**\n   * Flush the event queue and set the client to `enabled = false`. See {@link Client.flush}.\n   *\n   * @param {number} timeout Maximum time in ms the client should wait before shutting down. Omitting this parameter will cause\n   *   the client to wait until all events are sent before disabling itself.\n   * @returns {Promise<boolean>} A promise which resolves to `true` if the flush completes successfully before the timeout, or `false` if\n   * it doesn't.\n   */\n  close(timeout) {\n    return this.flush(timeout).then((result) => {\n      this.getOptions().enabled = false;\n      this.emit(\"close\");\n      return result;\n    });\n  }\n  /**\n   * Get all installed event processors.\n   */\n  getEventProcessors() {\n    return this._eventProcessors;\n  }\n  /**\n   * Adds an event processor that applies to any event processed by this client.\n   */\n  addEventProcessor(eventProcessor) {\n    this._eventProcessors.push(eventProcessor);\n  }\n  /**\n   * Initialize this client.\n   * Call this after the client was set on a scope.\n   */\n  init() {\n    if (this._isEnabled() || // Force integrations to be setup even if no DSN was set when we have\n    // Spotlight enabled. This is particularly important for browser as we\n    // don't support the `spotlight` option there and rely on the users\n    // adding the `spotlightBrowserIntegration()` to their integrations which\n    // wouldn't get initialized with the check below when there's no DSN set.\n    this._options.integrations.some(({ name }) => name.startsWith(\"Spotlight\"))) {\n      this._setupIntegrations();\n    }\n  }\n  /**\n   * Gets an installed integration by its name.\n   *\n   * @returns {Integration|undefined} The installed integration or `undefined` if no integration with that `name` was installed.\n   */\n  getIntegrationByName(integrationName) {\n    return this._integrations[integrationName];\n  }\n  /**\n   * Add an integration to the client.\n   * This can be used to e.g. lazy load integrations.\n   * In most cases, this should not be necessary,\n   * and you're better off just passing the integrations via `integrations: []` at initialization time.\n   * However, if you find the need to conditionally load & add an integration, you can use `addIntegration` to do so.\n   */\n  addIntegration(integration) {\n    const isAlreadyInstalled = this._integrations[integration.name];\n    setupIntegration(this, integration, this._integrations);\n    if (!isAlreadyInstalled) {\n      afterSetupIntegrations(this, [integration]);\n    }\n  }\n  /**\n   * Send a fully prepared event to Sentry.\n   */\n  sendEvent(event, hint = {}) {\n    this.emit(\"beforeSendEvent\", event, hint);\n    let env = createEventEnvelope(event, this._dsn, this._options._metadata, this._options.tunnel);\n    for (const attachment of hint.attachments || []) {\n      env = addItemToEnvelope(env, createAttachmentEnvelopeItem(attachment));\n    }\n    const promise = this.sendEnvelope(env);\n    if (promise) {\n      promise.then((sendResponse) => this.emit(\"afterSendEvent\", event, sendResponse), null);\n    }\n  }\n  /**\n   * Send a session or session aggregrates to Sentry.\n   */\n  sendSession(session) {\n    const { release: clientReleaseOption, environment: clientEnvironmentOption = DEFAULT_ENVIRONMENT } = this._options;\n    if (\"aggregates\" in session) {\n      const sessionAttrs = session.attrs || {};\n      if (!sessionAttrs.release && !clientReleaseOption) {\n        DEBUG_BUILD && logger.warn(MISSING_RELEASE_FOR_SESSION_ERROR);\n        return;\n      }\n      sessionAttrs.release = sessionAttrs.release || clientReleaseOption;\n      sessionAttrs.environment = sessionAttrs.environment || clientEnvironmentOption;\n      session.attrs = sessionAttrs;\n    } else {\n      if (!session.release && !clientReleaseOption) {\n        DEBUG_BUILD && logger.warn(MISSING_RELEASE_FOR_SESSION_ERROR);\n        return;\n      }\n      session.release = session.release || clientReleaseOption;\n      session.environment = session.environment || clientEnvironmentOption;\n    }\n    this.emit(\"beforeSendSession\", session);\n    const env = createSessionEnvelope(session, this._dsn, this._options._metadata, this._options.tunnel);\n    this.sendEnvelope(env);\n  }\n  /**\n   * Record on the client that an event got dropped (ie, an event that will not be sent to Sentry).\n   */\n  recordDroppedEvent(reason, category, count = 1) {\n    if (this._options.sendClientReports) {\n      const key = `${reason}:${category}`;\n      DEBUG_BUILD && logger.log(`Recording outcome: \"${key}\"${count > 1 ? ` (${count} times)` : \"\"}`);\n      this._outcomes[key] = (this._outcomes[key] || 0) + count;\n    }\n  }\n  /* eslint-disable @typescript-eslint/unified-signatures */\n  /**\n   * Register a callback for whenever a span is started.\n   * Receives the span as argument.\n   * @returns {() => void} A function that, when executed, removes the registered callback.\n   */\n  /**\n   * Register a hook on this client.\n   */\n  on(hook, callback) {\n    const hooks = this._hooks[hook] = this._hooks[hook] || [];\n    hooks.push(callback);\n    return () => {\n      const cbIndex = hooks.indexOf(callback);\n      if (cbIndex > -1) {\n        hooks.splice(cbIndex, 1);\n      }\n    };\n  }\n  /** Fire a hook whenever a span starts. */\n  /**\n   * Emit a hook that was previously registered via `on()`.\n   */\n  emit(hook, ...rest) {\n    const callbacks = this._hooks[hook];\n    if (callbacks) {\n      callbacks.forEach((callback) => callback(...rest));\n    }\n  }\n  /**\n   * Send an envelope to Sentry.\n   */\n  sendEnvelope(envelope) {\n    this.emit(\"beforeEnvelope\", envelope);\n    if (this._isEnabled() && this._transport) {\n      return this._transport.send(envelope).then(null, (reason) => {\n        DEBUG_BUILD && logger.error(\"Error while sending envelope:\", reason);\n        return reason;\n      });\n    }\n    DEBUG_BUILD && logger.error(\"Transport disabled\");\n    return resolvedSyncPromise({});\n  }\n  /* eslint-enable @typescript-eslint/unified-signatures */\n  /** Setup integrations for this client. */\n  _setupIntegrations() {\n    const { integrations } = this._options;\n    this._integrations = setupIntegrations(this, integrations);\n    afterSetupIntegrations(this, integrations);\n  }\n  /** Updates existing session based on the provided event */\n  _updateSessionFromEvent(session, event) {\n    var _a;\n    let crashed = event.level === \"fatal\";\n    let errored = false;\n    const exceptions = (_a = event.exception) == null ? void 0 : _a.values;\n    if (exceptions) {\n      errored = true;\n      for (const ex of exceptions) {\n        const mechanism = ex.mechanism;\n        if ((mechanism == null ? void 0 : mechanism.handled) === false) {\n          crashed = true;\n          break;\n        }\n      }\n    }\n    const sessionNonTerminal = session.status === \"ok\";\n    const shouldUpdateAndSend = sessionNonTerminal && session.errors === 0 || sessionNonTerminal && crashed;\n    if (shouldUpdateAndSend) {\n      updateSession(session, {\n        ...crashed && { status: \"crashed\" },\n        errors: session.errors || Number(errored || crashed)\n      });\n      this.captureSession(session);\n    }\n  }\n  /**\n   * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying\n   * \"no\" (resolving to `false`) in order to give the client a chance to potentially finish first.\n   *\n   * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not\n   * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to\n   * `true`.\n   * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and\n   * `false` otherwise\n   */\n  _isClientDoneProcessing(timeout) {\n    return new SyncPromise((resolve) => {\n      let ticked = 0;\n      const tick = 1;\n      const interval = setInterval(() => {\n        if (this._numProcessing == 0) {\n          clearInterval(interval);\n          resolve(true);\n        } else {\n          ticked += tick;\n          if (timeout && ticked >= timeout) {\n            clearInterval(interval);\n            resolve(false);\n          }\n        }\n      }, tick);\n    });\n  }\n  /** Determines whether this SDK is enabled and a transport is present. */\n  _isEnabled() {\n    return this.getOptions().enabled !== false && this._transport !== void 0;\n  }\n  /**\n   * Adds common information to events.\n   *\n   * The information includes release and environment from `options`,\n   * breadcrumbs and context (extra, tags and user) from the scope.\n   *\n   * Information that is already present in the event is never overwritten. For\n   * nested objects, such as the context, keys are merged.\n   *\n   * @param event The original event.\n   * @param hint May contain additional information about the original exception.\n   * @param currentScope A scope containing event metadata.\n   * @returns A new event with more information.\n   */\n  _prepareEvent(event, hint, currentScope, isolationScope) {\n    const options = this.getOptions();\n    const integrations = Object.keys(this._integrations);\n    if (!hint.integrations && (integrations == null ? void 0 : integrations.length)) {\n      hint.integrations = integrations;\n    }\n    this.emit(\"preprocessEvent\", event, hint);\n    if (!event.type) {\n      isolationScope.setLastEventId(event.event_id || hint.event_id);\n    }\n    return prepareEvent(options, event, hint, currentScope, this, isolationScope).then((evt) => {\n      if (evt === null) {\n        return evt;\n      }\n      this.emit(\"postprocessEvent\", evt, hint);\n      evt.contexts = {\n        trace: getTraceContextFromScope(currentScope),\n        ...evt.contexts\n      };\n      const dynamicSamplingContext = getDynamicSamplingContextFromScope(this, currentScope);\n      evt.sdkProcessingMetadata = {\n        dynamicSamplingContext,\n        ...evt.sdkProcessingMetadata\n      };\n      return evt;\n    });\n  }\n  /**\n   * Processes the event and logs an error in case of rejection\n   * @param event\n   * @param hint\n   * @param scope\n   */\n  _captureEvent(event, hint = {}, currentScope = getCurrentScope(), isolationScope = getIsolationScope()) {\n    if (DEBUG_BUILD && isErrorEvent(event)) {\n      logger.log(`Captured error event \\`${getPossibleEventMessages(event)[0] || \"<unknown>\"}\\``);\n    }\n    return this._processEvent(event, hint, currentScope, isolationScope).then(\n      (finalEvent) => {\n        return finalEvent.event_id;\n      },\n      (reason) => {\n        if (DEBUG_BUILD) {\n          if (_isDoNotSendEventError(reason)) {\n            logger.log(reason.message);\n          } else if (_isInternalError(reason)) {\n            logger.warn(reason.message);\n          } else {\n            logger.warn(reason);\n          }\n        }\n        return void 0;\n      }\n    );\n  }\n  /**\n   * Processes an event (either error or message) and sends it to Sentry.\n   *\n   * This also adds breadcrumbs and context information to the event. However,\n   * platform specific meta data (such as the User's IP address) must be added\n   * by the SDK implementor.\n   *\n   *\n   * @param event The event to send to Sentry.\n   * @param hint May contain additional information about the original exception.\n   * @param currentScope A scope containing event metadata.\n   * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.\n   */\n  _processEvent(event, hint, currentScope, isolationScope) {\n    const options = this.getOptions();\n    const { sampleRate } = options;\n    const isTransaction = isTransactionEvent(event);\n    const isError = isErrorEvent(event);\n    const eventType = event.type || \"error\";\n    const beforeSendLabel = `before send for type \\`${eventType}\\``;\n    const parsedSampleRate = typeof sampleRate === \"undefined\" ? void 0 : parseSampleRate(sampleRate);\n    if (isError && typeof parsedSampleRate === \"number\" && Math.random() > parsedSampleRate) {\n      this.recordDroppedEvent(\"sample_rate\", \"error\");\n      return rejectedSyncPromise(\n        _makeDoNotSendEventError(\n          `Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`\n        )\n      );\n    }\n    const dataCategory = eventType === \"replay_event\" ? \"replay\" : eventType;\n    return this._prepareEvent(event, hint, currentScope, isolationScope).then((prepared) => {\n      if (prepared === null) {\n        this.recordDroppedEvent(\"event_processor\", dataCategory);\n        throw _makeDoNotSendEventError(\"An event processor returned `null`, will not send event.\");\n      }\n      const isInternalException = hint.data && hint.data.__sentry__ === true;\n      if (isInternalException) {\n        return prepared;\n      }\n      const result = processBeforeSend(this, options, prepared, hint);\n      return _validateBeforeSendResult(result, beforeSendLabel);\n    }).then((processedEvent) => {\n      var _a;\n      if (processedEvent === null) {\n        this.recordDroppedEvent(\"before_send\", dataCategory);\n        if (isTransaction) {\n          const spans = event.spans || [];\n          const spanCount = 1 + spans.length;\n          this.recordDroppedEvent(\"before_send\", \"span\", spanCount);\n        }\n        throw _makeDoNotSendEventError(`${beforeSendLabel} returned \\`null\\`, will not send event.`);\n      }\n      const session = currentScope.getSession() || isolationScope.getSession();\n      if (isError && session) {\n        this._updateSessionFromEvent(session, processedEvent);\n      }\n      if (isTransaction) {\n        const spanCountBefore = ((_a = processedEvent.sdkProcessingMetadata) == null ? void 0 : _a.spanCountBeforeProcessing) || 0;\n        const spanCountAfter = processedEvent.spans ? processedEvent.spans.length : 0;\n        const droppedSpanCount = spanCountBefore - spanCountAfter;\n        if (droppedSpanCount > 0) {\n          this.recordDroppedEvent(\"before_send\", \"span\", droppedSpanCount);\n        }\n      }\n      const transactionInfo = processedEvent.transaction_info;\n      if (isTransaction && transactionInfo && processedEvent.transaction !== event.transaction) {\n        const source = \"custom\";\n        processedEvent.transaction_info = {\n          ...transactionInfo,\n          source\n        };\n      }\n      this.sendEvent(processedEvent, hint);\n      return processedEvent;\n    }).then(null, (reason) => {\n      if (_isDoNotSendEventError(reason) || _isInternalError(reason)) {\n        throw reason;\n      }\n      this.captureException(reason, {\n        data: {\n          __sentry__: true\n        },\n        originalException: reason\n      });\n      throw _makeInternalError(\n        `Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${reason}`\n      );\n    });\n  }\n  /**\n   * Occupies the client with processing and event\n   */\n  _process(promise) {\n    this._numProcessing++;\n    void promise.then(\n      (value) => {\n        this._numProcessing--;\n        return value;\n      },\n      (reason) => {\n        this._numProcessing--;\n        return reason;\n      }\n    );\n  }\n  /**\n   * Clears outcomes on this client and returns them.\n   */\n  _clearOutcomes() {\n    const outcomes = this._outcomes;\n    this._outcomes = {};\n    return Object.entries(outcomes).map(([key, quantity]) => {\n      const [reason, category] = key.split(\":\");\n      return {\n        reason,\n        category,\n        quantity\n      };\n    });\n  }\n  /**\n   * Sends client reports as an envelope.\n   */\n  _flushOutcomes() {\n    DEBUG_BUILD && logger.log(\"Flushing outcomes...\");\n    const outcomes = this._clearOutcomes();\n    if (outcomes.length === 0) {\n      DEBUG_BUILD && logger.log(\"No outcomes to send\");\n      return;\n    }\n    if (!this._dsn) {\n      DEBUG_BUILD && logger.log(\"No dsn provided, will not send outcomes\");\n      return;\n    }\n    DEBUG_BUILD && logger.log(\"Sending outcomes:\", outcomes);\n    const envelope = createClientReportEnvelope(outcomes, this._options.tunnel && dsnToString(this._dsn));\n    this.sendEnvelope(envelope);\n  }\n  /**\n   * Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`.\n   */\n}\nfunction _validateBeforeSendResult(beforeSendResult, beforeSendLabel) {\n  const invalidValueError = `${beforeSendLabel} must return \\`null\\` or a valid event.`;\n  if (isThenable(beforeSendResult)) {\n    return beforeSendResult.then(\n      (event) => {\n        if (!isPlainObject(event) && event !== null) {\n          throw _makeInternalError(invalidValueError);\n        }\n        return event;\n      },\n      (e) => {\n        throw _makeInternalError(`${beforeSendLabel} rejected with ${e}`);\n      }\n    );\n  } else if (!isPlainObject(beforeSendResult) && beforeSendResult !== null) {\n    throw _makeInternalError(invalidValueError);\n  }\n  return beforeSendResult;\n}\nfunction processBeforeSend(client, options, event, hint) {\n  const { beforeSend, beforeSendTransaction, beforeSendSpan } = options;\n  let processedEvent = event;\n  if (isErrorEvent(processedEvent) && beforeSend) {\n    return beforeSend(processedEvent, hint);\n  }\n  if (isTransactionEvent(processedEvent)) {\n    if (beforeSendSpan) {\n      const processedRootSpanJson = beforeSendSpan(convertTransactionEventToSpanJson(processedEvent));\n      if (!processedRootSpanJson) {\n        showSpanDropWarning();\n      } else {\n        processedEvent = merge(event, convertSpanJsonToTransactionEvent(processedRootSpanJson));\n      }\n      if (processedEvent.spans) {\n        const processedSpans = [];\n        for (const span of processedEvent.spans) {\n          const processedSpan = beforeSendSpan(span);\n          if (!processedSpan) {\n            showSpanDropWarning();\n            processedSpans.push(span);\n          } else {\n            processedSpans.push(processedSpan);\n          }\n        }\n        processedEvent.spans = processedSpans;\n      }\n    }\n    if (beforeSendTransaction) {\n      if (processedEvent.spans) {\n        const spanCountBefore = processedEvent.spans.length;\n        processedEvent.sdkProcessingMetadata = {\n          ...event.sdkProcessingMetadata,\n          spanCountBeforeProcessing: spanCountBefore\n        };\n      }\n      return beforeSendTransaction(processedEvent, hint);\n    }\n  }\n  return processedEvent;\n}\nfunction isErrorEvent(event) {\n  return event.type === void 0;\n}\nfunction isTransactionEvent(event) {\n  return event.type === \"transaction\";\n}\nexport {\n  Client\n};\n","import { SDK_VERSION } from \"../utils-hoist/version.js\";\nfunction applySdkMetadata(options, name, names = [name], source = \"npm\") {\n  const metadata = options._metadata || {};\n  if (!metadata.sdk) {\n    metadata.sdk = {\n      name: `sentry.javascript.${name}`,\n      packages: names.map((name2) => ({\n        name: `${source}:@sentry/${name2}`,\n        version: SDK_VERSION\n      })),\n      version: SDK_VERSION\n    };\n  }\n  options._metadata = metadata;\n}\nexport {\n  applySdkMetadata\n};\n","import { dsnToString } from \"../utils-hoist/dsn.js\";\nimport { createEnvelope } from \"../utils-hoist/envelope.js\";\nfunction createLogContainerEnvelopeItem(items) {\n  return [\n    {\n      type: \"log\",\n      item_count: items.length,\n      content_type: \"application/vnd.sentry.items.log+json\"\n    },\n    {\n      items\n    }\n  ];\n}\nfunction createLogEnvelope(logs, metadata, tunnel, dsn) {\n  const headers = {};\n  if (metadata == null ? void 0 : metadata.sdk) {\n    headers.sdk = {\n      name: metadata.sdk.name,\n      version: metadata.sdk.version\n    };\n  }\n  if (!!tunnel && !!dsn) {\n    headers.dsn = dsnToString(dsn);\n  }\n  return createEnvelope(headers, [createLogContainerEnvelopeItem(logs)]);\n}\nexport {\n  createLogContainerEnvelopeItem,\n  createLogEnvelope\n};\n","import { GLOBAL_OBJ } from \"../utils-hoist/worldwide.js\";\nimport { createLogEnvelope } from \"./envelope.js\";\nGLOBAL_OBJ._sentryClientToLogBufferMap = /* @__PURE__ */ new WeakMap();\nfunction _INTERNAL_flushLogsBuffer(client, maybeLogBuffer) {\n  var _a;\n  const logBuffer = maybeLogBuffer ?? _INTERNAL_getLogBuffer(client) ?? [];\n  if (logBuffer.length === 0) {\n    return;\n  }\n  const clientOptions = client.getOptions();\n  const envelope = createLogEnvelope(logBuffer, clientOptions._metadata, clientOptions.tunnel, client.getDsn());\n  (_a = GLOBAL_OBJ._sentryClientToLogBufferMap) == null ? void 0 : _a.set(client, []);\n  client.emit(\"flushLogs\");\n  client.sendEnvelope(envelope);\n}\nfunction _INTERNAL_getLogBuffer(client) {\n  var _a;\n  return (_a = GLOBAL_OBJ._sentryClientToLogBufferMap) == null ? void 0 : _a.get(client);\n}\nexport {\n  _INTERNAL_flushLogsBuffer,\n  _INTERNAL_getLogBuffer\n};\n","function addAutoIpAddressToUser(objWithMaybeUser) {\n  var _a;\n  if (((_a = objWithMaybeUser.user) == null ? void 0 : _a.ip_address) === void 0) {\n    objWithMaybeUser.user = {\n      ...objWithMaybeUser.user,\n      ip_address: \"{{auto}}\"\n    };\n  }\n}\nfunction addAutoIpAddressToSession(session) {\n  var _a;\n  if (\"aggregates\" in session) {\n    if (((_a = session.attrs) == null ? void 0 : _a[\"ip_address\"]) === void 0) {\n      session.attrs = {\n        ...session.attrs,\n        ip_address: \"{{auto}}\"\n      };\n    }\n  } else {\n    if (session.ipAddress === void 0) {\n      session.ipAddress = \"{{auto}}\";\n    }\n  }\n}\nexport {\n  addAutoIpAddressToSession,\n  addAutoIpAddressToUser\n};\n","function getSDKSource() {\n  return \"npm\";\n}\nexport {\n  getSDKSource\n};\n","import { eventFromException, eventFromMessage } from \"./eventbuilder.js\";\nimport { WINDOW } from \"./helpers.js\";\nimport { Client } from \"../../../../core/build/esm/client.js\";\nimport { applySdkMetadata } from \"../../../../core/build/esm/utils/sdkMetadata.js\";\nimport { _INTERNAL_flushLogsBuffer } from \"../../../../core/build/esm/logs/exports.js\";\nimport { addAutoIpAddressToUser, addAutoIpAddressToSession } from \"../../../../core/build/esm/utils/ipAddress.js\";\nimport { getSDKSource } from \"../../../../core/build/esm/utils-hoist/env.js\";\nconst DEFAULT_FLUSH_INTERVAL = 5e3;\nclass BrowserClient extends Client {\n  /**\n   * Creates a new Browser SDK instance.\n   *\n   * @param options Configuration options for this SDK.\n   */\n  constructor(options) {\n    const opts = {\n      // We default this to true, as it is the safer scenario\n      parentSpanIsAlwaysRootSpan: true,\n      ...options\n    };\n    const sdkSource = WINDOW.SENTRY_SDK_SOURCE || getSDKSource();\n    applySdkMetadata(opts, \"browser\", [\"browser\"], sdkSource);\n    super(opts);\n    const client = this;\n    const { sendDefaultPii, _experiments } = client._options;\n    const enableLogs = _experiments == null ? void 0 : _experiments.enableLogs;\n    if (opts.sendClientReports && WINDOW.document) {\n      WINDOW.document.addEventListener(\"visibilitychange\", () => {\n        if (WINDOW.document.visibilityState === \"hidden\") {\n          this._flushOutcomes();\n          if (enableLogs) {\n            _INTERNAL_flushLogsBuffer(client);\n          }\n        }\n      });\n    }\n    if (enableLogs) {\n      client.on(\"flush\", () => {\n        _INTERNAL_flushLogsBuffer(client);\n      });\n      client.on(\"afterCaptureLog\", () => {\n        if (client._logFlushIdleTimeout) {\n          clearTimeout(client._logFlushIdleTimeout);\n        }\n        client._logFlushIdleTimeout = setTimeout(() => {\n          _INTERNAL_flushLogsBuffer(client);\n        }, DEFAULT_FLUSH_INTERVAL);\n      });\n    }\n    if (sendDefaultPii) {\n      client.on(\"postprocessEvent\", addAutoIpAddressToUser);\n      client.on(\"beforeSendSession\", addAutoIpAddressToSession);\n    }\n  }\n  /**\n   * @inheritDoc\n   */\n  eventFromException(exception, hint) {\n    return eventFromException(this._options.stackParser, exception, hint, this._options.attachStacktrace);\n  }\n  /**\n   * @inheritDoc\n   */\n  eventFromMessage(message, level = \"info\", hint) {\n    return eventFromMessage(this._options.stackParser, message, level, hint, this._options.attachStacktrace);\n  }\n  /**\n   * @inheritDoc\n   */\n  _prepareEvent(event, hint, currentScope, isolationScope) {\n    event.platform = event.platform || \"javascript\";\n    return super._prepareEvent(event, hint, currentScope, isolationScope);\n  }\n}\nexport {\n  BrowserClient\n};\n","const DEBUG_BUILD = typeof __SENTRY_DEBUG__ === \"undefined\" || __SENTRY_DEBUG__;\nexport {\n  DEBUG_BUILD\n};\n","import { DEBUG_BUILD } from \"../../debug-build.js\";\nimport { logger } from \"../logger.js\";\nimport { getFunctionName } from \"../stacktrace.js\";\nconst handlers = {};\nconst instrumented = {};\nfunction addHandler(type, handler) {\n  handlers[type] = handlers[type] || [];\n  handlers[type].push(handler);\n}\nfunction maybeInstrument(type, instrumentFn) {\n  if (!instrumented[type]) {\n    instrumented[type] = true;\n    try {\n      instrumentFn();\n    } catch (e) {\n      DEBUG_BUILD && logger.error(`Error while instrumenting ${type}`, e);\n    }\n  }\n}\nfunction triggerHandlers(type, data) {\n  const typeHandlers = type && handlers[type];\n  if (!typeHandlers) {\n    return;\n  }\n  for (const handler of typeHandlers) {\n    try {\n      handler(data);\n    } catch (e) {\n      DEBUG_BUILD && logger.error(\n        `Error while triggering instrumentation handler.\nType: ${type}\nName: ${getFunctionName(handler)}\nError:`,\n        e\n      );\n    }\n  }\n}\nexport {\n  addHandler,\n  maybeInstrument,\n  triggerHandlers\n};\n","import { CONSOLE_LEVELS, originalConsoleMethods } from \"../logger.js\";\nimport { fill } from \"../object.js\";\nimport { GLOBAL_OBJ } from \"../worldwide.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"./handlers.js\";\nfunction addConsoleInstrumentationHandler(handler) {\n  const type = \"console\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentConsole);\n}\nfunction instrumentConsole() {\n  if (!(\"console\" in GLOBAL_OBJ)) {\n    return;\n  }\n  CONSOLE_LEVELS.forEach(function(level) {\n    if (!(level in GLOBAL_OBJ.console)) {\n      return;\n    }\n    fill(GLOBAL_OBJ.console, level, function(originalConsoleMethod) {\n      originalConsoleMethods[level] = originalConsoleMethod;\n      return function(...args) {\n        const handlerData = { args, level };\n        triggerHandlers(\"console\", handlerData);\n        const log = originalConsoleMethods[level];\n        log == null ? void 0 : log.apply(GLOBAL_OBJ.console, args);\n      };\n    });\n  });\n}\nexport {\n  addConsoleInstrumentationHandler\n};\n","import { GLOBAL_OBJ } from \"../../../../@sentry/core/build/esm/utils-hoist/worldwide.js\";\nconst WINDOW = GLOBAL_OBJ;\nexport {\n  WINDOW\n};\n","import { WINDOW } from \"../types.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"../../../../../@sentry/core/build/esm/utils-hoist/instrument/handlers.js\";\nimport { fill, addNonEnumerableProperty } from \"../../../../../@sentry/core/build/esm/utils-hoist/object.js\";\nimport { uuid4 } from \"../../../../../@sentry/core/build/esm/utils-hoist/misc.js\";\nconst DEBOUNCE_DURATION = 1e3;\nlet debounceTimerID;\nlet lastCapturedEventType;\nlet lastCapturedEventTargetId;\nfunction addClickKeypressInstrumentationHandler(handler) {\n  const type = \"dom\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentDOM);\n}\nfunction instrumentDOM() {\n  if (!WINDOW.document) {\n    return;\n  }\n  const triggerDOMHandler = triggerHandlers.bind(null, \"dom\");\n  const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n  WINDOW.document.addEventListener(\"click\", globalDOMEventHandler, false);\n  WINDOW.document.addEventListener(\"keypress\", globalDOMEventHandler, false);\n  [\"EventTarget\", \"Node\"].forEach((target) => {\n    var _a, _b;\n    const globalObject = WINDOW;\n    const proto = (_a = globalObject[target]) == null ? void 0 : _a.prototype;\n    if (!((_b = proto == null ? void 0 : proto.hasOwnProperty) == null ? void 0 : _b.call(proto, \"addEventListener\"))) {\n      return;\n    }\n    fill(proto, \"addEventListener\", function(originalAddEventListener) {\n      return function(type, listener, options) {\n        if (type === \"click\" || type == \"keypress\") {\n          try {\n            const handlers = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {};\n            const handlerForType = handlers[type] = handlers[type] || { refCount: 0 };\n            if (!handlerForType.handler) {\n              const handler = makeDOMEventHandler(triggerDOMHandler);\n              handlerForType.handler = handler;\n              originalAddEventListener.call(this, type, handler, options);\n            }\n            handlerForType.refCount++;\n          } catch (e) {\n          }\n        }\n        return originalAddEventListener.call(this, type, listener, options);\n      };\n    });\n    fill(\n      proto,\n      \"removeEventListener\",\n      function(originalRemoveEventListener) {\n        return function(type, listener, options) {\n          if (type === \"click\" || type == \"keypress\") {\n            try {\n              const handlers = this.__sentry_instrumentation_handlers__ || {};\n              const handlerForType = handlers[type];\n              if (handlerForType) {\n                handlerForType.refCount--;\n                if (handlerForType.refCount <= 0) {\n                  originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n                  handlerForType.handler = void 0;\n                  delete handlers[type];\n                }\n                if (Object.keys(handlers).length === 0) {\n                  delete this.__sentry_instrumentation_handlers__;\n                }\n              }\n            } catch (e) {\n            }\n          }\n          return originalRemoveEventListener.call(this, type, listener, options);\n        };\n      }\n    );\n  });\n}\nfunction isSimilarToLastCapturedEvent(event) {\n  if (event.type !== lastCapturedEventType) {\n    return false;\n  }\n  try {\n    if (!event.target || event.target._sentryId !== lastCapturedEventTargetId) {\n      return false;\n    }\n  } catch (e) {\n  }\n  return true;\n}\nfunction shouldSkipDOMEvent(eventType, target) {\n  if (eventType !== \"keypress\") {\n    return false;\n  }\n  if (!(target == null ? void 0 : target.tagName)) {\n    return true;\n  }\n  if (target.tagName === \"INPUT\" || target.tagName === \"TEXTAREA\" || target.isContentEditable) {\n    return false;\n  }\n  return true;\n}\nfunction makeDOMEventHandler(handler, globalListener = false) {\n  return (event) => {\n    if (!event || event[\"_sentryCaptured\"]) {\n      return;\n    }\n    const target = getEventTarget(event);\n    if (shouldSkipDOMEvent(event.type, target)) {\n      return;\n    }\n    addNonEnumerableProperty(event, \"_sentryCaptured\", true);\n    if (target && !target._sentryId) {\n      addNonEnumerableProperty(target, \"_sentryId\", uuid4());\n    }\n    const name = event.type === \"keypress\" ? \"input\" : event.type;\n    if (!isSimilarToLastCapturedEvent(event)) {\n      const handlerData = { event, name, global: globalListener };\n      handler(handlerData);\n      lastCapturedEventType = event.type;\n      lastCapturedEventTargetId = target ? target._sentryId : void 0;\n    }\n    clearTimeout(debounceTimerID);\n    debounceTimerID = WINDOW.setTimeout(() => {\n      lastCapturedEventTargetId = void 0;\n      lastCapturedEventType = void 0;\n    }, DEBOUNCE_DURATION);\n  };\n}\nfunction getEventTarget(event) {\n  try {\n    return event.target;\n  } catch (e) {\n    return null;\n  }\n}\nexport {\n  addClickKeypressInstrumentationHandler,\n  instrumentDOM\n};\n","import { WINDOW } from \"../types.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"../../../../../@sentry/core/build/esm/utils-hoist/instrument/handlers.js\";\nimport { timestampInSeconds } from \"../../../../../@sentry/core/build/esm/utils-hoist/time.js\";\nimport { isString } from \"../../../../../@sentry/core/build/esm/utils-hoist/is.js\";\nconst SENTRY_XHR_DATA_KEY = \"__sentry_xhr_v3__\";\nfunction addXhrInstrumentationHandler(handler) {\n  const type = \"xhr\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentXHR);\n}\nfunction instrumentXHR() {\n  if (!WINDOW.XMLHttpRequest) {\n    return;\n  }\n  const xhrproto = XMLHttpRequest.prototype;\n  xhrproto.open = new Proxy(xhrproto.open, {\n    apply(originalOpen, xhrOpenThisArg, xhrOpenArgArray) {\n      const virtualError = new Error();\n      const startTimestamp = timestampInSeconds() * 1e3;\n      const method = isString(xhrOpenArgArray[0]) ? xhrOpenArgArray[0].toUpperCase() : void 0;\n      const url = parseXhrUrlArg(xhrOpenArgArray[1]);\n      if (!method || !url) {\n        return originalOpen.apply(xhrOpenThisArg, xhrOpenArgArray);\n      }\n      xhrOpenThisArg[SENTRY_XHR_DATA_KEY] = {\n        method,\n        url,\n        request_headers: {}\n      };\n      if (method === \"POST\" && url.match(/sentry_key/)) {\n        xhrOpenThisArg.__sentry_own_request__ = true;\n      }\n      const onreadystatechangeHandler = () => {\n        const xhrInfo = xhrOpenThisArg[SENTRY_XHR_DATA_KEY];\n        if (!xhrInfo) {\n          return;\n        }\n        if (xhrOpenThisArg.readyState === 4) {\n          try {\n            xhrInfo.status_code = xhrOpenThisArg.status;\n          } catch (e) {\n          }\n          const handlerData = {\n            endTimestamp: timestampInSeconds() * 1e3,\n            startTimestamp,\n            xhr: xhrOpenThisArg,\n            virtualError\n          };\n          triggerHandlers(\"xhr\", handlerData);\n        }\n      };\n      if (\"onreadystatechange\" in xhrOpenThisArg && typeof xhrOpenThisArg.onreadystatechange === \"function\") {\n        xhrOpenThisArg.onreadystatechange = new Proxy(xhrOpenThisArg.onreadystatechange, {\n          apply(originalOnreadystatechange, onreadystatechangeThisArg, onreadystatechangeArgArray) {\n            onreadystatechangeHandler();\n            return originalOnreadystatechange.apply(onreadystatechangeThisArg, onreadystatechangeArgArray);\n          }\n        });\n      } else {\n        xhrOpenThisArg.addEventListener(\"readystatechange\", onreadystatechangeHandler);\n      }\n      xhrOpenThisArg.setRequestHeader = new Proxy(xhrOpenThisArg.setRequestHeader, {\n        apply(originalSetRequestHeader, setRequestHeaderThisArg, setRequestHeaderArgArray) {\n          const [header, value] = setRequestHeaderArgArray;\n          const xhrInfo = setRequestHeaderThisArg[SENTRY_XHR_DATA_KEY];\n          if (xhrInfo && isString(header) && isString(value)) {\n            xhrInfo.request_headers[header.toLowerCase()] = value;\n          }\n          return originalSetRequestHeader.apply(setRequestHeaderThisArg, setRequestHeaderArgArray);\n        }\n      });\n      return originalOpen.apply(xhrOpenThisArg, xhrOpenArgArray);\n    }\n  });\n  xhrproto.send = new Proxy(xhrproto.send, {\n    apply(originalSend, sendThisArg, sendArgArray) {\n      const sentryXhrData = sendThisArg[SENTRY_XHR_DATA_KEY];\n      if (!sentryXhrData) {\n        return originalSend.apply(sendThisArg, sendArgArray);\n      }\n      if (sendArgArray[0] !== void 0) {\n        sentryXhrData.body = sendArgArray[0];\n      }\n      const handlerData = {\n        startTimestamp: timestampInSeconds() * 1e3,\n        xhr: sendThisArg\n      };\n      triggerHandlers(\"xhr\", handlerData);\n      return originalSend.apply(sendThisArg, sendArgArray);\n    }\n  });\n}\nfunction parseXhrUrlArg(url) {\n  if (isString(url)) {\n    return url;\n  }\n  try {\n    return url.toString();\n  } catch {\n  }\n  return void 0;\n}\nexport {\n  SENTRY_XHR_DATA_KEY,\n  addXhrInstrumentationHandler,\n  instrumentXHR\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { logger } from \"./logger.js\";\nimport { GLOBAL_OBJ } from \"./worldwide.js\";\nconst WINDOW = GLOBAL_OBJ;\nfunction supportsHistory() {\n  return \"history\" in WINDOW && !!WINDOW.history;\n}\nfunction supportsFetch() {\n  if (!(\"fetch\" in WINDOW)) {\n    return false;\n  }\n  try {\n    new Headers();\n    new Request(\"http://www.example.com\");\n    new Response();\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\nfunction isNativeFunction(func) {\n  return func && /^function\\s+\\w+\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(func.toString());\n}\nfunction supportsNativeFetch() {\n  var _a;\n  if (typeof EdgeRuntime === \"string\") {\n    return true;\n  }\n  if (!supportsFetch()) {\n    return false;\n  }\n  if (isNativeFunction(WINDOW.fetch)) {\n    return true;\n  }\n  let result = false;\n  const doc = WINDOW.document;\n  if (doc && typeof doc.createElement === \"function\") {\n    try {\n      const sandbox = doc.createElement(\"iframe\");\n      sandbox.hidden = true;\n      doc.head.appendChild(sandbox);\n      if ((_a = sandbox.contentWindow) == null ? void 0 : _a.fetch) {\n        result = isNativeFunction(sandbox.contentWindow.fetch);\n      }\n      doc.head.removeChild(sandbox);\n    } catch (err) {\n      DEBUG_BUILD && logger.warn(\"Could not create sandbox iframe for pure fetch check, bailing to window.fetch: \", err);\n    }\n  }\n  return result;\n}\nexport {\n  isNativeFunction,\n  supportsFetch,\n  supportsHistory,\n  supportsNativeFetch\n};\n","import { isError, isRequest } from \"../is.js\";\nimport { fill, addNonEnumerableProperty } from \"../object.js\";\nimport { supportsNativeFetch } from \"../supports.js\";\nimport { timestampInSeconds } from \"../time.js\";\nimport { GLOBAL_OBJ } from \"../worldwide.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"./handlers.js\";\nfunction addFetchInstrumentationHandler(handler, skipNativeFetchCheck) {\n  const type = \"fetch\";\n  addHandler(type, handler);\n  maybeInstrument(type, () => instrumentFetch(void 0, skipNativeFetchCheck));\n}\nfunction addFetchEndInstrumentationHandler(handler) {\n  const type = \"fetch-body-resolved\";\n  addHandler(type, handler);\n  maybeInstrument(type, () => instrumentFetch(streamHandler));\n}\nfunction instrumentFetch(onFetchResolved, skipNativeFetchCheck = false) {\n  if (skipNativeFetchCheck && !supportsNativeFetch()) {\n    return;\n  }\n  fill(GLOBAL_OBJ, \"fetch\", function(originalFetch) {\n    return function(...args) {\n      const virtualError = new Error();\n      const { method, url } = parseFetchArgs(args);\n      const handlerData = {\n        args,\n        fetchData: {\n          method,\n          url\n        },\n        startTimestamp: timestampInSeconds() * 1e3,\n        // // Adding the error to be able to fingerprint the failed fetch event in HttpClient instrumentation\n        virtualError,\n        headers: getHeadersFromFetchArgs(args)\n      };\n      if (!onFetchResolved) {\n        triggerHandlers(\"fetch\", {\n          ...handlerData\n        });\n      }\n      return originalFetch.apply(GLOBAL_OBJ, args).then(\n        async (response) => {\n          if (onFetchResolved) {\n            onFetchResolved(response);\n          } else {\n            triggerHandlers(\"fetch\", {\n              ...handlerData,\n              endTimestamp: timestampInSeconds() * 1e3,\n              response\n            });\n          }\n          return response;\n        },\n        (error) => {\n          triggerHandlers(\"fetch\", {\n            ...handlerData,\n            endTimestamp: timestampInSeconds() * 1e3,\n            error\n          });\n          if (isError(error) && error.stack === void 0) {\n            error.stack = virtualError.stack;\n            addNonEnumerableProperty(error, \"framesToPop\", 1);\n          }\n          if (error instanceof TypeError && (error.message === \"Failed to fetch\" || error.message === \"Load failed\" || error.message === \"NetworkError when attempting to fetch resource.\")) {\n            try {\n              const url2 = new URL(handlerData.fetchData.url);\n              error.message = `${error.message} (${url2.host})`;\n            } catch {\n            }\n          }\n          throw error;\n        }\n      );\n    };\n  });\n}\nasync function resolveResponse(res, onFinishedResolving) {\n  if (res == null ? void 0 : res.body) {\n    const body = res.body;\n    const responseReader = body.getReader();\n    const maxFetchDurationTimeout = setTimeout(\n      () => {\n        body.cancel().then(null, () => {\n        });\n      },\n      90 * 1e3\n      // 90s\n    );\n    let readingActive = true;\n    while (readingActive) {\n      let chunkTimeout;\n      try {\n        chunkTimeout = setTimeout(() => {\n          body.cancel().then(null, () => {\n          });\n        }, 5e3);\n        const { done } = await responseReader.read();\n        clearTimeout(chunkTimeout);\n        if (done) {\n          onFinishedResolving();\n          readingActive = false;\n        }\n      } catch (error) {\n        readingActive = false;\n      } finally {\n        clearTimeout(chunkTimeout);\n      }\n    }\n    clearTimeout(maxFetchDurationTimeout);\n    responseReader.releaseLock();\n    body.cancel().then(null, () => {\n    });\n  }\n}\nfunction streamHandler(response) {\n  let clonedResponseForResolving;\n  try {\n    clonedResponseForResolving = response.clone();\n  } catch {\n    return;\n  }\n  resolveResponse(clonedResponseForResolving, () => {\n    triggerHandlers(\"fetch-body-resolved\", {\n      endTimestamp: timestampInSeconds() * 1e3,\n      response\n    });\n  });\n}\nfunction hasProp(obj, prop) {\n  return !!obj && typeof obj === \"object\" && !!obj[prop];\n}\nfunction getUrlFromResource(resource) {\n  if (typeof resource === \"string\") {\n    return resource;\n  }\n  if (!resource) {\n    return \"\";\n  }\n  if (hasProp(resource, \"url\")) {\n    return resource.url;\n  }\n  if (resource.toString) {\n    return resource.toString();\n  }\n  return \"\";\n}\nfunction parseFetchArgs(fetchArgs) {\n  if (fetchArgs.length === 0) {\n    return { method: \"GET\", url: \"\" };\n  }\n  if (fetchArgs.length === 2) {\n    const [url, options] = fetchArgs;\n    return {\n      url: getUrlFromResource(url),\n      method: hasProp(options, \"method\") ? String(options.method).toUpperCase() : \"GET\"\n    };\n  }\n  const arg = fetchArgs[0];\n  return {\n    url: getUrlFromResource(arg),\n    method: hasProp(arg, \"method\") ? String(arg.method).toUpperCase() : \"GET\"\n  };\n}\nfunction getHeadersFromFetchArgs(fetchArgs) {\n  const [requestArgument, optionsArgument] = fetchArgs;\n  try {\n    if (typeof optionsArgument === \"object\" && optionsArgument !== null && \"headers\" in optionsArgument && optionsArgument.headers) {\n      return new Headers(optionsArgument.headers);\n    }\n    if (isRequest(requestArgument)) {\n      return new Headers(requestArgument.headers);\n    }\n  } catch {\n  }\n  return;\n}\nexport {\n  addFetchEndInstrumentationHandler,\n  addFetchInstrumentationHandler,\n  parseFetchArgs\n};\n","import { WINDOW } from \"../types.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"../../../../../@sentry/core/build/esm/utils-hoist/instrument/handlers.js\";\nimport { supportsHistory } from \"../../../../../@sentry/core/build/esm/utils-hoist/supports.js\";\nimport { fill } from \"../../../../../@sentry/core/build/esm/utils-hoist/object.js\";\nlet lastHref;\nfunction addHistoryInstrumentationHandler(handler) {\n  const type = \"history\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentHistory);\n}\nfunction instrumentHistory() {\n  WINDOW.addEventListener(\"popstate\", () => {\n    const to = WINDOW.location.href;\n    const from = lastHref;\n    lastHref = to;\n    if (from === to) {\n      return;\n    }\n    const handlerData = { from, to };\n    triggerHandlers(\"history\", handlerData);\n  });\n  if (!supportsHistory()) {\n    return;\n  }\n  function historyReplacementFunction(originalHistoryFunction) {\n    return function(...args) {\n      const url = args.length > 2 ? args[2] : void 0;\n      if (url) {\n        const from = lastHref;\n        const to = String(url);\n        lastHref = to;\n        if (from === to) {\n          return originalHistoryFunction.apply(this, args);\n        }\n        const handlerData = { from, to };\n        triggerHandlers(\"history\", handlerData);\n      }\n      return originalHistoryFunction.apply(this, args);\n    };\n  }\n  fill(WINDOW.history, \"pushState\", historyReplacementFunction);\n  fill(WINDOW.history, \"replaceState\", historyReplacementFunction);\n}\nexport {\n  addHistoryInstrumentationHandler,\n  instrumentHistory\n};\n","import { getClient, getIsolationScope } from \"./currentScopes.js\";\nimport { consoleSandbox } from \"./utils-hoist/logger.js\";\nimport { dateTimestampInSeconds } from \"./utils-hoist/time.js\";\nconst DEFAULT_BREADCRUMBS = 100;\nfunction addBreadcrumb(breadcrumb, hint) {\n  const client = getClient();\n  const isolationScope = getIsolationScope();\n  if (!client)\n    return;\n  const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } = client.getOptions();\n  if (maxBreadcrumbs <= 0)\n    return;\n  const timestamp = dateTimestampInSeconds();\n  const mergedBreadcrumb = { timestamp, ...breadcrumb };\n  const finalBreadcrumb = beforeBreadcrumb ? consoleSandbox(() => beforeBreadcrumb(mergedBreadcrumb, hint)) : mergedBreadcrumb;\n  if (finalBreadcrumb === null)\n    return;\n  if (client.emit) {\n    client.emit(\"beforeAddBreadcrumb\", finalBreadcrumb, hint);\n  }\n  isolationScope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n}\nexport {\n  addBreadcrumb\n};\n","const DEFAULT_BASE_URL = \"thismessage:/\";\nfunction isURLObjectRelative(url) {\n  return \"isRelative\" in url;\n}\nfunction parseStringToURLObject(url, urlBase) {\n  const isRelative = url.indexOf(\"://\") <= 0 && url.indexOf(\"//\") !== 0;\n  const base = urlBase ?? (isRelative ? DEFAULT_BASE_URL : void 0);\n  try {\n    if (\"canParse\" in URL && !URL.canParse(url, base)) {\n      return void 0;\n    }\n    const fullUrlObject = new URL(url, base);\n    if (isRelative) {\n      return {\n        isRelative,\n        pathname: fullUrlObject.pathname,\n        search: fullUrlObject.search,\n        hash: fullUrlObject.hash\n      };\n    }\n    return fullUrlObject;\n  } catch {\n  }\n  return void 0;\n}\nfunction getSanitizedUrlStringFromUrlObject(url) {\n  if (isURLObjectRelative(url)) {\n    return url.pathname;\n  }\n  const newUrl = new URL(url);\n  newUrl.search = \"\";\n  newUrl.hash = \"\";\n  if ([\"80\", \"443\"].includes(newUrl.port)) {\n    newUrl.port = \"\";\n  }\n  if (newUrl.password) {\n    newUrl.password = \"%filtered%\";\n  }\n  if (newUrl.username) {\n    newUrl.username = \"%filtered%\";\n  }\n  return newUrl.toString();\n}\nfunction parseUrl(url) {\n  if (!url) {\n    return {};\n  }\n  const match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n  if (!match) {\n    return {};\n  }\n  const query = match[6] || \"\";\n  const fragment = match[8] || \"\";\n  return {\n    host: match[4],\n    path: match[5],\n    protocol: match[2],\n    search: query,\n    hash: fragment,\n    relative: match[5] + query + fragment\n    // everything minus origin\n  };\n}\nfunction stripUrlQueryAndFragment(urlPath) {\n  return urlPath.split(/[?#]/, 1)[0];\n}\nexport {\n  getSanitizedUrlStringFromUrlObject,\n  isURLObjectRelative,\n  parseStringToURLObject,\n  parseUrl,\n  stripUrlQueryAndFragment\n};\n","function severityLevelFromString(level) {\n  return level === \"warn\" ? \"warning\" : [\"fatal\", \"error\", \"warning\", \"log\", \"info\", \"debug\"].includes(level) ? level : \"log\";\n}\nexport {\n  severityLevelFromString\n};\n","function getBreadcrumbLogLevelFromHttpStatusCode(statusCode) {\n  if (statusCode === void 0) {\n    return void 0;\n  } else if (statusCode >= 400 && statusCode < 500) {\n    return \"warning\";\n  } else if (statusCode >= 500) {\n    return \"error\";\n  } else {\n    return void 0;\n  }\n}\nexport {\n  getBreadcrumbLogLevelFromHttpStatusCode\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { WINDOW } from \"../helpers.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { addConsoleInstrumentationHandler } from \"../../../../../core/build/esm/utils-hoist/instrument/console.js\";\nimport { addClickKeypressInstrumentationHandler } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/dom.js\";\nimport { addXhrInstrumentationHandler, SENTRY_XHR_DATA_KEY } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/xhr.js\";\nimport { addFetchInstrumentationHandler } from \"../../../../../core/build/esm/utils-hoist/instrument/fetch.js\";\nimport { addHistoryInstrumentationHandler } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/history.js\";\nimport { getClient } from \"../../../../../core/build/esm/currentScopes.js\";\nimport { addBreadcrumb } from \"../../../../../core/build/esm/breadcrumbs.js\";\nimport { getEventDescription } from \"../../../../../core/build/esm/utils-hoist/misc.js\";\nimport { parseUrl } from \"../../../../../core/build/esm/utils-hoist/url.js\";\nimport { logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nimport { htmlTreeAsString, getComponentName } from \"../../../../../core/build/esm/utils-hoist/browser.js\";\nimport { severityLevelFromString } from \"../../../../../core/build/esm/utils-hoist/severity.js\";\nimport { safeJoin } from \"../../../../../core/build/esm/utils-hoist/string.js\";\nimport { getBreadcrumbLogLevelFromHttpStatusCode } from \"../../../../../core/build/esm/utils-hoist/breadcrumb-log-level.js\";\nconst MAX_ALLOWED_STRING_LENGTH = 1024;\nconst INTEGRATION_NAME = \"Breadcrumbs\";\nconst _breadcrumbsIntegration = (options = {}) => {\n  const _options = {\n    console: true,\n    dom: true,\n    fetch: true,\n    history: true,\n    sentry: true,\n    xhr: true,\n    ...options\n  };\n  return {\n    name: INTEGRATION_NAME,\n    setup(client) {\n      if (_options.console) {\n        addConsoleInstrumentationHandler(_getConsoleBreadcrumbHandler(client));\n      }\n      if (_options.dom) {\n        addClickKeypressInstrumentationHandler(_getDomBreadcrumbHandler(client, _options.dom));\n      }\n      if (_options.xhr) {\n        addXhrInstrumentationHandler(_getXhrBreadcrumbHandler(client));\n      }\n      if (_options.fetch) {\n        addFetchInstrumentationHandler(_getFetchBreadcrumbHandler(client));\n      }\n      if (_options.history) {\n        addHistoryInstrumentationHandler(_getHistoryBreadcrumbHandler(client));\n      }\n      if (_options.sentry) {\n        client.on(\"beforeSendEvent\", _getSentryBreadcrumbHandler(client));\n      }\n    }\n  };\n};\nconst breadcrumbsIntegration = defineIntegration(_breadcrumbsIntegration);\nfunction _getSentryBreadcrumbHandler(client) {\n  return function addSentryBreadcrumb(event) {\n    if (getClient() !== client) {\n      return;\n    }\n    addBreadcrumb(\n      {\n        category: `sentry.${event.type === \"transaction\" ? \"transaction\" : \"event\"}`,\n        event_id: event.event_id,\n        level: event.level,\n        message: getEventDescription(event)\n      },\n      {\n        event\n      }\n    );\n  };\n}\nfunction _getDomBreadcrumbHandler(client, dom) {\n  return function _innerDomBreadcrumb(handlerData) {\n    if (getClient() !== client) {\n      return;\n    }\n    let target;\n    let componentName;\n    let keyAttrs = typeof dom === \"object\" ? dom.serializeAttribute : void 0;\n    let maxStringLength = typeof dom === \"object\" && typeof dom.maxStringLength === \"number\" ? dom.maxStringLength : void 0;\n    if (maxStringLength && maxStringLength > MAX_ALLOWED_STRING_LENGTH) {\n      DEBUG_BUILD && logger.warn(\n        `\\`dom.maxStringLength\\` cannot exceed ${MAX_ALLOWED_STRING_LENGTH}, but a value of ${maxStringLength} was configured. Sentry will use ${MAX_ALLOWED_STRING_LENGTH} instead.`\n      );\n      maxStringLength = MAX_ALLOWED_STRING_LENGTH;\n    }\n    if (typeof keyAttrs === \"string\") {\n      keyAttrs = [keyAttrs];\n    }\n    try {\n      const event = handlerData.event;\n      const element = _isEvent(event) ? event.target : event;\n      target = htmlTreeAsString(element, { keyAttrs, maxStringLength });\n      componentName = getComponentName(element);\n    } catch (e) {\n      target = \"<unknown>\";\n    }\n    if (target.length === 0) {\n      return;\n    }\n    const breadcrumb = {\n      category: `ui.${handlerData.name}`,\n      message: target\n    };\n    if (componentName) {\n      breadcrumb.data = { \"ui.component_name\": componentName };\n    }\n    addBreadcrumb(breadcrumb, {\n      event: handlerData.event,\n      name: handlerData.name,\n      global: handlerData.global\n    });\n  };\n}\nfunction _getConsoleBreadcrumbHandler(client) {\n  return function _consoleBreadcrumb(handlerData) {\n    if (getClient() !== client) {\n      return;\n    }\n    const breadcrumb = {\n      category: \"console\",\n      data: {\n        arguments: handlerData.args,\n        logger: \"console\"\n      },\n      level: severityLevelFromString(handlerData.level),\n      message: safeJoin(handlerData.args, \" \")\n    };\n    if (handlerData.level === \"assert\") {\n      if (handlerData.args[0] === false) {\n        breadcrumb.message = `Assertion failed: ${safeJoin(handlerData.args.slice(1), \" \") || \"console.assert\"}`;\n        breadcrumb.data.arguments = handlerData.args.slice(1);\n      } else {\n        return;\n      }\n    }\n    addBreadcrumb(breadcrumb, {\n      input: handlerData.args,\n      level: handlerData.level\n    });\n  };\n}\nfunction _getXhrBreadcrumbHandler(client) {\n  return function _xhrBreadcrumb(handlerData) {\n    if (getClient() !== client) {\n      return;\n    }\n    const { startTimestamp, endTimestamp } = handlerData;\n    const sentryXhrData = handlerData.xhr[SENTRY_XHR_DATA_KEY];\n    if (!startTimestamp || !endTimestamp || !sentryXhrData) {\n      return;\n    }\n    const { method, url, status_code, body } = sentryXhrData;\n    const data = {\n      method,\n      url,\n      status_code\n    };\n    const hint = {\n      xhr: handlerData.xhr,\n      input: body,\n      startTimestamp,\n      endTimestamp\n    };\n    const breadcrumb = {\n      category: \"xhr\",\n      data,\n      type: \"http\",\n      level: getBreadcrumbLogLevelFromHttpStatusCode(status_code)\n    };\n    client.emit(\"beforeOutgoingRequestBreadcrumb\", breadcrumb, hint);\n    addBreadcrumb(breadcrumb, hint);\n  };\n}\nfunction _getFetchBreadcrumbHandler(client) {\n  return function _fetchBreadcrumb(handlerData) {\n    if (getClient() !== client) {\n      return;\n    }\n    const { startTimestamp, endTimestamp } = handlerData;\n    if (!endTimestamp) {\n      return;\n    }\n    if (handlerData.fetchData.url.match(/sentry_key/) && handlerData.fetchData.method === \"POST\") {\n      return;\n    }\n    ({\n      method: handlerData.fetchData.method,\n      url: handlerData.fetchData.url\n    });\n    if (handlerData.error) {\n      const data = handlerData.fetchData;\n      const hint = {\n        data: handlerData.error,\n        input: handlerData.args,\n        startTimestamp,\n        endTimestamp\n      };\n      const breadcrumb = {\n        category: \"fetch\",\n        data,\n        level: \"error\",\n        type: \"http\"\n      };\n      client.emit(\"beforeOutgoingRequestBreadcrumb\", breadcrumb, hint);\n      addBreadcrumb(breadcrumb, hint);\n    } else {\n      const response = handlerData.response;\n      const data = {\n        ...handlerData.fetchData,\n        status_code: response == null ? void 0 : response.status\n      };\n      handlerData.fetchData.request_body_size;\n      handlerData.fetchData.response_body_size;\n      response == null ? void 0 : response.status;\n      const hint = {\n        input: handlerData.args,\n        response,\n        startTimestamp,\n        endTimestamp\n      };\n      const breadcrumb = {\n        category: \"fetch\",\n        data,\n        type: \"http\",\n        level: getBreadcrumbLogLevelFromHttpStatusCode(data.status_code)\n      };\n      client.emit(\"beforeOutgoingRequestBreadcrumb\", breadcrumb, hint);\n      addBreadcrumb(breadcrumb, hint);\n    }\n  };\n}\nfunction _getHistoryBreadcrumbHandler(client) {\n  return function _historyBreadcrumb(handlerData) {\n    if (getClient() !== client) {\n      return;\n    }\n    let from = handlerData.from;\n    let to = handlerData.to;\n    const parsedLoc = parseUrl(WINDOW.location.href);\n    let parsedFrom = from ? parseUrl(from) : void 0;\n    const parsedTo = parseUrl(to);\n    if (!(parsedFrom == null ? void 0 : parsedFrom.path)) {\n      parsedFrom = parsedLoc;\n    }\n    if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host) {\n      to = parsedTo.relative;\n    }\n    if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) {\n      from = parsedFrom.relative;\n    }\n    addBreadcrumb({\n      category: \"navigation\",\n      data: {\n        from,\n        to\n      }\n    });\n  };\n}\nfunction _isEvent(event) {\n  return !!event && !!event.target;\n}\nexport {\n  breadcrumbsIntegration\n};\n","import { WINDOW, wrap } from \"../helpers.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { fill, getOriginalFunction } from \"../../../../../core/build/esm/utils-hoist/object.js\";\nimport { getFunctionName } from \"../../../../../core/build/esm/utils-hoist/stacktrace.js\";\nconst DEFAULT_EVENT_TARGET = [\n  \"EventTarget\",\n  \"Window\",\n  \"Node\",\n  \"ApplicationCache\",\n  \"AudioTrackList\",\n  \"BroadcastChannel\",\n  \"ChannelMergerNode\",\n  \"CryptoOperation\",\n  \"EventSource\",\n  \"FileReader\",\n  \"HTMLUnknownElement\",\n  \"IDBDatabase\",\n  \"IDBRequest\",\n  \"IDBTransaction\",\n  \"KeyOperation\",\n  \"MediaController\",\n  \"MessagePort\",\n  \"ModalWindow\",\n  \"Notification\",\n  \"SVGElementInstance\",\n  \"Screen\",\n  \"SharedWorker\",\n  \"TextTrack\",\n  \"TextTrackCue\",\n  \"TextTrackList\",\n  \"WebSocket\",\n  \"WebSocketWorker\",\n  \"Worker\",\n  \"XMLHttpRequest\",\n  \"XMLHttpRequestEventTarget\",\n  \"XMLHttpRequestUpload\"\n];\nconst INTEGRATION_NAME = \"BrowserApiErrors\";\nconst _browserApiErrorsIntegration = (options = {}) => {\n  const _options = {\n    XMLHttpRequest: true,\n    eventTarget: true,\n    requestAnimationFrame: true,\n    setInterval: true,\n    setTimeout: true,\n    ...options\n  };\n  return {\n    name: INTEGRATION_NAME,\n    // TODO: This currently only works for the first client this is setup\n    // We may want to adjust this to check for client etc.\n    setupOnce() {\n      if (_options.setTimeout) {\n        fill(WINDOW, \"setTimeout\", _wrapTimeFunction);\n      }\n      if (_options.setInterval) {\n        fill(WINDOW, \"setInterval\", _wrapTimeFunction);\n      }\n      if (_options.requestAnimationFrame) {\n        fill(WINDOW, \"requestAnimationFrame\", _wrapRAF);\n      }\n      if (_options.XMLHttpRequest && \"XMLHttpRequest\" in WINDOW) {\n        fill(XMLHttpRequest.prototype, \"send\", _wrapXHR);\n      }\n      const eventTargetOption = _options.eventTarget;\n      if (eventTargetOption) {\n        const eventTarget = Array.isArray(eventTargetOption) ? eventTargetOption : DEFAULT_EVENT_TARGET;\n        eventTarget.forEach(_wrapEventTarget);\n      }\n    }\n  };\n};\nconst browserApiErrorsIntegration = defineIntegration(_browserApiErrorsIntegration);\nfunction _wrapTimeFunction(original) {\n  return function(...args) {\n    const originalCallback = args[0];\n    args[0] = wrap(originalCallback, {\n      mechanism: {\n        data: { function: getFunctionName(original) },\n        handled: false,\n        type: \"instrument\"\n      }\n    });\n    return original.apply(this, args);\n  };\n}\nfunction _wrapRAF(original) {\n  return function(callback) {\n    return original.apply(this, [\n      wrap(callback, {\n        mechanism: {\n          data: {\n            function: \"requestAnimationFrame\",\n            handler: getFunctionName(original)\n          },\n          handled: false,\n          type: \"instrument\"\n        }\n      })\n    ]);\n  };\n}\nfunction _wrapXHR(originalSend) {\n  return function(...args) {\n    const xhr = this;\n    const xmlHttpRequestProps = [\"onload\", \"onerror\", \"onprogress\", \"onreadystatechange\"];\n    xmlHttpRequestProps.forEach((prop) => {\n      if (prop in xhr && typeof xhr[prop] === \"function\") {\n        fill(xhr, prop, function(original) {\n          const wrapOptions = {\n            mechanism: {\n              data: {\n                function: prop,\n                handler: getFunctionName(original)\n              },\n              handled: false,\n              type: \"instrument\"\n            }\n          };\n          const originalFunction = getOriginalFunction(original);\n          if (originalFunction) {\n            wrapOptions.mechanism.data.handler = getFunctionName(originalFunction);\n          }\n          return wrap(original, wrapOptions);\n        });\n      }\n    });\n    return originalSend.apply(this, args);\n  };\n}\nfunction _wrapEventTarget(target) {\n  var _a, _b;\n  const globalObject = WINDOW;\n  const proto = (_a = globalObject[target]) == null ? void 0 : _a.prototype;\n  if (!((_b = proto == null ? void 0 : proto.hasOwnProperty) == null ? void 0 : _b.call(proto, \"addEventListener\"))) {\n    return;\n  }\n  fill(proto, \"addEventListener\", function(original) {\n    return function(eventName, fn, options) {\n      try {\n        if (isEventListenerObject(fn)) {\n          fn.handleEvent = wrap(fn.handleEvent, {\n            mechanism: {\n              data: {\n                function: \"handleEvent\",\n                handler: getFunctionName(fn),\n                target\n              },\n              handled: false,\n              type: \"instrument\"\n            }\n          });\n        }\n      } catch {\n      }\n      return original.apply(this, [\n        eventName,\n        wrap(fn, {\n          mechanism: {\n            data: {\n              function: \"addEventListener\",\n              handler: getFunctionName(fn),\n              target\n            },\n            handled: false,\n            type: \"instrument\"\n          }\n        }),\n        options\n      ]);\n    };\n  });\n  fill(proto, \"removeEventListener\", function(originalRemoveEventListener) {\n    return function(eventName, fn, options) {\n      try {\n        const originalEventHandler = fn.__sentry_wrapped__;\n        if (originalEventHandler) {\n          originalRemoveEventListener.call(this, eventName, originalEventHandler, options);\n        }\n      } catch (e) {\n      }\n      return originalRemoveEventListener.call(this, eventName, fn, options);\n    };\n  });\n}\nfunction isEventListenerObject(obj) {\n  return typeof obj.handleEvent === \"function\";\n}\nexport {\n  browserApiErrorsIntegration\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { WINDOW } from \"../helpers.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nimport { startSession, captureSession } from \"../../../../../core/build/esm/exports.js\";\nimport { addHistoryInstrumentationHandler } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/history.js\";\nconst browserSessionIntegration = defineIntegration(() => {\n  return {\n    name: \"BrowserSession\",\n    setupOnce() {\n      if (typeof WINDOW.document === \"undefined\") {\n        DEBUG_BUILD && logger.warn(\"Using the `browserSessionIntegration` in non-browser environments is not supported.\");\n        return;\n      }\n      startSession({ ignoreDuration: true });\n      captureSession();\n      addHistoryInstrumentationHandler(({ from, to }) => {\n        if (from !== void 0 && from !== to) {\n          startSession({ ignoreDuration: true });\n          captureSession();\n        }\n      });\n    }\n  };\n});\nexport {\n  browserSessionIntegration\n};\n","import { GLOBAL_OBJ } from \"../worldwide.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"./handlers.js\";\nlet _oldOnErrorHandler = null;\nfunction addGlobalErrorInstrumentationHandler(handler) {\n  const type = \"error\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentError);\n}\nfunction instrumentError() {\n  _oldOnErrorHandler = GLOBAL_OBJ.onerror;\n  GLOBAL_OBJ.onerror = function(msg, url, line, column, error) {\n    const handlerData = {\n      column,\n      error,\n      line,\n      msg,\n      url\n    };\n    triggerHandlers(\"error\", handlerData);\n    if (_oldOnErrorHandler) {\n      return _oldOnErrorHandler.apply(this, arguments);\n    }\n    return false;\n  };\n  GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__ = true;\n}\nexport {\n  addGlobalErrorInstrumentationHandler\n};\n","import { GLOBAL_OBJ } from \"../worldwide.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"./handlers.js\";\nlet _oldOnUnhandledRejectionHandler = null;\nfunction addGlobalUnhandledRejectionInstrumentationHandler(handler) {\n  const type = \"unhandledrejection\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentUnhandledRejection);\n}\nfunction instrumentUnhandledRejection() {\n  _oldOnUnhandledRejectionHandler = GLOBAL_OBJ.onunhandledrejection;\n  GLOBAL_OBJ.onunhandledrejection = function(e) {\n    const handlerData = e;\n    triggerHandlers(\"unhandledrejection\", handlerData);\n    if (_oldOnUnhandledRejectionHandler) {\n      return _oldOnUnhandledRejectionHandler.apply(this, arguments);\n    }\n    return true;\n  };\n  GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;\n}\nexport {\n  addGlobalUnhandledRejectionInstrumentationHandler\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { eventFromUnknownInput } from \"../eventbuilder.js\";\nimport { shouldIgnoreOnError } from \"../helpers.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { addGlobalErrorInstrumentationHandler } from \"../../../../../core/build/esm/utils-hoist/instrument/globalError.js\";\nimport { getClient } from \"../../../../../core/build/esm/currentScopes.js\";\nimport { captureEvent } from \"../../../../../core/build/esm/exports.js\";\nimport { addGlobalUnhandledRejectionInstrumentationHandler } from \"../../../../../core/build/esm/utils-hoist/instrument/globalUnhandledRejection.js\";\nimport { isPrimitive, isString } from \"../../../../../core/build/esm/utils-hoist/is.js\";\nimport { getLocationHref } from \"../../../../../core/build/esm/utils-hoist/browser.js\";\nimport { UNKNOWN_FUNCTION } from \"../../../../../core/build/esm/utils-hoist/stacktrace.js\";\nimport { logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nconst INTEGRATION_NAME = \"GlobalHandlers\";\nconst _globalHandlersIntegration = (options = {}) => {\n  const _options = {\n    onerror: true,\n    onunhandledrejection: true,\n    ...options\n  };\n  return {\n    name: INTEGRATION_NAME,\n    setupOnce() {\n      Error.stackTraceLimit = 50;\n    },\n    setup(client) {\n      if (_options.onerror) {\n        _installGlobalOnErrorHandler(client);\n        globalHandlerLog(\"onerror\");\n      }\n      if (_options.onunhandledrejection) {\n        _installGlobalOnUnhandledRejectionHandler(client);\n        globalHandlerLog(\"onunhandledrejection\");\n      }\n    }\n  };\n};\nconst globalHandlersIntegration = defineIntegration(_globalHandlersIntegration);\nfunction _installGlobalOnErrorHandler(client) {\n  addGlobalErrorInstrumentationHandler((data) => {\n    const { stackParser, attachStacktrace } = getOptions();\n    if (getClient() !== client || shouldIgnoreOnError()) {\n      return;\n    }\n    const { msg, url, line, column, error } = data;\n    const event = _enhanceEventWithInitialFrame(\n      eventFromUnknownInput(stackParser, error || msg, void 0, attachStacktrace, false),\n      url,\n      line,\n      column\n    );\n    event.level = \"error\";\n    captureEvent(event, {\n      originalException: error,\n      mechanism: {\n        handled: false,\n        type: \"onerror\"\n      }\n    });\n  });\n}\nfunction _installGlobalOnUnhandledRejectionHandler(client) {\n  addGlobalUnhandledRejectionInstrumentationHandler((e) => {\n    const { stackParser, attachStacktrace } = getOptions();\n    if (getClient() !== client || shouldIgnoreOnError()) {\n      return;\n    }\n    const error = _getUnhandledRejectionError(e);\n    const event = isPrimitive(error) ? _eventFromRejectionWithPrimitive(error) : eventFromUnknownInput(stackParser, error, void 0, attachStacktrace, true);\n    event.level = \"error\";\n    captureEvent(event, {\n      originalException: error,\n      mechanism: {\n        handled: false,\n        type: \"onunhandledrejection\"\n      }\n    });\n  });\n}\nfunction _getUnhandledRejectionError(error) {\n  if (isPrimitive(error)) {\n    return error;\n  }\n  try {\n    if (\"reason\" in error) {\n      return error.reason;\n    }\n    if (\"detail\" in error && \"reason\" in error.detail) {\n      return error.detail.reason;\n    }\n  } catch {\n  }\n  return error;\n}\nfunction _eventFromRejectionWithPrimitive(reason) {\n  return {\n    exception: {\n      values: [\n        {\n          type: \"UnhandledRejection\",\n          // String() is needed because the Primitive type includes symbols (which can't be automatically stringified)\n          value: `Non-Error promise rejection captured with value: ${String(reason)}`\n        }\n      ]\n    }\n  };\n}\nfunction _enhanceEventWithInitialFrame(event, url, line, column) {\n  const e = event.exception = event.exception || {};\n  const ev = e.values = e.values || [];\n  const ev0 = ev[0] = ev[0] || {};\n  const ev0s = ev0.stacktrace = ev0.stacktrace || {};\n  const ev0sf = ev0s.frames = ev0s.frames || [];\n  const colno = column;\n  const lineno = line;\n  const filename = isString(url) && url.length > 0 ? url : getLocationHref();\n  if (ev0sf.length === 0) {\n    ev0sf.push({\n      colno,\n      filename,\n      function: UNKNOWN_FUNCTION,\n      in_app: true,\n      lineno\n    });\n  }\n  return event;\n}\nfunction globalHandlerLog(type) {\n  DEBUG_BUILD && logger.log(`Global Handler attached: ${type}`);\n}\nfunction getOptions() {\n  const client = getClient();\n  const options = (client == null ? void 0 : client.getOptions()) || {\n    stackParser: () => [],\n    attachStacktrace: false\n  };\n  return options;\n}\nexport {\n  globalHandlersIntegration\n};\n","import { WINDOW } from \"../helpers.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { getLocationHref } from \"../../../../../core/build/esm/utils-hoist/browser.js\";\nconst httpContextIntegration = defineIntegration(() => {\n  return {\n    name: \"HttpContext\",\n    preprocessEvent(event) {\n      var _a, _b;\n      if (!WINDOW.navigator && !WINDOW.location && !WINDOW.document) {\n        return;\n      }\n      const url = ((_a = event.request) == null ? void 0 : _a.url) || getLocationHref();\n      const { referrer } = WINDOW.document || {};\n      const { userAgent } = WINDOW.navigator || {};\n      const headers = {\n        ...(_b = event.request) == null ? void 0 : _b.headers,\n        ...referrer && { Referer: referrer },\n        ...userAgent && { \"User-Agent\": userAgent }\n      };\n      const request = {\n        ...event.request,\n        ...url && { url },\n        headers\n      };\n      event.request = request;\n    }\n  };\n});\nexport {\n  httpContextIntegration\n};\n","import { isInstanceOf } from \"./is.js\";\nfunction applyAggregateErrorsToEvent(exceptionFromErrorImplementation, parser, key, limit, event, hint) {\n  var _a;\n  if (!((_a = event.exception) == null ? void 0 : _a.values) || !hint || !isInstanceOf(hint.originalException, Error)) {\n    return;\n  }\n  const originalException = event.exception.values.length > 0 ? event.exception.values[event.exception.values.length - 1] : void 0;\n  if (originalException) {\n    event.exception.values = aggregateExceptionsFromError(\n      exceptionFromErrorImplementation,\n      parser,\n      limit,\n      hint.originalException,\n      key,\n      event.exception.values,\n      originalException,\n      0\n    );\n  }\n}\nfunction aggregateExceptionsFromError(exceptionFromErrorImplementation, parser, limit, error, key, prevExceptions, exception, exceptionId) {\n  if (prevExceptions.length >= limit + 1) {\n    return prevExceptions;\n  }\n  let newExceptions = [...prevExceptions];\n  if (isInstanceOf(error[key], Error)) {\n    applyExceptionGroupFieldsForParentException(exception, exceptionId);\n    const newException = exceptionFromErrorImplementation(parser, error[key]);\n    const newExceptionId = newExceptions.length;\n    applyExceptionGroupFieldsForChildException(newException, key, newExceptionId, exceptionId);\n    newExceptions = aggregateExceptionsFromError(\n      exceptionFromErrorImplementation,\n      parser,\n      limit,\n      error[key],\n      key,\n      [newException, ...newExceptions],\n      newException,\n      newExceptionId\n    );\n  }\n  if (Array.isArray(error.errors)) {\n    error.errors.forEach((childError, i) => {\n      if (isInstanceOf(childError, Error)) {\n        applyExceptionGroupFieldsForParentException(exception, exceptionId);\n        const newException = exceptionFromErrorImplementation(parser, childError);\n        const newExceptionId = newExceptions.length;\n        applyExceptionGroupFieldsForChildException(newException, `errors[${i}]`, newExceptionId, exceptionId);\n        newExceptions = aggregateExceptionsFromError(\n          exceptionFromErrorImplementation,\n          parser,\n          limit,\n          childError,\n          key,\n          [newException, ...newExceptions],\n          newException,\n          newExceptionId\n        );\n      }\n    });\n  }\n  return newExceptions;\n}\nfunction applyExceptionGroupFieldsForParentException(exception, exceptionId) {\n  exception.mechanism = exception.mechanism || { type: \"generic\", handled: true };\n  exception.mechanism = {\n    ...exception.mechanism,\n    ...exception.type === \"AggregateError\" && { is_exception_group: true },\n    exception_id: exceptionId\n  };\n}\nfunction applyExceptionGroupFieldsForChildException(exception, source, exceptionId, parentId) {\n  exception.mechanism = exception.mechanism || { type: \"generic\", handled: true };\n  exception.mechanism = {\n    ...exception.mechanism,\n    type: \"chained\",\n    source,\n    exception_id: exceptionId,\n    parent_id: parentId\n  };\n}\nexport {\n  applyAggregateErrorsToEvent\n};\n","import { exceptionFromError } from \"../eventbuilder.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { applyAggregateErrorsToEvent } from \"../../../../../core/build/esm/utils-hoist/aggregate-errors.js\";\nconst DEFAULT_KEY = \"cause\";\nconst DEFAULT_LIMIT = 5;\nconst INTEGRATION_NAME = \"LinkedErrors\";\nconst _linkedErrorsIntegration = (options = {}) => {\n  const limit = options.limit || DEFAULT_LIMIT;\n  const key = options.key || DEFAULT_KEY;\n  return {\n    name: INTEGRATION_NAME,\n    preprocessEvent(event, hint, client) {\n      const options2 = client.getOptions();\n      applyAggregateErrorsToEvent(\n        // This differs from the LinkedErrors integration in core by using a different exceptionFromError function\n        exceptionFromError,\n        options2.stackParser,\n        key,\n        limit,\n        event,\n        hint\n      );\n    }\n  };\n};\nconst linkedErrorsIntegration = defineIntegration(_linkedErrorsIntegration);\nexport {\n  linkedErrorsIntegration\n};\n","import { createStackParser, UNKNOWN_FUNCTION } from \"../../../../core/build/esm/utils-hoist/stacktrace.js\";\nconst CHROME_PRIORITY = 30;\nconst GECKO_PRIORITY = 50;\nfunction createFrame(filename, func, lineno, colno) {\n  const frame = {\n    filename,\n    function: func === \"<anonymous>\" ? UNKNOWN_FUNCTION : func,\n    in_app: true\n    // All browser frames are considered in_app\n  };\n  if (lineno !== void 0) {\n    frame.lineno = lineno;\n  }\n  if (colno !== void 0) {\n    frame.colno = colno;\n  }\n  return frame;\n}\nconst chromeRegexNoFnName = /^\\s*at (\\S+?)(?::(\\d+))(?::(\\d+))\\s*$/i;\nconst chromeRegex = /^\\s*at (?:(.+?\\)(?: \\[.+\\])?|.*?) ?\\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\\/)?.*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nconst chromeEvalRegex = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\nconst chromeStackParserFn = (line) => {\n  const noFnParts = chromeRegexNoFnName.exec(line);\n  if (noFnParts) {\n    const [, filename, line2, col] = noFnParts;\n    return createFrame(filename, UNKNOWN_FUNCTION, +line2, +col);\n  }\n  const parts = chromeRegex.exec(line);\n  if (parts) {\n    const isEval = parts[2] && parts[2].indexOf(\"eval\") === 0;\n    if (isEval) {\n      const subMatch = chromeEvalRegex.exec(parts[2]);\n      if (subMatch) {\n        parts[2] = subMatch[1];\n        parts[3] = subMatch[2];\n        parts[4] = subMatch[3];\n      }\n    }\n    const [func, filename] = extractSafariExtensionDetails(parts[1] || UNKNOWN_FUNCTION, parts[2]);\n    return createFrame(filename, func, parts[3] ? +parts[3] : void 0, parts[4] ? +parts[4] : void 0);\n  }\n  return;\n};\nconst chromeStackLineParser = [CHROME_PRIORITY, chromeStackParserFn];\nconst geckoREgex = /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)?((?:[-a-z]+)?:\\/.*?|\\[native code\\]|[^@]*(?:bundle|\\d+\\.js)|\\/[\\w\\-. /=]+)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nconst geckoEvalRegex = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\nconst gecko = (line) => {\n  const parts = geckoREgex.exec(line);\n  if (parts) {\n    const isEval = parts[3] && parts[3].indexOf(\" > eval\") > -1;\n    if (isEval) {\n      const subMatch = geckoEvalRegex.exec(parts[3]);\n      if (subMatch) {\n        parts[1] = parts[1] || \"eval\";\n        parts[3] = subMatch[1];\n        parts[4] = subMatch[2];\n        parts[5] = \"\";\n      }\n    }\n    let filename = parts[3];\n    let func = parts[1] || UNKNOWN_FUNCTION;\n    [func, filename] = extractSafariExtensionDetails(func, filename);\n    return createFrame(filename, func, parts[4] ? +parts[4] : void 0, parts[5] ? +parts[5] : void 0);\n  }\n  return;\n};\nconst geckoStackLineParser = [GECKO_PRIORITY, gecko];\nconst defaultStackLineParsers = [chromeStackLineParser, geckoStackLineParser];\nconst defaultStackParser = createStackParser(...defaultStackLineParsers);\nconst extractSafariExtensionDetails = (func, filename) => {\n  const isSafariExtension = func.indexOf(\"safari-extension\") !== -1;\n  const isSafariWebExtension = func.indexOf(\"safari-web-extension\") !== -1;\n  return isSafariExtension || isSafariWebExtension ? [\n    func.indexOf(\"@\") !== -1 ? func.split(\"@\")[0] : UNKNOWN_FUNCTION,\n    isSafariExtension ? `safari-extension:${filename}` : `safari-web-extension:${filename}`\n  ] : [func, filename];\n};\nexport {\n  chromeStackLineParser,\n  defaultStackLineParsers,\n  defaultStackParser,\n  geckoStackLineParser\n};\n","import { rejectedSyncPromise, SyncPromise, resolvedSyncPromise } from \"./syncpromise.js\";\nconst SENTRY_BUFFER_FULL_ERROR = Symbol.for(\"SentryBufferFullError\");\nfunction makePromiseBuffer(limit) {\n  const buffer = [];\n  function isReady() {\n    return limit === void 0 || buffer.length < limit;\n  }\n  function remove(task) {\n    return buffer.splice(buffer.indexOf(task), 1)[0] || Promise.resolve(void 0);\n  }\n  function add(taskProducer) {\n    if (!isReady()) {\n      return rejectedSyncPromise(SENTRY_BUFFER_FULL_ERROR);\n    }\n    const task = taskProducer();\n    if (buffer.indexOf(task) === -1) {\n      buffer.push(task);\n    }\n    void task.then(() => remove(task)).then(\n      null,\n      () => remove(task).then(null, () => {\n      })\n    );\n    return task;\n  }\n  function drain(timeout) {\n    return new SyncPromise((resolve, reject) => {\n      let counter = buffer.length;\n      if (!counter) {\n        return resolve(true);\n      }\n      const capturedSetTimeout = setTimeout(() => {\n        if (timeout && timeout > 0) {\n          resolve(false);\n        }\n      }, timeout);\n      buffer.forEach((item) => {\n        void resolvedSyncPromise(item).then(() => {\n          if (!--counter) {\n            clearTimeout(capturedSetTimeout);\n            resolve(true);\n          }\n        }, reject);\n      });\n    });\n  }\n  return {\n    $: buffer,\n    add,\n    drain\n  };\n}\nexport {\n  SENTRY_BUFFER_FULL_ERROR,\n  makePromiseBuffer\n};\n","const DEFAULT_RETRY_AFTER = 60 * 1e3;\nfunction parseRetryAfterHeader(header, now = Date.now()) {\n  const headerDelay = parseInt(`${header}`, 10);\n  if (!isNaN(headerDelay)) {\n    return headerDelay * 1e3;\n  }\n  const headerDate = Date.parse(`${header}`);\n  if (!isNaN(headerDate)) {\n    return headerDate - now;\n  }\n  return DEFAULT_RETRY_AFTER;\n}\nfunction disabledUntil(limits, dataCategory) {\n  return limits[dataCategory] || limits.all || 0;\n}\nfunction isRateLimited(limits, dataCategory, now = Date.now()) {\n  return disabledUntil(limits, dataCategory) > now;\n}\nfunction updateRateLimits(limits, { statusCode, headers }, now = Date.now()) {\n  const updatedRateLimits = {\n    ...limits\n  };\n  const rateLimitHeader = headers == null ? void 0 : headers[\"x-sentry-rate-limits\"];\n  const retryAfterHeader = headers == null ? void 0 : headers[\"retry-after\"];\n  if (rateLimitHeader) {\n    for (const limit of rateLimitHeader.trim().split(\",\")) {\n      const [retryAfter, categories, , , namespaces] = limit.split(\":\", 5);\n      const headerDelay = parseInt(retryAfter, 10);\n      const delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1e3;\n      if (!categories) {\n        updatedRateLimits.all = now + delay;\n      } else {\n        for (const category of categories.split(\";\")) {\n          if (category === \"metric_bucket\") {\n            if (!namespaces || namespaces.split(\";\").includes(\"custom\")) {\n              updatedRateLimits[category] = now + delay;\n            }\n          } else {\n            updatedRateLimits[category] = now + delay;\n          }\n        }\n      }\n    }\n  } else if (retryAfterHeader) {\n    updatedRateLimits.all = now + parseRetryAfterHeader(retryAfterHeader, now);\n  } else if (statusCode === 429) {\n    updatedRateLimits.all = now + 60 * 1e3;\n  }\n  return updatedRateLimits;\n}\nexport {\n  DEFAULT_RETRY_AFTER,\n  disabledUntil,\n  isRateLimited,\n  parseRetryAfterHeader,\n  updateRateLimits\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { forEachEnvelopeItem, createEnvelope, envelopeItemTypeToDataCategory, serializeEnvelope } from \"../utils-hoist/envelope.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { makePromiseBuffer, SENTRY_BUFFER_FULL_ERROR } from \"../utils-hoist/promisebuffer.js\";\nimport { isRateLimited, updateRateLimits } from \"../utils-hoist/ratelimit.js\";\nimport { resolvedSyncPromise } from \"../utils-hoist/syncpromise.js\";\nconst DEFAULT_TRANSPORT_BUFFER_SIZE = 64;\nfunction createTransport(options, makeRequest, buffer = makePromiseBuffer(\n  options.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE\n)) {\n  let rateLimits = {};\n  const flush = (timeout) => buffer.drain(timeout);\n  function send(envelope) {\n    const filteredEnvelopeItems = [];\n    forEachEnvelopeItem(envelope, (item, type) => {\n      const dataCategory = envelopeItemTypeToDataCategory(type);\n      if (isRateLimited(rateLimits, dataCategory)) {\n        options.recordDroppedEvent(\"ratelimit_backoff\", dataCategory);\n      } else {\n        filteredEnvelopeItems.push(item);\n      }\n    });\n    if (filteredEnvelopeItems.length === 0) {\n      return resolvedSyncPromise({});\n    }\n    const filteredEnvelope = createEnvelope(envelope[0], filteredEnvelopeItems);\n    const recordEnvelopeLoss = (reason) => {\n      forEachEnvelopeItem(filteredEnvelope, (item, type) => {\n        options.recordDroppedEvent(reason, envelopeItemTypeToDataCategory(type));\n      });\n    };\n    const requestTask = () => makeRequest({ body: serializeEnvelope(filteredEnvelope) }).then(\n      (response) => {\n        if (response.statusCode !== void 0 && (response.statusCode < 200 || response.statusCode >= 300)) {\n          DEBUG_BUILD && logger.warn(`Sentry responded with status code ${response.statusCode} to sent event.`);\n        }\n        rateLimits = updateRateLimits(rateLimits, response);\n        return response;\n      },\n      (error) => {\n        recordEnvelopeLoss(\"network_error\");\n        DEBUG_BUILD && logger.error(\"Encountered error running transport request:\", error);\n        throw error;\n      }\n    );\n    return buffer.add(requestTask).then(\n      (result) => result,\n      (error) => {\n        if (error === SENTRY_BUFFER_FULL_ERROR) {\n          DEBUG_BUILD && logger.error(\"Skipped sending event because buffer is full.\");\n          recordEnvelopeLoss(\"queue_overflow\");\n          return resolvedSyncPromise({});\n        } else {\n          throw error;\n        }\n      }\n    );\n  }\n  return {\n    send,\n    flush\n  };\n}\nexport {\n  DEFAULT_TRANSPORT_BUFFER_SIZE,\n  createTransport\n};\n","const DEBUG_BUILD = typeof __SENTRY_DEBUG__ === \"undefined\" || __SENTRY_DEBUG__;\nexport {\n  DEBUG_BUILD\n};\n","import { DEBUG_BUILD } from \"./debug-build.js\";\nimport { WINDOW } from \"./types.js\";\nimport { isNativeFunction } from \"../../../../@sentry/core/build/esm/utils-hoist/supports.js\";\nimport { logger } from \"../../../../@sentry/core/build/esm/utils-hoist/logger.js\";\nconst cachedImplementations = {};\nfunction getNativeImplementation(name) {\n  const cached = cachedImplementations[name];\n  if (cached) {\n    return cached;\n  }\n  let impl = WINDOW[name];\n  if (isNativeFunction(impl)) {\n    return cachedImplementations[name] = impl.bind(WINDOW);\n  }\n  const document = WINDOW.document;\n  if (document && typeof document.createElement === \"function\") {\n    try {\n      const sandbox = document.createElement(\"iframe\");\n      sandbox.hidden = true;\n      document.head.appendChild(sandbox);\n      const contentWindow = sandbox.contentWindow;\n      if (contentWindow == null ? void 0 : contentWindow[name]) {\n        impl = contentWindow[name];\n      }\n      document.head.removeChild(sandbox);\n    } catch (e) {\n      DEBUG_BUILD && logger.warn(`Could not create sandbox iframe for ${name} check, bailing to window.${name}: `, e);\n    }\n  }\n  if (!impl) {\n    return impl;\n  }\n  return cachedImplementations[name] = impl.bind(WINDOW);\n}\nfunction clearCachedImplementation(name) {\n  cachedImplementations[name] = void 0;\n}\nexport {\n  clearCachedImplementation,\n  getNativeImplementation\n};\n","import { createTransport } from \"../../../../../core/build/esm/transports/base.js\";\nimport { getNativeImplementation, clearCachedImplementation } from \"../../../../../../@sentry-internal/browser-utils/build/esm/getNativeImplementation.js\";\nimport { rejectedSyncPromise } from \"../../../../../core/build/esm/utils-hoist/syncpromise.js\";\nfunction makeFetchTransport(options, nativeFetch = getNativeImplementation(\"fetch\")) {\n  let pendingBodySize = 0;\n  let pendingCount = 0;\n  function makeRequest(request) {\n    const requestSize = request.body.length;\n    pendingBodySize += requestSize;\n    pendingCount++;\n    const requestOptions = {\n      body: request.body,\n      method: \"POST\",\n      referrerPolicy: \"strict-origin\",\n      headers: options.headers,\n      // Outgoing requests are usually cancelled when navigating to a different page, causing a \"TypeError: Failed to\n      // fetch\" error and sending a \"network_error\" client-outcome - in Chrome, the request status shows \"(cancelled)\".\n      // The `keepalive` flag keeps outgoing requests alive, even when switching pages. We want this since we're\n      // frequently sending events right before the user is switching pages (eg. when finishing navigation transactions).\n      // Gotchas:\n      // - `keepalive` isn't supported by Firefox\n      // - As per spec (https://fetch.spec.whatwg.org/#http-network-or-cache-fetch):\n      //   If the sum of contentLength and inflightKeepaliveBytes is greater than 64 kibibytes, then return a network error.\n      //   We will therefore only activate the flag when we're below that limit.\n      // There is also a limit of requests that can be open at the same time, so we also limit this to 15\n      // See https://github.com/getsentry/sentry-javascript/pull/7553 for details\n      keepalive: pendingBodySize <= 6e4 && pendingCount < 15,\n      ...options.fetchOptions\n    };\n    if (!nativeFetch) {\n      clearCachedImplementation(\"fetch\");\n      return rejectedSyncPromise(\"No fetch implementation available\");\n    }\n    try {\n      return nativeFetch(options.url, requestOptions).then((response) => {\n        pendingBodySize -= requestSize;\n        pendingCount--;\n        return {\n          statusCode: response.status,\n          headers: {\n            \"x-sentry-rate-limits\": response.headers.get(\"X-Sentry-Rate-Limits\"),\n            \"retry-after\": response.headers.get(\"Retry-After\")\n          }\n        };\n      });\n    } catch (e) {\n      clearCachedImplementation(\"fetch\");\n      pendingBodySize -= requestSize;\n      pendingCount--;\n      return rejectedSyncPromise(e);\n    }\n  }\n  return createTransport(options, makeRequest);\n}\nexport {\n  makeFetchTransport\n};\n","import { getCurrentScope } from \"./currentScopes.js\";\nimport { DEBUG_BUILD } from \"./debug-build.js\";\nimport { logger, consoleSandbox } from \"./utils-hoist/logger.js\";\nfunction initAndBind(clientClass, options) {\n  if (options.debug === true) {\n    if (DEBUG_BUILD) {\n      logger.enable();\n    } else {\n      consoleSandbox(() => {\n        console.warn(\"[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.\");\n      });\n    }\n  }\n  const scope = getCurrentScope();\n  scope.update(options.initialScope);\n  const client = new clientClass(options);\n  setCurrentClient(client);\n  client.init();\n  return client;\n}\nfunction setCurrentClient(client) {\n  getCurrentScope().setClient(client);\n}\nexport {\n  initAndBind,\n  setCurrentClient\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { defineIntegration } from \"../integration.js\";\nimport { getPossibleEventMessages } from \"../utils/eventUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { getEventDescription } from \"../utils-hoist/misc.js\";\nimport { stringMatchesSomePattern } from \"../utils-hoist/string.js\";\nconst DEFAULT_IGNORE_ERRORS = [\n  /^Script error\\.?$/,\n  /^Javascript error: Script error\\.? on line 0$/,\n  /^ResizeObserver loop completed with undelivered notifications.$/,\n  // The browser logs this when a ResizeObserver handler takes a bit longer. Usually this is not an actual issue though. It indicates slowness.\n  /^Cannot redefine property: googletag$/,\n  // This is thrown when google tag manager is used in combination with an ad blocker\n  /^Can't find variable: gmo$/,\n  // Error from Google Search App https://issuetracker.google.com/issues/396043331\n  /^undefined is not an object \\(evaluating 'a\\.[A-Z]'\\)$/,\n  // Random error that happens but not actionable or noticeable to end-users.\n  `can't redefine non-configurable property \"solana\"`,\n  // Probably a browser extension or custom browser (Brave) throwing this error\n  \"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)\",\n  // Error thrown by GTM, seemingly not affecting end-users\n  \"Can't find variable: _AutofillCallbackHandler\",\n  // Unactionable error in instagram webview https://developers.facebook.com/community/threads/320013549791141/\n  /^Non-Error promise rejection captured with value: Object Not Found Matching Id:\\d+, MethodName:simulateEvent, ParamCount:\\d+$/,\n  // unactionable error from CEFSharp, a .NET library that embeds chromium in .NET apps\n  /^Java exception was raised during method invocation$/\n  // error from Facebook Mobile browser (https://github.com/getsentry/sentry-javascript/issues/15065)\n];\nconst INTEGRATION_NAME = \"EventFilters\";\nconst eventFiltersIntegration = defineIntegration((options = {}) => {\n  let mergedOptions;\n  return {\n    name: INTEGRATION_NAME,\n    setup(client) {\n      const clientOptions = client.getOptions();\n      mergedOptions = _mergeOptions(options, clientOptions);\n    },\n    processEvent(event, _hint, client) {\n      if (!mergedOptions) {\n        const clientOptions = client.getOptions();\n        mergedOptions = _mergeOptions(options, clientOptions);\n      }\n      return _shouldDropEvent(event, mergedOptions) ? null : event;\n    }\n  };\n});\nconst inboundFiltersIntegration = defineIntegration((options = {}) => {\n  return {\n    ...eventFiltersIntegration(options),\n    name: \"InboundFilters\"\n  };\n});\nfunction _mergeOptions(internalOptions = {}, clientOptions = {}) {\n  return {\n    allowUrls: [...internalOptions.allowUrls || [], ...clientOptions.allowUrls || []],\n    denyUrls: [...internalOptions.denyUrls || [], ...clientOptions.denyUrls || []],\n    ignoreErrors: [\n      ...internalOptions.ignoreErrors || [],\n      ...clientOptions.ignoreErrors || [],\n      ...internalOptions.disableErrorDefaults ? [] : DEFAULT_IGNORE_ERRORS\n    ],\n    ignoreTransactions: [...internalOptions.ignoreTransactions || [], ...clientOptions.ignoreTransactions || []]\n  };\n}\nfunction _shouldDropEvent(event, options) {\n  if (!event.type) {\n    if (_isIgnoredError(event, options.ignoreErrors)) {\n      DEBUG_BUILD && logger.warn(\n        `Event dropped due to being matched by \\`ignoreErrors\\` option.\nEvent: ${getEventDescription(event)}`\n      );\n      return true;\n    }\n    if (_isUselessError(event)) {\n      DEBUG_BUILD && logger.warn(\n        `Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${getEventDescription(\n          event\n        )}`\n      );\n      return true;\n    }\n    if (_isDeniedUrl(event, options.denyUrls)) {\n      DEBUG_BUILD && logger.warn(\n        `Event dropped due to being matched by \\`denyUrls\\` option.\nEvent: ${getEventDescription(\n          event\n        )}.\nUrl: ${_getEventFilterUrl(event)}`\n      );\n      return true;\n    }\n    if (!_isAllowedUrl(event, options.allowUrls)) {\n      DEBUG_BUILD && logger.warn(\n        `Event dropped due to not being matched by \\`allowUrls\\` option.\nEvent: ${getEventDescription(\n          event\n        )}.\nUrl: ${_getEventFilterUrl(event)}`\n      );\n      return true;\n    }\n  } else if (event.type === \"transaction\") {\n    if (_isIgnoredTransaction(event, options.ignoreTransactions)) {\n      DEBUG_BUILD && logger.warn(\n        `Event dropped due to being matched by \\`ignoreTransactions\\` option.\nEvent: ${getEventDescription(event)}`\n      );\n      return true;\n    }\n  }\n  return false;\n}\nfunction _isIgnoredError(event, ignoreErrors) {\n  if (!(ignoreErrors == null ? void 0 : ignoreErrors.length)) {\n    return false;\n  }\n  return getPossibleEventMessages(event).some((message) => stringMatchesSomePattern(message, ignoreErrors));\n}\nfunction _isIgnoredTransaction(event, ignoreTransactions) {\n  if (!(ignoreTransactions == null ? void 0 : ignoreTransactions.length)) {\n    return false;\n  }\n  const name = event.transaction;\n  return name ? stringMatchesSomePattern(name, ignoreTransactions) : false;\n}\nfunction _isDeniedUrl(event, denyUrls) {\n  if (!(denyUrls == null ? void 0 : denyUrls.length)) {\n    return false;\n  }\n  const url = _getEventFilterUrl(event);\n  return !url ? false : stringMatchesSomePattern(url, denyUrls);\n}\nfunction _isAllowedUrl(event, allowUrls) {\n  if (!(allowUrls == null ? void 0 : allowUrls.length)) {\n    return true;\n  }\n  const url = _getEventFilterUrl(event);\n  return !url ? true : stringMatchesSomePattern(url, allowUrls);\n}\nfunction _getLastValidUrl(frames = []) {\n  for (let i = frames.length - 1; i >= 0; i--) {\n    const frame = frames[i];\n    if (frame && frame.filename !== \"<anonymous>\" && frame.filename !== \"[native code]\") {\n      return frame.filename || null;\n    }\n  }\n  return null;\n}\nfunction _getEventFilterUrl(event) {\n  var _a, _b;\n  try {\n    const rootException = [...((_a = event.exception) == null ? void 0 : _a.values) ?? []].reverse().find((value) => {\n      var _a2, _b2, _c;\n      return ((_a2 = value.mechanism) == null ? void 0 : _a2.parent_id) === void 0 && ((_c = (_b2 = value.stacktrace) == null ? void 0 : _b2.frames) == null ? void 0 : _c.length);\n    });\n    const frames = (_b = rootException == null ? void 0 : rootException.stacktrace) == null ? void 0 : _b.frames;\n    return frames ? _getLastValidUrl(frames) : null;\n  } catch (oO) {\n    DEBUG_BUILD && logger.error(`Cannot extract url for event ${getEventDescription(event)}`);\n    return null;\n  }\n}\nfunction _isUselessError(event) {\n  var _a, _b;\n  if (!((_b = (_a = event.exception) == null ? void 0 : _a.values) == null ? void 0 : _b.length)) {\n    return false;\n  }\n  return (\n    // No top-level message\n    !event.message && // There are no exception values that have a stacktrace, a non-generic-Error type or value\n    !event.exception.values.some((value) => value.stacktrace || value.type && value.type !== \"Error\" || value.value)\n  );\n}\nexport {\n  eventFiltersIntegration,\n  inboundFiltersIntegration\n};\n","import { getClient } from \"../currentScopes.js\";\nimport { defineIntegration } from \"../integration.js\";\nimport { getOriginalFunction } from \"../utils-hoist/object.js\";\nlet originalFunctionToString;\nconst INTEGRATION_NAME = \"FunctionToString\";\nconst SETUP_CLIENTS = /* @__PURE__ */ new WeakMap();\nconst _functionToStringIntegration = () => {\n  return {\n    name: INTEGRATION_NAME,\n    setupOnce() {\n      originalFunctionToString = Function.prototype.toString;\n      try {\n        Function.prototype.toString = function(...args) {\n          const originalFunction = getOriginalFunction(this);\n          const context = SETUP_CLIENTS.has(getClient()) && originalFunction !== void 0 ? originalFunction : this;\n          return originalFunctionToString.apply(context, args);\n        };\n      } catch {\n      }\n    },\n    setup(client) {\n      SETUP_CLIENTS.set(client, true);\n    }\n  };\n};\nconst functionToStringIntegration = defineIntegration(_functionToStringIntegration);\nexport {\n  functionToStringIntegration\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { defineIntegration } from \"../integration.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { getFramesFromEvent } from \"../utils-hoist/stacktrace.js\";\nconst INTEGRATION_NAME = \"Dedupe\";\nconst _dedupeIntegration = () => {\n  let previousEvent;\n  return {\n    name: INTEGRATION_NAME,\n    processEvent(currentEvent) {\n      if (currentEvent.type) {\n        return currentEvent;\n      }\n      try {\n        if (_shouldDropEvent(currentEvent, previousEvent)) {\n          DEBUG_BUILD && logger.warn(\"Event dropped due to being a duplicate of previously captured event.\");\n          return null;\n        }\n      } catch (_oO) {\n      }\n      return previousEvent = currentEvent;\n    }\n  };\n};\nconst dedupeIntegration = defineIntegration(_dedupeIntegration);\nfunction _shouldDropEvent(currentEvent, previousEvent) {\n  if (!previousEvent) {\n    return false;\n  }\n  if (_isSameMessageEvent(currentEvent, previousEvent)) {\n    return true;\n  }\n  if (_isSameExceptionEvent(currentEvent, previousEvent)) {\n    return true;\n  }\n  return false;\n}\nfunction _isSameMessageEvent(currentEvent, previousEvent) {\n  const currentMessage = currentEvent.message;\n  const previousMessage = previousEvent.message;\n  if (!currentMessage && !previousMessage) {\n    return false;\n  }\n  if (currentMessage && !previousMessage || !currentMessage && previousMessage) {\n    return false;\n  }\n  if (currentMessage !== previousMessage) {\n    return false;\n  }\n  if (!_isSameFingerprint(currentEvent, previousEvent)) {\n    return false;\n  }\n  if (!_isSameStacktrace(currentEvent, previousEvent)) {\n    return false;\n  }\n  return true;\n}\nfunction _isSameExceptionEvent(currentEvent, previousEvent) {\n  const previousException = _getExceptionFromEvent(previousEvent);\n  const currentException = _getExceptionFromEvent(currentEvent);\n  if (!previousException || !currentException) {\n    return false;\n  }\n  if (previousException.type !== currentException.type || previousException.value !== currentException.value) {\n    return false;\n  }\n  if (!_isSameFingerprint(currentEvent, previousEvent)) {\n    return false;\n  }\n  if (!_isSameStacktrace(currentEvent, previousEvent)) {\n    return false;\n  }\n  return true;\n}\nfunction _isSameStacktrace(currentEvent, previousEvent) {\n  let currentFrames = getFramesFromEvent(currentEvent);\n  let previousFrames = getFramesFromEvent(previousEvent);\n  if (!currentFrames && !previousFrames) {\n    return true;\n  }\n  if (currentFrames && !previousFrames || !currentFrames && previousFrames) {\n    return false;\n  }\n  currentFrames = currentFrames;\n  previousFrames = previousFrames;\n  if (previousFrames.length !== currentFrames.length) {\n    return false;\n  }\n  for (let i = 0; i < previousFrames.length; i++) {\n    const frameA = previousFrames[i];\n    const frameB = currentFrames[i];\n    if (frameA.filename !== frameB.filename || frameA.lineno !== frameB.lineno || frameA.colno !== frameB.colno || frameA.function !== frameB.function) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction _isSameFingerprint(currentEvent, previousEvent) {\n  let currentFingerprint = currentEvent.fingerprint;\n  let previousFingerprint = previousEvent.fingerprint;\n  if (!currentFingerprint && !previousFingerprint) {\n    return true;\n  }\n  if (currentFingerprint && !previousFingerprint || !currentFingerprint && previousFingerprint) {\n    return false;\n  }\n  currentFingerprint = currentFingerprint;\n  previousFingerprint = previousFingerprint;\n  try {\n    return !!(currentFingerprint.join(\"\") === previousFingerprint.join(\"\"));\n  } catch (_oO) {\n    return false;\n  }\n}\nfunction _getExceptionFromEvent(event) {\n  var _a;\n  return ((_a = event.exception) == null ? void 0 : _a.values) && event.exception.values[0];\n}\nexport {\n  _shouldDropEvent,\n  dedupeIntegration\n};\n","import { BrowserClient } from \"./client.js\";\nimport { DEBUG_BUILD } from \"./debug-build.js\";\nimport { WINDOW } from \"./helpers.js\";\nimport { breadcrumbsIntegration } from \"./integrations/breadcrumbs.js\";\nimport { browserApiErrorsIntegration } from \"./integrations/browserapierrors.js\";\nimport { browserSessionIntegration } from \"./integrations/browsersession.js\";\nimport { globalHandlersIntegration } from \"./integrations/globalhandlers.js\";\nimport { httpContextIntegration } from \"./integrations/httpcontext.js\";\nimport { linkedErrorsIntegration } from \"./integrations/linkederrors.js\";\nimport { defaultStackParser } from \"./stack-parsers.js\";\nimport { makeFetchTransport } from \"./transports/fetch.js\";\nimport { consoleSandbox, logger } from \"../../../../core/build/esm/utils-hoist/logger.js\";\nimport { supportsFetch } from \"../../../../core/build/esm/utils-hoist/supports.js\";\nimport { stackParserFromStackParserOptions } from \"../../../../core/build/esm/utils-hoist/stacktrace.js\";\nimport { getIntegrationsToSetup } from \"../../../../core/build/esm/integration.js\";\nimport { initAndBind } from \"../../../../core/build/esm/sdk.js\";\nimport { getLocationHref } from \"../../../../core/build/esm/utils-hoist/browser.js\";\nimport { inboundFiltersIntegration } from \"../../../../core/build/esm/integrations/eventFilters.js\";\nimport { functionToStringIntegration } from \"../../../../core/build/esm/integrations/functiontostring.js\";\nimport { dedupeIntegration } from \"../../../../core/build/esm/integrations/dedupe.js\";\nfunction getDefaultIntegrations(_options) {\n  return [\n    // TODO(v10): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`\n    // eslint-disable-next-line deprecation/deprecation\n    inboundFiltersIntegration(),\n    functionToStringIntegration(),\n    browserApiErrorsIntegration(),\n    breadcrumbsIntegration(),\n    globalHandlersIntegration(),\n    linkedErrorsIntegration(),\n    dedupeIntegration(),\n    httpContextIntegration(),\n    browserSessionIntegration()\n  ];\n}\nfunction applyDefaultOptions(optionsArg = {}) {\n  var _a;\n  const defaultOptions = {\n    defaultIntegrations: getDefaultIntegrations(),\n    release: typeof __SENTRY_RELEASE__ === \"string\" ? __SENTRY_RELEASE__ : (_a = WINDOW.SENTRY_RELEASE) == null ? void 0 : _a.id,\n    // This supports the variable that sentry-webpack-plugin injects\n    sendClientReports: true\n  };\n  return {\n    ...defaultOptions,\n    ...dropTopLevelUndefinedKeys(optionsArg)\n  };\n}\nfunction dropTopLevelUndefinedKeys(obj) {\n  const mutatetedObj = {};\n  for (const k of Object.getOwnPropertyNames(obj)) {\n    const key = k;\n    if (obj[key] !== void 0) {\n      mutatetedObj[key] = obj[key];\n    }\n  }\n  return mutatetedObj;\n}\nfunction shouldShowBrowserExtensionError() {\n  var _a;\n  const windowWithMaybeExtension = typeof WINDOW.window !== \"undefined\" && WINDOW;\n  if (!windowWithMaybeExtension) {\n    return false;\n  }\n  const extensionKey = windowWithMaybeExtension.chrome ? \"chrome\" : \"browser\";\n  const extensionObject = windowWithMaybeExtension[extensionKey];\n  const runtimeId = (_a = extensionObject == null ? void 0 : extensionObject.runtime) == null ? void 0 : _a.id;\n  const href = getLocationHref() || \"\";\n  const extensionProtocols = [\"chrome-extension:\", \"moz-extension:\", \"ms-browser-extension:\", \"safari-web-extension:\"];\n  const isDedicatedExtensionPage = !!runtimeId && WINDOW === WINDOW.top && extensionProtocols.some((protocol) => href.startsWith(`${protocol}//`));\n  const isNWjs = typeof windowWithMaybeExtension.nw !== \"undefined\";\n  return !!runtimeId && !isDedicatedExtensionPage && !isNWjs;\n}\nfunction init(browserOptions = {}) {\n  const options = applyDefaultOptions(browserOptions);\n  if (!options.skipBrowserExtensionCheck && shouldShowBrowserExtensionError()) {\n    if (DEBUG_BUILD) {\n      consoleSandbox(() => {\n        console.error(\n          \"[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/\"\n        );\n      });\n    }\n    return;\n  }\n  if (DEBUG_BUILD && !supportsFetch()) {\n    logger.warn(\n      \"No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.\"\n    );\n  }\n  const clientOptions = {\n    ...options,\n    stackParser: stackParserFromStackParserOptions(options.stackParser || defaultStackParser),\n    integrations: getIntegrationsToSetup(options),\n    transport: options.transport || makeFetchTransport\n  };\n  return initAndBind(BrowserClient, clientOptions);\n}\nexport {\n  applyDefaultOptions,\n  getDefaultIntegrations,\n  init\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { WINDOW } from \"../helpers.js\";\nimport { getActiveSpan, getRootSpan, spanToJSON } from \"../../../../../core/build/esm/utils/spanUtils.js\";\nimport { logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nimport { SPAN_STATUS_ERROR } from \"../../../../../core/build/esm/tracing/spanstatus.js\";\nfunction registerBackgroundTabDetection() {\n  if (WINDOW.document) {\n    WINDOW.document.addEventListener(\"visibilitychange\", () => {\n      const activeSpan = getActiveSpan();\n      if (!activeSpan) {\n        return;\n      }\n      const rootSpan = getRootSpan(activeSpan);\n      if (WINDOW.document.hidden && rootSpan) {\n        const cancelledStatus = \"cancelled\";\n        const { op, status } = spanToJSON(rootSpan);\n        if (DEBUG_BUILD) {\n          logger.log(`[Tracing] Transaction: ${cancelledStatus} -> since tab moved to the background, op: ${op}`);\n        }\n        if (!status) {\n          rootSpan.setStatus({ code: SPAN_STATUS_ERROR, message: cancelledStatus });\n        }\n        rootSpan.setAttribute(\"sentry.cancellation_reason\", \"document.hidden\");\n        rootSpan.end();\n      }\n    });\n  } else {\n    DEBUG_BUILD && logger.warn(\"[Tracing] Could not set up background tab detection due to lack of global document\");\n  }\n}\nexport {\n  registerBackgroundTabDetection\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { WINDOW } from \"../helpers.js\";\nimport { getRootSpan, spanToJSON } from \"../../../../../core/build/esm/utils/spanUtils.js\";\nimport { getCurrentScope } from \"../../../../../core/build/esm/currentScopes.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE, SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from \"../../../../../core/build/esm/semanticAttributes.js\";\nimport { logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nconst PREVIOUS_TRACE_MAX_DURATION = 3600;\nconst PREVIOUS_TRACE_KEY = \"sentry_previous_trace\";\nconst PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE = \"sentry.previous_trace\";\nfunction linkTraces(client, {\n  linkPreviousTrace,\n  consistentTraceSampling\n}) {\n  const useSessionStorage = linkPreviousTrace === \"session-storage\";\n  let inMemoryPreviousTraceInfo = useSessionStorage ? getPreviousTraceFromSessionStorage() : void 0;\n  client.on(\"spanStart\", (span) => {\n    if (getRootSpan(span) !== span) {\n      return;\n    }\n    const oldPropagationContext = getCurrentScope().getPropagationContext();\n    inMemoryPreviousTraceInfo = addPreviousTraceSpanLink(inMemoryPreviousTraceInfo, span, oldPropagationContext);\n    if (useSessionStorage) {\n      storePreviousTraceInSessionStorage(inMemoryPreviousTraceInfo);\n    }\n  });\n  let isFirstTraceOnPageload = true;\n  if (consistentTraceSampling) {\n    client.on(\"beforeSampling\", (mutableSamplingContextData) => {\n      if (!inMemoryPreviousTraceInfo) {\n        return;\n      }\n      const scope = getCurrentScope();\n      const currentPropagationContext = scope.getPropagationContext();\n      if (isFirstTraceOnPageload && currentPropagationContext.parentSpanId) {\n        isFirstTraceOnPageload = false;\n        return;\n      }\n      scope.setPropagationContext({\n        ...currentPropagationContext,\n        dsc: {\n          ...currentPropagationContext.dsc,\n          sample_rate: String(inMemoryPreviousTraceInfo.sampleRate),\n          sampled: String(spanContextSampled(inMemoryPreviousTraceInfo.spanContext))\n        },\n        sampleRand: inMemoryPreviousTraceInfo.sampleRand\n      });\n      mutableSamplingContextData.parentSampled = spanContextSampled(inMemoryPreviousTraceInfo.spanContext);\n      mutableSamplingContextData.parentSampleRate = inMemoryPreviousTraceInfo.sampleRate;\n      mutableSamplingContextData.spanAttributes = {\n        ...mutableSamplingContextData.spanAttributes,\n        [SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]: inMemoryPreviousTraceInfo.sampleRate\n      };\n    });\n  }\n}\nfunction addPreviousTraceSpanLink(previousTraceInfo, span, oldPropagationContext) {\n  const spanJson = spanToJSON(span);\n  function getSampleRate() {\n    var _a, _b;\n    try {\n      return Number((_a = oldPropagationContext.dsc) == null ? void 0 : _a.sample_rate) ?? Number((_b = spanJson.data) == null ? void 0 : _b[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]);\n    } catch {\n      return 0;\n    }\n  }\n  const updatedPreviousTraceInfo = {\n    spanContext: span.spanContext(),\n    startTimestamp: spanJson.start_timestamp,\n    sampleRate: getSampleRate(),\n    sampleRand: oldPropagationContext.sampleRand\n  };\n  if (!previousTraceInfo) {\n    return updatedPreviousTraceInfo;\n  }\n  const previousTraceSpanCtx = previousTraceInfo.spanContext;\n  if (previousTraceSpanCtx.traceId === spanJson.trace_id) {\n    return previousTraceInfo;\n  }\n  if (Date.now() / 1e3 - previousTraceInfo.startTimestamp <= PREVIOUS_TRACE_MAX_DURATION) {\n    if (DEBUG_BUILD) {\n      logger.info(\n        `Adding previous_trace ${previousTraceSpanCtx} link to span ${{\n          op: spanJson.op,\n          ...span.spanContext()\n        }}`\n      );\n    }\n    span.addLink({\n      context: previousTraceSpanCtx,\n      attributes: {\n        [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: \"previous_trace\"\n      }\n    });\n    span.setAttribute(\n      PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE,\n      `${previousTraceSpanCtx.traceId}-${previousTraceSpanCtx.spanId}-${spanContextSampled(previousTraceSpanCtx) ? 1 : 0}`\n    );\n  }\n  return updatedPreviousTraceInfo;\n}\nfunction storePreviousTraceInSessionStorage(previousTraceInfo) {\n  try {\n    WINDOW.sessionStorage.setItem(PREVIOUS_TRACE_KEY, JSON.stringify(previousTraceInfo));\n  } catch (e) {\n    DEBUG_BUILD && logger.warn(\"Could not store previous trace in sessionStorage\", e);\n  }\n}\nfunction getPreviousTraceFromSessionStorage() {\n  var _a;\n  try {\n    const previousTraceInfo = (_a = WINDOW.sessionStorage) == null ? void 0 : _a.getItem(PREVIOUS_TRACE_KEY);\n    return JSON.parse(previousTraceInfo);\n  } catch (e) {\n    return void 0;\n  }\n}\nfunction spanContextSampled(ctx) {\n  return ctx.traceFlags === 1;\n}\nexport {\n  PREVIOUS_TRACE_KEY,\n  PREVIOUS_TRACE_MAX_DURATION,\n  PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE,\n  addPreviousTraceSpanLink,\n  getPreviousTraceFromSessionStorage,\n  linkTraces,\n  spanContextSampled,\n  storePreviousTraceInSessionStorage\n};\n","import { TRACE_FLAG_NONE } from \"../utils/spanUtils.js\";\nimport { generateTraceId, generateSpanId } from \"../utils-hoist/propagationContext.js\";\nclass SentryNonRecordingSpan {\n  constructor(spanContext = {}) {\n    this._traceId = spanContext.traceId || generateTraceId();\n    this._spanId = spanContext.spanId || generateSpanId();\n  }\n  /** @inheritdoc */\n  spanContext() {\n    return {\n      spanId: this._spanId,\n      traceId: this._traceId,\n      traceFlags: TRACE_FLAG_NONE\n    };\n  }\n  /** @inheritdoc */\n  // eslint-disable-next-line @typescript-eslint/no-empty-function\n  end(_timestamp) {\n  }\n  /** @inheritdoc */\n  setAttribute(_key, _value) {\n    return this;\n  }\n  /** @inheritdoc */\n  setAttributes(_values) {\n    return this;\n  }\n  /** @inheritdoc */\n  setStatus(_status) {\n    return this;\n  }\n  /** @inheritdoc */\n  updateName(_name) {\n    return this;\n  }\n  /** @inheritdoc */\n  isRecording() {\n    return false;\n  }\n  /** @inheritdoc */\n  addEvent(_name, _attributesOrStartTime, _startTime) {\n    return this;\n  }\n  /** @inheritDoc */\n  addLink(_link) {\n    return this;\n  }\n  /** @inheritDoc */\n  addLinks(_links) {\n    return this;\n  }\n  /**\n   * This should generally not be used,\n   * but we need it for being compliant with the OTEL Span interface.\n   *\n   * @hidden\n   * @internal\n   */\n  recordException(_exception, _time) {\n  }\n}\nexport {\n  SentryNonRecordingSpan\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { spanToJSON, spanIsSampled, getRootSpan } from \"../utils/spanUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nfunction logSpanStart(span) {\n  if (!DEBUG_BUILD)\n    return;\n  const { description = \"< unknown name >\", op = \"< unknown op >\", parent_span_id: parentSpanId } = spanToJSON(span);\n  const { spanId } = span.spanContext();\n  const sampled = spanIsSampled(span);\n  const rootSpan = getRootSpan(span);\n  const isRootSpan = rootSpan === span;\n  const header = `[Tracing] Starting ${sampled ? \"sampled\" : \"unsampled\"} ${isRootSpan ? \"root \" : \"\"}span`;\n  const infoParts = [`op: ${op}`, `name: ${description}`, `ID: ${spanId}`];\n  if (parentSpanId) {\n    infoParts.push(`parent ID: ${parentSpanId}`);\n  }\n  if (!isRootSpan) {\n    const { op: op2, description: description2 } = spanToJSON(rootSpan);\n    infoParts.push(`root ID: ${rootSpan.spanContext().spanId}`);\n    if (op2) {\n      infoParts.push(`root op: ${op2}`);\n    }\n    if (description2) {\n      infoParts.push(`root description: ${description2}`);\n    }\n  }\n  logger.log(`${header}\n  ${infoParts.join(\"\\n  \")}`);\n}\nfunction logSpanEnd(span) {\n  if (!DEBUG_BUILD)\n    return;\n  const { description = \"< unknown name >\", op = \"< unknown op >\" } = spanToJSON(span);\n  const { spanId } = span.spanContext();\n  const rootSpan = getRootSpan(span);\n  const isRootSpan = rootSpan === span;\n  const msg = `[Tracing] Finishing \"${op}\" ${isRootSpan ? \"root \" : \"\"}span \"${description}\" with ID ${spanId}`;\n  logger.log(msg);\n}\nexport {\n  logSpanEnd,\n  logSpanStart\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { hasSpansEnabled } from \"../utils/hasSpansEnabled.js\";\nimport { parseSampleRate } from \"../utils/parseSampleRate.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nfunction sampleSpan(options, samplingContext, sampleRand) {\n  if (!hasSpansEnabled(options)) {\n    return [false];\n  }\n  let localSampleRateWasApplied = void 0;\n  let sampleRate;\n  if (typeof options.tracesSampler === \"function\") {\n    sampleRate = options.tracesSampler({\n      ...samplingContext,\n      inheritOrSampleWith: (fallbackSampleRate) => {\n        if (typeof samplingContext.parentSampleRate === \"number\") {\n          return samplingContext.parentSampleRate;\n        }\n        if (typeof samplingContext.parentSampled === \"boolean\") {\n          return Number(samplingContext.parentSampled);\n        }\n        return fallbackSampleRate;\n      }\n    });\n    localSampleRateWasApplied = true;\n  } else if (samplingContext.parentSampled !== void 0) {\n    sampleRate = samplingContext.parentSampled;\n  } else if (typeof options.tracesSampleRate !== \"undefined\") {\n    sampleRate = options.tracesSampleRate;\n    localSampleRateWasApplied = true;\n  }\n  const parsedSampleRate = parseSampleRate(sampleRate);\n  if (parsedSampleRate === void 0) {\n    DEBUG_BUILD && logger.warn(\n      `[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(\n        sampleRate\n      )} of type ${JSON.stringify(typeof sampleRate)}.`\n    );\n    return [false];\n  }\n  if (!parsedSampleRate) {\n    DEBUG_BUILD && logger.log(\n      `[Tracing] Discarding transaction because ${typeof options.tracesSampler === \"function\" ? \"tracesSampler returned 0 or false\" : \"a negative sampling decision was inherited or tracesSampleRate is set to 0\"}`\n    );\n    return [false, parsedSampleRate, localSampleRateWasApplied];\n  }\n  const shouldSample = sampleRand < parsedSampleRate;\n  if (!shouldSample) {\n    DEBUG_BUILD && logger.log(\n      `[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(\n        sampleRate\n      )})`\n    );\n  }\n  return [shouldSample, parsedSampleRate, localSampleRateWasApplied];\n}\nexport {\n  sampleSpan\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT } from \"../semanticAttributes.js\";\nimport { getRootSpan, getActiveSpan } from \"../utils/spanUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nfunction setMeasurement(name, value, unit, activeSpan = getActiveSpan()) {\n  const rootSpan = activeSpan && getRootSpan(activeSpan);\n  if (rootSpan) {\n    DEBUG_BUILD && logger.log(`[Measurement] Setting measurement on root span: ${name} = ${value} ${unit}`);\n    rootSpan.addEvent(name, {\n      [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]: value,\n      [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]: unit\n    });\n  }\n}\nfunction timedEventsToMeasurements(events) {\n  if (!events || events.length === 0) {\n    return void 0;\n  }\n  const measurements = {};\n  events.forEach((event) => {\n    const attributes = event.attributes || {};\n    const unit = attributes[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT];\n    const value = attributes[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];\n    if (typeof unit === \"string\" && typeof value === \"number\") {\n      measurements[event.name] = { value, unit };\n    }\n  });\n  return measurements;\n}\nexport {\n  setMeasurement,\n  timedEventsToMeasurements\n};\n","import { getClient, getCurrentScope } from \"../currentScopes.js\";\nimport { DEBUG_BUILD } from \"../debug-build.js\";\nimport { createSpanEnvelope } from \"../envelope.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_PROFILE_ID, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME } from \"../semanticAttributes.js\";\nimport { TRACE_FLAG_SAMPLED, TRACE_FLAG_NONE, spanTimeInputToSeconds, getStatusMessage, getRootSpan, convertSpanLinksForEnvelope, spanToJSON, getSpanDescendants, spanToTransactionTraceContext } from \"../utils/spanUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { generateTraceId, generateSpanId } from \"../utils-hoist/propagationContext.js\";\nimport { timestampInSeconds } from \"../utils-hoist/time.js\";\nimport { getDynamicSamplingContextFromSpan } from \"./dynamicSamplingContext.js\";\nimport { logSpanEnd } from \"./logSpans.js\";\nimport { timedEventsToMeasurements } from \"./measurement.js\";\nimport { getCapturedScopesOnSpan } from \"./utils.js\";\nconst MAX_SPAN_COUNT = 1e3;\nclass SentrySpan {\n  /** Epoch timestamp in seconds when the span started. */\n  /** Epoch timestamp in seconds when the span ended. */\n  /** Internal keeper of the status */\n  /** The timed events added to this span. */\n  /** if true, treat span as a standalone span (not part of a transaction) */\n  /**\n   * You should never call the constructor manually, always use `Sentry.startSpan()`\n   * or other span methods.\n   * @internal\n   * @hideconstructor\n   * @hidden\n   */\n  constructor(spanContext = {}) {\n    this._traceId = spanContext.traceId || generateTraceId();\n    this._spanId = spanContext.spanId || generateSpanId();\n    this._startTime = spanContext.startTimestamp || timestampInSeconds();\n    this._links = spanContext.links;\n    this._attributes = {};\n    this.setAttributes({\n      [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"manual\",\n      [SEMANTIC_ATTRIBUTE_SENTRY_OP]: spanContext.op,\n      ...spanContext.attributes\n    });\n    this._name = spanContext.name;\n    if (spanContext.parentSpanId) {\n      this._parentSpanId = spanContext.parentSpanId;\n    }\n    if (\"sampled\" in spanContext) {\n      this._sampled = spanContext.sampled;\n    }\n    if (spanContext.endTimestamp) {\n      this._endTime = spanContext.endTimestamp;\n    }\n    this._events = [];\n    this._isStandaloneSpan = spanContext.isStandalone;\n    if (this._endTime) {\n      this._onSpanEnded();\n    }\n  }\n  /** @inheritDoc */\n  addLink(link) {\n    if (this._links) {\n      this._links.push(link);\n    } else {\n      this._links = [link];\n    }\n    return this;\n  }\n  /** @inheritDoc */\n  addLinks(links) {\n    if (this._links) {\n      this._links.push(...links);\n    } else {\n      this._links = links;\n    }\n    return this;\n  }\n  /**\n   * This should generally not be used,\n   * but it is needed for being compliant with the OTEL Span interface.\n   *\n   * @hidden\n   * @internal\n   */\n  recordException(_exception, _time) {\n  }\n  /** @inheritdoc */\n  spanContext() {\n    const { _spanId: spanId, _traceId: traceId, _sampled: sampled } = this;\n    return {\n      spanId,\n      traceId,\n      traceFlags: sampled ? TRACE_FLAG_SAMPLED : TRACE_FLAG_NONE\n    };\n  }\n  /** @inheritdoc */\n  setAttribute(key, value) {\n    if (value === void 0) {\n      delete this._attributes[key];\n    } else {\n      this._attributes[key] = value;\n    }\n    return this;\n  }\n  /** @inheritdoc */\n  setAttributes(attributes) {\n    Object.keys(attributes).forEach((key) => this.setAttribute(key, attributes[key]));\n    return this;\n  }\n  /**\n   * This should generally not be used,\n   * but we need it for browser tracing where we want to adjust the start time afterwards.\n   * USE THIS WITH CAUTION!\n   *\n   * @hidden\n   * @internal\n   */\n  updateStartTime(timeInput) {\n    this._startTime = spanTimeInputToSeconds(timeInput);\n  }\n  /**\n   * @inheritDoc\n   */\n  setStatus(value) {\n    this._status = value;\n    return this;\n  }\n  /**\n   * @inheritDoc\n   */\n  updateName(name) {\n    this._name = name;\n    this.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, \"custom\");\n    return this;\n  }\n  /** @inheritdoc */\n  end(endTimestamp) {\n    if (this._endTime) {\n      return;\n    }\n    this._endTime = spanTimeInputToSeconds(endTimestamp);\n    logSpanEnd(this);\n    this._onSpanEnded();\n  }\n  /**\n   * Get JSON representation of this span.\n   *\n   * @hidden\n   * @internal This method is purely for internal purposes and should not be used outside\n   * of SDK code. If you need to get a JSON representation of a span,\n   * use `spanToJSON(span)` instead.\n   */\n  getSpanJSON() {\n    return {\n      data: this._attributes,\n      description: this._name,\n      op: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP],\n      parent_span_id: this._parentSpanId,\n      span_id: this._spanId,\n      start_timestamp: this._startTime,\n      status: getStatusMessage(this._status),\n      timestamp: this._endTime,\n      trace_id: this._traceId,\n      origin: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],\n      profile_id: this._attributes[SEMANTIC_ATTRIBUTE_PROFILE_ID],\n      exclusive_time: this._attributes[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],\n      measurements: timedEventsToMeasurements(this._events),\n      is_segment: this._isStandaloneSpan && getRootSpan(this) === this || void 0,\n      segment_id: this._isStandaloneSpan ? getRootSpan(this).spanContext().spanId : void 0,\n      links: convertSpanLinksForEnvelope(this._links)\n    };\n  }\n  /** @inheritdoc */\n  isRecording() {\n    return !this._endTime && !!this._sampled;\n  }\n  /**\n   * @inheritdoc\n   */\n  addEvent(name, attributesOrStartTime, startTime) {\n    DEBUG_BUILD && logger.log(\"[Tracing] Adding an event to span:\", name);\n    const time = isSpanTimeInput(attributesOrStartTime) ? attributesOrStartTime : startTime || timestampInSeconds();\n    const attributes = isSpanTimeInput(attributesOrStartTime) ? {} : attributesOrStartTime || {};\n    const event = {\n      name,\n      time: spanTimeInputToSeconds(time),\n      attributes\n    };\n    this._events.push(event);\n    return this;\n  }\n  /**\n   * This method should generally not be used,\n   * but for now we need a way to publicly check if the `_isStandaloneSpan` flag is set.\n   * USE THIS WITH CAUTION!\n   * @internal\n   * @hidden\n   * @experimental\n   */\n  isStandaloneSpan() {\n    return !!this._isStandaloneSpan;\n  }\n  /** Emit `spanEnd` when the span is ended. */\n  _onSpanEnded() {\n    const client = getClient();\n    if (client) {\n      client.emit(\"spanEnd\", this);\n    }\n    const isSegmentSpan = this._isStandaloneSpan || this === getRootSpan(this);\n    if (!isSegmentSpan) {\n      return;\n    }\n    if (this._isStandaloneSpan) {\n      if (this._sampled) {\n        sendSpanEnvelope(createSpanEnvelope([this], client));\n      } else {\n        DEBUG_BUILD && logger.log(\"[Tracing] Discarding standalone span because its trace was not chosen to be sampled.\");\n        if (client) {\n          client.recordDroppedEvent(\"sample_rate\", \"span\");\n        }\n      }\n      return;\n    }\n    const transactionEvent = this._convertSpanToTransaction();\n    if (transactionEvent) {\n      const scope = getCapturedScopesOnSpan(this).scope || getCurrentScope();\n      scope.captureEvent(transactionEvent);\n    }\n  }\n  /**\n   * Finish the transaction & prepare the event to send to Sentry.\n   */\n  _convertSpanToTransaction() {\n    if (!isFullFinishedSpan(spanToJSON(this))) {\n      return void 0;\n    }\n    if (!this._name) {\n      DEBUG_BUILD && logger.warn(\"Transaction has no name, falling back to `<unlabeled transaction>`.\");\n      this._name = \"<unlabeled transaction>\";\n    }\n    const { scope: capturedSpanScope, isolationScope: capturedSpanIsolationScope } = getCapturedScopesOnSpan(this);\n    if (this._sampled !== true) {\n      return void 0;\n    }\n    const finishedSpans = getSpanDescendants(this).filter((span) => span !== this && !isStandaloneSpan(span));\n    const spans = finishedSpans.map((span) => spanToJSON(span)).filter(isFullFinishedSpan);\n    const source = this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n    delete this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];\n    spans.forEach((span) => {\n      delete span.data[SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];\n    });\n    const transaction = {\n      contexts: {\n        trace: spanToTransactionTraceContext(this)\n      },\n      spans: (\n        // spans.sort() mutates the array, but `spans` is already a copy so we can safely do this here\n        // we do not use spans anymore after this point\n        spans.length > MAX_SPAN_COUNT ? spans.sort((a, b) => a.start_timestamp - b.start_timestamp).slice(0, MAX_SPAN_COUNT) : spans\n      ),\n      start_timestamp: this._startTime,\n      timestamp: this._endTime,\n      transaction: this._name,\n      type: \"transaction\",\n      sdkProcessingMetadata: {\n        capturedSpanScope,\n        capturedSpanIsolationScope,\n        dynamicSamplingContext: getDynamicSamplingContextFromSpan(this)\n      },\n      ...source && {\n        transaction_info: {\n          source\n        }\n      }\n    };\n    const measurements = timedEventsToMeasurements(this._events);\n    const hasMeasurements = measurements && Object.keys(measurements).length;\n    if (hasMeasurements) {\n      DEBUG_BUILD && logger.log(\n        \"[Measurements] Adding measurements to transaction event\",\n        JSON.stringify(measurements, void 0, 2)\n      );\n      transaction.measurements = measurements;\n    }\n    return transaction;\n  }\n}\nfunction isSpanTimeInput(value) {\n  return value && typeof value === \"number\" || value instanceof Date || Array.isArray(value);\n}\nfunction isFullFinishedSpan(input) {\n  return !!input.start_timestamp && !!input.timestamp && !!input.span_id && !!input.trace_id;\n}\nfunction isStandaloneSpan(span) {\n  return span instanceof SentrySpan && span.isStandaloneSpan();\n}\nfunction sendSpanEnvelope(envelope) {\n  const client = getClient();\n  if (!client) {\n    return;\n  }\n  const spanItems = envelope[1];\n  if (!spanItems || spanItems.length === 0) {\n    client.recordDroppedEvent(\"before_send\", \"span\");\n    return;\n  }\n  client.sendEnvelope(envelope);\n}\nexport {\n  SentrySpan\n};\n","import { getAsyncContextStrategy } from \"../asyncContext/index.js\";\nimport { getMainCarrier } from \"../carrier.js\";\nimport { withScope, getCurrentScope, getIsolationScope, getClient } from \"../currentScopes.js\";\nimport { DEBUG_BUILD } from \"../debug-build.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from \"../semanticAttributes.js\";\nimport { hasSpansEnabled } from \"../utils/hasSpansEnabled.js\";\nimport { parseSampleRate } from \"../utils/parseSampleRate.js\";\nimport { _setSpanForScope, _getSpanForScope } from \"../utils/spanOnScope.js\";\nimport { addChildSpanToSpan, spanIsSampled, spanTimeInputToSeconds, getRootSpan } from \"../utils/spanUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { getDynamicSamplingContextFromSpan, freezeDscOnSpan } from \"./dynamicSamplingContext.js\";\nimport { logSpanStart } from \"./logSpans.js\";\nimport { sampleSpan } from \"./sampling.js\";\nimport { SentryNonRecordingSpan } from \"./sentryNonRecordingSpan.js\";\nimport { SentrySpan } from \"./sentrySpan.js\";\nimport { setCapturedScopesOnSpan } from \"./utils.js\";\nconst SUPPRESS_TRACING_KEY = \"__SENTRY_SUPPRESS_TRACING__\";\nfunction startInactiveSpan(options) {\n  const acs = getAcs();\n  if (acs.startInactiveSpan) {\n    return acs.startInactiveSpan(options);\n  }\n  const spanArguments = parseSentrySpanArguments(options);\n  const { forceTransaction, parentSpan: customParentSpan } = options;\n  const wrapper = options.scope ? (callback) => withScope(options.scope, callback) : customParentSpan !== void 0 ? (callback) => withActiveSpan(customParentSpan, callback) : (callback) => callback();\n  return wrapper(() => {\n    const scope = getCurrentScope();\n    const parentSpan = getParentSpan(scope);\n    const shouldSkipSpan = options.onlyIfParent && !parentSpan;\n    if (shouldSkipSpan) {\n      return new SentryNonRecordingSpan();\n    }\n    return createChildOrRootSpan({\n      parentSpan,\n      spanArguments,\n      forceTransaction,\n      scope\n    });\n  });\n}\nfunction withActiveSpan(span, callback) {\n  const acs = getAcs();\n  if (acs.withActiveSpan) {\n    return acs.withActiveSpan(span, callback);\n  }\n  return withScope((scope) => {\n    _setSpanForScope(scope, span || void 0);\n    return callback(scope);\n  });\n}\nfunction createChildOrRootSpan({\n  parentSpan,\n  spanArguments,\n  forceTransaction,\n  scope\n}) {\n  if (!hasSpansEnabled()) {\n    const span2 = new SentryNonRecordingSpan();\n    if (forceTransaction || !parentSpan) {\n      const dsc = {\n        sampled: \"false\",\n        sample_rate: \"0\",\n        transaction: spanArguments.name,\n        ...getDynamicSamplingContextFromSpan(span2)\n      };\n      freezeDscOnSpan(span2, dsc);\n    }\n    return span2;\n  }\n  const isolationScope = getIsolationScope();\n  let span;\n  if (parentSpan && !forceTransaction) {\n    span = _startChildSpan(parentSpan, scope, spanArguments);\n    addChildSpanToSpan(parentSpan, span);\n  } else if (parentSpan) {\n    const dsc = getDynamicSamplingContextFromSpan(parentSpan);\n    const { traceId, spanId: parentSpanId } = parentSpan.spanContext();\n    const parentSampled = spanIsSampled(parentSpan);\n    span = _startRootSpan(\n      {\n        traceId,\n        parentSpanId,\n        ...spanArguments\n      },\n      scope,\n      parentSampled\n    );\n    freezeDscOnSpan(span, dsc);\n  } else {\n    const {\n      traceId,\n      dsc,\n      parentSpanId,\n      sampled: parentSampled\n    } = {\n      ...isolationScope.getPropagationContext(),\n      ...scope.getPropagationContext()\n    };\n    span = _startRootSpan(\n      {\n        traceId,\n        parentSpanId,\n        ...spanArguments\n      },\n      scope,\n      parentSampled\n    );\n    if (dsc) {\n      freezeDscOnSpan(span, dsc);\n    }\n  }\n  logSpanStart(span);\n  setCapturedScopesOnSpan(span, scope, isolationScope);\n  return span;\n}\nfunction parseSentrySpanArguments(options) {\n  const exp = options.experimental || {};\n  const initialCtx = {\n    isStandalone: exp.standalone,\n    ...options\n  };\n  if (options.startTime) {\n    const ctx = { ...initialCtx };\n    ctx.startTimestamp = spanTimeInputToSeconds(options.startTime);\n    delete ctx.startTime;\n    return ctx;\n  }\n  return initialCtx;\n}\nfunction getAcs() {\n  const carrier = getMainCarrier();\n  return getAsyncContextStrategy(carrier);\n}\nfunction _startRootSpan(spanArguments, scope, parentSampled) {\n  var _a;\n  const client = getClient();\n  const options = (client == null ? void 0 : client.getOptions()) || {};\n  const { name = \"\" } = spanArguments;\n  const mutableSpanSamplingData = { spanAttributes: { ...spanArguments.attributes }, spanName: name, parentSampled };\n  client == null ? void 0 : client.emit(\"beforeSampling\", mutableSpanSamplingData, { decision: false });\n  const finalParentSampled = mutableSpanSamplingData.parentSampled ?? parentSampled;\n  const finalAttributes = mutableSpanSamplingData.spanAttributes;\n  const currentPropagationContext = scope.getPropagationContext();\n  const [sampled, sampleRate, localSampleRateWasApplied] = scope.getScopeData().sdkProcessingMetadata[SUPPRESS_TRACING_KEY] ? [false] : sampleSpan(\n    options,\n    {\n      name,\n      parentSampled: finalParentSampled,\n      attributes: finalAttributes,\n      parentSampleRate: parseSampleRate((_a = currentPropagationContext.dsc) == null ? void 0 : _a.sample_rate)\n    },\n    currentPropagationContext.sampleRand\n  );\n  const rootSpan = new SentrySpan({\n    ...spanArguments,\n    attributes: {\n      [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: \"custom\",\n      [SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: sampleRate !== void 0 && localSampleRateWasApplied ? sampleRate : void 0,\n      ...finalAttributes\n    },\n    sampled\n  });\n  if (!sampled && client) {\n    DEBUG_BUILD && logger.log(\"[Tracing] Discarding root span because its trace was not chosen to be sampled.\");\n    client.recordDroppedEvent(\"sample_rate\", \"transaction\");\n  }\n  if (client) {\n    client.emit(\"spanStart\", rootSpan);\n  }\n  return rootSpan;\n}\nfunction _startChildSpan(parentSpan, scope, spanArguments) {\n  const { spanId, traceId } = parentSpan.spanContext();\n  const sampled = scope.getScopeData().sdkProcessingMetadata[SUPPRESS_TRACING_KEY] ? false : spanIsSampled(parentSpan);\n  const childSpan = sampled ? new SentrySpan({\n    ...spanArguments,\n    parentSpanId: spanId,\n    traceId,\n    sampled\n  }) : new SentryNonRecordingSpan({ traceId });\n  addChildSpanToSpan(parentSpan, childSpan);\n  const client = getClient();\n  if (client) {\n    client.emit(\"spanStart\", childSpan);\n    if (spanArguments.endTimestamp) {\n      client.emit(\"spanEnd\", childSpan);\n    }\n  }\n  return childSpan;\n}\nfunction getParentSpan(scope) {\n  const span = _getSpanForScope(scope);\n  if (!span) {\n    return void 0;\n  }\n  const client = getClient();\n  const options = client ? client.getOptions() : {};\n  if (options.parentSpanIsAlwaysRootSpan) {\n    return getRootSpan(span);\n  }\n  return span;\n}\nexport {\n  startInactiveSpan,\n  withActiveSpan\n};\n","import { getAsyncContextStrategy } from \"../asyncContext/index.js\";\nimport { getMainCarrier } from \"../carrier.js\";\nimport { getClient, getCurrentScope } from \"../currentScopes.js\";\nimport { isEnabled } from \"../exports.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { getActiveSpan, spanToTraceHeader } from \"./spanUtils.js\";\nimport { getDynamicSamplingContextFromSpan, getDynamicSamplingContextFromScope } from \"../tracing/dynamicSamplingContext.js\";\nimport { TRACEPARENT_REGEXP, generateSentryTraceHeader } from \"../utils-hoist/tracing.js\";\nimport { dynamicSamplingContextToSentryBaggageHeader } from \"../utils-hoist/baggage.js\";\nfunction getTraceData(options = {}) {\n  const client = getClient();\n  if (!isEnabled() || !client) {\n    return {};\n  }\n  const carrier = getMainCarrier();\n  const acs = getAsyncContextStrategy(carrier);\n  if (acs.getTraceData) {\n    return acs.getTraceData(options);\n  }\n  const scope = getCurrentScope();\n  const span = options.span || getActiveSpan();\n  const sentryTrace = span ? spanToTraceHeader(span) : scopeToTraceHeader(scope);\n  const dsc = span ? getDynamicSamplingContextFromSpan(span) : getDynamicSamplingContextFromScope(client, scope);\n  const baggage = dynamicSamplingContextToSentryBaggageHeader(dsc);\n  const isValidSentryTraceHeader = TRACEPARENT_REGEXP.test(sentryTrace);\n  if (!isValidSentryTraceHeader) {\n    logger.warn(\"Invalid sentry-trace data. Cannot generate trace data\");\n    return {};\n  }\n  return {\n    \"sentry-trace\": sentryTrace,\n    baggage\n  };\n}\nfunction scopeToTraceHeader(scope) {\n  const { traceId, sampled, propagationSpanId } = scope.getPropagationContext();\n  return generateSentryTraceHeader(traceId, propagationSpanId, sampled);\n}\nexport {\n  getTraceData\n};\n","import { getClient } from \"./currentScopes.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP } from \"./semanticAttributes.js\";\nimport { isRequest, isInstanceOf } from \"./utils-hoist/is.js\";\nimport { hasSpansEnabled } from \"./utils/hasSpansEnabled.js\";\nimport { getActiveSpan } from \"./utils/spanUtils.js\";\nimport { SENTRY_BAGGAGE_KEY_PREFIX } from \"./utils-hoist/baggage.js\";\nimport { SentryNonRecordingSpan } from \"./tracing/sentryNonRecordingSpan.js\";\nimport { setHttpStatus, SPAN_STATUS_ERROR } from \"./tracing/spanstatus.js\";\nimport { startInactiveSpan } from \"./tracing/trace.js\";\nimport { getTraceData } from \"./utils/traceData.js\";\nimport { parseStringToURLObject, getSanitizedUrlStringFromUrlObject, isURLObjectRelative } from \"./utils-hoist/url.js\";\nfunction instrumentFetchRequest(handlerData, shouldCreateSpan, shouldAttachHeaders, spans, spanOrigin = \"auto.http.browser\") {\n  if (!handlerData.fetchData) {\n    return void 0;\n  }\n  const { method, url } = handlerData.fetchData;\n  const shouldCreateSpanResult = hasSpansEnabled() && shouldCreateSpan(url);\n  if (handlerData.endTimestamp && shouldCreateSpanResult) {\n    const spanId = handlerData.fetchData.__span;\n    if (!spanId)\n      return;\n    const span2 = spans[spanId];\n    if (span2) {\n      endSpan(span2, handlerData);\n      delete spans[spanId];\n    }\n    return void 0;\n  }\n  const hasParent = !!getActiveSpan();\n  const span = shouldCreateSpanResult && hasParent ? startInactiveSpan(getSpanStartOptions(url, method, spanOrigin)) : new SentryNonRecordingSpan();\n  handlerData.fetchData.__span = span.spanContext().spanId;\n  spans[span.spanContext().spanId] = span;\n  if (shouldAttachHeaders(handlerData.fetchData.url)) {\n    const request = handlerData.args[0];\n    const options = handlerData.args[1] || {};\n    const headers = _addTracingHeadersToFetchRequest(\n      request,\n      options,\n      // If performance is disabled (TWP) or there's no active root span (pageload/navigation/interaction),\n      // we do not want to use the span as base for the trace headers,\n      // which means that the headers will be generated from the scope and the sampling decision is deferred\n      hasSpansEnabled() && hasParent ? span : void 0\n    );\n    if (headers) {\n      handlerData.args[1] = options;\n      options.headers = headers;\n    }\n  }\n  const client = getClient();\n  if (client) {\n    const fetchHint = {\n      input: handlerData.args,\n      response: handlerData.response,\n      startTimestamp: handlerData.startTimestamp,\n      endTimestamp: handlerData.endTimestamp\n    };\n    client.emit(\"beforeOutgoingRequestSpan\", span, fetchHint);\n  }\n  return span;\n}\nfunction _addTracingHeadersToFetchRequest(request, fetchOptionsObj, span) {\n  const traceHeaders = getTraceData({ span });\n  const sentryTrace = traceHeaders[\"sentry-trace\"];\n  const baggage = traceHeaders.baggage;\n  if (!sentryTrace) {\n    return void 0;\n  }\n  const originalHeaders = fetchOptionsObj.headers || (isRequest(request) ? request.headers : void 0);\n  if (!originalHeaders) {\n    return { ...traceHeaders };\n  } else if (isHeaders(originalHeaders)) {\n    const newHeaders = new Headers(originalHeaders);\n    if (!newHeaders.get(\"sentry-trace\")) {\n      newHeaders.set(\"sentry-trace\", sentryTrace);\n    }\n    if (baggage) {\n      const prevBaggageHeader = newHeaders.get(\"baggage\");\n      if (!prevBaggageHeader) {\n        newHeaders.set(\"baggage\", baggage);\n      } else if (!baggageHeaderHasSentryBaggageValues(prevBaggageHeader)) {\n        newHeaders.set(\"baggage\", `${prevBaggageHeader},${baggage}`);\n      }\n    }\n    return newHeaders;\n  } else if (Array.isArray(originalHeaders)) {\n    const newHeaders = [...originalHeaders];\n    if (!originalHeaders.find((header) => header[0] === \"sentry-trace\")) {\n      newHeaders.push([\"sentry-trace\", sentryTrace]);\n    }\n    const prevBaggageHeaderWithSentryValues = originalHeaders.find(\n      (header) => header[0] === \"baggage\" && baggageHeaderHasSentryBaggageValues(header[1])\n    );\n    if (baggage && !prevBaggageHeaderWithSentryValues) {\n      newHeaders.push([\"baggage\", baggage]);\n    }\n    return newHeaders;\n  } else {\n    const existingSentryTraceHeader = \"sentry-trace\" in originalHeaders ? originalHeaders[\"sentry-trace\"] : void 0;\n    const existingBaggageHeader = \"baggage\" in originalHeaders ? originalHeaders.baggage : void 0;\n    const newBaggageHeaders = existingBaggageHeader ? Array.isArray(existingBaggageHeader) ? [...existingBaggageHeader] : [existingBaggageHeader] : [];\n    const prevBaggageHeaderWithSentryValues = existingBaggageHeader && (Array.isArray(existingBaggageHeader) ? existingBaggageHeader.find((headerItem) => baggageHeaderHasSentryBaggageValues(headerItem)) : baggageHeaderHasSentryBaggageValues(existingBaggageHeader));\n    if (baggage && !prevBaggageHeaderWithSentryValues) {\n      newBaggageHeaders.push(baggage);\n    }\n    return {\n      ...originalHeaders,\n      \"sentry-trace\": existingSentryTraceHeader ?? sentryTrace,\n      baggage: newBaggageHeaders.length > 0 ? newBaggageHeaders.join(\",\") : void 0\n    };\n  }\n}\nfunction endSpan(span, handlerData) {\n  var _a;\n  if (handlerData.response) {\n    setHttpStatus(span, handlerData.response.status);\n    const contentLength = ((_a = handlerData.response) == null ? void 0 : _a.headers) && handlerData.response.headers.get(\"content-length\");\n    if (contentLength) {\n      const contentLengthNum = parseInt(contentLength);\n      if (contentLengthNum > 0) {\n        span.setAttribute(\"http.response_content_length\", contentLengthNum);\n      }\n    }\n  } else if (handlerData.error) {\n    span.setStatus({ code: SPAN_STATUS_ERROR, message: \"internal_error\" });\n  }\n  span.end();\n}\nfunction baggageHeaderHasSentryBaggageValues(baggageHeader) {\n  return baggageHeader.split(\",\").some((baggageEntry) => baggageEntry.trim().startsWith(SENTRY_BAGGAGE_KEY_PREFIX));\n}\nfunction isHeaders(headers) {\n  return typeof Headers !== \"undefined\" && isInstanceOf(headers, Headers);\n}\nfunction getSpanStartOptions(url, method, spanOrigin) {\n  const parsedUrl = parseStringToURLObject(url);\n  return {\n    name: parsedUrl ? `${method} ${getSanitizedUrlStringFromUrlObject(parsedUrl)}` : method,\n    attributes: getFetchSpanAttributes(url, parsedUrl, method, spanOrigin)\n  };\n}\nfunction getFetchSpanAttributes(url, parsedUrl, method, spanOrigin) {\n  const attributes = {\n    url,\n    type: \"fetch\",\n    \"http.method\": method,\n    [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: spanOrigin,\n    [SEMANTIC_ATTRIBUTE_SENTRY_OP]: \"http.client\"\n  };\n  if (parsedUrl) {\n    if (!isURLObjectRelative(parsedUrl)) {\n      attributes[\"http.url\"] = parsedUrl.href;\n      attributes[\"server.address\"] = parsedUrl.host;\n    }\n    if (parsedUrl.search) {\n      attributes[\"http.query\"] = parsedUrl.search;\n    }\n    if (parsedUrl.hash) {\n      attributes[\"http.fragment\"] = parsedUrl.hash;\n    }\n  }\n  return attributes;\n}\nexport {\n  _addTracingHeadersToFetchRequest,\n  instrumentFetchRequest\n};\n","const getRating = (value, thresholds) => {\n  if (value > thresholds[1]) {\n    return \"poor\";\n  }\n  if (value > thresholds[0]) {\n    return \"needs-improvement\";\n  }\n  return \"good\";\n};\nconst bindReporter = (callback, metric, thresholds, reportAllChanges) => {\n  let prevValue;\n  let delta;\n  return (forceReport) => {\n    if (metric.value >= 0) {\n      if (forceReport || reportAllChanges) {\n        delta = metric.value - (prevValue || 0);\n        if (delta || prevValue === void 0) {\n          prevValue = metric.value;\n          metric.delta = delta;\n          metric.rating = getRating(metric.value, thresholds);\n          callback(metric);\n        }\n      }\n    }\n  };\n};\nexport {\n  bindReporter\n};\n","const generateUniqueID = () => {\n  return `v4-${Date.now()}-${Math.floor(Math.random() * (9e12 - 1)) + 1e12}`;\n};\nexport {\n  generateUniqueID\n};\n","import { WINDOW } from \"../../../types.js\";\nconst getNavigationEntry = (checkResponseStart = true) => {\n  var _a, _b;\n  const navigationEntry = (_b = (_a = WINDOW.performance) == null ? void 0 : _a.getEntriesByType) == null ? void 0 : _b.call(_a, \"navigation\")[0];\n  if (\n    // sentry-specific change:\n    // We don't want to check for responseStart for our own use of `getNavigationEntry`\n    !checkResponseStart || navigationEntry && navigationEntry.responseStart > 0 && navigationEntry.responseStart < performance.now()\n  ) {\n    return navigationEntry;\n  }\n};\nexport {\n  getNavigationEntry\n};\n","import { getNavigationEntry } from \"./getNavigationEntry.js\";\nconst getActivationStart = () => {\n  const navEntry = getNavigationEntry();\n  return (navEntry == null ? void 0 : navEntry.activationStart) || 0;\n};\nexport {\n  getActivationStart\n};\n","import { WINDOW } from \"../../../types.js\";\nimport { generateUniqueID } from \"./generateUniqueID.js\";\nimport { getActivationStart } from \"./getActivationStart.js\";\nimport { getNavigationEntry } from \"./getNavigationEntry.js\";\nconst initMetric = (name, value) => {\n  var _a, _b;\n  const navEntry = getNavigationEntry();\n  let navigationType = \"navigate\";\n  if (navEntry) {\n    if (((_a = WINDOW.document) == null ? void 0 : _a.prerendering) || getActivationStart() > 0) {\n      navigationType = \"prerender\";\n    } else if ((_b = WINDOW.document) == null ? void 0 : _b.wasDiscarded) {\n      navigationType = \"restore\";\n    } else if (navEntry.type) {\n      navigationType = navEntry.type.replace(/_/g, \"-\");\n    }\n  }\n  const entries = [];\n  return {\n    name,\n    value: typeof value === \"undefined\" ? -1 : value,\n    rating: \"good\",\n    // If needed, will be updated when reported. `const` to keep the type from widening to `string`.\n    delta: 0,\n    entries,\n    id: generateUniqueID(),\n    navigationType\n  };\n};\nexport {\n  initMetric\n};\n","const observe = (type, callback, opts) => {\n  try {\n    if (PerformanceObserver.supportedEntryTypes.includes(type)) {\n      const po = new PerformanceObserver((list) => {\n        Promise.resolve().then(() => {\n          callback(list.getEntries());\n        });\n      });\n      po.observe(\n        Object.assign(\n          {\n            type,\n            buffered: true\n          },\n          opts || {}\n        )\n      );\n      return po;\n    }\n  } catch (e) {\n  }\n  return;\n};\nexport {\n  observe\n};\n","import { WINDOW } from \"../../../types.js\";\nconst onHidden = (cb) => {\n  const onHiddenOrPageHide = (event) => {\n    var _a;\n    if (event.type === \"pagehide\" || ((_a = WINDOW.document) == null ? void 0 : _a.visibilityState) === \"hidden\") {\n      cb(event);\n    }\n  };\n  if (WINDOW.document) {\n    addEventListener(\"visibilitychange\", onHiddenOrPageHide, true);\n    addEventListener(\"pagehide\", onHiddenOrPageHide, true);\n  }\n};\nexport {\n  onHidden\n};\n","const runOnce = (cb) => {\n  let called = false;\n  return () => {\n    if (!called) {\n      cb();\n      called = true;\n    }\n  };\n};\nexport {\n  runOnce\n};\n","import { WINDOW } from \"../../../types.js\";\nlet firstHiddenTime = -1;\nconst initHiddenTime = () => {\n  return WINDOW.document.visibilityState === \"hidden\" && !WINDOW.document.prerendering ? 0 : Infinity;\n};\nconst onVisibilityUpdate = (event) => {\n  if (WINDOW.document.visibilityState === \"hidden\" && firstHiddenTime > -1) {\n    firstHiddenTime = event.type === \"visibilitychange\" ? event.timeStamp : 0;\n    removeChangeListeners();\n  }\n};\nconst addChangeListeners = () => {\n  addEventListener(\"visibilitychange\", onVisibilityUpdate, true);\n  addEventListener(\"prerenderingchange\", onVisibilityUpdate, true);\n};\nconst removeChangeListeners = () => {\n  removeEventListener(\"visibilitychange\", onVisibilityUpdate, true);\n  removeEventListener(\"prerenderingchange\", onVisibilityUpdate, true);\n};\nconst getVisibilityWatcher = () => {\n  if (WINDOW.document && firstHiddenTime < 0) {\n    firstHiddenTime = initHiddenTime();\n    addChangeListeners();\n  }\n  return {\n    get firstHiddenTime() {\n      return firstHiddenTime;\n    }\n  };\n};\nexport {\n  getVisibilityWatcher\n};\n","import { WINDOW } from \"../../../types.js\";\nconst whenActivated = (callback) => {\n  var _a;\n  if ((_a = WINDOW.document) == null ? void 0 : _a.prerendering) {\n    addEventListener(\"prerenderingchange\", () => callback(), true);\n  } else {\n    callback();\n  }\n};\nexport {\n  whenActivated\n};\n","import { bindReporter } from \"./lib/bindReporter.js\";\nimport { getActivationStart } from \"./lib/getActivationStart.js\";\nimport { getVisibilityWatcher } from \"./lib/getVisibilityWatcher.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { observe } from \"./lib/observe.js\";\nimport { whenActivated } from \"./lib/whenActivated.js\";\nconst FCPThresholds = [1800, 3e3];\nconst onFCP = (onReport, opts = {}) => {\n  whenActivated(() => {\n    const visibilityWatcher = getVisibilityWatcher();\n    const metric = initMetric(\"FCP\");\n    let report;\n    const handleEntries = (entries) => {\n      entries.forEach((entry) => {\n        if (entry.name === \"first-contentful-paint\") {\n          po.disconnect();\n          if (entry.startTime < visibilityWatcher.firstHiddenTime) {\n            metric.value = Math.max(entry.startTime - getActivationStart(), 0);\n            metric.entries.push(entry);\n            report(true);\n          }\n        }\n      });\n    };\n    const po = observe(\"paint\", handleEntries);\n    if (po) {\n      report = bindReporter(onReport, metric, FCPThresholds, opts.reportAllChanges);\n    }\n  });\n};\nexport {\n  FCPThresholds,\n  onFCP\n};\n","import { bindReporter } from \"./lib/bindReporter.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { observe } from \"./lib/observe.js\";\nimport { onHidden } from \"./lib/onHidden.js\";\nimport { runOnce } from \"./lib/runOnce.js\";\nimport { onFCP } from \"./onFCP.js\";\nconst CLSThresholds = [0.1, 0.25];\nconst onCLS = (onReport, opts = {}) => {\n  onFCP(\n    runOnce(() => {\n      const metric = initMetric(\"CLS\", 0);\n      let report;\n      let sessionValue = 0;\n      let sessionEntries = [];\n      const handleEntries = (entries) => {\n        entries.forEach((entry) => {\n          if (!entry.hadRecentInput) {\n            const firstSessionEntry = sessionEntries[0];\n            const lastSessionEntry = sessionEntries[sessionEntries.length - 1];\n            if (sessionValue && firstSessionEntry && lastSessionEntry && entry.startTime - lastSessionEntry.startTime < 1e3 && entry.startTime - firstSessionEntry.startTime < 5e3) {\n              sessionValue += entry.value;\n              sessionEntries.push(entry);\n            } else {\n              sessionValue = entry.value;\n              sessionEntries = [entry];\n            }\n          }\n        });\n        if (sessionValue > metric.value) {\n          metric.value = sessionValue;\n          metric.entries = sessionEntries;\n          report();\n        }\n      };\n      const po = observe(\"layout-shift\", handleEntries);\n      if (po) {\n        report = bindReporter(onReport, metric, CLSThresholds, opts.reportAllChanges);\n        onHidden(() => {\n          handleEntries(po.takeRecords());\n          report(true);\n        });\n        setTimeout(report, 0);\n      }\n    })\n  );\n};\nexport {\n  CLSThresholds,\n  onCLS\n};\n","import { bindReporter } from \"./lib/bindReporter.js\";\nimport { getVisibilityWatcher } from \"./lib/getVisibilityWatcher.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { observe } from \"./lib/observe.js\";\nimport { onHidden } from \"./lib/onHidden.js\";\nimport { runOnce } from \"./lib/runOnce.js\";\nimport { whenActivated } from \"./lib/whenActivated.js\";\nconst FIDThresholds = [100, 300];\nconst onFID = (onReport, opts = {}) => {\n  whenActivated(() => {\n    const visibilityWatcher = getVisibilityWatcher();\n    const metric = initMetric(\"FID\");\n    let report;\n    const handleEntry = (entry) => {\n      if (entry.startTime < visibilityWatcher.firstHiddenTime) {\n        metric.value = entry.processingStart - entry.startTime;\n        metric.entries.push(entry);\n        report(true);\n      }\n    };\n    const handleEntries = (entries) => {\n      entries.forEach(handleEntry);\n    };\n    const po = observe(\"first-input\", handleEntries);\n    report = bindReporter(onReport, metric, FIDThresholds, opts.reportAllChanges);\n    if (po) {\n      onHidden(\n        runOnce(() => {\n          handleEntries(po.takeRecords());\n          po.disconnect();\n        })\n      );\n    }\n  });\n};\nexport {\n  FIDThresholds,\n  onFID\n};\n","import { observe } from \"../observe.js\";\nlet interactionCountEstimate = 0;\nlet minKnownInteractionId = Infinity;\nlet maxKnownInteractionId = 0;\nconst updateEstimate = (entries) => {\n  entries.forEach((e) => {\n    if (e.interactionId) {\n      minKnownInteractionId = Math.min(minKnownInteractionId, e.interactionId);\n      maxKnownInteractionId = Math.max(maxKnownInteractionId, e.interactionId);\n      interactionCountEstimate = maxKnownInteractionId ? (maxKnownInteractionId - minKnownInteractionId) / 7 + 1 : 0;\n    }\n  });\n};\nlet po;\nconst getInteractionCount = () => {\n  return po ? interactionCountEstimate : performance.interactionCount || 0;\n};\nconst initInteractionCountPolyfill = () => {\n  if (\"interactionCount\" in performance || po)\n    return;\n  po = observe(\"event\", updateEstimate, {\n    type: \"event\",\n    buffered: true,\n    durationThreshold: 0\n  });\n};\nexport {\n  getInteractionCount,\n  initInteractionCountPolyfill\n};\n","import { getInteractionCount } from \"./polyfills/interactionCountPolyfill.js\";\nconst longestInteractionList = [];\nconst longestInteractionMap = /* @__PURE__ */ new Map();\nconst DEFAULT_DURATION_THRESHOLD = 40;\nlet prevInteractionCount = 0;\nconst getInteractionCountForNavigation = () => {\n  return getInteractionCount() - prevInteractionCount;\n};\nconst estimateP98LongestInteraction = () => {\n  const candidateInteractionIndex = Math.min(\n    longestInteractionList.length - 1,\n    Math.floor(getInteractionCountForNavigation() / 50)\n  );\n  return longestInteractionList[candidateInteractionIndex];\n};\nconst MAX_INTERACTIONS_TO_CONSIDER = 10;\nconst entryPreProcessingCallbacks = [];\nconst processInteractionEntry = (entry) => {\n  var _a;\n  entryPreProcessingCallbacks.forEach((cb) => cb(entry));\n  if (!(entry.interactionId || entry.entryType === \"first-input\"))\n    return;\n  const minLongestInteraction = longestInteractionList[longestInteractionList.length - 1];\n  const existingInteraction = longestInteractionMap.get(entry.interactionId);\n  if (existingInteraction || longestInteractionList.length < MAX_INTERACTIONS_TO_CONSIDER || minLongestInteraction && entry.duration > minLongestInteraction.latency) {\n    if (existingInteraction) {\n      if (entry.duration > existingInteraction.latency) {\n        existingInteraction.entries = [entry];\n        existingInteraction.latency = entry.duration;\n      } else if (entry.duration === existingInteraction.latency && entry.startTime === ((_a = existingInteraction.entries[0]) == null ? void 0 : _a.startTime)) {\n        existingInteraction.entries.push(entry);\n      }\n    } else {\n      const interaction = {\n        id: entry.interactionId,\n        latency: entry.duration,\n        entries: [entry]\n      };\n      longestInteractionMap.set(interaction.id, interaction);\n      longestInteractionList.push(interaction);\n    }\n    longestInteractionList.sort((a, b) => b.latency - a.latency);\n    if (longestInteractionList.length > MAX_INTERACTIONS_TO_CONSIDER) {\n      longestInteractionList.splice(MAX_INTERACTIONS_TO_CONSIDER).forEach((i) => longestInteractionMap.delete(i.id));\n    }\n  }\n};\nexport {\n  DEFAULT_DURATION_THRESHOLD,\n  entryPreProcessingCallbacks,\n  estimateP98LongestInteraction,\n  longestInteractionList,\n  longestInteractionMap,\n  processInteractionEntry\n};\n","import { WINDOW } from \"../../../types.js\";\nimport { onHidden } from \"./onHidden.js\";\nimport { runOnce } from \"./runOnce.js\";\nconst whenIdle = (cb) => {\n  var _a;\n  const rIC = WINDOW.requestIdleCallback || WINDOW.setTimeout;\n  let handle = -1;\n  cb = runOnce(cb);\n  if (((_a = WINDOW.document) == null ? void 0 : _a.visibilityState) === \"hidden\") {\n    cb();\n  } else {\n    handle = rIC(cb);\n    onHidden(cb);\n  }\n  return handle;\n};\nexport {\n  whenIdle\n};\n","import { WINDOW } from \"../../types.js\";\nimport { bindReporter } from \"./lib/bindReporter.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { DEFAULT_DURATION_THRESHOLD, processInteractionEntry, estimateP98LongestInteraction } from \"./lib/interactions.js\";\nimport { observe } from \"./lib/observe.js\";\nimport { onHidden } from \"./lib/onHidden.js\";\nimport { initInteractionCountPolyfill } from \"./lib/polyfills/interactionCountPolyfill.js\";\nimport { whenActivated } from \"./lib/whenActivated.js\";\nimport { whenIdle } from \"./lib/whenIdle.js\";\nconst INPThresholds = [200, 500];\nconst onINP = (onReport, opts = {}) => {\n  if (!(\"PerformanceEventTiming\" in WINDOW && \"interactionId\" in PerformanceEventTiming.prototype)) {\n    return;\n  }\n  whenActivated(() => {\n    initInteractionCountPolyfill();\n    const metric = initMetric(\"INP\");\n    let report;\n    const handleEntries = (entries) => {\n      whenIdle(() => {\n        entries.forEach(processInteractionEntry);\n        const inp = estimateP98LongestInteraction();\n        if (inp && inp.latency !== metric.value) {\n          metric.value = inp.latency;\n          metric.entries = inp.entries;\n          report();\n        }\n      });\n    };\n    const po = observe(\"event\", handleEntries, {\n      // Event Timing entries have their durations rounded to the nearest 8ms,\n      // so a duration of 40ms would be any event that spans 2.5 or more frames\n      // at 60Hz. This threshold is chosen to strike a balance between usefulness\n      // and performance. Running this callback for any interaction that spans\n      // just one or two frames is likely not worth the insight that could be\n      // gained.\n      durationThreshold: opts.durationThreshold != null ? opts.durationThreshold : DEFAULT_DURATION_THRESHOLD\n    });\n    report = bindReporter(onReport, metric, INPThresholds, opts.reportAllChanges);\n    if (po) {\n      po.observe({ type: \"first-input\", buffered: true });\n      onHidden(() => {\n        handleEntries(po.takeRecords());\n        report(true);\n      });\n    }\n  });\n};\nexport {\n  INPThresholds,\n  onINP\n};\n","import { WINDOW } from \"../../types.js\";\nimport { bindReporter } from \"./lib/bindReporter.js\";\nimport { getActivationStart } from \"./lib/getActivationStart.js\";\nimport { getVisibilityWatcher } from \"./lib/getVisibilityWatcher.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { observe } from \"./lib/observe.js\";\nimport { onHidden } from \"./lib/onHidden.js\";\nimport { runOnce } from \"./lib/runOnce.js\";\nimport { whenActivated } from \"./lib/whenActivated.js\";\nimport { whenIdle } from \"./lib/whenIdle.js\";\nconst LCPThresholds = [2500, 4e3];\nconst reportedMetricIDs = {};\nconst onLCP = (onReport, opts = {}) => {\n  whenActivated(() => {\n    const visibilityWatcher = getVisibilityWatcher();\n    const metric = initMetric(\"LCP\");\n    let report;\n    const handleEntries = (entries) => {\n      if (!opts.reportAllChanges) {\n        entries = entries.slice(-1);\n      }\n      entries.forEach((entry) => {\n        if (entry.startTime < visibilityWatcher.firstHiddenTime) {\n          metric.value = Math.max(entry.startTime - getActivationStart(), 0);\n          metric.entries = [entry];\n          report();\n        }\n      });\n    };\n    const po = observe(\"largest-contentful-paint\", handleEntries);\n    if (po) {\n      report = bindReporter(onReport, metric, LCPThresholds, opts.reportAllChanges);\n      const stopListening = runOnce(() => {\n        if (!reportedMetricIDs[metric.id]) {\n          handleEntries(po.takeRecords());\n          po.disconnect();\n          reportedMetricIDs[metric.id] = true;\n          report(true);\n        }\n      });\n      [\"keydown\", \"click\"].forEach((type) => {\n        if (WINDOW.document) {\n          addEventListener(type, () => whenIdle(stopListening), {\n            once: true,\n            capture: true\n          });\n        }\n      });\n      onHidden(stopListening);\n    }\n  });\n};\nexport {\n  LCPThresholds,\n  onLCP\n};\n","import { WINDOW } from \"../../types.js\";\nimport { bindReporter } from \"./lib/bindReporter.js\";\nimport { getActivationStart } from \"./lib/getActivationStart.js\";\nimport { getNavigationEntry } from \"./lib/getNavigationEntry.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { whenActivated } from \"./lib/whenActivated.js\";\nconst TTFBThresholds = [800, 1800];\nconst whenReady = (callback) => {\n  var _a, _b;\n  if ((_a = WINDOW.document) == null ? void 0 : _a.prerendering) {\n    whenActivated(() => whenReady(callback));\n  } else if (((_b = WINDOW.document) == null ? void 0 : _b.readyState) !== \"complete\") {\n    addEventListener(\"load\", () => whenReady(callback), true);\n  } else {\n    setTimeout(callback, 0);\n  }\n};\nconst onTTFB = (onReport, opts = {}) => {\n  const metric = initMetric(\"TTFB\");\n  const report = bindReporter(onReport, metric, TTFBThresholds, opts.reportAllChanges);\n  whenReady(() => {\n    const navigationEntry = getNavigationEntry();\n    if (navigationEntry) {\n      metric.value = Math.max(navigationEntry.responseStart - getActivationStart(), 0);\n      metric.entries = [navigationEntry];\n      report(true);\n    }\n  });\n};\nexport {\n  TTFBThresholds,\n  onTTFB\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { onCLS } from \"./web-vitals/getCLS.js\";\nimport { onFID } from \"./web-vitals/getFID.js\";\nimport { onINP } from \"./web-vitals/getINP.js\";\nimport { onLCP } from \"./web-vitals/getLCP.js\";\nimport { observe } from \"./web-vitals/lib/observe.js\";\nimport { onTTFB } from \"./web-vitals/onTTFB.js\";\nimport { logger } from \"../../../../../@sentry/core/build/esm/utils-hoist/logger.js\";\nimport { getFunctionName } from \"../../../../../@sentry/core/build/esm/utils-hoist/stacktrace.js\";\nconst handlers = {};\nconst instrumented = {};\nlet _previousCls;\nlet _previousFid;\nlet _previousLcp;\nlet _previousTtfb;\nlet _previousInp;\nfunction addClsInstrumentationHandler(callback, stopOnCallback = false) {\n  return addMetricObserver(\"cls\", callback, instrumentCls, _previousCls, stopOnCallback);\n}\nfunction addLcpInstrumentationHandler(callback, stopOnCallback = false) {\n  return addMetricObserver(\"lcp\", callback, instrumentLcp, _previousLcp, stopOnCallback);\n}\nfunction addFidInstrumentationHandler(callback) {\n  return addMetricObserver(\"fid\", callback, instrumentFid, _previousFid);\n}\nfunction addTtfbInstrumentationHandler(callback) {\n  return addMetricObserver(\"ttfb\", callback, instrumentTtfb, _previousTtfb);\n}\nfunction addInpInstrumentationHandler(callback) {\n  return addMetricObserver(\"inp\", callback, instrumentInp, _previousInp);\n}\nfunction addPerformanceInstrumentationHandler(type, callback) {\n  addHandler(type, callback);\n  if (!instrumented[type]) {\n    instrumentPerformanceObserver(type);\n    instrumented[type] = true;\n  }\n  return getCleanupCallback(type, callback);\n}\nfunction triggerHandlers(type, data) {\n  const typeHandlers = handlers[type];\n  if (!(typeHandlers == null ? void 0 : typeHandlers.length)) {\n    return;\n  }\n  for (const handler of typeHandlers) {\n    try {\n      handler(data);\n    } catch (e) {\n      DEBUG_BUILD && logger.error(\n        `Error while triggering instrumentation handler.\nType: ${type}\nName: ${getFunctionName(handler)}\nError:`,\n        e\n      );\n    }\n  }\n}\nfunction instrumentCls() {\n  return onCLS(\n    (metric) => {\n      triggerHandlers(\"cls\", {\n        metric\n      });\n      _previousCls = metric;\n    },\n    // We want the callback to be called whenever the CLS value updates.\n    // By default, the callback is only called when the tab goes to the background.\n    { reportAllChanges: true }\n  );\n}\nfunction instrumentFid() {\n  return onFID((metric) => {\n    triggerHandlers(\"fid\", {\n      metric\n    });\n    _previousFid = metric;\n  });\n}\nfunction instrumentLcp() {\n  return onLCP(\n    (metric) => {\n      triggerHandlers(\"lcp\", {\n        metric\n      });\n      _previousLcp = metric;\n    },\n    // We want the callback to be called whenever the LCP value updates.\n    // By default, the callback is only called when the tab goes to the background.\n    { reportAllChanges: true }\n  );\n}\nfunction instrumentTtfb() {\n  return onTTFB((metric) => {\n    triggerHandlers(\"ttfb\", {\n      metric\n    });\n    _previousTtfb = metric;\n  });\n}\nfunction instrumentInp() {\n  return onINP((metric) => {\n    triggerHandlers(\"inp\", {\n      metric\n    });\n    _previousInp = metric;\n  });\n}\nfunction addMetricObserver(type, callback, instrumentFn, previousValue, stopOnCallback = false) {\n  addHandler(type, callback);\n  let stopListening;\n  if (!instrumented[type]) {\n    stopListening = instrumentFn();\n    instrumented[type] = true;\n  }\n  if (previousValue) {\n    callback({ metric: previousValue });\n  }\n  return getCleanupCallback(type, callback, stopOnCallback ? stopListening : void 0);\n}\nfunction instrumentPerformanceObserver(type) {\n  const options = {};\n  if (type === \"event\") {\n    options.durationThreshold = 0;\n  }\n  observe(\n    type,\n    (entries) => {\n      triggerHandlers(type, { entries });\n    },\n    options\n  );\n}\nfunction addHandler(type, handler) {\n  handlers[type] = handlers[type] || [];\n  handlers[type].push(handler);\n}\nfunction getCleanupCallback(type, callback, stopListening) {\n  return () => {\n    if (stopListening) {\n      stopListening();\n    }\n    const typeHandlers = handlers[type];\n    if (!typeHandlers) {\n      return;\n    }\n    const index = typeHandlers.indexOf(callback);\n    if (index !== -1) {\n      typeHandlers.splice(index, 1);\n    }\n  };\n}\nfunction isPerformanceEventTiming(entry) {\n  return \"duration\" in entry;\n}\nexport {\n  addClsInstrumentationHandler,\n  addFidInstrumentationHandler,\n  addInpInstrumentationHandler,\n  addLcpInstrumentationHandler,\n  addPerformanceInstrumentationHandler,\n  addTtfbInstrumentationHandler,\n  isPerformanceEventTiming\n};\n","import { WINDOW } from \"../types.js\";\nimport { spanToJSON } from \"../../../../../@sentry/core/build/esm/utils/spanUtils.js\";\nimport { withActiveSpan, startInactiveSpan } from \"../../../../../@sentry/core/build/esm/tracing/trace.js\";\nimport { getClient, getCurrentScope } from \"../../../../../@sentry/core/build/esm/currentScopes.js\";\nfunction isMeasurementValue(value) {\n  return typeof value === \"number\" && isFinite(value);\n}\nfunction startAndEndSpan(parentSpan, startTimeInSeconds, endTime, { ...ctx }) {\n  const parentStartTime = spanToJSON(parentSpan).start_timestamp;\n  if (parentStartTime && parentStartTime > startTimeInSeconds) {\n    if (typeof parentSpan.updateStartTime === \"function\") {\n      parentSpan.updateStartTime(startTimeInSeconds);\n    }\n  }\n  return withActiveSpan(parentSpan, () => {\n    const span = startInactiveSpan({\n      startTime: startTimeInSeconds,\n      ...ctx\n    });\n    if (span) {\n      span.end(endTime);\n    }\n    return span;\n  });\n}\nfunction startStandaloneWebVitalSpan(options) {\n  var _a;\n  const client = getClient();\n  if (!client) {\n    return;\n  }\n  const { name, transaction, attributes: passedAttributes, startTime } = options;\n  const { release, environment, sendDefaultPii } = client.getOptions();\n  const replay = client.getIntegrationByName(\"Replay\");\n  const replayId = replay == null ? void 0 : replay.getReplayId();\n  const scope = getCurrentScope();\n  const user = scope.getUser();\n  const userDisplay = user !== void 0 ? user.email || user.id || user.ip_address : void 0;\n  let profileId;\n  try {\n    profileId = scope.getScopeData().contexts.profile.profile_id;\n  } catch {\n  }\n  const attributes = {\n    release,\n    environment,\n    user: userDisplay || void 0,\n    profile_id: profileId || void 0,\n    replay_id: replayId || void 0,\n    transaction,\n    // Web vital score calculation relies on the user agent to account for different\n    // browsers setting different thresholds for what is considered a good/meh/bad value.\n    // For example: Chrome vs. Chrome Mobile\n    \"user_agent.original\": (_a = WINDOW.navigator) == null ? void 0 : _a.userAgent,\n    // This tells Sentry to infer the IP address from the request\n    \"client.address\": sendDefaultPii ? \"{{auto}}\" : void 0,\n    ...passedAttributes\n  };\n  return startInactiveSpan({\n    name,\n    attributes,\n    startTime,\n    experimental: {\n      standalone: true\n    }\n  });\n}\nfunction getBrowserPerformanceAPI() {\n  return WINDOW.addEventListener && WINDOW.performance;\n}\nfunction msToSec(time) {\n  return time / 1e3;\n}\nfunction extractNetworkProtocol(nextHopProtocol) {\n  let name = \"unknown\";\n  let version = \"unknown\";\n  let _name = \"\";\n  for (const char of nextHopProtocol) {\n    if (char === \"/\") {\n      [name, version] = nextHopProtocol.split(\"/\");\n      break;\n    }\n    if (!isNaN(Number(char))) {\n      name = _name === \"h\" ? \"http\" : _name;\n      version = nextHopProtocol.split(_name)[1];\n      break;\n    }\n    _name += char;\n  }\n  if (_name === nextHopProtocol) {\n    name = _name;\n  }\n  return { name, version };\n}\nexport {\n  extractNetworkProtocol,\n  getBrowserPerformanceAPI,\n  isMeasurementValue,\n  msToSec,\n  startAndEndSpan,\n  startStandaloneWebVitalSpan\n};\n","import { WINDOW } from \"../helpers.js\";\nimport { addFetchEndInstrumentationHandler, addFetchInstrumentationHandler } from \"../../../../../core/build/esm/utils-hoist/instrument/fetch.js\";\nimport { addXhrInstrumentationHandler, SENTRY_XHR_DATA_KEY } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/xhr.js\";\nimport { instrumentFetchRequest } from \"../../../../../core/build/esm/fetch.js\";\nimport { parseUrl, stripUrlQueryAndFragment } from \"../../../../../core/build/esm/utils-hoist/url.js\";\nimport { spanToJSON, getActiveSpan } from \"../../../../../core/build/esm/utils/spanUtils.js\";\nimport { addPerformanceInstrumentationHandler } from \"../../../../../../@sentry-internal/browser-utils/build/esm/metrics/instrument.js\";\nimport { hasSpansEnabled } from \"../../../../../core/build/esm/utils/hasSpansEnabled.js\";\nimport { setHttpStatus } from \"../../../../../core/build/esm/tracing/spanstatus.js\";\nimport { startInactiveSpan } from \"../../../../../core/build/esm/tracing/trace.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP } from \"../../../../../core/build/esm/semanticAttributes.js\";\nimport { SentryNonRecordingSpan } from \"../../../../../core/build/esm/tracing/sentryNonRecordingSpan.js\";\nimport { getClient } from \"../../../../../core/build/esm/currentScopes.js\";\nimport { getTraceData } from \"../../../../../core/build/esm/utils/traceData.js\";\nimport { extractNetworkProtocol } from \"../../../../../../@sentry-internal/browser-utils/build/esm/metrics/utils.js\";\nimport { browserPerformanceTimeOrigin } from \"../../../../../core/build/esm/utils-hoist/time.js\";\nimport { getLocationHref } from \"../../../../../core/build/esm/utils-hoist/browser.js\";\nimport { stringMatchesSomePattern } from \"../../../../../core/build/esm/utils-hoist/string.js\";\nconst responseToSpanId = /* @__PURE__ */ new WeakMap();\nconst spanIdToEndTimestamp = /* @__PURE__ */ new Map();\nconst defaultRequestInstrumentationOptions = {\n  traceFetch: true,\n  traceXHR: true,\n  enableHTTPTimings: true,\n  trackFetchStreamPerformance: false\n};\nfunction instrumentOutgoingRequests(client, _options) {\n  const {\n    traceFetch,\n    traceXHR,\n    trackFetchStreamPerformance,\n    shouldCreateSpanForRequest,\n    enableHTTPTimings,\n    tracePropagationTargets,\n    onRequestSpanStart\n  } = {\n    ...defaultRequestInstrumentationOptions,\n    ..._options\n  };\n  const shouldCreateSpan = typeof shouldCreateSpanForRequest === \"function\" ? shouldCreateSpanForRequest : (_) => true;\n  const shouldAttachHeadersWithTargets = (url) => shouldAttachHeaders(url, tracePropagationTargets);\n  const spans = {};\n  if (traceFetch) {\n    client.addEventProcessor((event) => {\n      if (event.type === \"transaction\" && event.spans) {\n        event.spans.forEach((span) => {\n          if (span.op === \"http.client\") {\n            const updatedTimestamp = spanIdToEndTimestamp.get(span.span_id);\n            if (updatedTimestamp) {\n              span.timestamp = updatedTimestamp / 1e3;\n              spanIdToEndTimestamp.delete(span.span_id);\n            }\n          }\n        });\n      }\n      return event;\n    });\n    if (trackFetchStreamPerformance) {\n      addFetchEndInstrumentationHandler((handlerData) => {\n        if (handlerData.response) {\n          const span = responseToSpanId.get(handlerData.response);\n          if (span && handlerData.endTimestamp) {\n            spanIdToEndTimestamp.set(span, handlerData.endTimestamp);\n          }\n        }\n      });\n    }\n    addFetchInstrumentationHandler((handlerData) => {\n      const createdSpan = instrumentFetchRequest(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n      if (handlerData.response && handlerData.fetchData.__span) {\n        responseToSpanId.set(handlerData.response, handlerData.fetchData.__span);\n      }\n      if (createdSpan) {\n        const fullUrl = getFullURL(handlerData.fetchData.url);\n        const host = fullUrl ? parseUrl(fullUrl).host : void 0;\n        createdSpan.setAttributes({\n          \"http.url\": fullUrl,\n          \"server.address\": host\n        });\n        if (enableHTTPTimings) {\n          addHTTPTimings(createdSpan);\n        }\n        onRequestSpanStart == null ? void 0 : onRequestSpanStart(createdSpan, { headers: handlerData.headers });\n      }\n    });\n  }\n  if (traceXHR) {\n    addXhrInstrumentationHandler((handlerData) => {\n      var _a;\n      const createdSpan = xhrCallback(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n      if (createdSpan) {\n        if (enableHTTPTimings) {\n          addHTTPTimings(createdSpan);\n        }\n        let headers;\n        try {\n          headers = new Headers((_a = handlerData.xhr.__sentry_xhr_v3__) == null ? void 0 : _a.request_headers);\n        } catch {\n        }\n        onRequestSpanStart == null ? void 0 : onRequestSpanStart(createdSpan, { headers });\n      }\n    });\n  }\n}\nfunction isPerformanceResourceTiming(entry) {\n  return entry.entryType === \"resource\" && \"initiatorType\" in entry && typeof entry.nextHopProtocol === \"string\" && (entry.initiatorType === \"fetch\" || entry.initiatorType === \"xmlhttprequest\");\n}\nfunction addHTTPTimings(span) {\n  const { url } = spanToJSON(span).data;\n  if (!url || typeof url !== \"string\") {\n    return;\n  }\n  const cleanup = addPerformanceInstrumentationHandler(\"resource\", ({ entries }) => {\n    entries.forEach((entry) => {\n      if (isPerformanceResourceTiming(entry) && entry.name.endsWith(url)) {\n        const spanData = resourceTimingEntryToSpanData(entry);\n        spanData.forEach((data) => span.setAttribute(...data));\n        setTimeout(cleanup);\n      }\n    });\n  });\n}\nfunction getAbsoluteTime(time = 0) {\n  return ((browserPerformanceTimeOrigin() || performance.timeOrigin) + time) / 1e3;\n}\nfunction resourceTimingEntryToSpanData(resourceTiming) {\n  const { name, version } = extractNetworkProtocol(resourceTiming.nextHopProtocol);\n  const timingSpanData = [];\n  timingSpanData.push([\"network.protocol.version\", version], [\"network.protocol.name\", name]);\n  if (!browserPerformanceTimeOrigin()) {\n    return timingSpanData;\n  }\n  return [\n    ...timingSpanData,\n    [\"http.request.redirect_start\", getAbsoluteTime(resourceTiming.redirectStart)],\n    [\"http.request.fetch_start\", getAbsoluteTime(resourceTiming.fetchStart)],\n    [\"http.request.domain_lookup_start\", getAbsoluteTime(resourceTiming.domainLookupStart)],\n    [\"http.request.domain_lookup_end\", getAbsoluteTime(resourceTiming.domainLookupEnd)],\n    [\"http.request.connect_start\", getAbsoluteTime(resourceTiming.connectStart)],\n    [\"http.request.secure_connection_start\", getAbsoluteTime(resourceTiming.secureConnectionStart)],\n    [\"http.request.connection_end\", getAbsoluteTime(resourceTiming.connectEnd)],\n    [\"http.request.request_start\", getAbsoluteTime(resourceTiming.requestStart)],\n    [\"http.request.response_start\", getAbsoluteTime(resourceTiming.responseStart)],\n    [\"http.request.response_end\", getAbsoluteTime(resourceTiming.responseEnd)]\n  ];\n}\nfunction shouldAttachHeaders(targetUrl, tracePropagationTargets) {\n  const href = getLocationHref();\n  if (!href) {\n    const isRelativeSameOriginRequest = !!targetUrl.match(/^\\/(?!\\/)/);\n    if (!tracePropagationTargets) {\n      return isRelativeSameOriginRequest;\n    } else {\n      return stringMatchesSomePattern(targetUrl, tracePropagationTargets);\n    }\n  } else {\n    let resolvedUrl;\n    let currentOrigin;\n    try {\n      resolvedUrl = new URL(targetUrl, href);\n      currentOrigin = new URL(href).origin;\n    } catch (e) {\n      return false;\n    }\n    const isSameOriginRequest = resolvedUrl.origin === currentOrigin;\n    if (!tracePropagationTargets) {\n      return isSameOriginRequest;\n    } else {\n      return stringMatchesSomePattern(resolvedUrl.toString(), tracePropagationTargets) || isSameOriginRequest && stringMatchesSomePattern(resolvedUrl.pathname, tracePropagationTargets);\n    }\n  }\n}\nfunction xhrCallback(handlerData, shouldCreateSpan, shouldAttachHeaders2, spans) {\n  const xhr = handlerData.xhr;\n  const sentryXhrData = xhr == null ? void 0 : xhr[SENTRY_XHR_DATA_KEY];\n  if (!xhr || xhr.__sentry_own_request__ || !sentryXhrData) {\n    return void 0;\n  }\n  const { url, method } = sentryXhrData;\n  const shouldCreateSpanResult = hasSpansEnabled() && shouldCreateSpan(url);\n  if (handlerData.endTimestamp && shouldCreateSpanResult) {\n    const spanId = xhr.__sentry_xhr_span_id__;\n    if (!spanId)\n      return;\n    const span2 = spans[spanId];\n    if (span2 && sentryXhrData.status_code !== void 0) {\n      setHttpStatus(span2, sentryXhrData.status_code);\n      span2.end();\n      delete spans[spanId];\n    }\n    return void 0;\n  }\n  const fullUrl = getFullURL(url);\n  const parsedUrl = fullUrl ? parseUrl(fullUrl) : parseUrl(url);\n  const urlForSpanName = stripUrlQueryAndFragment(url);\n  const hasParent = !!getActiveSpan();\n  const span = shouldCreateSpanResult && hasParent ? startInactiveSpan({\n    name: `${method} ${urlForSpanName}`,\n    attributes: {\n      url,\n      type: \"xhr\",\n      \"http.method\": method,\n      \"http.url\": fullUrl,\n      \"server.address\": parsedUrl == null ? void 0 : parsedUrl.host,\n      [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.http.browser\",\n      [SEMANTIC_ATTRIBUTE_SENTRY_OP]: \"http.client\",\n      ...(parsedUrl == null ? void 0 : parsedUrl.search) && { \"http.query\": parsedUrl == null ? void 0 : parsedUrl.search },\n      ...(parsedUrl == null ? void 0 : parsedUrl.hash) && { \"http.fragment\": parsedUrl == null ? void 0 : parsedUrl.hash }\n    }\n  }) : new SentryNonRecordingSpan();\n  xhr.__sentry_xhr_span_id__ = span.spanContext().spanId;\n  spans[xhr.__sentry_xhr_span_id__] = span;\n  if (shouldAttachHeaders2(url)) {\n    addTracingHeadersToXhrRequest(\n      xhr,\n      // If performance is disabled (TWP) or there's no active root span (pageload/navigation/interaction),\n      // we do not want to use the span as base for the trace headers,\n      // which means that the headers will be generated from the scope and the sampling decision is deferred\n      hasSpansEnabled() && hasParent ? span : void 0\n    );\n  }\n  const client = getClient();\n  if (client) {\n    client.emit(\"beforeOutgoingRequestSpan\", span, handlerData);\n  }\n  return span;\n}\nfunction addTracingHeadersToXhrRequest(xhr, span) {\n  const { \"sentry-trace\": sentryTrace, baggage } = getTraceData({ span });\n  if (sentryTrace) {\n    setHeaderOnXhr(xhr, sentryTrace, baggage);\n  }\n}\nfunction setHeaderOnXhr(xhr, sentryTraceHeader, sentryBaggageHeader) {\n  var _a;\n  const originalHeaders = (_a = xhr.__sentry_xhr_v3__) == null ? void 0 : _a.request_headers;\n  if (originalHeaders == null ? void 0 : originalHeaders[\"sentry-trace\"]) {\n    return;\n  }\n  try {\n    xhr.setRequestHeader(\"sentry-trace\", sentryTraceHeader);\n    if (sentryBaggageHeader) {\n      const originalBaggageHeader = originalHeaders == null ? void 0 : originalHeaders[\"baggage\"];\n      if (!originalBaggageHeader || !baggageHeaderHasSentryValues(originalBaggageHeader)) {\n        xhr.setRequestHeader(\"baggage\", sentryBaggageHeader);\n      }\n    }\n  } catch (_) {\n  }\n}\nfunction baggageHeaderHasSentryValues(baggageHeader) {\n  return baggageHeader.split(\",\").some((value) => value.trim().startsWith(\"sentry-\"));\n}\nfunction getFullURL(url) {\n  try {\n    const parsed = new URL(url, WINDOW.location.origin);\n    return parsed.href;\n  } catch {\n    return void 0;\n  }\n}\nexport {\n  defaultRequestInstrumentationOptions,\n  instrumentOutgoingRequests,\n  shouldAttachHeaders,\n  xhrCallback\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { getActiveSpan, getRootSpan } from \"../utils/spanUtils.js\";\nimport { addGlobalErrorInstrumentationHandler } from \"../utils-hoist/instrument/globalError.js\";\nimport { addGlobalUnhandledRejectionInstrumentationHandler } from \"../utils-hoist/instrument/globalUnhandledRejection.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { SPAN_STATUS_ERROR } from \"./spanstatus.js\";\nlet errorsInstrumented = false;\nfunction registerSpanErrorInstrumentation() {\n  if (errorsInstrumented) {\n    return;\n  }\n  errorsInstrumented = true;\n  addGlobalErrorInstrumentationHandler(errorCallback);\n  addGlobalUnhandledRejectionInstrumentationHandler(errorCallback);\n}\nfunction errorCallback() {\n  const activeSpan = getActiveSpan();\n  const rootSpan = activeSpan && getRootSpan(activeSpan);\n  if (rootSpan) {\n    const message = \"internal_error\";\n    DEBUG_BUILD && logger.log(`[Tracing] Root span: ${message} -> Global error occurred`);\n    rootSpan.setStatus({ code: SPAN_STATUS_ERROR, message });\n  }\n}\nerrorCallback.tag = \"sentry_tracingErrorCallback\";\nexport {\n  registerSpanErrorInstrumentation\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { addClsInstrumentationHandler } from \"./instrument.js\";\nimport { msToSec, startStandaloneWebVitalSpan } from \"./utils.js\";\nimport { onHidden } from \"./web-vitals/lib/onHidden.js\";\nimport { getClient, getCurrentScope } from \"../../../../../@sentry/core/build/esm/currentScopes.js\";\nimport { getActiveSpan, getRootSpan, spanToJSON } from \"../../../../../@sentry/core/build/esm/utils/spanUtils.js\";\nimport { logger } from \"../../../../../@sentry/core/build/esm/utils-hoist/logger.js\";\nimport { browserPerformanceTimeOrigin } from \"../../../../../@sentry/core/build/esm/utils-hoist/time.js\";\nimport { htmlTreeAsString } from \"../../../../../@sentry/core/build/esm/utils-hoist/browser.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE } from \"../../../../../@sentry/core/build/esm/semanticAttributes.js\";\nfunction trackClsAsStandaloneSpan() {\n  let standaloneCLsValue = 0;\n  let standaloneClsEntry;\n  let pageloadSpanId;\n  if (!supportsLayoutShift()) {\n    return;\n  }\n  let sentSpan = false;\n  function _collectClsOnce() {\n    if (sentSpan) {\n      return;\n    }\n    sentSpan = true;\n    if (pageloadSpanId) {\n      sendStandaloneClsSpan(standaloneCLsValue, standaloneClsEntry, pageloadSpanId);\n    }\n    cleanupClsHandler();\n  }\n  const cleanupClsHandler = addClsInstrumentationHandler(({ metric }) => {\n    const entry = metric.entries[metric.entries.length - 1];\n    if (!entry) {\n      return;\n    }\n    standaloneCLsValue = metric.value;\n    standaloneClsEntry = entry;\n  }, true);\n  onHidden(() => {\n    _collectClsOnce();\n  });\n  setTimeout(() => {\n    const client = getClient();\n    if (!client) {\n      return;\n    }\n    const unsubscribeStartNavigation = client.on(\"startNavigationSpan\", () => {\n      _collectClsOnce();\n      unsubscribeStartNavigation == null ? void 0 : unsubscribeStartNavigation();\n    });\n    const activeSpan = getActiveSpan();\n    if (activeSpan) {\n      const rootSpan = getRootSpan(activeSpan);\n      const spanJSON = spanToJSON(rootSpan);\n      if (spanJSON.op === \"pageload\") {\n        pageloadSpanId = rootSpan.spanContext().spanId;\n      }\n    }\n  }, 0);\n}\nfunction sendStandaloneClsSpan(clsValue, entry, pageloadSpanId) {\n  var _a;\n  DEBUG_BUILD && logger.log(`Sending CLS span (${clsValue})`);\n  const startTime = msToSec((browserPerformanceTimeOrigin() || 0) + ((entry == null ? void 0 : entry.startTime) || 0));\n  const routeName = getCurrentScope().getScopeData().transactionName;\n  const name = entry ? htmlTreeAsString((_a = entry.sources[0]) == null ? void 0 : _a.node) : \"Layout shift\";\n  const attributes = {\n    [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.http.browser.cls\",\n    [SEMANTIC_ATTRIBUTE_SENTRY_OP]: \"ui.webvital.cls\",\n    [SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]: (entry == null ? void 0 : entry.duration) || 0,\n    // attach the pageload span id to the CLS span so that we can link them in the UI\n    \"sentry.pageload.span_id\": pageloadSpanId\n  };\n  const span = startStandaloneWebVitalSpan({\n    name,\n    transaction: routeName,\n    attributes,\n    startTime\n  });\n  if (span) {\n    span.addEvent(\"cls\", {\n      [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]: \"\",\n      [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]: clsValue\n    });\n    span.end(startTime);\n  }\n}\nfunction supportsLayoutShift() {\n  try {\n    return PerformanceObserver.supportedEntryTypes.includes(\"layout-shift\");\n  } catch {\n    return false;\n  }\n}\nexport {\n  trackClsAsStandaloneSpan\n};\n","import { WINDOW } from \"../types.js\";\nimport { trackClsAsStandaloneSpan } from \"./cls.js\";\nimport { addPerformanceInstrumentationHandler, addClsInstrumentationHandler, addLcpInstrumentationHandler, addFidInstrumentationHandler, addTtfbInstrumentationHandler } from \"./instrument.js\";\nimport { msToSec, startAndEndSpan, getBrowserPerformanceAPI, extractNetworkProtocol, isMeasurementValue } from \"./utils.js\";\nimport { getActivationStart } from \"./web-vitals/lib/getActivationStart.js\";\nimport { getNavigationEntry } from \"./web-vitals/lib/getNavigationEntry.js\";\nimport { getVisibilityWatcher } from \"./web-vitals/lib/getVisibilityWatcher.js\";\nimport { browserPerformanceTimeOrigin } from \"../../../../../@sentry/core/build/esm/utils-hoist/time.js\";\nimport { getActiveSpan, spanToJSON } from \"../../../../../@sentry/core/build/esm/utils/spanUtils.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from \"../../../../../@sentry/core/build/esm/semanticAttributes.js\";\nimport { htmlTreeAsString, getComponentName } from \"../../../../../@sentry/core/build/esm/utils-hoist/browser.js\";\nimport { setMeasurement } from \"../../../../../@sentry/core/build/esm/tracing/measurement.js\";\nimport { parseUrl } from \"../../../../../@sentry/core/build/esm/utils-hoist/url.js\";\nconst MAX_INT_AS_BYTES = 2147483647;\nlet _performanceCursor = 0;\nlet _measurements = {};\nlet _lcpEntry;\nlet _clsEntry;\nfunction startTrackingWebVitals({ recordClsStandaloneSpans }) {\n  const performance = getBrowserPerformanceAPI();\n  if (performance && browserPerformanceTimeOrigin()) {\n    if (performance.mark) {\n      WINDOW.performance.mark(\"sentry-tracing-init\");\n    }\n    const fidCleanupCallback = _trackFID();\n    const lcpCleanupCallback = _trackLCP();\n    const ttfbCleanupCallback = _trackTtfb();\n    const clsCleanupCallback = recordClsStandaloneSpans ? trackClsAsStandaloneSpan() : _trackCLS();\n    return () => {\n      fidCleanupCallback();\n      lcpCleanupCallback();\n      ttfbCleanupCallback();\n      clsCleanupCallback == null ? void 0 : clsCleanupCallback();\n    };\n  }\n  return () => void 0;\n}\nfunction startTrackingLongTasks() {\n  addPerformanceInstrumentationHandler(\"longtask\", ({ entries }) => {\n    const parent = getActiveSpan();\n    if (!parent) {\n      return;\n    }\n    const { op: parentOp, start_timestamp: parentStartTimestamp } = spanToJSON(parent);\n    for (const entry of entries) {\n      const startTime = msToSec(browserPerformanceTimeOrigin() + entry.startTime);\n      const duration = msToSec(entry.duration);\n      if (parentOp === \"navigation\" && parentStartTimestamp && startTime < parentStartTimestamp) {\n        continue;\n      }\n      startAndEndSpan(parent, startTime, startTime + duration, {\n        name: \"Main UI thread blocked\",\n        op: \"ui.long-task\",\n        attributes: {\n          [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n        }\n      });\n    }\n  });\n}\nfunction startTrackingLongAnimationFrames() {\n  const observer = new PerformanceObserver((list) => {\n    const parent = getActiveSpan();\n    if (!parent) {\n      return;\n    }\n    for (const entry of list.getEntries()) {\n      if (!entry.scripts[0]) {\n        continue;\n      }\n      const startTime = msToSec(browserPerformanceTimeOrigin() + entry.startTime);\n      const { start_timestamp: parentStartTimestamp, op: parentOp } = spanToJSON(parent);\n      if (parentOp === \"navigation\" && parentStartTimestamp && startTime < parentStartTimestamp) {\n        continue;\n      }\n      const duration = msToSec(entry.duration);\n      const attributes = {\n        [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n      };\n      const initialScript = entry.scripts[0];\n      const { invoker, invokerType, sourceURL, sourceFunctionName, sourceCharPosition } = initialScript;\n      attributes[\"browser.script.invoker\"] = invoker;\n      attributes[\"browser.script.invoker_type\"] = invokerType;\n      if (sourceURL) {\n        attributes[\"code.filepath\"] = sourceURL;\n      }\n      if (sourceFunctionName) {\n        attributes[\"code.function\"] = sourceFunctionName;\n      }\n      if (sourceCharPosition !== -1) {\n        attributes[\"browser.script.source_char_position\"] = sourceCharPosition;\n      }\n      startAndEndSpan(parent, startTime, startTime + duration, {\n        name: \"Main UI thread blocked\",\n        op: \"ui.long-animation-frame\",\n        attributes\n      });\n    }\n  });\n  observer.observe({ type: \"long-animation-frame\", buffered: true });\n}\nfunction startTrackingInteractions() {\n  addPerformanceInstrumentationHandler(\"event\", ({ entries }) => {\n    const parent = getActiveSpan();\n    if (!parent) {\n      return;\n    }\n    for (const entry of entries) {\n      if (entry.name === \"click\") {\n        const startTime = msToSec(browserPerformanceTimeOrigin() + entry.startTime);\n        const duration = msToSec(entry.duration);\n        const spanOptions = {\n          name: htmlTreeAsString(entry.target),\n          op: `ui.interaction.${entry.name}`,\n          startTime,\n          attributes: {\n            [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n          }\n        };\n        const componentName = getComponentName(entry.target);\n        if (componentName) {\n          spanOptions.attributes[\"ui.component_name\"] = componentName;\n        }\n        startAndEndSpan(parent, startTime, startTime + duration, spanOptions);\n      }\n    }\n  });\n}\nfunction _trackCLS() {\n  return addClsInstrumentationHandler(({ metric }) => {\n    const entry = metric.entries[metric.entries.length - 1];\n    if (!entry) {\n      return;\n    }\n    _measurements[\"cls\"] = { value: metric.value, unit: \"\" };\n    _clsEntry = entry;\n  }, true);\n}\nfunction _trackLCP() {\n  return addLcpInstrumentationHandler(({ metric }) => {\n    const entry = metric.entries[metric.entries.length - 1];\n    if (!entry) {\n      return;\n    }\n    _measurements[\"lcp\"] = { value: metric.value, unit: \"millisecond\" };\n    _lcpEntry = entry;\n  }, true);\n}\nfunction _trackFID() {\n  return addFidInstrumentationHandler(({ metric }) => {\n    const entry = metric.entries[metric.entries.length - 1];\n    if (!entry) {\n      return;\n    }\n    const timeOrigin = msToSec(browserPerformanceTimeOrigin());\n    const startTime = msToSec(entry.startTime);\n    _measurements[\"fid\"] = { value: metric.value, unit: \"millisecond\" };\n    _measurements[\"mark.fid\"] = { value: timeOrigin + startTime, unit: \"second\" };\n  });\n}\nfunction _trackTtfb() {\n  return addTtfbInstrumentationHandler(({ metric }) => {\n    const entry = metric.entries[metric.entries.length - 1];\n    if (!entry) {\n      return;\n    }\n    _measurements[\"ttfb\"] = { value: metric.value, unit: \"millisecond\" };\n  });\n}\nfunction addPerformanceEntries(span, options) {\n  const performance = getBrowserPerformanceAPI();\n  const origin = browserPerformanceTimeOrigin();\n  if (!(performance == null ? void 0 : performance.getEntries) || !origin) {\n    return;\n  }\n  const timeOrigin = msToSec(origin);\n  const performanceEntries = performance.getEntries();\n  const { op, start_timestamp: transactionStartTime } = spanToJSON(span);\n  performanceEntries.slice(_performanceCursor).forEach((entry) => {\n    const startTime = msToSec(entry.startTime);\n    const duration = msToSec(\n      // Inexplicably, Chrome sometimes emits a negative duration. We need to work around this.\n      // There is a SO post attempting to explain this, but it leaves one with open questions: https://stackoverflow.com/questions/23191918/peformance-getentries-and-negative-duration-display\n      // The way we clamp the value is probably not accurate, since we have observed this happen for things that may take a while to load, like for example the replay worker.\n      // TODO: Investigate why this happens and how to properly mitigate. For now, this is a workaround to prevent transactions being dropped due to negative duration spans.\n      Math.max(0, entry.duration)\n    );\n    if (op === \"navigation\" && transactionStartTime && timeOrigin + startTime < transactionStartTime) {\n      return;\n    }\n    switch (entry.entryType) {\n      case \"navigation\": {\n        _addNavigationSpans(span, entry, timeOrigin);\n        break;\n      }\n      case \"mark\":\n      case \"paint\":\n      case \"measure\": {\n        _addMeasureSpans(span, entry, startTime, duration, timeOrigin);\n        const firstHidden = getVisibilityWatcher();\n        const shouldRecord = entry.startTime < firstHidden.firstHiddenTime;\n        if (entry.name === \"first-paint\" && shouldRecord) {\n          _measurements[\"fp\"] = { value: entry.startTime, unit: \"millisecond\" };\n        }\n        if (entry.name === \"first-contentful-paint\" && shouldRecord) {\n          _measurements[\"fcp\"] = { value: entry.startTime, unit: \"millisecond\" };\n        }\n        break;\n      }\n      case \"resource\": {\n        _addResourceSpans(span, entry, entry.name, startTime, duration, timeOrigin);\n        break;\n      }\n    }\n  });\n  _performanceCursor = Math.max(performanceEntries.length - 1, 0);\n  _trackNavigator(span);\n  if (op === \"pageload\") {\n    _addTtfbRequestTimeToMeasurements(_measurements);\n    const fidMark = _measurements[\"mark.fid\"];\n    if (fidMark && _measurements[\"fid\"]) {\n      startAndEndSpan(span, fidMark.value, fidMark.value + msToSec(_measurements[\"fid\"].value), {\n        name: \"first input delay\",\n        op: \"ui.action\",\n        attributes: {\n          [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n        }\n      });\n      delete _measurements[\"mark.fid\"];\n    }\n    if (!(\"fcp\" in _measurements) || !options.recordClsOnPageloadSpan) {\n      delete _measurements.cls;\n    }\n    Object.entries(_measurements).forEach(([measurementName, measurement]) => {\n      setMeasurement(measurementName, measurement.value, measurement.unit);\n    });\n    span.setAttribute(\"performance.timeOrigin\", timeOrigin);\n    span.setAttribute(\"performance.activationStart\", getActivationStart());\n    _setWebVitalAttributes(span);\n  }\n  _lcpEntry = void 0;\n  _clsEntry = void 0;\n  _measurements = {};\n}\nfunction _addMeasureSpans(span, entry, startTime, duration, timeOrigin) {\n  const navEntry = getNavigationEntry(false);\n  const requestTime = msToSec(navEntry ? navEntry.requestStart : 0);\n  const measureStartTimestamp = timeOrigin + Math.max(startTime, requestTime);\n  const startTimeStamp = timeOrigin + startTime;\n  const measureEndTimestamp = startTimeStamp + duration;\n  const attributes = {\n    [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.resource.browser.metrics\"\n  };\n  if (measureStartTimestamp !== startTimeStamp) {\n    attributes[\"sentry.browser.measure_happened_before_request\"] = true;\n    attributes[\"sentry.browser.measure_start_time\"] = measureStartTimestamp;\n  }\n  if (measureStartTimestamp <= measureEndTimestamp) {\n    startAndEndSpan(span, measureStartTimestamp, measureEndTimestamp, {\n      name: entry.name,\n      op: entry.entryType,\n      attributes\n    });\n  }\n}\nfunction _addNavigationSpans(span, entry, timeOrigin) {\n  [\"unloadEvent\", \"redirect\", \"domContentLoadedEvent\", \"loadEvent\", \"connect\"].forEach((event) => {\n    _addPerformanceNavigationTiming(span, entry, event, timeOrigin);\n  });\n  _addPerformanceNavigationTiming(span, entry, \"secureConnection\", timeOrigin, \"TLS/SSL\");\n  _addPerformanceNavigationTiming(span, entry, \"fetch\", timeOrigin, \"cache\");\n  _addPerformanceNavigationTiming(span, entry, \"domainLookup\", timeOrigin, \"DNS\");\n  _addRequest(span, entry, timeOrigin);\n}\nfunction _addPerformanceNavigationTiming(span, entry, event, timeOrigin, name = event) {\n  const eventEnd = _getEndPropertyNameForNavigationTiming(event);\n  const end = entry[eventEnd];\n  const start = entry[`${event}Start`];\n  if (!start || !end) {\n    return;\n  }\n  startAndEndSpan(span, timeOrigin + msToSec(start), timeOrigin + msToSec(end), {\n    op: `browser.${name}`,\n    name: entry.name,\n    attributes: {\n      [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\",\n      ...event === \"redirect\" && entry.redirectCount != null ? { \"http.redirect_count\": entry.redirectCount } : {}\n    }\n  });\n}\nfunction _getEndPropertyNameForNavigationTiming(event) {\n  if (event === \"secureConnection\") {\n    return \"connectEnd\";\n  }\n  if (event === \"fetch\") {\n    return \"domainLookupStart\";\n  }\n  return `${event}End`;\n}\nfunction _addRequest(span, entry, timeOrigin) {\n  const requestStartTimestamp = timeOrigin + msToSec(entry.requestStart);\n  const responseEndTimestamp = timeOrigin + msToSec(entry.responseEnd);\n  const responseStartTimestamp = timeOrigin + msToSec(entry.responseStart);\n  if (entry.responseEnd) {\n    startAndEndSpan(span, requestStartTimestamp, responseEndTimestamp, {\n      op: \"browser.request\",\n      name: entry.name,\n      attributes: {\n        [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n      }\n    });\n    startAndEndSpan(span, responseStartTimestamp, responseEndTimestamp, {\n      op: \"browser.response\",\n      name: entry.name,\n      attributes: {\n        [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n      }\n    });\n  }\n}\nfunction _addResourceSpans(span, entry, resourceUrl, startTime, duration, timeOrigin) {\n  if (entry.initiatorType === \"xmlhttprequest\" || entry.initiatorType === \"fetch\") {\n    return;\n  }\n  const parsedUrl = parseUrl(resourceUrl);\n  const attributes = {\n    [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.resource.browser.metrics\"\n  };\n  setResourceEntrySizeData(attributes, entry, \"transferSize\", \"http.response_transfer_size\");\n  setResourceEntrySizeData(attributes, entry, \"encodedBodySize\", \"http.response_content_length\");\n  setResourceEntrySizeData(attributes, entry, \"decodedBodySize\", \"http.decoded_response_content_length\");\n  const deliveryType = entry.deliveryType;\n  if (deliveryType != null) {\n    attributes[\"http.response_delivery_type\"] = deliveryType;\n  }\n  const renderBlockingStatus = entry.renderBlockingStatus;\n  if (renderBlockingStatus) {\n    attributes[\"resource.render_blocking_status\"] = renderBlockingStatus;\n  }\n  if (parsedUrl.protocol) {\n    attributes[\"url.scheme\"] = parsedUrl.protocol.split(\":\").pop();\n  }\n  if (parsedUrl.host) {\n    attributes[\"server.address\"] = parsedUrl.host;\n  }\n  attributes[\"url.same_origin\"] = resourceUrl.includes(WINDOW.location.origin);\n  const { name, version } = extractNetworkProtocol(entry.nextHopProtocol);\n  attributes[\"network.protocol.name\"] = name;\n  attributes[\"network.protocol.version\"] = version;\n  const startTimestamp = timeOrigin + startTime;\n  const endTimestamp = startTimestamp + duration;\n  startAndEndSpan(span, startTimestamp, endTimestamp, {\n    name: resourceUrl.replace(WINDOW.location.origin, \"\"),\n    op: entry.initiatorType ? `resource.${entry.initiatorType}` : \"resource.other\",\n    attributes\n  });\n}\nfunction _trackNavigator(span) {\n  const navigator = WINDOW.navigator;\n  if (!navigator) {\n    return;\n  }\n  const connection = navigator.connection;\n  if (connection) {\n    if (connection.effectiveType) {\n      span.setAttribute(\"effectiveConnectionType\", connection.effectiveType);\n    }\n    if (connection.type) {\n      span.setAttribute(\"connectionType\", connection.type);\n    }\n    if (isMeasurementValue(connection.rtt)) {\n      _measurements[\"connection.rtt\"] = { value: connection.rtt, unit: \"millisecond\" };\n    }\n  }\n  if (isMeasurementValue(navigator.deviceMemory)) {\n    span.setAttribute(\"deviceMemory\", `${navigator.deviceMemory} GB`);\n  }\n  if (isMeasurementValue(navigator.hardwareConcurrency)) {\n    span.setAttribute(\"hardwareConcurrency\", String(navigator.hardwareConcurrency));\n  }\n}\nfunction _setWebVitalAttributes(span) {\n  if (_lcpEntry) {\n    if (_lcpEntry.element) {\n      span.setAttribute(\"lcp.element\", htmlTreeAsString(_lcpEntry.element));\n    }\n    if (_lcpEntry.id) {\n      span.setAttribute(\"lcp.id\", _lcpEntry.id);\n    }\n    if (_lcpEntry.url) {\n      span.setAttribute(\"lcp.url\", _lcpEntry.url.trim().slice(0, 200));\n    }\n    if (_lcpEntry.loadTime != null) {\n      span.setAttribute(\"lcp.loadTime\", _lcpEntry.loadTime);\n    }\n    if (_lcpEntry.renderTime != null) {\n      span.setAttribute(\"lcp.renderTime\", _lcpEntry.renderTime);\n    }\n    span.setAttribute(\"lcp.size\", _lcpEntry.size);\n  }\n  if (_clsEntry == null ? void 0 : _clsEntry.sources) {\n    _clsEntry.sources.forEach(\n      (source, index) => span.setAttribute(`cls.source.${index + 1}`, htmlTreeAsString(source.node))\n    );\n  }\n}\nfunction setResourceEntrySizeData(attributes, entry, key, dataKey) {\n  const entryVal = entry[key];\n  if (entryVal != null && entryVal < MAX_INT_AS_BYTES) {\n    attributes[dataKey] = entryVal;\n  }\n}\nfunction _addTtfbRequestTimeToMeasurements(_measurements2) {\n  const navEntry = getNavigationEntry(false);\n  if (!navEntry) {\n    return;\n  }\n  const { responseStart, requestStart } = navEntry;\n  if (requestStart <= responseStart) {\n    _measurements2[\"ttfb.requestTime\"] = {\n      value: responseStart - requestStart,\n      unit: \"millisecond\"\n    };\n  }\n}\nexport {\n  _addMeasureSpans,\n  _addNavigationSpans,\n  _addResourceSpans,\n  addPerformanceEntries,\n  startTrackingInteractions,\n  startTrackingLongAnimationFrames,\n  startTrackingLongTasks,\n  startTrackingWebVitals\n};\n","import { addInpInstrumentationHandler, addPerformanceInstrumentationHandler, isPerformanceEventTiming } from \"./instrument.js\";\nimport { getBrowserPerformanceAPI, msToSec, startStandaloneWebVitalSpan } from \"./utils.js\";\nimport { browserPerformanceTimeOrigin } from \"../../../../../@sentry/core/build/esm/utils-hoist/time.js\";\nimport { getActiveSpan, getRootSpan, spanToJSON } from \"../../../../../@sentry/core/build/esm/utils/spanUtils.js\";\nimport { getCurrentScope } from \"../../../../../@sentry/core/build/esm/currentScopes.js\";\nimport { htmlTreeAsString } from \"../../../../../@sentry/core/build/esm/utils-hoist/browser.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE } from \"../../../../../@sentry/core/build/esm/semanticAttributes.js\";\nconst LAST_INTERACTIONS = [];\nconst INTERACTIONS_SPAN_MAP = /* @__PURE__ */ new Map();\nfunction startTrackingINP() {\n  const performance = getBrowserPerformanceAPI();\n  if (performance && browserPerformanceTimeOrigin()) {\n    const inpCallback = _trackINP();\n    return () => {\n      inpCallback();\n    };\n  }\n  return () => void 0;\n}\nconst INP_ENTRY_MAP = {\n  click: \"click\",\n  pointerdown: \"click\",\n  pointerup: \"click\",\n  mousedown: \"click\",\n  mouseup: \"click\",\n  touchstart: \"click\",\n  touchend: \"click\",\n  mouseover: \"hover\",\n  mouseout: \"hover\",\n  mouseenter: \"hover\",\n  mouseleave: \"hover\",\n  pointerover: \"hover\",\n  pointerout: \"hover\",\n  pointerenter: \"hover\",\n  pointerleave: \"hover\",\n  dragstart: \"drag\",\n  dragend: \"drag\",\n  drag: \"drag\",\n  dragenter: \"drag\",\n  dragleave: \"drag\",\n  dragover: \"drag\",\n  drop: \"drag\",\n  keydown: \"press\",\n  keyup: \"press\",\n  keypress: \"press\",\n  input: \"press\"\n};\nfunction _trackINP() {\n  return addInpInstrumentationHandler(({ metric }) => {\n    if (metric.value == void 0) {\n      return;\n    }\n    const entry = metric.entries.find((entry2) => entry2.duration === metric.value && INP_ENTRY_MAP[entry2.name]);\n    if (!entry) {\n      return;\n    }\n    const { interactionId } = entry;\n    const interactionType = INP_ENTRY_MAP[entry.name];\n    const startTime = msToSec(browserPerformanceTimeOrigin() + entry.startTime);\n    const duration = msToSec(metric.value);\n    const activeSpan = getActiveSpan();\n    const rootSpan = activeSpan ? getRootSpan(activeSpan) : void 0;\n    const cachedSpan = interactionId != null ? INTERACTIONS_SPAN_MAP.get(interactionId) : void 0;\n    const spanToUse = cachedSpan || rootSpan;\n    const routeName = spanToUse ? spanToJSON(spanToUse).description : getCurrentScope().getScopeData().transactionName;\n    const name = htmlTreeAsString(entry.target);\n    const attributes = {\n      [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.http.browser.inp\",\n      [SEMANTIC_ATTRIBUTE_SENTRY_OP]: `ui.interaction.${interactionType}`,\n      [SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]: entry.duration\n    };\n    const span = startStandaloneWebVitalSpan({\n      name,\n      transaction: routeName,\n      attributes,\n      startTime\n    });\n    if (span) {\n      span.addEvent(\"inp\", {\n        [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]: \"millisecond\",\n        [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]: metric.value\n      });\n      span.end(startTime + duration);\n    }\n  });\n}\nfunction registerInpInteractionListener() {\n  const handleEntries = ({ entries }) => {\n    const activeSpan = getActiveSpan();\n    const activeRootSpan = activeSpan && getRootSpan(activeSpan);\n    entries.forEach((entry) => {\n      if (!isPerformanceEventTiming(entry) || !activeRootSpan) {\n        return;\n      }\n      const interactionId = entry.interactionId;\n      if (interactionId == null) {\n        return;\n      }\n      if (INTERACTIONS_SPAN_MAP.has(interactionId)) {\n        return;\n      }\n      if (LAST_INTERACTIONS.length > 10) {\n        const last = LAST_INTERACTIONS.shift();\n        INTERACTIONS_SPAN_MAP.delete(last);\n      }\n      LAST_INTERACTIONS.push(interactionId);\n      INTERACTIONS_SPAN_MAP.set(interactionId, activeRootSpan);\n    });\n  };\n  addPerformanceInstrumentationHandler(\"event\", handleEntries);\n  addPerformanceInstrumentationHandler(\"first-input\", handleEntries);\n}\nexport {\n  registerInpInteractionListener,\n  startTrackingINP\n};\n","import { getClient, getCurrentScope } from \"../currentScopes.js\";\nimport { DEBUG_BUILD } from \"../debug-build.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON } from \"../semanticAttributes.js\";\nimport { hasSpansEnabled } from \"../utils/hasSpansEnabled.js\";\nimport { _setSpanForScope } from \"../utils/spanOnScope.js\";\nimport { getActiveSpan, spanTimeInputToSeconds, getSpanDescendants, spanToJSON, removeChildSpanFromSpan } from \"../utils/spanUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { timestampInSeconds } from \"../utils-hoist/time.js\";\nimport { getDynamicSamplingContextFromSpan, freezeDscOnSpan } from \"./dynamicSamplingContext.js\";\nimport { SentryNonRecordingSpan } from \"./sentryNonRecordingSpan.js\";\nimport { SPAN_STATUS_ERROR } from \"./spanstatus.js\";\nimport { startInactiveSpan } from \"./trace.js\";\nconst TRACING_DEFAULTS = {\n  idleTimeout: 1e3,\n  finalTimeout: 3e4,\n  childSpanTimeout: 15e3\n};\nconst FINISH_REASON_HEARTBEAT_FAILED = \"heartbeatFailed\";\nconst FINISH_REASON_IDLE_TIMEOUT = \"idleTimeout\";\nconst FINISH_REASON_FINAL_TIMEOUT = \"finalTimeout\";\nconst FINISH_REASON_EXTERNAL_FINISH = \"externalFinish\";\nfunction startIdleSpan(startSpanOptions, options = {}) {\n  const activities = /* @__PURE__ */ new Map();\n  let _finished = false;\n  let _idleTimeoutID;\n  let _finishReason = FINISH_REASON_EXTERNAL_FINISH;\n  let _autoFinishAllowed = !options.disableAutoFinish;\n  const _cleanupHooks = [];\n  const {\n    idleTimeout = TRACING_DEFAULTS.idleTimeout,\n    finalTimeout = TRACING_DEFAULTS.finalTimeout,\n    childSpanTimeout = TRACING_DEFAULTS.childSpanTimeout,\n    beforeSpanEnd\n  } = options;\n  const client = getClient();\n  if (!client || !hasSpansEnabled()) {\n    const span2 = new SentryNonRecordingSpan();\n    const dsc = {\n      sample_rate: \"0\",\n      sampled: \"false\",\n      ...getDynamicSamplingContextFromSpan(span2)\n    };\n    freezeDscOnSpan(span2, dsc);\n    return span2;\n  }\n  const scope = getCurrentScope();\n  const previousActiveSpan = getActiveSpan();\n  const span = _startIdleSpan(startSpanOptions);\n  span.end = new Proxy(span.end, {\n    apply(target, thisArg, args) {\n      if (beforeSpanEnd) {\n        beforeSpanEnd(span);\n      }\n      if (thisArg instanceof SentryNonRecordingSpan) {\n        return;\n      }\n      const [definedEndTimestamp, ...rest] = args;\n      const timestamp = definedEndTimestamp || timestampInSeconds();\n      const spanEndTimestamp = spanTimeInputToSeconds(timestamp);\n      const spans = getSpanDescendants(span).filter((child) => child !== span);\n      if (!spans.length) {\n        onIdleSpanEnded(spanEndTimestamp);\n        return Reflect.apply(target, thisArg, [spanEndTimestamp, ...rest]);\n      }\n      const childEndTimestamps = spans.map((span2) => spanToJSON(span2).timestamp).filter((timestamp2) => !!timestamp2);\n      const latestSpanEndTimestamp = childEndTimestamps.length ? Math.max(...childEndTimestamps) : void 0;\n      const spanStartTimestamp = spanToJSON(span).start_timestamp;\n      const endTimestamp = Math.min(\n        spanStartTimestamp ? spanStartTimestamp + finalTimeout / 1e3 : Infinity,\n        Math.max(spanStartTimestamp || -Infinity, Math.min(spanEndTimestamp, latestSpanEndTimestamp || Infinity))\n      );\n      onIdleSpanEnded(endTimestamp);\n      return Reflect.apply(target, thisArg, [endTimestamp, ...rest]);\n    }\n  });\n  function _cancelIdleTimeout() {\n    if (_idleTimeoutID) {\n      clearTimeout(_idleTimeoutID);\n      _idleTimeoutID = void 0;\n    }\n  }\n  function _restartIdleTimeout(endTimestamp) {\n    _cancelIdleTimeout();\n    _idleTimeoutID = setTimeout(() => {\n      if (!_finished && activities.size === 0 && _autoFinishAllowed) {\n        _finishReason = FINISH_REASON_IDLE_TIMEOUT;\n        span.end(endTimestamp);\n      }\n    }, idleTimeout);\n  }\n  function _restartChildSpanTimeout(endTimestamp) {\n    _idleTimeoutID = setTimeout(() => {\n      if (!_finished && _autoFinishAllowed) {\n        _finishReason = FINISH_REASON_HEARTBEAT_FAILED;\n        span.end(endTimestamp);\n      }\n    }, childSpanTimeout);\n  }\n  function _pushActivity(spanId) {\n    _cancelIdleTimeout();\n    activities.set(spanId, true);\n    const endTimestamp = timestampInSeconds();\n    _restartChildSpanTimeout(endTimestamp + childSpanTimeout / 1e3);\n  }\n  function _popActivity(spanId) {\n    if (activities.has(spanId)) {\n      activities.delete(spanId);\n    }\n    if (activities.size === 0) {\n      const endTimestamp = timestampInSeconds();\n      _restartIdleTimeout(endTimestamp + idleTimeout / 1e3);\n    }\n  }\n  function onIdleSpanEnded(endTimestamp) {\n    _finished = true;\n    activities.clear();\n    _cleanupHooks.forEach((cleanup) => cleanup());\n    _setSpanForScope(scope, previousActiveSpan);\n    const spanJSON = spanToJSON(span);\n    const { start_timestamp: startTimestamp } = spanJSON;\n    if (!startTimestamp) {\n      return;\n    }\n    const attributes = spanJSON.data;\n    if (!attributes[SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]) {\n      span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON, _finishReason);\n    }\n    logger.log(`[Tracing] Idle span \"${spanJSON.op}\" finished`);\n    const childSpans = getSpanDescendants(span).filter((child) => child !== span);\n    let discardedSpans = 0;\n    childSpans.forEach((childSpan) => {\n      if (childSpan.isRecording()) {\n        childSpan.setStatus({ code: SPAN_STATUS_ERROR, message: \"cancelled\" });\n        childSpan.end(endTimestamp);\n        DEBUG_BUILD && logger.log(\"[Tracing] Cancelling span since span ended early\", JSON.stringify(childSpan, void 0, 2));\n      }\n      const childSpanJSON = spanToJSON(childSpan);\n      const { timestamp: childEndTimestamp = 0, start_timestamp: childStartTimestamp = 0 } = childSpanJSON;\n      const spanStartedBeforeIdleSpanEnd = childStartTimestamp <= endTimestamp;\n      const timeoutWithMarginOfError = (finalTimeout + idleTimeout) / 1e3;\n      const spanEndedBeforeFinalTimeout = childEndTimestamp - childStartTimestamp <= timeoutWithMarginOfError;\n      if (DEBUG_BUILD) {\n        const stringifiedSpan = JSON.stringify(childSpan, void 0, 2);\n        if (!spanStartedBeforeIdleSpanEnd) {\n          logger.log(\"[Tracing] Discarding span since it happened after idle span was finished\", stringifiedSpan);\n        } else if (!spanEndedBeforeFinalTimeout) {\n          logger.log(\"[Tracing] Discarding span since it finished after idle span final timeout\", stringifiedSpan);\n        }\n      }\n      if (!spanEndedBeforeFinalTimeout || !spanStartedBeforeIdleSpanEnd) {\n        removeChildSpanFromSpan(span, childSpan);\n        discardedSpans++;\n      }\n    });\n    if (discardedSpans > 0) {\n      span.setAttribute(\"sentry.idle_span_discarded_spans\", discardedSpans);\n    }\n  }\n  _cleanupHooks.push(\n    client.on(\"spanStart\", (startedSpan) => {\n      if (_finished || startedSpan === span || !!spanToJSON(startedSpan).timestamp) {\n        return;\n      }\n      const allSpans = getSpanDescendants(span);\n      if (allSpans.includes(startedSpan)) {\n        _pushActivity(startedSpan.spanContext().spanId);\n      }\n    })\n  );\n  _cleanupHooks.push(\n    client.on(\"spanEnd\", (endedSpan) => {\n      if (_finished) {\n        return;\n      }\n      _popActivity(endedSpan.spanContext().spanId);\n    })\n  );\n  _cleanupHooks.push(\n    client.on(\"idleSpanEnableAutoFinish\", (spanToAllowAutoFinish) => {\n      if (spanToAllowAutoFinish === span) {\n        _autoFinishAllowed = true;\n        _restartIdleTimeout();\n        if (activities.size) {\n          _restartChildSpanTimeout();\n        }\n      }\n    })\n  );\n  if (!options.disableAutoFinish) {\n    _restartIdleTimeout();\n  }\n  setTimeout(() => {\n    if (!_finished) {\n      span.setStatus({ code: SPAN_STATUS_ERROR, message: \"deadline_exceeded\" });\n      _finishReason = FINISH_REASON_FINAL_TIMEOUT;\n      span.end();\n    }\n  }, finalTimeout);\n  return span;\n}\nfunction _startIdleSpan(options) {\n  const span = startInactiveSpan(options);\n  _setSpanForScope(getCurrentScope(), span);\n  DEBUG_BUILD && logger.log(\"[Tracing] Started span is an idle span\");\n  return span;\n}\nexport {\n  TRACING_DEFAULTS,\n  startIdleSpan\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { WINDOW } from \"../helpers.js\";\nimport { registerBackgroundTabDetection } from \"./backgroundtab.js\";\nimport { linkTraces } from \"./linkedTraces.js\";\nimport { instrumentOutgoingRequests, defaultRequestInstrumentationOptions } from \"./request.js\";\nimport { consoleSandbox, logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nimport { registerSpanErrorInstrumentation } from \"../../../../../core/build/esm/tracing/errors.js\";\nimport { startTrackingWebVitals, startTrackingLongAnimationFrames, startTrackingLongTasks, startTrackingInteractions, addPerformanceEntries } from \"../../../../../../@sentry-internal/browser-utils/build/esm/metrics/browserMetrics.js\";\nimport { startTrackingINP, registerInpInteractionListener } from \"../../../../../../@sentry-internal/browser-utils/build/esm/metrics/inp.js\";\nimport { GLOBAL_OBJ } from \"../../../../../core/build/esm/utils-hoist/worldwide.js\";\nimport { getLocationHref } from \"../../../../../core/build/esm/utils-hoist/browser.js\";\nimport { getClient, getIsolationScope, getCurrentScope } from \"../../../../../core/build/esm/currentScopes.js\";\nimport { generateTraceId } from \"../../../../../core/build/esm/utils-hoist/propagationContext.js\";\nimport { propagationContextFromHeaders } from \"../../../../../core/build/esm/utils-hoist/tracing.js\";\nimport { browserPerformanceTimeOrigin } from \"../../../../../core/build/esm/utils-hoist/time.js\";\nimport { addHistoryInstrumentationHandler } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/history.js\";\nimport { TRACING_DEFAULTS, startIdleSpan } from \"../../../../../core/build/esm/tracing/idleSpan.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from \"../../../../../core/build/esm/semanticAttributes.js\";\nimport { spanToJSON, spanIsSampled } from \"../../../../../core/build/esm/utils/spanUtils.js\";\nimport { addNonEnumerableProperty } from \"../../../../../core/build/esm/utils-hoist/object.js\";\nimport { getDynamicSamplingContextFromSpan } from \"../../../../../core/build/esm/tracing/dynamicSamplingContext.js\";\nconst BROWSER_TRACING_INTEGRATION_ID = \"BrowserTracing\";\nconst DEFAULT_BROWSER_TRACING_OPTIONS = {\n  ...TRACING_DEFAULTS,\n  instrumentNavigation: true,\n  instrumentPageLoad: true,\n  markBackgroundSpan: true,\n  enableLongTask: true,\n  enableLongAnimationFrame: true,\n  enableInp: true,\n  linkPreviousTrace: \"in-memory\",\n  consistentTraceSampling: false,\n  _experiments: {},\n  ...defaultRequestInstrumentationOptions\n};\nlet _hasBeenInitialized = false;\nconst browserTracingIntegration = (_options = {}) => {\n  if (_hasBeenInitialized) {\n    consoleSandbox(() => {\n      console.warn(\"Multiple browserTracingIntegration instances are not supported.\");\n    });\n  }\n  _hasBeenInitialized = true;\n  const optionalWindowDocument = WINDOW.document;\n  registerSpanErrorInstrumentation();\n  const {\n    enableInp,\n    enableLongTask,\n    enableLongAnimationFrame,\n    _experiments: { enableInteractions, enableStandaloneClsSpans },\n    beforeStartSpan,\n    idleTimeout,\n    finalTimeout,\n    childSpanTimeout,\n    markBackgroundSpan,\n    traceFetch,\n    traceXHR,\n    trackFetchStreamPerformance,\n    shouldCreateSpanForRequest,\n    enableHTTPTimings,\n    instrumentPageLoad,\n    instrumentNavigation,\n    linkPreviousTrace,\n    consistentTraceSampling,\n    onRequestSpanStart\n  } = {\n    ...DEFAULT_BROWSER_TRACING_OPTIONS,\n    ..._options\n  };\n  const _collectWebVitals = startTrackingWebVitals({ recordClsStandaloneSpans: enableStandaloneClsSpans || false });\n  if (enableInp) {\n    startTrackingINP();\n  }\n  if (enableLongAnimationFrame && GLOBAL_OBJ.PerformanceObserver && PerformanceObserver.supportedEntryTypes && PerformanceObserver.supportedEntryTypes.includes(\"long-animation-frame\")) {\n    startTrackingLongAnimationFrames();\n  } else if (enableLongTask) {\n    startTrackingLongTasks();\n  }\n  if (enableInteractions) {\n    startTrackingInteractions();\n  }\n  const latestRoute = {\n    name: void 0,\n    source: void 0\n  };\n  function _createRouteSpan(client, startSpanOptions) {\n    const isPageloadTransaction = startSpanOptions.op === \"pageload\";\n    const finalStartSpanOptions = beforeStartSpan ? beforeStartSpan(startSpanOptions) : startSpanOptions;\n    const attributes = finalStartSpanOptions.attributes || {};\n    if (startSpanOptions.name !== finalStartSpanOptions.name) {\n      attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE] = \"custom\";\n      finalStartSpanOptions.attributes = attributes;\n    }\n    latestRoute.name = finalStartSpanOptions.name;\n    latestRoute.source = attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n    const idleSpan = startIdleSpan(finalStartSpanOptions, {\n      idleTimeout,\n      finalTimeout,\n      childSpanTimeout,\n      // should wait for finish signal if it's a pageload transaction\n      disableAutoFinish: isPageloadTransaction,\n      beforeSpanEnd: (span) => {\n        _collectWebVitals();\n        addPerformanceEntries(span, { recordClsOnPageloadSpan: !enableStandaloneClsSpans });\n        setActiveIdleSpan(client, void 0);\n        const scope = getCurrentScope();\n        const oldPropagationContext = scope.getPropagationContext();\n        scope.setPropagationContext({\n          ...oldPropagationContext,\n          traceId: idleSpan.spanContext().traceId,\n          sampled: spanIsSampled(idleSpan),\n          dsc: getDynamicSamplingContextFromSpan(span)\n        });\n      }\n    });\n    setActiveIdleSpan(client, idleSpan);\n    function emitFinish() {\n      if (optionalWindowDocument && [\"interactive\", \"complete\"].includes(optionalWindowDocument.readyState)) {\n        client.emit(\"idleSpanEnableAutoFinish\", idleSpan);\n      }\n    }\n    if (isPageloadTransaction && optionalWindowDocument) {\n      optionalWindowDocument.addEventListener(\"readystatechange\", () => {\n        emitFinish();\n      });\n      emitFinish();\n    }\n  }\n  return {\n    name: BROWSER_TRACING_INTEGRATION_ID,\n    afterAllSetup(client) {\n      let startingUrl = getLocationHref();\n      function maybeEndActiveSpan() {\n        const activeSpan = getActiveIdleSpan(client);\n        if (activeSpan && !spanToJSON(activeSpan).timestamp) {\n          DEBUG_BUILD && logger.log(`[Tracing] Finishing current active span with op: ${spanToJSON(activeSpan).op}`);\n          activeSpan.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON, \"cancelled\");\n          activeSpan.end();\n        }\n      }\n      client.on(\"startNavigationSpan\", (startSpanOptions) => {\n        if (getClient() !== client) {\n          return;\n        }\n        maybeEndActiveSpan();\n        getIsolationScope().setPropagationContext({ traceId: generateTraceId(), sampleRand: Math.random() });\n        getCurrentScope().setPropagationContext({ traceId: generateTraceId(), sampleRand: Math.random() });\n        _createRouteSpan(client, {\n          op: \"navigation\",\n          ...startSpanOptions\n        });\n      });\n      client.on(\"startPageLoadSpan\", (startSpanOptions, traceOptions = {}) => {\n        if (getClient() !== client) {\n          return;\n        }\n        maybeEndActiveSpan();\n        const sentryTrace = traceOptions.sentryTrace || getMetaContent(\"sentry-trace\");\n        const baggage = traceOptions.baggage || getMetaContent(\"baggage\");\n        const propagationContext = propagationContextFromHeaders(sentryTrace, baggage);\n        getCurrentScope().setPropagationContext(propagationContext);\n        _createRouteSpan(client, {\n          op: \"pageload\",\n          ...startSpanOptions\n        });\n      });\n      if (linkPreviousTrace !== \"off\") {\n        linkTraces(client, { linkPreviousTrace, consistentTraceSampling });\n      }\n      if (WINDOW.location) {\n        if (instrumentPageLoad) {\n          const origin = browserPerformanceTimeOrigin();\n          startBrowserTracingPageLoadSpan(client, {\n            name: WINDOW.location.pathname,\n            // pageload should always start at timeOrigin (and needs to be in s, not ms)\n            startTime: origin ? origin / 1e3 : void 0,\n            attributes: {\n              [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: \"url\",\n              [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.pageload.browser\"\n            }\n          });\n        }\n        if (instrumentNavigation) {\n          addHistoryInstrumentationHandler(({ to, from }) => {\n            if (from === void 0 && (startingUrl == null ? void 0 : startingUrl.indexOf(to)) !== -1) {\n              startingUrl = void 0;\n              return;\n            }\n            if (from !== to) {\n              startingUrl = void 0;\n              startBrowserTracingNavigationSpan(client, {\n                name: WINDOW.location.pathname,\n                attributes: {\n                  [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: \"url\",\n                  [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.navigation.browser\"\n                }\n              });\n            }\n          });\n        }\n      }\n      if (markBackgroundSpan) {\n        registerBackgroundTabDetection();\n      }\n      if (enableInteractions) {\n        registerInteractionListener(client, idleTimeout, finalTimeout, childSpanTimeout, latestRoute);\n      }\n      if (enableInp) {\n        registerInpInteractionListener();\n      }\n      instrumentOutgoingRequests(client, {\n        traceFetch,\n        traceXHR,\n        trackFetchStreamPerformance,\n        tracePropagationTargets: client.getOptions().tracePropagationTargets,\n        shouldCreateSpanForRequest,\n        enableHTTPTimings,\n        onRequestSpanStart\n      });\n    }\n  };\n};\nfunction startBrowserTracingPageLoadSpan(client, spanOptions, traceOptions) {\n  client.emit(\"startPageLoadSpan\", spanOptions, traceOptions);\n  getCurrentScope().setTransactionName(spanOptions.name);\n  return getActiveIdleSpan(client);\n}\nfunction startBrowserTracingNavigationSpan(client, spanOptions) {\n  client.emit(\"startNavigationSpan\", spanOptions);\n  getCurrentScope().setTransactionName(spanOptions.name);\n  return getActiveIdleSpan(client);\n}\nfunction getMetaContent(metaName) {\n  const optionalWindowDocument = WINDOW.document;\n  const metaTag = optionalWindowDocument == null ? void 0 : optionalWindowDocument.querySelector(`meta[name=${metaName}]`);\n  return (metaTag == null ? void 0 : metaTag.getAttribute(\"content\")) || void 0;\n}\nfunction registerInteractionListener(client, idleTimeout, finalTimeout, childSpanTimeout, latestRoute) {\n  const optionalWindowDocument = WINDOW.document;\n  let inflightInteractionSpan;\n  const registerInteractionTransaction = () => {\n    const op = \"ui.action.click\";\n    const activeIdleSpan = getActiveIdleSpan(client);\n    if (activeIdleSpan) {\n      const currentRootSpanOp = spanToJSON(activeIdleSpan).op;\n      if ([\"navigation\", \"pageload\"].includes(currentRootSpanOp)) {\n        DEBUG_BUILD && logger.warn(`[Tracing] Did not create ${op} span because a pageload or navigation span is in progress.`);\n        return void 0;\n      }\n    }\n    if (inflightInteractionSpan) {\n      inflightInteractionSpan.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON, \"interactionInterrupted\");\n      inflightInteractionSpan.end();\n      inflightInteractionSpan = void 0;\n    }\n    if (!latestRoute.name) {\n      DEBUG_BUILD && logger.warn(`[Tracing] Did not create ${op} transaction because _latestRouteName is missing.`);\n      return void 0;\n    }\n    inflightInteractionSpan = startIdleSpan(\n      {\n        name: latestRoute.name,\n        op,\n        attributes: {\n          [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: latestRoute.source || \"url\"\n        }\n      },\n      {\n        idleTimeout,\n        finalTimeout,\n        childSpanTimeout\n      }\n    );\n  };\n  if (optionalWindowDocument) {\n    addEventListener(\"click\", registerInteractionTransaction, { once: false, capture: true });\n  }\n}\nconst ACTIVE_IDLE_SPAN_PROPERTY = \"_sentry_idleSpan\";\nfunction getActiveIdleSpan(client) {\n  return client[ACTIVE_IDLE_SPAN_PROPERTY];\n}\nfunction setActiveIdleSpan(client, span) {\n  addNonEnumerableProperty(client, ACTIVE_IDLE_SPAN_PROPERTY, span);\n}\nexport {\n  BROWSER_TRACING_INTEGRATION_ID,\n  browserTracingIntegration,\n  getMetaContent,\n  startBrowserTracingNavigationSpan,\n  startBrowserTracingPageLoadSpan\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(`*, ::before, ::after {\n  --tw-border-spacing-x: 0;\n  --tw-border-spacing-y: 0;\n  --tw-translate-x: 0;\n  --tw-translate-y: 0;\n  --tw-rotate: 0;\n  --tw-skew-x: 0;\n  --tw-skew-y: 0;\n  --tw-scale-x: 1;\n  --tw-scale-y: 1;\n  --tw-pan-x:  ;\n  --tw-pan-y:  ;\n  --tw-pinch-zoom:  ;\n  --tw-scroll-snap-strictness: proximity;\n  --tw-gradient-from-position:  ;\n  --tw-gradient-via-position:  ;\n  --tw-gradient-to-position:  ;\n  --tw-ordinal:  ;\n  --tw-slashed-zero:  ;\n  --tw-numeric-figure:  ;\n  --tw-numeric-spacing:  ;\n  --tw-numeric-fraction:  ;\n  --tw-ring-inset:  ;\n  --tw-ring-offset-width: 0px;\n  --tw-ring-offset-color: #fff;\n  --tw-ring-color: rgb(59 130 246 / 0.5);\n  --tw-ring-offset-shadow: 0 0 #0000;\n  --tw-ring-shadow: 0 0 #0000;\n  --tw-shadow: 0 0 #0000;\n  --tw-shadow-colored: 0 0 #0000;\n  --tw-blur:  ;\n  --tw-brightness:  ;\n  --tw-contrast:  ;\n  --tw-grayscale:  ;\n  --tw-hue-rotate:  ;\n  --tw-invert:  ;\n  --tw-saturate:  ;\n  --tw-sepia:  ;\n  --tw-drop-shadow:  ;\n  --tw-backdrop-blur:  ;\n  --tw-backdrop-brightness:  ;\n  --tw-backdrop-contrast:  ;\n  --tw-backdrop-grayscale:  ;\n  --tw-backdrop-hue-rotate:  ;\n  --tw-backdrop-invert:  ;\n  --tw-backdrop-opacity:  ;\n  --tw-backdrop-saturate:  ;\n  --tw-backdrop-sepia:  ;\n  --tw-contain-size:  ;\n  --tw-contain-layout:  ;\n  --tw-contain-paint:  ;\n  --tw-contain-style:  ;\n}\n\n::backdrop {\n  --tw-border-spacing-x: 0;\n  --tw-border-spacing-y: 0;\n  --tw-translate-x: 0;\n  --tw-translate-y: 0;\n  --tw-rotate: 0;\n  --tw-skew-x: 0;\n  --tw-skew-y: 0;\n  --tw-scale-x: 1;\n  --tw-scale-y: 1;\n  --tw-pan-x:  ;\n  --tw-pan-y:  ;\n  --tw-pinch-zoom:  ;\n  --tw-scroll-snap-strictness: proximity;\n  --tw-gradient-from-position:  ;\n  --tw-gradient-via-position:  ;\n  --tw-gradient-to-position:  ;\n  --tw-ordinal:  ;\n  --tw-slashed-zero:  ;\n  --tw-numeric-figure:  ;\n  --tw-numeric-spacing:  ;\n  --tw-numeric-fraction:  ;\n  --tw-ring-inset:  ;\n  --tw-ring-offset-width: 0px;\n  --tw-ring-offset-color: #fff;\n  --tw-ring-color: rgb(59 130 246 / 0.5);\n  --tw-ring-offset-shadow: 0 0 #0000;\n  --tw-ring-shadow: 0 0 #0000;\n  --tw-shadow: 0 0 #0000;\n  --tw-shadow-colored: 0 0 #0000;\n  --tw-blur:  ;\n  --tw-brightness:  ;\n  --tw-contrast:  ;\n  --tw-grayscale:  ;\n  --tw-hue-rotate:  ;\n  --tw-invert:  ;\n  --tw-saturate:  ;\n  --tw-sepia:  ;\n  --tw-drop-shadow:  ;\n  --tw-backdrop-blur:  ;\n  --tw-backdrop-brightness:  ;\n  --tw-backdrop-contrast:  ;\n  --tw-backdrop-grayscale:  ;\n  --tw-backdrop-hue-rotate:  ;\n  --tw-backdrop-invert:  ;\n  --tw-backdrop-opacity:  ;\n  --tw-backdrop-saturate:  ;\n  --tw-backdrop-sepia:  ;\n  --tw-contain-size:  ;\n  --tw-contain-layout:  ;\n  --tw-contain-paint:  ;\n  --tw-contain-style:  ;\n}\n\n/*\n! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com\n*/\n\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n  box-sizing: border-box;\n  /* 1 */\n  border-width: 0;\n  /* 2 */\n  border-style: solid;\n  /* 2 */\n  border-color: currentColor;\n  /* 2 */\n}\n\n::before,\n::after {\n  --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured \\`sans\\` font-family by default.\n5. Use the user's configured \\`sans\\` font-feature-settings by default.\n6. Use the user's configured \\`sans\\` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\nhtml,\n:host {\n  line-height: 1.5;\n  /* 1 */\n  -webkit-text-size-adjust: 100%;\n  /* 2 */\n  -moz-tab-size: 4;\n  /* 3 */\n  tab-size: 4;\n  /* 3 */\n  font-family: var(--font-pretendard), ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n  /* 4 */\n  font-feature-settings: normal;\n  /* 5 */\n  font-variation-settings: normal;\n  /* 6 */\n  -webkit-tap-highlight-color: transparent;\n  /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from \\`html\\` so users can set them as a class directly on the \\`html\\` element.\n*/\n\nbody {\n  margin: 0;\n  /* 1 */\n  line-height: inherit;\n  /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n  height: 0;\n  /* 1 */\n  color: inherit;\n  /* 2 */\n  border-top-width: 1px;\n  /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n  -webkit-text-decoration: underline dotted;\n          text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  font-size: inherit;\n  font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n  color: inherit;\n  text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n  font-weight: bolder;\n}\n\n/*\n1. Use the user's configured \\`mono\\` font-family by default.\n2. Use the user's configured \\`mono\\` font-feature-settings by default.\n3. Use the user's configured \\`mono\\` font-variation-settings by default.\n4. Correct the odd \\`em\\` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n  /* 1 */\n  font-feature-settings: normal;\n  /* 2 */\n  font-variation-settings: normal;\n  /* 3 */\n  font-size: 1em;\n  /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n  font-size: 80%;\n}\n\n/*\nPrevent \\`sub\\` and \\`sup\\` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n  font-size: 75%;\n  line-height: 0;\n  position: relative;\n  vertical-align: baseline;\n}\n\nsub {\n  bottom: -0.25em;\n}\n\nsup {\n  top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n  text-indent: 0;\n  /* 1 */\n  border-color: inherit;\n  /* 2 */\n  border-collapse: collapse;\n  /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n  font-family: inherit;\n  /* 1 */\n  font-feature-settings: inherit;\n  /* 1 */\n  font-variation-settings: inherit;\n  /* 1 */\n  font-size: 100%;\n  /* 1 */\n  font-weight: inherit;\n  /* 1 */\n  line-height: inherit;\n  /* 1 */\n  letter-spacing: inherit;\n  /* 1 */\n  color: inherit;\n  /* 1 */\n  margin: 0;\n  /* 2 */\n  padding: 0;\n  /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n  text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\ninput:where([type='button']),\ninput:where([type='reset']),\ninput:where([type='submit']) {\n  -webkit-appearance: button;\n  /* 1 */\n  background-color: transparent;\n  /* 2 */\n  background-image: none;\n  /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n  outline: auto;\n}\n\n/*\nRemove the additional \\`:invalid\\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n  box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n  vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n  height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n  -webkit-appearance: textfield;\n  /* 1 */\n  outline-offset: -2px;\n  /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n  -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to \\`inherit\\` in Safari.\n*/\n\n::-webkit-file-upload-button {\n  -webkit-appearance: button;\n  /* 1 */\n  font: inherit;\n  /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n  display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n  margin: 0;\n}\n\nfieldset {\n  margin: 0;\n  padding: 0;\n}\n\nlegend {\n  padding: 0;\n}\n\nol,\nul,\nmenu {\n  list-style: none;\n  margin: 0;\n  padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\n\ndialog {\n  padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n  resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n  opacity: 1;\n  /* 1 */\n  color: #9ca3af;\n  /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n  opacity: 1;\n  /* 1 */\n  color: #9ca3af;\n  /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n  cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n\n:disabled {\n  cursor: default;\n}\n\n/*\n1. Make replaced elements \\`display: block\\` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add \\`vertical-align: middle\\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n   This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n  display: block;\n  /* 1 */\n  vertical-align: middle;\n  /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n  max-width: 100%;\n  height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n\n[hidden]:where(:not([hidden=\"until-found\"])) {\n  display: none;\n}\n\nhtml {\n  font-family:\n      'Pretendard Variable',\n      Pretendard,\n      -apple-system,\n      BlinkMacSystemFont;\n}\n\n.\\\\!container {\n  width: 100% !important;\n}\n\n.container {\n  width: 100%;\n}\n\n@media (min-width: 541px) {\n  .\\\\!container {\n    max-width: 541px !important;\n  }\n\n  .container {\n    max-width: 541px;\n  }\n}\n\n@media (min-width: 1025px) {\n  .\\\\!container {\n    max-width: 1025px !important;\n  }\n\n  .container {\n    max-width: 1025px;\n  }\n}\n\n@media (min-width: 1280px) {\n  .\\\\!container {\n    max-width: 1280px !important;\n  }\n\n  .container {\n    max-width: 1280px;\n  }\n}\n\n@media (min-width: 2560px) {\n  .\\\\!container {\n    max-width: 2560px !important;\n  }\n\n  .container {\n    max-width: 2560px;\n  }\n}\n\n.sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.pointer-events-none {\n  pointer-events: none;\n}\n\n.pointer-events-auto {\n  pointer-events: auto;\n}\n\n.visible {\n  visibility: visible;\n}\n\n.invisible {\n  visibility: hidden;\n}\n\n.fixed {\n  position: fixed;\n}\n\n.absolute {\n  position: absolute;\n}\n\n.relative {\n  position: relative;\n}\n\n.inset-0 {\n  inset: 0rem;\n}\n\n.inset-x-0 {\n  left: 0rem;\n  right: 0rem;\n}\n\n.-right-4 {\n  right: -0.250rem;\n}\n\n.-top-4 {\n  top: -0.250rem;\n}\n\n.bottom-0 {\n  bottom: 0rem;\n}\n\n.bottom-10 {\n  bottom: 0.625rem;\n}\n\n.bottom-6 {\n  bottom: 0.375rem;\n}\n\n.bottom-8 {\n  bottom: 0.500rem;\n}\n\n.bottom-\\\\[var\\\\(--safe-area-inset-bottom\\\\)\\\\] {\n  bottom: var(--safe-area-inset-bottom);\n}\n\n.left-0 {\n  left: 0rem;\n}\n\n.left-1\\\\/2 {\n  left: 50%;\n}\n\n.left-10 {\n  left: 0.625rem;\n}\n\n.left-2 {\n  left: 0.125rem;\n}\n\n.left-4 {\n  left: 0.250rem;\n}\n\n.left-6 {\n  left: 0.375rem;\n}\n\n.left-8 {\n  left: 0.500rem;\n}\n\n.right-0 {\n  right: 0rem;\n}\n\n.right-10 {\n  right: 0.625rem;\n}\n\n.right-6 {\n  right: 0.375rem;\n}\n\n.top-0 {\n  top: 0rem;\n}\n\n.top-1\\\\/2 {\n  top: 50%;\n}\n\n.top-12 {\n  top: 0.750rem;\n}\n\n.top-2 {\n  top: 0.125rem;\n}\n\n.top-6 {\n  top: 0.375rem;\n}\n\n.top-8 {\n  top: 0.500rem;\n}\n\n.isolate {\n  isolation: isolate;\n}\n\n.-z-content-1 {\n  z-index: -20;\n}\n\n.z-\\\\[0\\\\] {\n  z-index: 0;\n}\n\n.z-\\\\[1\\\\] {\n  z-index: 1;\n}\n\n.z-content-1 {\n  z-index: 20;\n}\n\n.z-content-2 {\n  z-index: 40;\n}\n\n.z-mask {\n  z-index: 1000;\n}\n\n.z-mask-1 {\n  z-index: 3500;\n}\n\n.z-mask-2 {\n  z-index: 4500;\n}\n\n.z-mask-3 {\n  z-index: 5500;\n}\n\n.z-mask-4 {\n  z-index: 6500;\n}\n\n.z-mask-5 {\n  z-index: 7500;\n}\n\n.z-popup {\n  z-index: 3000;\n}\n\n.z-popup-1 {\n  z-index: 4000;\n}\n\n.z-popup-2 {\n  z-index: 5000;\n}\n\n.z-popup-3 {\n  z-index: 6000;\n}\n\n.z-popup-4 {\n  z-index: 7000;\n}\n\n.z-popup-5 {\n  z-index: 8000;\n}\n\n.z-snackbar {\n  z-index: 2147483647;\n}\n\n.float-right {\n  float: right;\n}\n\n.m-0 {\n  margin: 0rem;\n}\n\n.m-auto {\n  margin: auto;\n}\n\n.-my-14 {\n  margin-top: -0.875rem;\n  margin-bottom: -0.875rem;\n}\n\n.mx-10 {\n  margin-left: 0.625rem;\n  margin-right: 0.625rem;\n}\n\n.mx-18 {\n  margin-left: 1.125rem;\n  margin-right: 1.125rem;\n}\n\n.mx-20 {\n  margin-left: 1.250rem;\n  margin-right: 1.250rem;\n}\n\n.mx-4 {\n  margin-left: 0.250rem;\n  margin-right: 0.250rem;\n}\n\n.mx-\\\\[3px\\\\] {\n  margin-left: 3px;\n  margin-right: 3px;\n}\n\n.mx-auto {\n  margin-left: auto;\n  margin-right: auto;\n}\n\n.my-12 {\n  margin-top: 0.750rem;\n  margin-bottom: 0.750rem;\n}\n\n.my-4 {\n  margin-top: 0.250rem;\n  margin-bottom: 0.250rem;\n}\n\n.my-auto {\n  margin-top: auto;\n  margin-bottom: auto;\n}\n\n.-ml-12 {\n  margin-left: -0.750rem;\n}\n\n.-ml-16 {\n  margin-left: -1rem;\n}\n\n.-ml-20 {\n  margin-left: -1.250rem;\n}\n\n.-mr-16 {\n  margin-right: -1rem;\n}\n\n.-mr-2 {\n  margin-right: -0.125rem;\n}\n\n.-mt-12 {\n  margin-top: -0.750rem;\n}\n\n.-mt-20 {\n  margin-top: -1.250rem;\n}\n\n.mb-10 {\n  margin-bottom: 0.625rem;\n}\n\n.mb-12 {\n  margin-bottom: 0.750rem;\n}\n\n.mb-16 {\n  margin-bottom: 1rem;\n}\n\n.mb-2 {\n  margin-bottom: 0.125rem;\n}\n\n.mb-20 {\n  margin-bottom: 1.250rem;\n}\n\n.mb-40 {\n  margin-bottom: 2.500rem;\n}\n\n.mb-56 {\n  margin-bottom: 3.500rem;\n}\n\n.mb-6 {\n  margin-bottom: 0.375rem;\n}\n\n.mb-\\\\[max\\\\(var\\\\(--safe-area-inset-bottom\\\\)\\\\2c 0px\\\\)\\\\] {\n  margin-bottom: max(var(--safe-area-inset-bottom),0px);\n}\n\n.ml-0 {\n  margin-left: 0rem;\n}\n\n.ml-2 {\n  margin-left: 0.125rem;\n}\n\n.ml-\\\\[calc\\\\(2ch\\\\+4px\\\\)\\\\] {\n  margin-left: calc(2ch + 4px);\n}\n\n.ml-\\\\[calc\\\\(4ch\\\\+4px\\\\)\\\\] {\n  margin-left: calc(4ch + 4px);\n}\n\n.mr-0 {\n  margin-right: 0rem;\n}\n\n.mr-10 {\n  margin-right: 0.625rem;\n}\n\n.mr-2 {\n  margin-right: 0.125rem;\n}\n\n.mr-20 {\n  margin-right: 1.250rem;\n}\n\n.mr-6 {\n  margin-right: 0.375rem;\n}\n\n.mr-8 {\n  margin-right: 0.500rem;\n}\n\n.mt-20 {\n  margin-top: 1.250rem;\n}\n\n.mt-200 {\n  margin-top: 12.500rem;\n}\n\n.mt-4 {\n  margin-top: 0.250rem;\n}\n\n.mt-6 {\n  margin-top: 0.375rem;\n}\n\n.mt-60 {\n  margin-top: 3.750rem;\n}\n\n.mt-8 {\n  margin-top: 0.500rem;\n}\n\n.mt-auto {\n  margin-top: auto;\n}\n\n.line-clamp-1 {\n  overflow: hidden;\n  display: -webkit-box;\n  -webkit-box-orient: vertical;\n  -webkit-line-clamp: 1;\n}\n\n.line-clamp-2 {\n  overflow: hidden;\n  display: -webkit-box;\n  -webkit-box-orient: vertical;\n  -webkit-line-clamp: 2;\n}\n\n.block {\n  display: block;\n}\n\n.inline-block {\n  display: inline-block;\n}\n\n.inline {\n  display: inline;\n}\n\n.flex {\n  display: flex;\n}\n\n.inline-flex {\n  display: inline-flex;\n}\n\n.grid {\n  display: grid;\n}\n\n.inline-grid {\n  display: inline-grid;\n}\n\n.hidden {\n  display: none;\n}\n\n.aspect-\\\\[5\\\\/6\\\\] {\n  aspect-ratio: 5/6;\n}\n\n.aspect-square {\n  aspect-ratio: 1 / 1;\n}\n\n.size-2 {\n  width: 0.125rem;\n  height: 0.125rem;\n}\n\n.size-22 {\n  width: 1.375rem;\n  height: 1.375rem;\n}\n\n.size-24 {\n  width: 1.500rem;\n  height: 1.500rem;\n}\n\n.size-\\\\[11px\\\\] {\n  width: 11px;\n  height: 11px;\n}\n\n.size-\\\\[13px\\\\] {\n  width: 13px;\n  height: 13px;\n}\n\n.size-\\\\[7px\\\\] {\n  width: 7px;\n  height: 7px;\n}\n\n.h-0 {\n  height: 0rem;\n}\n\n.h-10 {\n  height: 0.625rem;\n}\n\n.h-100 {\n  height: 6.250rem;\n}\n\n.h-12 {\n  height: 0.750rem;\n}\n\n.h-14 {\n  height: 0.875rem;\n}\n\n.h-16 {\n  height: 1rem;\n}\n\n.h-18 {\n  height: 1.125rem;\n}\n\n.h-2 {\n  height: 0.125rem;\n}\n\n.h-20 {\n  height: 1.250rem;\n}\n\n.h-200 {\n  height: 12.500rem;\n}\n\n.h-2000 {\n  height: 125rem;\n}\n\n.h-22 {\n  height: 1.375rem;\n}\n\n.h-24 {\n  height: 1.500rem;\n}\n\n.h-28 {\n  height: 1.750rem;\n}\n\n.h-32 {\n  height: 2rem;\n}\n\n.h-36 {\n  height: 2.250rem;\n}\n\n.h-40 {\n  height: 2.500rem;\n}\n\n.h-44 {\n  height: 2.750rem;\n}\n\n.h-48 {\n  height: 3rem;\n}\n\n.h-52 {\n  height: 3.250rem;\n}\n\n.h-6 {\n  height: 0.375rem;\n}\n\n.h-72 {\n  height: 4.500rem;\n}\n\n.h-8 {\n  height: 0.500rem;\n}\n\n.h-90 {\n  height: 5.625rem;\n}\n\n.h-92 {\n  height: 5.750rem;\n}\n\n.h-\\\\[1\\\\.5px\\\\] {\n  height: 1.5px;\n}\n\n.h-\\\\[100dvh\\\\] {\n  height: 100dvh;\n}\n\n.h-\\\\[13px\\\\] {\n  height: 13px;\n}\n\n.h-\\\\[2\\\\.5px\\\\] {\n  height: 2.5px;\n}\n\n.h-\\\\[20ch\\\\] {\n  height: 20ch;\n}\n\n.h-\\\\[300px\\\\] {\n  height: 300px;\n}\n\n.h-\\\\[44px\\\\] {\n  height: 44px;\n}\n\n.h-\\\\[52px\\\\] {\n  height: 52px;\n}\n\n.h-\\\\[inherit\\\\] {\n  height: inherit;\n}\n\n.h-fit {\n  height: -moz-fit-content;\n  height: fit-content;\n}\n\n.h-full {\n  height: 100%;\n}\n\n.h-screen {\n  height: 100vh;\n}\n\n.max-h-\\\\[100dvh\\\\] {\n  max-height: 100dvh;\n}\n\n.max-h-\\\\[calc\\\\(100dvh-20px\\\\)\\\\] {\n  max-height: calc(100dvh - 20px);\n}\n\n.max-h-full {\n  max-height: 100%;\n}\n\n.min-h-16 {\n  min-height: 1rem;\n}\n\n.min-h-20 {\n  min-height: 1.250rem;\n}\n\n.min-h-24 {\n  min-height: 1.500rem;\n}\n\n.min-h-70 {\n  min-height: 4.375rem;\n}\n\n.min-h-96 {\n  min-height: 6rem;\n}\n\n.min-h-\\\\[1ch\\\\] {\n  min-height: 1ch;\n}\n\n.min-h-\\\\[44px\\\\] {\n  min-height: 44px;\n}\n\n.min-h-\\\\[52px\\\\] {\n  min-height: 52px;\n}\n\n.w-0 {\n  width: 0rem;\n}\n\n.w-1\\\\/2 {\n  width: 50%;\n}\n\n.w-1\\\\/4 {\n  width: 25%;\n}\n\n.w-1\\\\/7 {\n  width: 14.285714%;\n}\n\n.w-10 {\n  width: 0.625rem;\n}\n\n.w-100 {\n  width: 6.250rem;\n}\n\n.w-12 {\n  width: 0.750rem;\n}\n\n.w-120 {\n  width: 7.500rem;\n}\n\n.w-128 {\n  width: 8rem;\n}\n\n.w-14 {\n  width: 0.875rem;\n}\n\n.w-150 {\n  width: 9.375rem;\n}\n\n.w-16 {\n  width: 1rem;\n}\n\n.w-160 {\n  width: 10rem;\n}\n\n.w-170 {\n  width: 10.625rem;\n}\n\n.w-18 {\n  width: 1.125rem;\n}\n\n.w-2 {\n  width: 0.125rem;\n}\n\n.w-20 {\n  width: 1.250rem;\n}\n\n.w-200 {\n  width: 12.500rem;\n}\n\n.w-22 {\n  width: 1.375rem;\n}\n\n.w-24 {\n  width: 1.500rem;\n}\n\n.w-28 {\n  width: 1.750rem;\n}\n\n.w-300 {\n  width: 18.750rem;\n}\n\n.w-32 {\n  width: 2rem;\n}\n\n.w-320 {\n  width: 20rem;\n}\n\n.w-36 {\n  width: 2.250rem;\n}\n\n.w-360 {\n  width: 22.500rem;\n}\n\n.w-38 {\n  width: 2.375rem;\n}\n\n.w-40 {\n  width: 2.500rem;\n}\n\n.w-400 {\n  width: 25rem;\n}\n\n.w-44 {\n  width: 2.750rem;\n}\n\n.w-52 {\n  width: 3.250rem;\n}\n\n.w-70 {\n  width: 4.375rem;\n}\n\n.w-72 {\n  width: 4.500rem;\n}\n\n.w-8 {\n  width: 0.500rem;\n}\n\n.w-80 {\n  width: 5rem;\n}\n\n.w-\\\\[1\\\\.5px\\\\] {\n  width: 1.5px;\n}\n\n.w-\\\\[13px\\\\] {\n  width: 13px;\n}\n\n.w-\\\\[16px\\\\] {\n  width: 16px;\n}\n\n.w-\\\\[20px\\\\] {\n  width: 20px;\n}\n\n.w-\\\\[295px\\\\] {\n  width: 295px;\n}\n\n.w-\\\\[36px\\\\] {\n  width: 36px;\n}\n\n.w-\\\\[390px\\\\] {\n  width: 390px;\n}\n\n.w-\\\\[44px\\\\] {\n  width: 44px;\n}\n\n.w-\\\\[52px\\\\] {\n  width: 52px;\n}\n\n.w-\\\\[6\\\\.5ch\\\\] {\n  width: 6.5ch;\n}\n\n.w-\\\\[calc\\\\(100\\\\%-8px\\\\)\\\\] {\n  width: calc(100% - 8px);\n}\n\n.w-\\\\[inherit\\\\] {\n  width: inherit;\n}\n\n.w-auto {\n  width: auto;\n}\n\n.w-full {\n  width: 100%;\n}\n\n.w-max {\n  width: -moz-max-content;\n  width: max-content;\n}\n\n.w-screen {\n  width: 100vw;\n}\n\n.min-w-0 {\n  min-width: 0rem;\n}\n\n.min-w-16 {\n  min-width: 1rem;\n}\n\n.min-w-20 {\n  min-width: 1.250rem;\n}\n\n.min-w-212 {\n  min-width: 13.250rem;\n}\n\n.min-w-24 {\n  min-width: 1.500rem;\n}\n\n.min-w-56 {\n  min-width: 3.500rem;\n}\n\n.min-w-\\\\[2ch\\\\] {\n  min-width: 2ch;\n}\n\n.min-w-\\\\[335px\\\\] {\n  min-width: 335px;\n}\n\n.min-w-\\\\[44px\\\\] {\n  min-width: 44px;\n}\n\n.min-w-\\\\[52px\\\\] {\n  min-width: 52px;\n}\n\n.min-w-\\\\[600px\\\\] {\n  min-width: 600px;\n}\n\n.min-w-\\\\[60px\\\\] {\n  min-width: 60px;\n}\n\n.min-w-\\\\[66px\\\\] {\n  min-width: 66px;\n}\n\n.min-w-\\\\[84px\\\\] {\n  min-width: 84px;\n}\n\n.min-w-\\\\[88px\\\\] {\n  min-width: 88px;\n}\n\n.min-w-fit {\n  min-width: -moz-fit-content;\n  min-width: fit-content;\n}\n\n.min-w-full {\n  min-width: 100%;\n}\n\n.min-w-min {\n  min-width: -moz-min-content;\n  min-width: min-content;\n}\n\n.max-w-120 {\n  max-width: 7.500rem;\n}\n\n.max-w-460 {\n  max-width: 28.750rem;\n}\n\n.max-w-700 {\n  max-width: 43.750rem;\n}\n\n.max-w-\\\\[100px\\\\] {\n  max-width: 100px;\n}\n\n.max-w-\\\\[400px\\\\] {\n  max-width: 400px;\n}\n\n.max-w-\\\\[480px\\\\] {\n  max-width: 480px;\n}\n\n.max-w-full {\n  max-width: 100%;\n}\n\n.flex-1 {\n  flex: 1 1 0%;\n}\n\n.flex-none {\n  flex: none;\n}\n\n.flex-shrink-0 {\n  flex-shrink: 0;\n}\n\n.shrink-0 {\n  flex-shrink: 0;\n}\n\n.flex-grow {\n  flex-grow: 1;\n}\n\n.grow {\n  flex-grow: 1;\n}\n\n.grow-0 {\n  flex-grow: 0;\n}\n\n.translate-x-0 {\n  --tw-translate-x: 0rem;\n  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.translate-x-16 {\n  --tw-translate-x: 1rem;\n  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.rotate-0 {\n  --tw-rotate: 0deg;\n  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.rotate-180 {\n  --tw-rotate: 180deg;\n  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.transform {\n  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.cursor-grab {\n  cursor: grab;\n}\n\n.cursor-not-allowed {\n  cursor: not-allowed;\n}\n\n.cursor-pointer {\n  cursor: pointer;\n}\n\n.touch-none {\n  touch-action: none;\n}\n\n.select-none {\n  -webkit-user-select: none;\n     -moz-user-select: none;\n          user-select: none;\n}\n\n.resize-none {\n  resize: none;\n}\n\n.list-none {\n  list-style-type: none;\n}\n\n.auto-cols-fr {\n  grid-auto-columns: minmax(0, 1fr);\n}\n\n.grid-flow-row {\n  grid-auto-flow: row;\n}\n\n.grid-flow-col {\n  grid-auto-flow: column;\n}\n\n.grid-cols-1 {\n  grid-template-columns: repeat(1, minmax(0, 1fr));\n}\n\n.grid-cols-2 {\n  grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n\n.grid-cols-3 {\n  grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n\n.grid-cols-4 {\n  grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n.grid-rows-\\\\[0fr\\\\] {\n  grid-template-rows: 0fr;\n}\n\n.grid-rows-\\\\[1fr\\\\] {\n  grid-template-rows: 1fr;\n}\n\n.flex-row {\n  flex-direction: row;\n}\n\n.flex-row-reverse {\n  flex-direction: row-reverse;\n}\n\n.flex-col {\n  flex-direction: column;\n}\n\n.flex-col-reverse {\n  flex-direction: column-reverse;\n}\n\n.flex-wrap {\n  flex-wrap: wrap;\n}\n\n.place-items-start {\n  place-items: start;\n}\n\n.place-items-center {\n  place-items: center;\n}\n\n.place-items-stretch {\n  place-items: stretch;\n}\n\n.content-start {\n  align-content: flex-start;\n}\n\n.content-between {\n  align-content: space-between;\n}\n\n.content-baseline {\n  align-content: baseline;\n}\n\n.items-start {\n  align-items: flex-start;\n}\n\n.items-end {\n  align-items: flex-end;\n}\n\n.items-center {\n  align-items: center;\n}\n\n.justify-start {\n  justify-content: flex-start;\n}\n\n.justify-end {\n  justify-content: flex-end;\n}\n\n.justify-center {\n  justify-content: center;\n}\n\n.justify-between {\n  justify-content: space-between;\n}\n\n.justify-around {\n  justify-content: space-around;\n}\n\n.justify-evenly {\n  justify-content: space-evenly;\n}\n\n.gap-0 {\n  gap: 0rem;\n}\n\n.gap-10 {\n  gap: 0.625rem;\n}\n\n.gap-12 {\n  gap: 0.750rem;\n}\n\n.gap-14 {\n  gap: 0.875rem;\n}\n\n.gap-16 {\n  gap: 1rem;\n}\n\n.gap-2 {\n  gap: 0.125rem;\n}\n\n.gap-20 {\n  gap: 1.250rem;\n}\n\n.gap-24 {\n  gap: 1.500rem;\n}\n\n.gap-30 {\n  gap: 1.875rem;\n}\n\n.gap-32 {\n  gap: 2rem;\n}\n\n.gap-4 {\n  gap: 0.250rem;\n}\n\n.gap-40 {\n  gap: 2.500rem;\n}\n\n.gap-6 {\n  gap: 0.375rem;\n}\n\n.gap-8 {\n  gap: 0.500rem;\n}\n\n.gap-\\\\[3px\\\\] {\n  gap: 3px;\n}\n\n.gap-x-10 {\n  -moz-column-gap: 0.625rem;\n       column-gap: 0.625rem;\n}\n\n.gap-x-16 {\n  -moz-column-gap: 1rem;\n       column-gap: 1rem;\n}\n\n.gap-x-4 {\n  -moz-column-gap: 0.250rem;\n       column-gap: 0.250rem;\n}\n\n.gap-x-\\\\[3px\\\\] {\n  -moz-column-gap: 3px;\n       column-gap: 3px;\n}\n\n.gap-y-10 {\n  row-gap: 0.625rem;\n}\n\n.gap-y-16 {\n  row-gap: 1rem;\n}\n\n.gap-y-4 {\n  row-gap: 0.250rem;\n}\n\n.space-x-2 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-x-reverse: 0;\n  margin-right: calc(0.125rem * var(--tw-space-x-reverse));\n  margin-left: calc(0.125rem * calc(1 - var(--tw-space-x-reverse)));\n}\n\n.space-x-4 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-x-reverse: 0;\n  margin-right: calc(0.250rem * var(--tw-space-x-reverse));\n  margin-left: calc(0.250rem * calc(1 - var(--tw-space-x-reverse)));\n}\n\n.space-y-0 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0rem * var(--tw-space-y-reverse));\n}\n\n.space-y-10 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.625rem * var(--tw-space-y-reverse));\n}\n\n.space-y-12 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.750rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.750rem * var(--tw-space-y-reverse));\n}\n\n.space-y-2 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.125rem * var(--tw-space-y-reverse));\n}\n\n.space-y-30 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(1.875rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(1.875rem * var(--tw-space-y-reverse));\n}\n\n.space-y-4 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.250rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.250rem * var(--tw-space-y-reverse));\n}\n\n.space-y-6 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));\n}\n\n.space-y-8 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.500rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.500rem * var(--tw-space-y-reverse));\n}\n\n.divide-y-2 > :not([hidden]) ~ :not([hidden]) {\n  --tw-divide-y-reverse: 0;\n  border-top-width: calc(2px * calc(1 - var(--tw-divide-y-reverse)));\n  border-bottom-width: calc(2px * var(--tw-divide-y-reverse));\n}\n\n.self-start {\n  align-self: flex-start;\n}\n\n.self-center {\n  align-self: center;\n}\n\n.justify-self-end {\n  justify-self: end;\n}\n\n.overflow-hidden {\n  overflow: hidden;\n}\n\n.overflow-clip {\n  overflow: clip;\n}\n\n.overflow-visible {\n  overflow: visible;\n}\n\n.overflow-x-auto {\n  overflow-x: auto;\n}\n\n.overflow-y-auto {\n  overflow-y: auto;\n}\n\n.overscroll-none {\n  overscroll-behavior: none;\n}\n\n.truncate {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.overflow-ellipsis {\n  text-overflow: ellipsis;\n}\n\n.text-ellipsis {\n  text-overflow: ellipsis;\n}\n\n.whitespace-normal {\n  white-space: normal;\n}\n\n.whitespace-nowrap {\n  white-space: nowrap;\n}\n\n.whitespace-pre {\n  white-space: pre;\n}\n\n.whitespace-pre-line {\n  white-space: pre-line;\n}\n\n.whitespace-pre-wrap {\n  white-space: pre-wrap;\n}\n\n.break-normal {\n  overflow-wrap: normal;\n  word-break: normal;\n}\n\n.break-words {\n  overflow-wrap: break-word;\n}\n\n.break-all {\n  word-break: break-all;\n}\n\n.break-keep {\n  word-break: keep-all;\n}\n\n.rounded-0 {\n  border-radius: 0px;\n}\n\n.rounded-16 {\n  border-radius: 16px;\n}\n\n.rounded-2 {\n  border-radius: 2px;\n}\n\n.rounded-4 {\n  border-radius: 4px;\n}\n\n.rounded-6 {\n  border-radius: 6px;\n}\n\n.rounded-8 {\n  border-radius: 8px;\n}\n\n.rounded-\\\\[0\\\\.5rem\\\\] {\n  border-radius: 0.5rem;\n}\n\n.rounded-\\\\[10px\\\\] {\n  border-radius: 10px;\n}\n\n.rounded-\\\\[2\\\\.5px\\\\] {\n  border-radius: 2.5px;\n}\n\n.rounded-\\\\[7px\\\\] {\n  border-radius: 7px;\n}\n\n.rounded-full {\n  border-radius: 9999px;\n}\n\n.rounded-b-0 {\n  border-bottom-right-radius: 0px;\n  border-bottom-left-radius: 0px;\n}\n\n.rounded-l-2 {\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\n\n.rounded-t-0 {\n  border-top-left-radius: 0px;\n  border-top-right-radius: 0px;\n}\n\n.rounded-t-20 {\n  border-top-left-radius: 20px;\n  border-top-right-radius: 20px;\n}\n\n.border {\n  border-width: 1px;\n}\n\n.border-0 {\n  border-width: 0;\n}\n\n.border-2 {\n  border-width: 2px;\n}\n\n.border-4 {\n  border-width: 4px;\n}\n\n.border-6 {\n  border-width: 6px;\n}\n\n.border-b {\n  border-bottom-width: 1px;\n}\n\n.border-l {\n  border-left-width: 1px;\n}\n\n.border-t {\n  border-top-width: 1px;\n}\n\n.border-solid {\n  border-style: solid;\n}\n\n.border-dashed {\n  border-style: dashed;\n}\n\n.border-none {\n  border-style: none;\n}\n\n.border-\\\\[\\\\#ffffffad\\\\] {\n  border-color: #ffffffad;\n}\n\n.border-black-alpha-200 {\n  border-color: #00000021;\n}\n\n.border-divider {\n  border-color: #0000000f;\n}\n\n.border-gray-200 {\n  --tw-border-opacity: 1;\n  border-color: rgb(221 221 221 / var(--tw-border-opacity, 1));\n}\n\n.border-gray-400 {\n  --tw-border-opacity: 1;\n  border-color: rgb(180 180 180 / var(--tw-border-opacity, 1));\n}\n\n.border-line {\n  --tw-border-opacity: 1;\n  border-color: rgb(221 221 221 / var(--tw-border-opacity, 1));\n}\n\n.border-line-dark {\n  --tw-border-opacity: 1;\n  border-color: rgb(49 49 49 / var(--tw-border-opacity, 1));\n}\n\n.border-line-disabled {\n  border-color: #00000021;\n}\n\n.border-line-selected {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.border-negative {\n  --tw-border-opacity: 1;\n  border-color: rgb(173 7 0 / var(--tw-border-opacity, 1));\n}\n\n.border-on-black {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.bg-\\\\[\\\\#19191a\\\\] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(25 25 26 / var(--tw-bg-opacity, 1));\n}\n\n.bg-\\\\[\\\\#1c1c1c\\\\] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(28 28 28 / var(--tw-bg-opacity, 1));\n}\n\n.bg-\\\\[\\\\#1f1f1f\\\\] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(31 31 31 / var(--tw-bg-opacity, 1));\n}\n\n.bg-\\\\[\\\\#5D5D5D80\\\\] {\n  background-color: #5D5D5D80;\n}\n\n.bg-\\\\[\\\\#5d5d5d14\\\\] {\n  background-color: #5d5d5d14;\n}\n\n.bg-\\\\[\\\\#FFA229\\\\] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 162 41 / var(--tw-bg-opacity, 1));\n}\n\n.bg-\\\\[\\\\#f4f4f414\\\\] {\n  background-color: #f4f4f414;\n}\n\n.bg-\\\\[\\\\#f7f7f7\\\\] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(247 247 247 / var(--tw-bg-opacity, 1));\n}\n\n.bg-\\\\[\\\\#ffffffe3\\\\] {\n  background-color: #ffffffe3;\n}\n\n.bg-accent-low {\n  background-color: #ff480014;\n}\n\n.bg-accent-low-dark {\n  background-color: #ffc3b014;\n}\n\n.bg-black {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.bg-black\\\\/20 {\n  background-color: rgb(0 0 0 / 0.2);\n}\n\n.bg-blue-100 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(235 241 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-blue-200 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(184 205 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-blue-300 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(134 165 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-default-black {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.bg-dimmed {\n  background-color: #00000094;\n}\n\n.bg-disabled {\n  --tw-bg-opacity: 1;\n  background-color: rgb(232 232 232 / var(--tw-bg-opacity, 1));\n}\n\n.bg-gray-100 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(240 240 240 / var(--tw-bg-opacity, 1));\n}\n\n.bg-gray-200 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(221 221 221 / var(--tw-bg-opacity, 1));\n}\n\n.bg-gray-300 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(204 204 204 / var(--tw-bg-opacity, 1));\n}\n\n.bg-gray-400 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(180 180 180 / var(--tw-bg-opacity, 1));\n}\n\n.bg-gray-500 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(158 158 158 / var(--tw-bg-opacity, 1));\n}\n\n.bg-gray-alpha-100 {\n  background-color: #0000000f;\n}\n\n.bg-gray-alpha-100-dark {\n  background-color: #ffffff1c;\n}\n\n.bg-gray-alpha-700 {\n  background-color: #00000094;\n}\n\n.bg-green-200 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(194 238 178 / var(--tw-bg-opacity, 1));\n}\n\n.bg-inherit {\n  background-color: inherit;\n}\n\n.bg-interactive {\n  --tw-bg-opacity: 1;\n  background-color: rgb(55 95 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-interactive-dark {\n  --tw-bg-opacity: 1;\n  background-color: rgb(30 60 242 / var(--tw-bg-opacity, 1));\n}\n\n.bg-interactive-low {\n  background-color: #345fff14;\n}\n\n.bg-interactive-low-dark {\n  background-color: #bdd1ff14;\n}\n\n.bg-low {\n  --tw-bg-opacity: 1;\n  background-color: rgb(247 247 247 / var(--tw-bg-opacity, 1));\n}\n\n.bg-negative {\n  --tw-bg-opacity: 1;\n  background-color: rgb(173 7 0 / var(--tw-bg-opacity, 1));\n}\n\n.bg-negative-dark {\n  --tw-bg-opacity: 1;\n  background-color: rgb(204 20 20 / var(--tw-bg-opacity, 1));\n}\n\n.bg-negative-low {\n  background-color: #cc141414;\n}\n\n.bg-negative-low-dark {\n  background-color: #ad070014;\n}\n\n.bg-on-black {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.bg-on-white {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-on-white\\\\/40 {\n  background-color: rgb(255 255 255 / 0.4);\n}\n\n.bg-positive {\n  --tw-bg-opacity: 1;\n  background-color: rgb(18 186 35 / var(--tw-bg-opacity, 1));\n}\n\n.bg-positive-dark {\n  --tw-bg-opacity: 1;\n  background-color: rgb(18 158 20 / var(--tw-bg-opacity, 1));\n}\n\n.bg-positive-low {\n  background-color: #16ba2214;\n}\n\n.bg-positive-low-dark {\n  background-color: #86dd7514;\n}\n\n.bg-primary {\n  --tw-bg-opacity: 1;\n  background-color: rgb(31 31 31 / var(--tw-bg-opacity, 1));\n}\n\n.bg-primary-dark {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.bg-primary-pressed {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.bg-red-100 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 239 235 / var(--tw-bg-opacity, 1));\n}\n\n.bg-red-200 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 191 170 / var(--tw-bg-opacity, 1));\n}\n\n.bg-silent {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-silent-dark {\n  --tw-bg-opacity: 1;\n  background-color: rgb(12 12 12 / var(--tw-bg-opacity, 1));\n}\n\n.bg-silent-pressed {\n  --tw-bg-opacity: 1;\n  background-color: rgb(240 240 240 / var(--tw-bg-opacity, 1));\n}\n\n.bg-surface-contents {\n  --tw-bg-opacity: 1;\n  background-color: rgb(247 247 247 / var(--tw-bg-opacity, 1));\n}\n\n.bg-tertiary {\n  --tw-bg-opacity: 1;\n  background-color: rgb(240 240 240 / var(--tw-bg-opacity, 1));\n}\n\n.bg-tertiary-dark {\n  --tw-bg-opacity: 1;\n  background-color: rgb(28 28 28 / var(--tw-bg-opacity, 1));\n}\n\n.bg-text-disabled {\n  --tw-bg-opacity: 1;\n  background-color: rgb(180 180 180 / var(--tw-bg-opacity, 1));\n}\n\n.bg-text-on-color {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-transparent {\n  background-color: transparent;\n}\n\n.bg-white {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-white-alpha-500 {\n  background-color: #ffffff61;\n}\n\n.bg-yellow-300 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 201 127 / var(--tw-bg-opacity, 1));\n}\n\n.bg-\\\\[url\\\\(\\\\'https\\\\:\\\\/\\\\/img\\\\.29cm\\\\.co\\\\.kr\\\\/item\\\\/202406\\\\/11ef279f38bf50efbb1425c2a91deafe\\\\.jpg\\\\?width\\\\=600\\\\'\\\\)\\\\] {\n  background-image: url('https://img.29cm.co.kr/item/202406/11ef279f38bf50efbb1425c2a91deafe.jpg?width=600');\n}\n\n.bg-gradient-to-b {\n  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));\n}\n\n.from-\\\\[\\\\#759ab3\\\\] {\n  --tw-gradient-from: #759ab3 var(--tw-gradient-from-position);\n  --tw-gradient-to: rgb(117 154 179 / 0) var(--tw-gradient-to-position);\n  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.from-10\\\\% {\n  --tw-gradient-from-position: 10%;\n}\n\n.to-\\\\[\\\\#d4ccc2\\\\] {\n  --tw-gradient-to: #d4ccc2 var(--tw-gradient-to-position);\n}\n\n.bg-cover {\n  background-size: cover;\n}\n\n.fill-black {\n  fill: #000000;\n}\n\n.fill-inherit {\n  fill: inherit;\n}\n\n.fill-white {\n  fill: #ffffff;\n}\n\n.object-cover {\n  object-fit: cover;\n}\n\n.p-0 {\n  padding: 0rem;\n}\n\n.p-10 {\n  padding: 0.625rem;\n}\n\n.p-12 {\n  padding: 0.750rem;\n}\n\n.p-14 {\n  padding: 0.875rem;\n}\n\n.p-16 {\n  padding: 1rem;\n}\n\n.p-2 {\n  padding: 0.125rem;\n}\n\n.p-20 {\n  padding: 1.250rem;\n}\n\n.p-4 {\n  padding: 0.250rem;\n}\n\n.p-6 {\n  padding: 0.375rem;\n}\n\n.p-8 {\n  padding: 0.500rem;\n}\n\n.px-0 {\n  padding-left: 0rem;\n  padding-right: 0rem;\n}\n\n.px-10 {\n  padding-left: 0.625rem;\n  padding-right: 0.625rem;\n}\n\n.px-12 {\n  padding-left: 0.750rem;\n  padding-right: 0.750rem;\n}\n\n.px-16 {\n  padding-left: 1rem;\n  padding-right: 1rem;\n}\n\n.px-18 {\n  padding-left: 1.125rem;\n  padding-right: 1.125rem;\n}\n\n.px-20 {\n  padding-left: 1.250rem;\n  padding-right: 1.250rem;\n}\n\n.px-4 {\n  padding-left: 0.250rem;\n  padding-right: 0.250rem;\n}\n\n.px-6 {\n  padding-left: 0.375rem;\n  padding-right: 0.375rem;\n}\n\n.px-8 {\n  padding-left: 0.500rem;\n  padding-right: 0.500rem;\n}\n\n.px-\\\\[5px\\\\] {\n  padding-left: 5px;\n  padding-right: 5px;\n}\n\n.px-\\\\[7px\\\\] {\n  padding-left: 7px;\n  padding-right: 7px;\n}\n\n.px-\\\\[9px\\\\] {\n  padding-left: 9px;\n  padding-right: 9px;\n}\n\n.py-0 {\n  padding-top: 0rem;\n  padding-bottom: 0rem;\n}\n\n.py-10 {\n  padding-top: 0.625rem;\n  padding-bottom: 0.625rem;\n}\n\n.py-100 {\n  padding-top: 6.250rem;\n  padding-bottom: 6.250rem;\n}\n\n.py-12 {\n  padding-top: 0.750rem;\n  padding-bottom: 0.750rem;\n}\n\n.py-14 {\n  padding-top: 0.875rem;\n  padding-bottom: 0.875rem;\n}\n\n.py-16 {\n  padding-top: 1rem;\n  padding-bottom: 1rem;\n}\n\n.py-2 {\n  padding-top: 0.125rem;\n  padding-bottom: 0.125rem;\n}\n\n.py-24 {\n  padding-top: 1.500rem;\n  padding-bottom: 1.500rem;\n}\n\n.py-4 {\n  padding-top: 0.250rem;\n  padding-bottom: 0.250rem;\n}\n\n.py-50 {\n  padding-top: 3.125rem;\n  padding-bottom: 3.125rem;\n}\n\n.py-6 {\n  padding-top: 0.375rem;\n  padding-bottom: 0.375rem;\n}\n\n.py-8 {\n  padding-top: 0.500rem;\n  padding-bottom: 0.500rem;\n}\n\n.py-\\\\[1px\\\\] {\n  padding-top: 1px;\n  padding-bottom: 1px;\n}\n\n.pb-10 {\n  padding-bottom: 0.625rem;\n}\n\n.pb-16 {\n  padding-bottom: 1rem;\n}\n\n.pb-20 {\n  padding-bottom: 1.250rem;\n}\n\n.pb-4 {\n  padding-bottom: 0.250rem;\n}\n\n.pb-8 {\n  padding-bottom: 0.500rem;\n}\n\n.pb-\\\\[max\\\\(var\\\\(--safe-area-inset-bottom\\\\)\\\\2c 12px\\\\)\\\\] {\n  padding-bottom: max(var(--safe-area-inset-bottom),12px);\n}\n\n.pl-10 {\n  padding-left: 0.625rem;\n}\n\n.pl-12 {\n  padding-left: 0.750rem;\n}\n\n.pl-14 {\n  padding-left: 0.875rem;\n}\n\n.pl-20 {\n  padding-left: 1.250rem;\n}\n\n.pl-4 {\n  padding-left: 0.250rem;\n}\n\n.pl-6 {\n  padding-left: 0.375rem;\n}\n\n.pl-8 {\n  padding-left: 0.500rem;\n}\n\n.pl-\\\\[3px\\\\] {\n  padding-left: 3px;\n}\n\n.pl-\\\\[5px\\\\] {\n  padding-left: 5px;\n}\n\n.pr-16 {\n  padding-right: 1rem;\n}\n\n.pr-30 {\n  padding-right: 1.875rem;\n}\n\n.pr-4 {\n  padding-right: 0.250rem;\n}\n\n.pr-40 {\n  padding-right: 2.500rem;\n}\n\n.pr-50 {\n  padding-right: 3.125rem;\n}\n\n.pr-6 {\n  padding-right: 0.375rem;\n}\n\n.pr-8 {\n  padding-right: 0.500rem;\n}\n\n.pr-\\\\[27px\\\\] {\n  padding-right: 27px;\n}\n\n.pr-\\\\[3px\\\\] {\n  padding-right: 3px;\n}\n\n.pr-\\\\[calc\\\\(1ch\\\\+4px\\\\)\\\\] {\n  padding-right: calc(1ch + 4px);\n}\n\n.pt-0 {\n  padding-top: 0rem;\n}\n\n.pt-10 {\n  padding-top: 0.625rem;\n}\n\n.pt-16 {\n  padding-top: 1rem;\n}\n\n.pt-2 {\n  padding-top: 0.125rem;\n}\n\n.pt-24 {\n  padding-top: 1.500rem;\n}\n\n.pt-32 {\n  padding-top: 2rem;\n}\n\n.pt-40 {\n  padding-top: 2.500rem;\n}\n\n.pt-6 {\n  padding-top: 0.375rem;\n}\n\n.pt-8 {\n  padding-top: 0.500rem;\n}\n\n.text-left {\n  text-align: left;\n}\n\n.text-center {\n  text-align: center;\n}\n\n.text-right {\n  text-align: right;\n}\n\n.align-baseline {\n  vertical-align: baseline;\n}\n\n.align-middle {\n  vertical-align: middle;\n}\n\n.align-\\\\[unset\\\\] {\n  vertical-align: unset;\n}\n\n.text-l {\n  font-size: 14px;\n  line-height: 140%;\n  font-weight: 400;\n}\n\n.text-l-bold {\n  font-size: 14px;\n  line-height: 140%;\n  font-weight: 700;\n}\n\n.text-l-medium {\n  font-size: 14px;\n  line-height: 140%;\n  font-weight: 500;\n}\n\n.text-m {\n  font-size: 13px;\n  line-height: 140%;\n  font-weight: 400;\n}\n\n.text-m-bold {\n  font-size: 13px;\n  line-height: 140%;\n  font-weight: 700;\n}\n\n.text-m-medium {\n  font-size: 13px;\n  line-height: 140%;\n  font-weight: 500;\n}\n\n.text-s {\n  font-size: 12px;\n  line-height: 136%;\n  font-weight: 400;\n}\n\n.text-s-bold {\n  font-size: 12px;\n  line-height: 136%;\n  font-weight: 700;\n}\n\n.text-s-medium {\n  font-size: 12px;\n  line-height: 136%;\n  font-weight: 500;\n}\n\n.text-title-m-bold {\n  font-size: 22px;\n  line-height: 136%;\n  font-weight: 700;\n}\n\n.text-title-s-bold {\n  font-size: 20px;\n  line-height: 136%;\n  font-weight: 700;\n}\n\n.text-title-s-medium {\n  font-size: 20px;\n  line-height: 136%;\n  font-weight: 500;\n}\n\n.text-title-xs {\n  font-size: 18px;\n  line-height: 136%;\n  font-weight: 400;\n}\n\n.text-title-xs-bold {\n  font-size: 18px;\n  line-height: 136%;\n  font-weight: 700;\n}\n\n.text-title-xs-medium {\n  font-size: 18px;\n  line-height: 136%;\n  font-weight: 500;\n}\n\n.text-title-xxl {\n  font-size: 30px;\n  line-height: 136%;\n  font-weight: 400;\n}\n\n.text-xl {\n  font-size: 15px;\n  line-height: 150%;\n  font-weight: 400;\n}\n\n.text-xl-bold {\n  font-size: 15px;\n  line-height: 150%;\n  font-weight: 700;\n}\n\n.text-xs {\n  font-size: 11px;\n  line-height: 136%;\n  font-weight: 400;\n}\n\n.text-xs-bold {\n  font-size: 11px;\n  line-height: 136%;\n  font-weight: 700;\n}\n\n.text-xs-medium {\n  font-size: 11px;\n  line-height: 136%;\n  font-weight: 500;\n}\n\n.text-xxl {\n  font-size: 16px;\n  line-height: 140%;\n  font-weight: 400;\n}\n\n.text-xxl-bold {\n  font-size: 16px;\n  line-height: 140%;\n  font-weight: 700;\n}\n\n.text-xxl-medium {\n  font-size: 16px;\n  line-height: 140%;\n  font-weight: 500;\n}\n\n.text-xxs {\n  font-size: 10px;\n  line-height: 120%;\n  font-weight: 400;\n}\n\n.text-xxs-bold {\n  font-size: 10px;\n  line-height: 120%;\n  font-weight: 700;\n}\n\n.text-xxs-medium {\n  font-size: 10px;\n  line-height: 120%;\n  font-weight: 500;\n}\n\n.font-bold {\n  font-weight: 700;\n}\n\n.font-extrabold {\n  font-weight: 800;\n}\n\n.font-medium {\n  font-weight: 500;\n}\n\n.font-normal {\n  font-weight: 400;\n}\n\n.font-semibold {\n  font-weight: 600;\n}\n\n.italic {\n  font-style: italic;\n}\n\n.tabular-nums {\n  --tw-numeric-spacing: tabular-nums;\n  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n.text-\\\\[\\\\#0c0c0c\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(12 12 12 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#1f1f1f\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(31 31 31 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#303033\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(48 48 51 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#474747\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(71 71 71 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#6a6a6a\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(106 106 106 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#9f9f9f\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(159 159 159 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#A0A0A0\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(160 160 160 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#adadad\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(173 173 173 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#f4f4f4cc\\\\] {\n  color: #f4f4f4cc;\n}\n\n.text-\\\\[rgba\\\\(244\\\\2c 244\\\\2c 244\\\\2c 0\\\\.54\\\\)\\\\] {\n  color: rgba(244,244,244,0.54);\n}\n\n.text-accent {\n  --tw-text-opacity: 1;\n  color: rgb(255 72 0 / var(--tw-text-opacity, 1));\n}\n\n.text-accent-dark {\n  --tw-text-opacity: 1;\n  color: rgb(213 62 0 / var(--tw-text-opacity, 1));\n}\n\n.text-black-alpha-500 {\n  color: #00000061;\n}\n\n.text-blue-600 {\n  --tw-text-opacity: 1;\n  color: rgb(32 63 246 / var(--tw-text-opacity, 1));\n}\n\n.text-disabled {\n  --tw-text-opacity: 1;\n  color: rgb(180 180 180 / var(--tw-text-opacity, 1));\n}\n\n.text-disabled-dark {\n  --tw-text-opacity: 1;\n  color: rgb(82 82 82 / var(--tw-text-opacity, 1));\n}\n\n.text-gray-300 {\n  --tw-text-opacity: 1;\n  color: rgb(204 204 204 / var(--tw-text-opacity, 1));\n}\n\n.text-gray-400 {\n  --tw-text-opacity: 1;\n  color: rgb(180 180 180 / var(--tw-text-opacity, 1));\n}\n\n.text-gray-500 {\n  --tw-text-opacity: 1;\n  color: rgb(158 158 158 / var(--tw-text-opacity, 1));\n}\n\n.text-gray-900-dark {\n  --tw-text-opacity: 1;\n  color: rgb(244 244 244 / var(--tw-text-opacity, 1));\n}\n\n.text-gray-alpha-500-light {\n  color: #00000061;\n}\n\n.text-green-300 {\n  --tw-text-opacity: 1;\n  color: rgb(129 220 113 / var(--tw-text-opacity, 1));\n}\n\n.text-interactive {\n  --tw-text-opacity: 1;\n  color: rgb(55 95 255 / var(--tw-text-opacity, 1));\n}\n\n.text-interactive-dark {\n  --tw-text-opacity: 1;\n  color: rgb(30 60 242 / var(--tw-text-opacity, 1));\n}\n\n.text-negative {\n  --tw-text-opacity: 1;\n  color: rgb(173 7 0 / var(--tw-text-opacity, 1));\n}\n\n.text-negative-dark {\n  --tw-text-opacity: 1;\n  color: rgb(204 20 20 / var(--tw-text-opacity, 1));\n}\n\n.text-on-black {\n  --tw-text-opacity: 1;\n  color: rgb(0 0 0 / var(--tw-text-opacity, 1));\n}\n\n.text-on-color {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.text-on-color-dark {\n  --tw-text-opacity: 1;\n  color: rgb(12 12 12 / var(--tw-text-opacity, 1));\n}\n\n.text-on-white {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.text-positive {\n  --tw-text-opacity: 1;\n  color: rgb(18 186 35 / var(--tw-text-opacity, 1));\n}\n\n.text-positive-dark {\n  --tw-text-opacity: 1;\n  color: rgb(18 158 20 / var(--tw-text-opacity, 1));\n}\n\n.text-primary {\n  --tw-text-opacity: 1;\n  color: rgb(31 31 31 / var(--tw-text-opacity, 1));\n}\n\n.text-primary-dark {\n  --tw-text-opacity: 1;\n  color: rgb(244 244 244 / var(--tw-text-opacity, 1));\n}\n\n.text-secondary {\n  --tw-text-opacity: 1;\n  color: rgb(106 106 106 / var(--tw-text-opacity, 1));\n}\n\n.text-secondary-dark {\n  --tw-text-opacity: 1;\n  color: rgb(173 173 173 / var(--tw-text-opacity, 1));\n}\n\n.text-tertiary {\n  --tw-text-opacity: 1;\n  color: rgb(138 138 138 / var(--tw-text-opacity, 1));\n}\n\n.text-tertiary-dark {\n  --tw-text-opacity: 1;\n  color: rgb(128 128 128 / var(--tw-text-opacity, 1));\n}\n\n.text-tertiary-pressed {\n  --tw-text-opacity: 1;\n  color: rgb(158 158 158 / var(--tw-text-opacity, 1));\n}\n\n.text-white {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.text-white-alpha-700 {\n  color: #ffffffad;\n}\n\n.text-opacity-50 {\n  --tw-text-opacity: 0.5;\n}\n\n.underline {\n  -webkit-text-decoration-line: underline;\n          text-decoration-line: underline;\n}\n\n.decoration-1 {\n  text-decoration-thickness: 1px;\n}\n\n.underline-offset-2 {\n  text-underline-offset: 2px;\n}\n\n.opacity-40 {\n  opacity: 0.4;\n}\n\n.opacity-60 {\n  opacity: 0.6;\n}\n\n.opacity-\\\\[0\\\\.64\\\\] {\n  opacity: 0.64;\n}\n\n.opacity-\\\\[40\\\\%\\\\] {\n  opacity: 40%;\n}\n\n.mix-blend-multiply {\n  mix-blend-mode: multiply;\n}\n\n.shadow-xl {\n  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);\n  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);\n  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.outline-none {\n  outline: 2px solid transparent;\n  outline-offset: 2px;\n}\n\n.outline {\n  outline-style: solid;\n}\n\n.outline-1 {\n  outline-width: 1px;\n}\n\n.outline-gray-200 {\n  outline-color: #dddddd;\n}\n\n.blur {\n  --tw-blur: blur(8px);\n  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.drop-shadow-100 {\n  --tw-drop-shadow: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.28));\n  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.drop-shadow-\\\\[0_2px_12px_rgba\\\\(0\\\\2c 0\\\\2c 0\\\\2c 0\\\\.1\\\\)\\\\] {\n  --tw-drop-shadow: drop-shadow(0 2px 12px rgba(0,0,0,0.1));\n  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.filter {\n  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.backdrop-blur-\\\\[5px\\\\] {\n  --tw-backdrop-blur: blur(5px);\n  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n\n.transition {\n  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.transition-\\\\[grid-template-rows\\\\] {\n  transition-property: grid-template-rows;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.transition-\\\\[padding\\\\] {\n  transition-property: padding;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.transition-\\\\[width\\\\] {\n  transition-property: width;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.transition-colors {\n  transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;\n  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.transition-transform {\n  transition-property: transform;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.duration-150 {\n  transition-duration: 150ms;\n}\n\n.duration-200 {\n  transition-duration: 200ms;\n}\n\n.duration-300 {\n  transition-duration: 300ms;\n}\n\n.ease-in-out {\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.ease-out {\n  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n.scrollbar-hide {\n  -ms-overflow-style: none;\n  scrollbar-width: none;\n}\n\n.\\\\[-webkit-tap-highlight-color\\\\:transparent\\\\] {\n  -webkit-tap-highlight-color: transparent;\n}\n\n.\\\\[grid-area\\\\:1\\\\/1\\\\] {\n  grid-area: 1/1;\n}\n\n.scrollbar-hide::-webkit-scrollbar {\n  display: none;\n}\n\n/* 스크롤바가 사라질 때 layout shift 방지 (body overflow:hidden 시 html 뷰포트 스크롤바 공간 유지) */\n\nhtml {\n  scrollbar-gutter: stable;\n}\n\n/* useBodyScrollLock.ts에서 body overflow를 제어하기 위한 클래스 */\n\nbody.disable-scroll {\n  overflow: hidden;\n}\n\n/**\n * nextjs의 [문서](https://nextjs.org/docs/app/building-your-application/styling#external-stylesheets)에서\n * \\`<link rel=\"stylesheet\" />\\` 방식을 사용하지 않도록 가이드하기 때문에, 폰트 관련 스타일을 globals.css에 추가하게 되었다.\n */\n\n/**\n * TODO: dynamic subset을 위한 스타일의 길이가 길기 때문에, 매번 새로 불리지 않고 캐싱 되도록 동작하는지 확인하고 만약 적절히 캐싱되지 않는다면 구현을 변경한다.\n */\n\n/* 공통 폰트 사용을 위한 글로벌 변수 */\n\n:root {\n  --font-pretendard: 'Pretendard Variable';\n  --font-pretendard-with-ios-fallback: var(--font-pretendard), -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',\n    NanumBarunGothic, '나눔바른고딕', 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;\n  /**\n   * Safe Area Inset CSS 변수\n   * - 기본값: env(safe-area-inset-*) (iOS 대응)\n   * - Android에서는 JS에서 0px로 강제 설정 (WebviewPolyfill.tsx)\n   * - 향후 앱에서 data-safe-area-* 속성 전달 시 해당 값 사용\n   * @see https://wiki.team.musinsa.com/wiki/spaces/29CMCEF/pages/281577174\n   */\n  --safe-area-inset-top: env(safe-area-inset-top, 0px);\n  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);\n  /* Layout Heights */\n  --gnb-height: 50px;\n  --tab-bar-height: 52px;\n  /* 모웹 카테고리 메인 상단 바. 바가 있는 라우트 그룹만 실제 높이(60px)로 덮어쓴다 */\n  --category-top-tabs-height: 0px;\n}\n\n/* Pretendard Variable - dynamic subset */\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.0.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+f9ca-fa0b, U+ff03-ff05, U+ff07, U+ff0a-ff0b, U+ff0d-ff19, U+ff1b, U+ff1d, U+ff20-ff5b, U+ff5d,\n    U+ffe0-ffe3, U+ffe5-ffe6;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.1.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d723-d728, U+d72a-d733, U+d735-d748, U+d74a-d74f, U+d752-d753, U+d755-d757, U+d75a-d75f, U+d762-d764,\n    U+d766-d768, U+d76a-d76b, U+d76d-d76f, U+d771-d787, U+d789-d78b, U+d78d-d78f, U+d791-d797, U+d79a, U+d79c,\n    U+d79e-d7a3, U+f900-f909, U+f90b-f92e;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.2.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d679-d68b, U+d68e-d69e, U+d6a0, U+d6a2-d6a7, U+d6a9-d6c3, U+d6c6-d6c7, U+d6c9-d6cb, U+d6cd-d6d3,\n    U+d6d5-d6d6, U+d6d8-d6e3, U+d6e5-d6e7, U+d6e9-d6fb, U+d6fd-d717, U+d719-d71f, U+d721-d722;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.3.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d5bc-d5c7, U+d5ca-d5cb, U+d5cd-d5cf, U+d5d1-d5d7, U+d5d9-d5da, U+d5dc, U+d5de-d5e3, U+d5e6-d5e7,\n    U+d5e9-d5eb, U+d5ed-d5f6, U+d5f8, U+d5fa-d5ff, U+d602-d603, U+d605-d607, U+d609-d60f, U+d612-d613, U+d616-d61b,\n    U+d61d-d637, U+d63a-d63b, U+d63d-d63f, U+d641-d647, U+d64a-d64c, U+d64e-d653, U+d656-d657, U+d659-d65b, U+d65d-d666,\n    U+d668, U+d66a-d678;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.4.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d507, U+d509-d50b, U+d50d-d513, U+d515-d53b, U+d53e-d53f, U+d541-d543, U+d545-d54c, U+d54e, U+d550,\n    U+d552-d557, U+d55a-d55b, U+d55d-d55f, U+d561-d564, U+d566-d567, U+d56a, U+d56c, U+d56e-d573, U+d576-d577,\n    U+d579-d583, U+d585-d586, U+d58a-d5a4, U+d5a6-d5bb;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.5.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d464-d477, U+d47a-d47b, U+d47d-d47f, U+d481-d487, U+d489-d48a, U+d48c, U+d48e-d4e7, U+d4e9-d503,\n    U+d505-d506;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.6.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d3bf-d3c7, U+d3ca-d3cf, U+d3d1-d3eb, U+d3ee-d3ef, U+d3f1-d3f3, U+d3f5-d3fb, U+d3fd-d400, U+d402-d45b,\n    U+d45d-d463;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.7.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d2ff, U+d302-d304, U+d306-d30b, U+d30f, U+d311-d313, U+d315-d31b, U+d31e, U+d322-d324, U+d326-d327,\n    U+d32a-d32b, U+d32d-d32f, U+d331-d337, U+d339-d33c, U+d33e-d37b, U+d37e-d37f, U+d381-d383, U+d385-d38b, U+d38e-d390,\n    U+d392-d397, U+d39a-d39b, U+d39d-d39f, U+d3a1-d3a7, U+d3a9-d3aa, U+d3ac, U+d3ae-d3b3, U+d3b5-d3b7, U+d3b9-d3bb,\n    U+d3bd-d3be;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.8.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d257-d27f, U+d281-d29b, U+d29d-d29f, U+d2a1-d2ab, U+d2ad-d2b7, U+d2ba-d2bb, U+d2bd-d2bf, U+d2c1-d2c7,\n    U+d2c9-d2ef, U+d2f2-d2f3, U+d2f5-d2f7, U+d2f9-d2fe;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.9.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d1b4, U+d1b6-d1f3, U+d1f5-d22b, U+d22e-d22f, U+d231-d233, U+d235-d23b, U+d23d-d240, U+d242-d256;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.10.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d105-d12f, U+d132-d133, U+d135-d137, U+d139-d13f, U+d141-d142, U+d144, U+d146-d14b, U+d14e-d14f,\n    U+d151-d153, U+d155-d15b, U+d15e-d187, U+d189-d19f, U+d1a2-d1a3, U+d1a5-d1a7, U+d1a9-d1af, U+d1b2-d1b3;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.11.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d04b-d04f, U+d051-d057, U+d059-d06b, U+d06d-d06f, U+d071-d073, U+d075-d07b, U+d07e-d0a3, U+d0a6-d0a7,\n    U+d0a9-d0ab, U+d0ad-d0b3, U+d0b6, U+d0b8, U+d0ba-d0bf, U+d0c2-d0c3, U+d0c5-d0c7, U+d0c9-d0cf, U+d0d2, U+d0d6-d0db,\n    U+d0de-d0df, U+d0e1-d0e3, U+d0e5-d0eb, U+d0ee-d0f0, U+d0f2-d104;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.12.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+cfa2-cfc3, U+cfc5-cfdf, U+cfe2-cfe3, U+cfe5-cfe7, U+cfe9-cff4, U+cff6-cffb, U+cffd-cfff, U+d001-d003,\n    U+d005-d017, U+d019-d033, U+d036-d037, U+d039-d03b, U+d03d-d04a;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.13.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+cef0-cef3, U+cef6, U+cef9-ceff, U+cf01-cf03, U+cf05-cf07, U+cf09-cf0f, U+cf11-cf12, U+cf14-cf1b,\n    U+cf1d-cf1f, U+cf21-cf2f, U+cf31-cf53, U+cf56-cf57, U+cf59-cf5b, U+cf5d-cf63, U+cf66, U+cf68, U+cf6a-cf6f,\n    U+cf71-cf84, U+cf86-cf8b, U+cf8d-cfa1;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.14.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ce3c-ce57, U+ce5a-ce5b, U+ce5d-ce5f, U+ce61-ce67, U+ce6a, U+ce6c, U+ce6e-ce73, U+ce76-ce77,\n    U+ce79-ce7b, U+ce7d-ce83, U+ce85-ce88, U+ce8a-ce8f, U+ce91-ce93, U+ce95-ce97, U+ce99-ce9f, U+cea2, U+cea4-ceab,\n    U+cead-cee3, U+cee6-cee7, U+cee9-ceeb, U+ceed-ceef;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.15.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+cd92-cd93, U+cd96-cd97, U+cd99-cd9b, U+cd9d-cda3, U+cda6-cda8, U+cdaa-cdaf, U+cdb1-cdc3, U+cdc5-cdcb,\n    U+cdcd-cde7, U+cde9-ce03, U+ce05-ce1f, U+ce22-ce34, U+ce36-ce3b;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.16.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ccef-cd07, U+cd0a-cd0b, U+cd0d-cd1a, U+cd1c, U+cd1e-cd2b, U+cd2d-cd5b, U+cd5d-cd77, U+cd79-cd91;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.17.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+cc3f-cc43, U+cc46-cc47, U+cc49-cc4b, U+cc4d-cc53, U+cc55-cc58, U+cc5a-cc5f, U+cc61-cc97, U+cc9a-cc9b,\n    U+cc9d-cc9f, U+cca1-cca7, U+ccaa, U+ccac, U+ccae-ccb3, U+ccb6-ccb7, U+ccb9-ccbb, U+ccbd-cccf, U+ccd1-cce3,\n    U+cce5-ccee;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.18.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+cb91-cbd3, U+cbd5-cbe3, U+cbe5-cc0b, U+cc0e-cc0f, U+cc11-cc13, U+cc15-cc1b, U+cc1d-cc20, U+cc23-cc27,\n    U+cc2a-cc2b, U+cc2d, U+cc2f, U+cc31-cc37, U+cc3a, U+cc3c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.19.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+caf4-cb47, U+cb4a-cb90;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.20.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ca4a-ca4b, U+ca4e-ca4f, U+ca51-ca53, U+ca55-ca5b, U+ca5d-ca60, U+ca62-ca83, U+ca85-cabb, U+cabe-cabf,\n    U+cac1-cac3, U+cac5-cacb, U+cacd-cad0, U+cad2, U+cad4-cad8, U+cada-caf3;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.21.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c996-c997, U+c99a-c99c, U+c99e-c9bf, U+c9c2-c9c3, U+c9c5-c9c7, U+c9c9-c9cf, U+c9d2, U+c9d4,\n    U+c9d7-c9d8, U+c9db, U+c9de-c9df, U+c9e1-c9e3, U+c9e5-c9e6, U+c9e8-c9eb, U+c9ee-c9f0, U+c9f2-c9f7, U+c9f9-ca0b,\n    U+ca0d-ca28, U+ca2a-ca49;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.22.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c8e9-c8f4, U+c8f6-c8fb, U+c8fe-c8ff, U+c901-c903, U+c905-c90b, U+c90e-c910, U+c912-c917, U+c919-c92b,\n    U+c92d-c94f, U+c951-c953, U+c955-c96b, U+c96d-c973, U+c975-c987, U+c98a-c98b, U+c98d-c98f, U+c991-c995;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.23.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c841-c84b, U+c84d-c86f, U+c872-c873, U+c875-c877, U+c879-c87f, U+c882-c884, U+c887-c88a, U+c88d-c8c3,\n    U+c8c5-c8df, U+c8e1-c8e8;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.24.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c779-c77b, U+c77e-c782, U+c786, U+c78b, U+c78d, U+c78f, U+c792-c793, U+c795, U+c797, U+c799-c79f,\n    U+c7a2, U+c7a7-c7ab, U+c7ae-c7bb, U+c7bd-c7c0, U+c7c2-c7c7, U+c7c9-c7dc, U+c7de-c7ff, U+c802-c803, U+c805-c807,\n    U+c809, U+c80b-c80f, U+c812, U+c814, U+c817-c81b, U+c81e-c81f, U+c821-c823, U+c825-c82e, U+c830-c837, U+c839-c83b,\n    U+c83d-c840;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.25.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c6bb-c6bf, U+c6c2, U+c6c4, U+c6c6-c6cb, U+c6ce-c6cf, U+c6d1-c6d3, U+c6d5-c6db, U+c6dd-c6df,\n    U+c6e1-c6e7, U+c6e9-c6eb, U+c6ed-c6ef, U+c6f1-c6f8, U+c6fa-c703, U+c705-c707, U+c709-c70b, U+c70d-c716, U+c718,\n    U+c71a-c71f, U+c722-c723, U+c725-c727, U+c729-c734, U+c736-c73b, U+c73e-c73f, U+c741-c743, U+c745-c74b, U+c74e-c750,\n    U+c752-c757, U+c759-c773, U+c776-c777;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.26.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c5f5-c5fb, U+c5fe, U+c602-c605, U+c607, U+c609-c60f, U+c611-c61a, U+c61c-c623, U+c626-c627,\n    U+c629-c62b, U+c62d, U+c62f-c632, U+c636, U+c638, U+c63a-c63f, U+c642-c643, U+c645-c647, U+c649-c652, U+c656-c65b,\n    U+c65d-c65f, U+c661-c663, U+c665-c677, U+c679-c67b, U+c67d-c693, U+c696-c697, U+c699-c69b, U+c69d-c6a3, U+c6a6,\n    U+c6a8, U+c6aa-c6af, U+c6b2-c6b3, U+c6b5-c6b7, U+c6b9-c6ba;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.27.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c517-c527, U+c52a-c52b, U+c52d-c52f, U+c531-c538, U+c53a, U+c53c, U+c53e-c543, U+c546-c547, U+c54b,\n    U+c54d-c552, U+c556, U+c55a-c55b, U+c55d, U+c55f, U+c562-c563, U+c565-c567, U+c569-c56f, U+c572, U+c574, U+c576-c57b,\n    U+c57e-c57f, U+c581-c583, U+c585-c586, U+c588-c58b, U+c58e, U+c590, U+c592-c596, U+c599-c5b3, U+c5b6-c5b7, U+c5ba,\n    U+c5be-c5c3, U+c5ca-c5cb, U+c5cd, U+c5cf, U+c5d2-c5d3, U+c5d5-c5d7, U+c5d9-c5df, U+c5e1-c5e2, U+c5e4, U+c5e6-c5eb,\n    U+c5ef, U+c5f1-c5f3;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.28.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c475-c4ef, U+c4f2-c4f3, U+c4f5-c4f7, U+c4f9-c4ff, U+c502-c50b, U+c50d-c516;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.29.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c3d0-c3d7, U+c3da-c3db, U+c3dd-c3de, U+c3e1-c3ec, U+c3ee-c3f3, U+c3f5-c42b, U+c42d-c463, U+c466-c474;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.30.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c32b-c367, U+c36a-c36b, U+c36d-c36f, U+c371-c377, U+c37a-c37b, U+c37e-c383, U+c385-c387, U+c389-c3cf;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.31.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c26a-c26b, U+c26d-c26f, U+c271-c273, U+c275-c27b, U+c27e-c287, U+c289-c28f, U+c291-c297, U+c299-c29a,\n    U+c29c-c2a3, U+c2a5-c2a7, U+c2a9-c2ab, U+c2ad-c2b3, U+c2b6, U+c2b8, U+c2ba-c2bb, U+c2bd-c2db, U+c2de-c2df,\n    U+c2e1-c2e2, U+c2e5-c2ea, U+c2ee, U+c2f0, U+c2f2-c2f5, U+c2f7, U+c2fa-c2fb, U+c2fd-c2ff, U+c301-c307, U+c309-c30c,\n    U+c30e-c312, U+c315-c323, U+c325-c328, U+c32a;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.32.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c1bc-c1c3, U+c1c5-c1df, U+c1e1-c1fb, U+c1fd-c203, U+c205-c20c, U+c20e, U+c210-c217, U+c21a-c21b,\n    U+c21d-c21e, U+c221-c227, U+c229-c22a, U+c22c, U+c22e, U+c230, U+c233-c24f, U+c251-c257, U+c259-c269;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.33.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c101-c11b, U+c11f, U+c121-c123, U+c125-c12b, U+c12e, U+c132-c137, U+c13a-c13b, U+c13d-c13f,\n    U+c141-c147, U+c14a, U+c14c-c153, U+c155-c157, U+c159-c15b, U+c15d-c166, U+c169-c16f, U+c171-c177, U+c179-c18b,\n    U+c18e-c18f, U+c191-c193, U+c195-c19b, U+c19d-c19e, U+c1a0, U+c1a2-c1a4, U+c1a6-c1bb;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.34.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c049-c057, U+c059-c05b, U+c05d-c05f, U+c061-c067, U+c069-c08f, U+c091-c0ab, U+c0ae-c0af, U+c0b1-c0b3,\n    U+c0b5, U+c0b7-c0bb, U+c0be, U+c0c2-c0c7, U+c0ca-c0cb, U+c0cd-c0cf, U+c0d1-c0d7, U+c0d9-c0da, U+c0dc, U+c0de-c0e3,\n    U+c0e5-c0eb, U+c0ed-c0f3, U+c0f6, U+c0f8, U+c0fa-c0ff;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.35.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bfa7-bfaf, U+bfb1-bfc4, U+bfc6-bfcb, U+bfce-bfcf, U+bfd1-bfd3, U+bfd5-bfdb, U+bfdd-c048;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.36.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bf07, U+bf09-bf3f, U+bf41-bf4f, U+bf52-bf54, U+bf56-bfa6;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.37.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+be56, U+be58, U+be5c-be5f, U+be62-be63, U+be65-be67, U+be69-be74, U+be76-be7b, U+be7e-be7f,\n    U+be81-be8e, U+be90, U+be92-bea7, U+bea9-becf, U+bed2-bed3, U+bed5-bed6, U+bed9-bee3, U+bee6-bf06;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.38.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bdb0-bdd3, U+bdd5-bdef, U+bdf1-be0b, U+be0d-be0f, U+be11-be13, U+be15-be43, U+be46-be47, U+be49-be4b,\n    U+be4d-be53;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.39.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bd03, U+bd06, U+bd08, U+bd0a-bd0f, U+bd11-bd22, U+bd25-bd47, U+bd49-bd58, U+bd5a-bd7f, U+bd82-bd83,\n    U+bd85-bd87, U+bd8a-bd8f, U+bd91-bd92, U+bd94, U+bd96-bd98, U+bd9a-bdaf;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.40.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bc4e-bc83, U+bc86-bc87, U+bc89-bc8b, U+bc8d-bc93, U+bc96, U+bc98, U+bc9b-bc9f, U+bca2-bca3,\n    U+bca5-bca7, U+bca9-bcb2, U+bcb4-bcbb, U+bcbe-bcbf, U+bcc1-bcc3, U+bcc5-bccc, U+bcce-bcd0, U+bcd2-bcd4, U+bcd6-bcf3,\n    U+bcf7, U+bcf9-bcfb, U+bcfd-bd02;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.41.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bb90-bba3, U+bba5-bbab, U+bbad-bbbf, U+bbc1-bbf7, U+bbfa-bbfb, U+bbfd-bbfe, U+bc01-bc07, U+bc09-bc0a,\n    U+bc0e, U+bc10, U+bc12-bc13, U+bc17, U+bc19-bc1a, U+bc1e, U+bc20-bc23, U+bc26, U+bc28, U+bc2a-bc2c, U+bc2e-bc2f,\n    U+bc32-bc33, U+bc35-bc37, U+bc39-bc3f, U+bc41-bc42, U+bc44, U+bc46-bc48, U+bc4a-bc4d;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.42.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bae6-bafb, U+bafd-bb17, U+bb19-bb33, U+bb37, U+bb39-bb3a, U+bb3d-bb43, U+bb45-bb46, U+bb48,\n    U+bb4a-bb4f, U+bb51-bb53, U+bb55-bb57, U+bb59-bb62, U+bb64-bb8f;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.43.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ba30-ba37, U+ba3a-ba3b, U+ba3d-ba3f, U+ba41-ba47, U+ba49-ba4a, U+ba4c, U+ba4e-ba53, U+ba56-ba57,\n    U+ba59-ba5b, U+ba5d-ba63, U+ba65-ba66, U+ba68-ba6f, U+ba71-ba73, U+ba75-ba77, U+ba79-ba84, U+ba86, U+ba88-baa7,\n    U+baaa, U+baad-baaf, U+bab1-bab7, U+baba, U+babc, U+babe-bae5;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.44.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b96e-b973, U+b976-b977, U+b979-b97b, U+b97d-b983, U+b986, U+b988, U+b98a-b98d, U+b98f-b9ab,\n    U+b9ae-b9af, U+b9b1-b9b3, U+b9b5-b9bb, U+b9be, U+b9c0, U+b9c2-b9c7, U+b9ca-b9cb, U+b9cd, U+b9d2-b9d7, U+b9da, U+b9dc,\n    U+b9df-b9e0, U+b9e2, U+b9e6-b9e7, U+b9e9-b9f3, U+b9f6, U+b9f8, U+b9fb-ba2f;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.45.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b8bf-b8cb, U+b8cd-b8e0, U+b8e2-b8e7, U+b8ea-b8eb, U+b8ed-b8ef, U+b8f1-b8f7, U+b8fa, U+b8fc,\n    U+b8fe-b903, U+b905-b917, U+b919-b91f, U+b921-b93b, U+b93d-b957, U+b95a-b95b, U+b95d-b95f, U+b961-b967, U+b969-b96c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.46.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b80d-b80f, U+b811-b817, U+b81a, U+b81c-b823, U+b826-b827, U+b829-b82b, U+b82d-b833, U+b836,\n    U+b83a-b83f, U+b841-b85b, U+b85e-b85f, U+b861-b863, U+b865-b86b, U+b86e, U+b870, U+b872-b8af, U+b8b1-b8be;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.47.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b74d-b75f, U+b761-b763, U+b765-b774, U+b776-b77b, U+b77e-b77f, U+b781-b783, U+b785-b78b, U+b78e,\n    U+b792-b796, U+b79a-b79b, U+b79d-b7a7, U+b7aa, U+b7ae-b7b3, U+b7b6-b7c8, U+b7ca-b7eb, U+b7ee-b7ef, U+b7f1-b7f3,\n    U+b7f5-b7fb, U+b7fe, U+b802-b806, U+b80a-b80b;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.48.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b6a7-b6aa, U+b6ac-b6b0, U+b6b2-b6ef, U+b6f1-b727, U+b72a-b72b, U+b72d-b72e, U+b731-b737, U+b739-b73a,\n    U+b73c-b743, U+b745-b74c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.49.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b605-b60f, U+b612-b617, U+b619-b624, U+b626-b69b, U+b69e-b6a3, U+b6a5-b6a6;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.50.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b55f, U+b562-b583, U+b585-b59f, U+b5a2-b5a3, U+b5a5-b5a7, U+b5a9-b5b2, U+b5b5-b5ba, U+b5bd-b604;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.51.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b4a5-b4b6, U+b4b8-b4bf, U+b4c1-b4c7, U+b4c9-b4db, U+b4de-b4df, U+b4e1-b4e2, U+b4e5-b4eb, U+b4ee,\n    U+b4f0, U+b4f2-b513, U+b516-b517, U+b519-b51a, U+b51d-b523, U+b526, U+b528, U+b52b-b52f, U+b532-b533, U+b535-b537,\n    U+b539-b53f, U+b541-b544, U+b546-b54b, U+b54d-b54f, U+b551-b55b, U+b55d-b55e;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.52.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b3f8-b3fb, U+b3fd-b40f, U+b411-b417, U+b419-b41b, U+b41d-b41f, U+b421-b427, U+b42a-b42b, U+b42d-b44f,\n    U+b452-b453, U+b455-b457, U+b459-b45f, U+b462-b464, U+b466-b46b, U+b46d-b47f, U+b481-b4a3;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.53.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b342-b353, U+b356-b357, U+b359-b35b, U+b35d-b35e, U+b360-b363, U+b366, U+b368, U+b36a-b36d, U+b36f,\n    U+b372-b373, U+b375-b377, U+b379-b37f, U+b381-b382, U+b384, U+b386-b38b, U+b38d-b3c3, U+b3c6-b3c7, U+b3c9-b3ca,\n    U+b3cd-b3d3, U+b3d6, U+b3d8, U+b3da-b3f7;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.54.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b27c-b283, U+b285-b28f, U+b292-b293, U+b295-b297, U+b29a-b29f, U+b2a1-b2a4, U+b2a7-b2a9, U+b2ab,\n    U+b2ad-b2c7, U+b2ca-b2cb, U+b2cd-b2cf, U+b2d1-b2d7, U+b2da, U+b2dc, U+b2de-b2e3, U+b2e7, U+b2e9-b2ea, U+b2ef-b2f3,\n    U+b2f6, U+b2f8, U+b2fa-b2fb, U+b2fd-b2fe, U+b302-b303, U+b305-b307, U+b309-b30f, U+b312, U+b316-b31b, U+b31d-b341;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.55.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b1d6-b1e7, U+b1e9-b1fc, U+b1fe-b203, U+b206-b207, U+b209-b20b, U+b20d-b213, U+b216-b21f, U+b221-b257,\n    U+b259-b273, U+b275-b27b;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.56.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b120-b122, U+b126-b127, U+b129-b12b, U+b12d-b133, U+b136, U+b138, U+b13a-b13f, U+b142-b143,\n    U+b145-b14f, U+b151-b153, U+b156-b157, U+b159-b177, U+b17a-b17b, U+b17d-b17f, U+b181-b187, U+b189-b18c, U+b18e-b191,\n    U+b195-b1a7, U+b1a9-b1cb, U+b1cd-b1d5;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.57.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b05f-b07b, U+b07e-b07f, U+b081-b083, U+b085-b08b, U+b08d-b097, U+b09b, U+b09d-b09f, U+b0a2-b0a7,\n    U+b0aa, U+b0b0, U+b0b2, U+b0b6-b0b7, U+b0b9-b0bb, U+b0bd-b0c3, U+b0c6-b0c7, U+b0ca-b0cf, U+b0d1-b0df, U+b0e1-b0e4,\n    U+b0e6-b107, U+b10a-b10b, U+b10d-b10f, U+b111-b112, U+b114-b117, U+b119-b11a, U+b11c-b11f;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.58.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+afac-afb7, U+afba-afbb, U+afbd-afbf, U+afc1-afc6, U+afca-afcc, U+afce-afd3, U+afd5-afe7, U+afe9-afef,\n    U+aff1-b00b, U+b00d-b00f, U+b011-b013, U+b015-b01b, U+b01d-b027, U+b029-b043, U+b045-b047, U+b049, U+b04b,\n    U+b04d-b052, U+b055-b056, U+b058-b05c, U+b05e;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.59.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+af03-af07, U+af09-af2b, U+af2e-af33, U+af35-af3b, U+af3e-af40, U+af44-af47, U+af4a-af5c, U+af5e-af63,\n    U+af65-af7f, U+af81-afab;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.60.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ae56-ae5b, U+ae5e-ae60, U+ae62-ae64, U+ae66-ae67, U+ae69-ae6b, U+ae6d-ae83, U+ae85-aebb, U+aebf,\n    U+aec1-aec3, U+aec5-aecb, U+aece, U+aed0, U+aed2-aed7, U+aed9-aef3, U+aef5-af02;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.61.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ad9c-ada3, U+ada5-adbf, U+adc1-adc3, U+adc5-adc7, U+adc9-add2, U+add4-addb, U+addd-addf, U+ade1-ade3,\n    U+ade5-adf7, U+adfa-adfb, U+adfd-adff, U+ae02-ae07, U+ae0a, U+ae0c, U+ae0e-ae13, U+ae15-ae2f, U+ae31-ae33,\n    U+ae35-ae37, U+ae39-ae3f, U+ae42, U+ae44, U+ae46-ae49, U+ae4b, U+ae4f, U+ae51-ae53, U+ae55;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.62.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ace2-ace3, U+ace5-ace6, U+ace9-acef, U+acf2, U+acf4, U+acf7-acfb, U+acfe-acff, U+ad01-ad03,\n    U+ad05-ad0b, U+ad0d-ad10, U+ad12-ad1b, U+ad1d-ad33, U+ad35-ad48, U+ad4a-ad4f, U+ad51-ad6b, U+ad6e-ad6f, U+ad71-ad72,\n    U+ad77-ad7c, U+ad7e, U+ad80, U+ad82-ad87, U+ad89-ad8b, U+ad8d-ad8f, U+ad91-ad9b;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.63.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ac25-ac2c, U+ac2e, U+ac30, U+ac32-ac37, U+ac39-ac3f, U+ac41-ac4c, U+ac4e-ac6f, U+ac72-ac73,\n    U+ac75-ac76, U+ac79-ac7f, U+ac82, U+ac84-ac88, U+ac8a-ac8b, U+ac8d-ac8f, U+ac91-ac93, U+ac95-ac9b, U+ac9d-ac9e,\n    U+aca1-aca7, U+acab, U+acad-acaf, U+acb1-acb7, U+acba-acbb, U+acbe-acc0, U+acc2-acc3, U+acc5-acdf;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.64.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+99df, U+99ed, U+99f1, U+99ff, U+9a01, U+9a08, U+9a0e-9a0f, U+9a19, U+9a2b, U+9a30, U+9a36-9a37,\n    U+9a40, U+9a43, U+9a45, U+9a4d, U+9a55, U+9a57, U+9a5a-9a5b, U+9a5f, U+9a62, U+9a65, U+9a69-9a6a, U+9aa8, U+9ab8,\n    U+9ad3, U+9ae5, U+9aee, U+9b1a, U+9b27, U+9b2a, U+9b31, U+9b3c, U+9b41-9b45, U+9b4f, U+9b54, U+9b5a, U+9b6f, U+9b8e,\n    U+9b91, U+9b9f, U+9bab, U+9bae, U+9bc9, U+9bd6, U+9be4, U+9be8, U+9c0d, U+9c10, U+9c12, U+9c15, U+9c25, U+9c32,\n    U+9c3b, U+9c47, U+9c49, U+9c57, U+9ce5, U+9ce7, U+9ce9, U+9cf3-9cf4, U+9cf6, U+9d09, U+9d1b, U+9d26, U+9d28, U+9d3b,\n    U+9d51, U+9d5d, U+9d60-9d61, U+9d6c, U+9d72, U+9da9, U+9daf, U+9db4, U+9dc4, U+9dd7, U+9df2, U+9df8-9dfa, U+9e1a,\n    U+9e1e, U+9e75, U+9e79, U+9e7d, U+9e7f, U+9e92-9e93, U+9e97, U+9e9d, U+9e9f, U+9ea5, U+9eb4-9eb5, U+9ebb, U+9ebe,\n    U+9ec3, U+9ecd-9ece, U+9ed4, U+9ed8, U+9edb-9edc, U+9ede, U+9ee8, U+9ef4, U+9f07-9f08, U+9f0e, U+9f13, U+9f20,\n    U+9f3b, U+9f4a-9f4b, U+9f4e, U+9f52, U+9f5f, U+9f61, U+9f67, U+9f6a, U+9f6c, U+9f77, U+9f8d, U+9f90, U+9f95, U+9f9c,\n    U+ac02-ac03, U+ac05-ac06, U+ac09-ac0f, U+ac17-ac18, U+ac1b, U+ac1e-ac1f, U+ac21-ac23;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.65.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+338c-339c, U+339f-33a0, U+33a2-33cb, U+33cf-33d0, U+33d3, U+33d6, U+33d8, U+33db-33dd, U+4e01, U+4e03,\n    U+4e07-4e08, U+4e11, U+4e14-4e15, U+4e18-4e19, U+4e1e, U+4e32, U+4e38-4e39, U+4e42-4e43, U+4e45, U+4e4d-4e4f, U+4e56,\n    U+4e58-4e59, U+4e5d-4e5e, U+4e6b, U+4e6d, U+4e73, U+4e76-4e77, U+4e7e, U+4e82, U+4e86, U+4e88, U+4e8e, U+4e90-4e92,\n    U+4e94-4e95, U+4e98, U+4e9b, U+4e9e, U+4ea1-4ea2, U+4ea4-4ea6, U+4ea8, U+4eab, U+4ead-4eae, U+4eb6, U+4ec0-4ec1,\n    U+4ec4, U+4ec7, U+4ecb, U+4ecd, U+4ed4-4ed5, U+4ed7-4ed9, U+4edd, U+4edf, U+4ee4, U+4ef0, U+4ef2, U+4ef6-4ef7,\n    U+4efb, U+4f01, U+4f09, U+4f0b, U+4f0d-4f11, U+4f2f, U+4f34, U+4f36, U+4f38, U+4f3a, U+4f3c-4f3d;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.66.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+3136, U+3138, U+313a-3140, U+3143-3144, U+3150, U+3152, U+3154-3156, U+3158-315b, U+315d-315f, U+3162,\n    U+3164-318c, U+318e, U+3200-321b, U+3231, U+3239, U+3251-325a, U+3260-327b, U+327e-327f, U+328a-3290, U+3294, U+329e,\n    U+32a5, U+3380-3384, U+3388-338b;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.67.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2f7d, U+2f7f-2f8b, U+2f8e-2f90, U+2f92-2f97, U+2f99-2fa0, U+2fa2-2fa3, U+2fa5-2fa9, U+2fac-2fb1,\n    U+2fb3-2fbc, U+2fc1-2fca, U+2fcd-2fd4, U+3003, U+3012-3019, U+301c, U+301e-3020, U+3036, U+3041, U+3043, U+3045,\n    U+3047, U+3049, U+304e, U+3050, U+3052, U+3056, U+305a, U+305c, U+305e, U+3062, U+3065, U+306c, U+3070-307d, U+3080,\n    U+3085, U+3087, U+308e, U+3090-3091, U+30a1, U+30a5, U+30a9, U+30ae, U+30b1-30b2, U+30b4, U+30b6, U+30bc-30be,\n    U+30c2, U+30c5, U+30cc, U+30d2, U+30d4, U+30d8-30dd, U+30e4, U+30e6, U+30e8, U+30ee, U+30f0-30f2, U+30f4-30f6,\n    U+3133, U+3135;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.68.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2541-254b, U+25a4-25a9, U+25b1, U+25b5, U+25b9, U+25bf, U+25c1, U+25c3, U+25c9-25ca, U+25cc, U+25ce,\n    U+25d0-25d1, U+25e6, U+25ef, U+260f, U+261d, U+261f, U+262f, U+2660, U+2664, U+2667-2669, U+266d, U+266f, U+2716,\n    U+271a, U+273d, U+2756, U+2776-277f, U+278a-2793, U+2963, U+2965, U+2ac5-2ac6, U+2acb-2acc, U+2f00, U+2f04, U+2f06,\n    U+2f08, U+2f0a-2f0b, U+2f11-2f12, U+2f14, U+2f17-2f18, U+2f1c-2f1d, U+2f1f-2f20, U+2f23-2f26, U+2f28-2f29, U+2f2b,\n    U+2f2d, U+2f2f-2f32, U+2f38, U+2f3c-2f40, U+2f42-2f4c, U+2f4f-2f52, U+2f54-2f58, U+2f5a-2f66, U+2f69-2f70,\n    U+2f72-2f76, U+2f78, U+2f7a-2f7c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.69.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2479-2487, U+249c-24d1, U+24d3-24d7, U+24d9-24e9, U+24eb-24f4, U+2500-2501, U+2503, U+250c-2513,\n    U+2515-2516, U+2518-2540;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.70.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+215b-215e, U+2162-2169, U+2170-2179, U+2195-2199, U+21b0-21b4, U+21bc, U+21c0, U+21c4-21c5, U+21cd,\n    U+21cf-21d4, U+21e0-21e3, U+21e6-21e9, U+2200, U+2202-2203, U+2206-2209, U+220b-220c, U+220f, U+2211, U+2213, U+221a,\n    U+221d-2220, U+2222, U+2225-2227, U+2229-222c, U+222e, U+2234-2237, U+223d, U+2243, U+2245, U+2248, U+2250-2253,\n    U+225a, U+2260-2262, U+2264-2267, U+226a-226b, U+226e-2273, U+2276-2277, U+2279-227b, U+2280-2287, U+228a-228b,\n    U+2295-2297, U+22a3-22a5, U+22bb-22bc, U+22ce-22cf, U+22da-22db, U+22ee-22ef, U+2306, U+2312, U+2314, U+2467-2478;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.71.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+81-82, U+84, U+a2-a5, U+a7-a8, U+aa, U+ac, U+b1-b3, U+b6, U+b8-ba, U+bc-be, U+c0, U+c2, U+c6-cb,\n    U+ce-d0, U+d4, U+d8-d9, U+db-dc, U+de-df, U+e6, U+eb, U+ee-f0, U+f4, U+f7-f9, U+fb, U+fe-ff, U+111, U+126-127,\n    U+132-133, U+138, U+13f-142, U+149-14b, U+152-153, U+166-167, U+2bc, U+2c7, U+2d0, U+2d8-2d9, U+2db-2dd, U+391-394,\n    U+396-3a1, U+3a3-3a9, U+3b2-3b6, U+3b8, U+3bc, U+3be-3c1, U+3c3-3c9, U+2010, U+2015-2016, U+2018-2019, U+201b,\n    U+201f-2021, U+2025, U+2030, U+2033-2036, U+203c, U+203e, U+2042, U+2074, U+207a-207f, U+2081-2084, U+2109, U+2113,\n    U+2116, U+2121, U+2126, U+212b, U+2153-2154;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.72.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+e8, U+2da, U+2160, U+2194, U+3054, U+3058, U+306d, U+3086, U+308d, U+30ac, U+30bb, U+30c4,\n    U+30cd-30ce, U+30e2, U+3132, U+3146, U+3149, U+339d, U+4e3b, U+4f0a, U+4fdd, U+4fe1, U+5409, U+540c, U+5834,\n    U+592a-592b, U+5b9a, U+5dde, U+5e0c, U+5e73, U+5f0f, U+60f3, U+653f, U+661f, U+662f, U+667a, U+683c, U+6b4c, U+6c11,\n    U+767c, U+76ee, U+76f4, U+77f3, U+79d1, U+7a7a, U+7b2c, U+7d22, U+8207, U+8a00, U+8a71, U+9280, U+9580, U+958b,\n    U+96c6, U+9762, U+98df, U+9ed1, U+ac2d, U+adc8, U+add3, U+af48, U+b014, U+b134-b135, U+b158, U+b2aa, U+b35f, U+b6a4,\n    U+b9cf, U+bb63, U+bd23, U+be91, U+c29b, U+c3f4, U+c42c, U+c55c, U+c573, U+c58f, U+c78c, U+c7dd, U+c8f5, U+cad1,\n    U+cc48, U+cf10, U+cf20, U+d03c, U+d07d, U+d2a0, U+d30e, U+d38d, U+d3a8, U+d3c8, U+d5e5, U+d5f9, U+d6e4, U+f90a,\n    U+ff02, U+ff1c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.73.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+3b1, U+2466, U+25a1, U+25a3, U+261c, U+3008-3009, U+305b, U+305d, U+3069, U+30a7, U+30ba, U+30cf,\n    U+30ef, U+3151, U+3157, U+4e4b, U+4e5f, U+4e8c, U+4eca, U+4ed6, U+4f5b, U+50cf, U+5149, U+5165, U+5171, U+5229,\n    U+529b, U+5316, U+539f, U+53f2, U+571f, U+5728, U+58eb, U+591c, U+5b78, U+5c11, U+5c55, U+5ddd, U+5e02, U+5fb7,\n    U+60c5, U+610f, U+611f, U+6625, U+66f8, U+6797, U+679c, U+682a, U+6d2a, U+706b, U+7406, U+767b, U+76f8, U+77e5,\n    U+7acb, U+898b, U+8a69, U+8def, U+8fd1, U+901a, U+90e8, U+91cd, U+975e, U+ae14, U+ae6c, U+aec0, U+afc7, U+afc9,\n    U+b01c, U+b028, U+b308, U+b311, U+b314, U+b31c, U+b524, U+b560, U+b764, U+b920, U+b9e3, U+bd48, U+be7d, U+c0db,\n    U+c231, U+c270, U+c2e3, U+c37d, U+c3ed, U+c530, U+c6a5, U+c6dc, U+c7a4, U+c954, U+c974, U+d000, U+d565, U+d667,\n    U+d6c5, U+d79d, U+ff1e;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.74.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+131, U+2032, U+2465, U+2642, U+3048, U+3051, U+3083-3084, U+308f, U+30c0, U+30d1, U+30d3, U+30d6,\n    U+30df, U+30e7, U+3153, U+4e16, U+4e8b, U+4ee5, U+5206, U+52a0, U+52d5, U+53e4, U+53ef, U+54c1, U+57ce, U+597d,\n    U+5b8c, U+5ea6, U+5f8c, U+5f97, U+6210, U+6240, U+624b, U+6728, U+6bd4, U+7236, U+7269, U+7279, U+738b, U+7528,\n    U+7530, U+767e, U+798f, U+8005, U+8a18, U+90fd, U+91cc, U+9577, U+9593, U+98a8, U+ac20, U+acf6, U+ad90, U+af5d,\n    U+af80, U+afcd, U+aff0, U+b0a1, U+b0b5, U+b1fd, U+b2fc, U+b380, U+b51b, U+b584, U+b5b3, U+b8fd, U+b93c, U+b9f4,\n    U+bb44, U+bc08, U+bc27, U+bc49, U+be55, U+be64, U+bfb0, U+bfc5, U+c178, U+c21f, U+c314, U+c4f1, U+c58d, U+c664,\n    U+c698, U+c6a7, U+c6c1, U+c9ed, U+cac0, U+cacc, U+cad9, U+ccb5, U+cdcc, U+d0e4, U+d143, U+d320, U+d330, U+d54d,\n    U+ff06, U+ff1f, U+ff5e;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.75.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b4, U+20a9, U+20ac, U+2190, U+24d8, U+2502, U+2514, U+2592, U+25c7-25c8, U+2663, U+3060, U+3064,\n    U+3081, U+3088, U+30a3, U+30a6, U+30aa, U+30b5, U+30c7, U+30ca-30cb, U+30d0, U+30e3, U+30e5, U+339e, U+4e09, U+4eac,\n    U+4f5c, U+5167-5168, U+516c, U+51fa, U+5408, U+540d, U+591a, U+5b57, U+6211, U+65b9, U+660e, U+6642, U+6700, U+6b63,\n    U+6e2f, U+7063, U+7532, U+793e, U+81ea, U+8272, U+82b1, U+897f, U+8eca, U+91ce, U+ac38, U+ad76, U+ae84, U+aecc,\n    U+b07d, U+b0b1, U+b215, U+b2a0, U+b310, U+b3d7, U+b52a, U+b618, U+b775, U+b797, U+bcd5, U+bd59, U+be80, U+bea8,\n    U+bed1, U+bee4-bee5, U+c060, U+c2ef, U+c329, U+c3dc, U+c597, U+c5bd, U+c5e5, U+c69c, U+c9d6, U+ca29, U+ca5c, U+ca84,\n    U+cc39, U+cc3b, U+ce89, U+cee5, U+cf65, U+cf85, U+d058, U+d145, U+d22d, U+d325, U+d37d, U+d3ad, U+d769, U+ff0c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.76.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2161, U+2228, U+2299, U+2464, U+2517, U+2640, U+3042, U+304a, U+3053, U+3061, U+307f, U+3082, U+308c,\n    U+3092, U+30a8, U+30ab, U+30ad, U+30b0, U+30b3, U+30b7, U+30c1, U+30c6, U+30c9, U+30d5, U+30d7, U+30de, U+30e0-30e1,\n    U+30ec-30ed, U+4e0b, U+4e0d, U+4ee3, U+53f0, U+548c, U+5b89, U+5bb6, U+5c0f, U+611b, U+6771, U+6aa2, U+6bcd, U+6c34,\n    U+6cd5, U+6d77, U+767d, U+795e, U+8ecd, U+9999, U+9ad8, U+ac07, U+ac1a, U+ac40, U+ad0c, U+ad88, U+ada4, U+ae01,\n    U+ae65, U+aebd, U+aec4, U+afe8, U+b139, U+b205, U+b383, U+b38c, U+b42c, U+b461, U+b55c, U+b78f, U+b8fb, U+b9f7,\n    U+bafc, U+bc99, U+bed8, U+bfcd, U+c0bf, U+c0f9, U+c167, U+c204, U+c20f, U+c22f, U+c258, U+c298, U+c2bc, U+c388,\n    U+c501, U+c50c, U+c5b9, U+c5ce, U+c641, U+c648, U+c73d, U+ca50, U+ca61, U+cc4c, U+ceac, U+d0d4, U+d5f7, U+d6d7,\n    U+ff1a;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.77.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2103, U+2463, U+25c6, U+25cb, U+266c, U+3001, U+300a, U+3046, U+304c-304d, U+304f, U+3055, U+3059,\n    U+3063, U+3066-3068, U+306f, U+3089, U+30b8, U+30bf, U+314f, U+4e0a, U+570b, U+5730, U+5916, U+5929, U+5c71, U+5e74,\n    U+5fc3, U+601d, U+6027, U+63d0, U+6709, U+6734, U+751f, U+7684, U+82f1, U+9053, U+91d1, U+97f3, U+ac2f, U+ac4d,\n    U+adc4, U+ade4, U+ae41, U+ae4d-ae4e, U+aed1, U+afb9, U+b0e0, U+b299, U+b365, U+b46c, U+b480, U+b4c8, U+b7b4, U+b819,\n    U+b918, U+baab, U+bab9, U+be8f, U+bed7, U+c0ec, U+c19f, U+c1a5, U+c3d9, U+c464, U+c53d, U+c553, U+c570, U+c5cc,\n    U+c633, U+c6a4, U+c7a3, U+c7a6, U+c886, U+c9d9-c9da, U+c9ec, U+ca0c, U+cc21, U+cd1b, U+cd78, U+cdc4, U+cef8, U+cfe4,\n    U+d0a5, U+d0b5, U+d0ec, U+d15d, U+d188, U+d23c, U+d2ac, U+d729, U+d79b, U+ff01, U+ff08-ff09, U+ff5c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.78.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2039-203a, U+223c, U+25b3, U+25b7, U+25bd, U+25cf, U+266a, U+3002, U+300b, U+304b, U+3057, U+305f,\n    U+306a-306b, U+307e, U+308a-308b, U+3093, U+30a2, U+30af, U+30b9, U+30c3, U+30c8, U+30e9-30eb, U+33a1, U+4e00,\n    U+524d, U+5357, U+5b50, U+7121, U+884c, U+9751, U+ac94, U+aebe, U+aecd, U+af08, U+af41, U+af49, U+b010, U+b053,\n    U+b109, U+b11b, U+b128, U+b154, U+b291, U+b2e6, U+b301, U+b385, U+b525, U+b5b4, U+b729, U+b72f, U+b738, U+b7ff,\n    U+b837, U+b975, U+ba67, U+bb47, U+bc1f, U+bd90, U+bfd4, U+c27c, U+c324, U+c379, U+c3e0, U+c465, U+c53b, U+c58c,\n    U+c610, U+c653, U+c6cd, U+c813, U+c82f, U+c999, U+c9e0, U+cac4, U+cad3, U+cbd4, U+cc10, U+cc22, U+ccb8, U+ccbc,\n    U+cda5, U+ce84, U+cea3, U+cf67, U+cfe1, U+d241, U+d30d, U+d31c, U+d391, U+d401, U+d479, U+d5c9, U+d5db, U+d649,\n    U+d6d4;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.79.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b0, U+e9, U+2193, U+2462, U+260e, U+261e, U+300e-300f, U+3044, U+30a4, U+30fb-30fc, U+314d, U+5973,\n    U+6545, U+6708, U+7537, U+ac89, U+ac9c, U+acc1, U+ad04, U+ad75, U+ad7d, U+ae45, U+ae61, U+af42, U+b0ab, U+b0af,\n    U+b0b3, U+b12c, U+b194, U+b1a8, U+b220, U+b258, U+b284, U+b2ff, U+b315, U+b371, U+b3d4-b3d5, U+b460, U+b527, U+b534,\n    U+b810, U+b818, U+b98e, U+ba55, U+bbac, U+bc0b, U+bc40, U+bca1, U+bccd, U+bd93, U+be54, U+be5a, U+bf08, U+bf50,\n    U+bf55, U+bfdc, U+c0c0, U+c0d0, U+c0f4, U+c100, U+c11e, U+c170, U+c20d, U+c274, U+c290, U+c308, U+c369, U+c539,\n    U+c587, U+c5ff, U+c6ec, U+c70c, U+c7ad, U+c7c8, U+c83c, U+c881, U+cb48, U+cc60, U+ce69, U+ce6b, U+ce75, U+cf04,\n    U+cf08, U+cf55, U+cf70, U+cffc, U+d0b7, U+d1a8, U+d2c8, U+d384, U+d47c, U+d48b, U+d5dd, U+d5e8, U+d720, U+d759,\n    U+f981;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.80.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+e0, U+e2, U+395, U+3b7, U+3ba, U+2460-2461, U+25a0, U+3010-3011, U+306e, U+30f3, U+314a, U+314c,\n    U+5927, U+65b0, U+7e41, U+97d3, U+9ad4, U+ad49, U+ae0b, U+ae0d, U+ae43, U+ae5d, U+aecf, U+af3c, U+af64, U+afd4,\n    U+b080, U+b084, U+b0c5, U+b10c, U+b1e8, U+b2ac, U+b36e, U+b451, U+b515, U+b540, U+b561, U+b6ab, U+b6b1, U+b72c,\n    U+b730, U+b744, U+b800, U+b8ec, U+b8f0, U+b904, U+b968, U+b96d, U+b987, U+b9d9, U+bb36, U+bb49, U+bc2d, U+bc43,\n    U+bcf6, U+bd89, U+be57, U+be61, U+bed4, U+c090, U+c130, U+c148, U+c19c, U+c2f9, U+c36c, U+c37c, U+c384, U+c3df,\n    U+c575, U+c584, U+c660, U+c719, U+c816, U+ca4d, U+ca54, U+cabc, U+cb49, U+cc14, U+cff5, U+d004, U+d038, U+d0b4,\n    U+d0d3, U+d0e0, U+d0ed, U+d131, U+d1b0, U+d31f, U+d33d, U+d3a0, U+d3ab, U+d514, U+d584, U+d6a1, U+d6cc, U+d749,\n    U+d760, U+d799;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.81.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+24, U+60, U+3b9, U+3bb, U+3bd, U+2191, U+2606, U+300c-300d, U+3131, U+3134, U+3139, U+3141-3142,\n    U+3148, U+3161, U+3163, U+321c, U+4eba, U+5317, U+ac31, U+ac77, U+ac9f, U+acb9, U+acf0-acf1, U+acfd, U+ad73, U+af3d,\n    U+b00c, U+b04a, U+b057, U+b0c4, U+b188, U+b1cc, U+b214, U+b2db, U+b2ee, U+b304, U+b4ed, U+b518, U+b5bc, U+b625,\n    U+b69c-b69d, U+b7ac, U+b801, U+b86c, U+b959, U+b95c, U+b985, U+ba48, U+bb58, U+bc0c, U+bc38, U+bc85, U+bc9a, U+bf40,\n    U+c068, U+c0bd, U+c0cc, U+c12f, U+c149, U+c1e0, U+c22b, U+c22d, U+c250, U+c2fc, U+c300, U+c313, U+c370, U+c3d8,\n    U+c557, U+c580, U+c5e3, U+c62e, U+c634, U+c6f0, U+c74d, U+c783, U+c78e, U+c796, U+c7bc, U+c92c, U+ca4c, U+cc1c,\n    U+cc54, U+cc59, U+ce04, U+cf30, U+cfc4, U+d140, U+d321, U+d38c, U+d399, U+d54f, U+d587, U+d5d0, U+d6e8, U+d770;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.82.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d7, U+ea, U+fc, U+2192, U+25bc, U+3000, U+3137, U+3145, U+315c, U+7f8e, U+ac13, U+ac71, U+ac90,\n    U+acb8, U+ace7, U+ad7f, U+ae50, U+aef4, U+af34, U+afbc, U+b048, U+b09a, U+b0ad, U+b0bc, U+b113, U+b125, U+b141,\n    U+b20c, U+b2d9, U+b2ed, U+b367, U+b369, U+b374, U+b3cb, U+b4ec, U+b611, U+b760, U+b81b, U+b834, U+b8b0, U+b8e1,\n    U+b989, U+b9d1, U+b9e1, U+b9fa, U+ba4d, U+ba78, U+bb35, U+bb54, U+bbf9, U+bc11, U+bcb3, U+bd05, U+bd95, U+bdd4,\n    U+be10, U+bed0, U+bf51, U+c0d8, U+c232, U+c2b7, U+c2eb, U+c378, U+c500, U+c52c, U+c549, U+c568, U+c598, U+c5c9,\n    U+c61b, U+c639, U+c67c, U+c717, U+c78a, U+c80a, U+c90c-c90d, U+c950, U+c9e7, U+cbe4, U+cca9, U+cce4, U+cdb0, U+ce78,\n    U+ce94, U+ce98, U+cf8c, U+d018, U+d034, U+d0f1, U+d1b1, U+d280, U+d2f8, U+d338, U+d380, U+d3b4, U+d610, U+d69f,\n    U+d6fc, U+d758;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.83.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+e7, U+2022, U+203b, U+25c0, U+2605, U+2661, U+3147, U+318d, U+672c, U+8a9e, U+acaa, U+acbc, U+ad1c,\n    U+ae4a, U+ae5c, U+b044, U+b054, U+b0c8-b0c9, U+b2a6, U+b2d0, U+b35c, U+b364, U+b428, U+b454, U+b465, U+b4b7, U+b4e3,\n    U+b51c, U+b5a1, U+b784, U+b790, U+b7ab, U+b7f4, U+b82c, U+b835, U+b8e9, U+b8f8, U+b9d8, U+b9f9, U+ba5c, U+ba64,\n    U+babd, U+bb18, U+bb3b, U+bbff, U+bc0d, U+bc45, U+bc97, U+bcbc, U+be45, U+be75, U+be7c, U+bfcc, U+c0b6, U+c0f7,\n    U+c14b, U+c2b4, U+c30d, U+c4f8, U+c5bb, U+c5d1, U+c5e0, U+c5ee, U+c5fd, U+c606, U+c6c5, U+c6e0, U+c708, U+c81d,\n    U+c820, U+c824, U+c878, U+c918, U+c96c, U+c9e4, U+c9f1, U+cc2e, U+cd09, U+cea1, U+cef5, U+cef7, U+cf64, U+cf69,\n    U+cfe8, U+d035, U+d0ac, U+d230, U+d234, U+d2f4, U+d31d, U+d575, U+d578, U+d608, U+d614, U+d718, U+d751, U+d761,\n    U+d78c, U+d790;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.84.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2665, U+3160, U+4e2d, U+6587, U+65e5, U+ac12, U+ac14, U+ac16, U+ac81, U+ad34, U+ade0, U+ae54, U+aebc,\n    U+af2c, U+afc0, U+afc8, U+b04c, U+b08c, U+b099, U+b0a9, U+b0ac, U+b0ae, U+b0b8, U+b123, U+b179, U+b2e5, U+b2f7,\n    U+b4c0, U+b531, U+b538, U+b545, U+b550, U+b5a8, U+b6f0, U+b728, U+b73b, U+b7ad, U+b7ed, U+b809, U+b864, U+b86d,\n    U+b871, U+b9bf, U+b9f5, U+ba40, U+ba4b, U+ba58, U+ba87, U+baac, U+bbc0, U+bc16, U+bc34, U+bd07, U+bd99, U+be59,\n    U+bfd0, U+c058, U+c0e4, U+c0f5, U+c12d, U+c139, U+c228, U+c529, U+c5c7, U+c635, U+c637, U+c735, U+c77d, U+c787,\n    U+c789, U+c8c4, U+c989, U+c98c, U+c9d0, U+c9d3, U+cc0c, U+cc99, U+cd0c, U+cd2c, U+cd98, U+cda4, U+ce59, U+ce60,\n    U+ce6d, U+cea0, U+d0d0-d0d1, U+d0d5, U+d14d, U+d1a4, U+d29c, U+d2f1, U+d301, U+d39c, U+d3bc, U+d4e8, U+d540, U+d5ec,\n    U+d640, U+d750;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.85.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+5e, U+25b2, U+25b6, U+314e, U+ac24, U+ace1, U+ace4, U+ae68, U+af2d, U+b0d0, U+b0e5, U+b150, U+b155,\n    U+b193, U+b2c9, U+b2dd, U+b3c8, U+b3fc, U+b410, U+b458, U+b4dd, U+b5a0, U+b5a4, U+b5bb, U+b7b5, U+b838, U+b840,\n    U+b86f, U+b8f9, U+b960, U+b9e5, U+bab8, U+bb50, U+bc1d, U+bc24-bc25, U+bca8, U+bcbd, U+bd04, U+bd10, U+bd24, U+be48,\n    U+be5b, U+be68, U+c05c, U+c12c, U+c140, U+c15c, U+c168, U+c194, U+c219, U+c27d, U+c2a8, U+c2f1, U+c2f8, U+c368,\n    U+c554-c555, U+c559, U+c564, U+c5d8, U+c5fc, U+c625, U+c65c, U+c6b1, U+c728, U+c794, U+c84c, U+c88c, U+c8e0, U+c8fd,\n    U+c998, U+c9dd, U+cc0d, U+cc30, U+ceec, U+cf13, U+cf1c, U+cf5c, U+d050, U+d07c, U+d0a8, U+d134, U+d138, U+d154,\n    U+d1f4, U+d2bc, U+d329, U+d32c, U+d3d0, U+d3f4, U+d3fc, U+d56b, U+d5cc, U+d600-d601, U+d639, U+d6c8, U+d754, U+d765;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.86.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+3c-3d, U+2026, U+24d2, U+314b, U+ac11, U+acf3, U+ad74, U+ad81, U+adf9, U+ae34, U+af43, U+afb8, U+b05d,\n    U+b07c, U+b110, U+b118, U+b17c, U+b180, U+b18d, U+b192, U+b2cc, U+b355, U+b378, U+b4a4, U+b4ef, U+b78d, U+b799,\n    U+b7a9, U+b7fd, U+b807, U+b80c, U+b839, U+b9b4, U+b9db, U+ba3c, U+bab0, U+bba4, U+bc94, U+be4c, U+c154, U+c1c4,\n    U+c26c, U+c2ac, U+c2ed, U+c4f4, U+c55e, U+c561, U+c571, U+c5b5, U+c5c4, U+c654-c655, U+c695, U+c6e8, U+c6f9, U+c724,\n    U+c751, U+c775, U+c7a0, U+c7c1, U+c874, U+c880, U+c9d5, U+c9f8, U+cabd, U+cc29, U+cc2c, U+cca8, U+ccab, U+ccd0,\n    U+ce21, U+ce35, U+ce7c, U+ce90, U+cee8, U+cef4, U+cfe0, U+d070, U+d0b9, U+d0c1, U+d0c4, U+d0c8, U+d15c, U+d1a1,\n    U+d2c0, U+d300, U+d314, U+d3ed, U+d478, U+d480, U+d48d, U+d508, U+d53d, U+d5e4, U+d611, U+d61c, U+d68d, U+d6a8,\n    U+d798;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.87.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+23, U+25, U+5f, U+a9, U+ac08, U+ac78, U+aca8, U+acac, U+ace8, U+ad70, U+adc0, U+addc, U+b137, U+b140,\n    U+b208, U+b290, U+b2f5, U+b3c5, U+b3cc, U+b420, U+b429, U+b529, U+b530, U+b77d, U+b79c, U+b7a8, U+b7c9, U+b7f0,\n    U+b7fc, U+b828, U+b860, U+b9ad, U+b9c1, U+b9c9, U+b9dd-b9de, U+b9e8, U+ba38-ba39, U+babb, U+bc00, U+bc8c, U+bca0,\n    U+bca4, U+bcd1, U+bcfc, U+bd09, U+bdf0, U+be60, U+c0ad, U+c0b4, U+c0bc, U+c190, U+c1fc, U+c220, U+c288, U+c2b9,\n    U+c2f6, U+c528, U+c545, U+c558, U+c5bc, U+c5d4, U+c600, U+c644, U+c6c0, U+c6c3, U+c721, U+c798, U+c7a1, U+c811,\n    U+c838, U+c871, U+c904, U+c990, U+c9dc, U+cc38, U+cc44, U+cca0, U+cd1d, U+cd95, U+cda9, U+ce5c, U+cf00, U+cf58,\n    U+d150, U+d22c, U+d305, U+d328, U+d37c, U+d3f0, U+d551, U+d5a5, U+d5c8, U+d5d8, U+d63c, U+d64d, U+d669, U+d734,\n    U+d76c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.88.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+26, U+2b, U+3e, U+40, U+7e, U+ac01, U+ac19, U+ac1d, U+aca0, U+aca9, U+acb0, U+ad8c, U+ae09, U+ae38,\n    U+ae40, U+aed8, U+b09c, U+b0a0, U+b108, U+b204, U+b298, U+b2d8, U+b2eb-b2ec, U+b2f4, U+b313, U+b358, U+b450, U+b4e0,\n    U+b54c, U+b610, U+b780, U+b78c, U+b791, U+b8e8, U+b958, U+b974, U+b984, U+b9b0, U+b9bc-b9bd, U+b9ce, U+ba70, U+bbfc,\n    U+bc0f, U+bc15, U+bc1b, U+bc31, U+bc95, U+bcc0, U+bcc4, U+bd81, U+bd88, U+c0c8, U+c11d, U+c13c, U+c158, U+c18d,\n    U+c1a1, U+c21c, U+c4f0, U+c54a, U+c560, U+c5b8, U+c5c8, U+c5f4, U+c628, U+c62c, U+c678, U+c6cc, U+c808, U+c810,\n    U+c885, U+c88b, U+c900, U+c988, U+c99d, U+c9c8, U+cc3d-cc3e, U+cc45, U+cd08, U+ce20, U+cee4, U+d074, U+d0a4, U+d0dd,\n    U+d2b9, U+d3b8, U+d3c9, U+d488, U+d544, U+d559, U+d56d, U+d588, U+d615, U+d648, U+d655, U+d658, U+d65c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.89.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d, U+7c, U+ac10, U+ac15, U+ac74, U+ac80, U+ac83, U+acc4, U+ad11, U+ad50, U+ad6d, U+adfc, U+ae00,\n    U+ae08, U+ae4c, U+b0a8, U+b124, U+b144, U+b178, U+b274, U+b2a5, U+b2e8, U+b2f9, U+b354, U+b370, U+b418, U+b41c,\n    U+b4f1, U+b514, U+b798, U+b808, U+b824-b825, U+b8cc, U+b978, U+b9d0, U+b9e4, U+baa9, U+bb3c, U+bc18, U+bc1c, U+bc30,\n    U+bc84, U+bcf5, U+bcf8, U+bd84, U+be0c, U+be14, U+c0b0, U+c0c9, U+c0dd, U+c124, U+c2dd, U+c2e4, U+c2ec, U+c54c,\n    U+c57c-c57d, U+c591, U+c5c5-c5c6, U+c5ed, U+c608, U+c640, U+c6b8, U+c6d4, U+c784, U+c7ac, U+c800-c801, U+c9c1,\n    U+c9d1, U+cc28, U+cc98, U+cc9c, U+ccad, U+cd5c, U+cd94, U+cd9c, U+cde8, U+ce68, U+cf54, U+d0dc, U+d14c, U+d1a0,\n    U+d1b5, U+d2f0, U+d30c, U+d310, U+d398, U+d45c, U+d50c, U+d53c, U+d560, U+d568, U+d589, U+d604, U+d6c4, U+d788;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.90.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ac04, U+ac1c, U+ac70, U+ac8c, U+acbd, U+acf5, U+acfc, U+ad00, U+ad6c, U+adf8, U+b098, U+b0b4, U+b294,\n    U+b2c8, U+b300, U+b3c4, U+b3d9, U+b4dc, U+b4e4, U+b77c, U+b7ec, U+b85d, U+b97c, U+b9c8, U+b9cc, U+ba54, U+ba74,\n    U+ba85, U+baa8, U+bb34, U+bb38, U+bbf8, U+bc14, U+bc29, U+bc88, U+bcf4, U+bd80, U+be44, U+c0c1, U+c11c, U+c120,\n    U+c131, U+c138, U+c18c, U+c218, U+c2b5, U+c2e0, U+c544, U+c548, U+c5b4, U+c5d0, U+c5ec, U+c5f0, U+c601, U+c624,\n    U+c694, U+c6a9, U+c6b0, U+c6b4, U+c6d0, U+c704, U+c720, U+c73c, U+c740, U+c744, U+c74c, U+c758, U+c77c, U+c785,\n    U+c788, U+c790-c791, U+c7a5, U+c804, U+c815, U+c81c, U+c870, U+c8fc, U+c911, U+c9c4, U+ccb4, U+ce58, U+ce74, U+d06c,\n    U+d0c0, U+d130, U+d2b8, U+d3ec, U+d504, U+d55c, U+d569, U+d574, U+d638, U+d654, U+d68c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.91.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+20-22, U+27-2a, U+2c-39, U+3a-3b, U+3f, U+41-4e, U+4f-5d, U+61-7b, U+7d, U+a0-a1, U+ab, U+ad-ae, U+b7,\n    U+bb, U+bf, U+2013-2014, U+201c-201d, U+2122, U+ac00, U+ace0, U+ae30, U+b2e4, U+b85c, U+b9ac, U+c0ac, U+c2a4, U+c2dc,\n    U+c774, U+c778, U+c9c0, U+d558;\n}\n\n.before\\\\:invisible::before {\n  content: var(--tw-content);\n  visibility: hidden;\n}\n\n.before\\\\:font-bold::before {\n  content: var(--tw-content);\n  font-weight: 700;\n}\n\n.before\\\\:content-\\\\[attr\\\\(data-label\\\\)\\\\]::before {\n  --tw-content: attr(data-label);\n  content: var(--tw-content);\n}\n\n.before\\\\:\\\\[grid-area\\\\:1\\\\/1\\\\]::before {\n  content: var(--tw-content);\n  grid-area: 1/1;\n}\n\n.after\\\\:text-accent::after {\n  content: var(--tw-content);\n  --tw-text-opacity: 1;\n  color: rgb(255 72 0 / var(--tw-text-opacity, 1));\n}\n\n.after\\\\:content-\\\\[\\\\'\\\\*\\\\'\\\\]::after {\n  --tw-content: '*';\n  content: var(--tw-content);\n}\n\n.first\\\\:mr-2:first-child {\n  margin-right: 0.125rem;\n}\n\n.first\\\\:mr-4:first-child {\n  margin-right: 0.250rem;\n}\n\n.last\\\\:ml-2:last-child {\n  margin-left: 0.125rem;\n}\n\n.visited\\\\:bg-on-white:visited {\n  background-color: rgb(255 255 255 );\n}\n\n.focus-within\\\\:border-line-selected:focus-within {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.focus-within\\\\:border-negative:focus-within {\n  --tw-border-opacity: 1;\n  border-color: rgb(173 7 0 / var(--tw-border-opacity, 1));\n}\n\n.hover\\\\:border-4:hover {\n  border-width: 4px;\n}\n\n.hover\\\\:border-6:hover {\n  border-width: 6px;\n}\n\n.hover\\\\:border-line-disabled:hover {\n  border-color: #00000021;\n}\n\n.hover\\\\:border-line-hover:hover {\n  --tw-border-opacity: 1;\n  border-color: rgb(204 204 204 / var(--tw-border-opacity, 1));\n}\n\n.hover\\\\:bg-disabled:hover {\n  --tw-bg-opacity: 1;\n  background-color: rgb(232 232 232 / var(--tw-bg-opacity, 1));\n}\n\n.hover\\\\:bg-primary-hover:hover {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.hover\\\\:bg-silent-hover:hover {\n  --tw-bg-opacity: 1;\n  background-color: rgb(240 240 240 / var(--tw-bg-opacity, 1));\n}\n\n.hover\\\\:text-primary-hover:hover {\n  --tw-text-opacity: 1;\n  color: rgb(70 70 70 / var(--tw-text-opacity, 1));\n}\n\n.focus\\\\:bg-disabled:focus {\n  --tw-bg-opacity: 1;\n  background-color: rgb(232 232 232 / var(--tw-bg-opacity, 1));\n}\n\n.focus\\\\:bg-negative:focus {\n  --tw-bg-opacity: 1;\n  background-color: rgb(173 7 0 / var(--tw-bg-opacity, 1));\n}\n\n.focus\\\\:bg-on-white:focus {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.focus\\\\:bg-primary:focus {\n  --tw-bg-opacity: 1;\n  background-color: rgb(31 31 31 / var(--tw-bg-opacity, 1));\n}\n\n.focus\\\\:bg-transparent:focus {\n  background-color: transparent;\n}\n\n.focus\\\\:text-disabled:focus {\n  --tw-text-opacity: 1;\n  color: rgb(180 180 180 / var(--tw-text-opacity, 1));\n}\n\n.focus\\\\:text-on-color:focus {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.focus\\\\:text-primary-hover:focus {\n  --tw-text-opacity: 1;\n  color: rgb(70 70 70 / var(--tw-text-opacity, 1));\n}\n\n.focus-visible\\\\:rounded-4:focus-visible {\n  border-radius: 4px;\n}\n\n.focus-visible\\\\:rounded-full:focus-visible {\n  border-radius: 9999px;\n}\n\n.focus-visible\\\\:border:focus-visible {\n  border-width: 1px;\n}\n\n.focus-visible\\\\:border-solid:focus-visible {\n  border-style: solid;\n}\n\n.focus-visible\\\\:border-interactive:focus-visible {\n  --tw-border-opacity: 1;\n  border-color: rgb(55 95 255 / var(--tw-border-opacity, 1));\n}\n\n.focus-visible\\\\:border-line-selected:focus-visible {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.focus-visible\\\\:outline-none:focus-visible {\n  outline: 2px solid transparent;\n  outline-offset: 2px;\n}\n\n.focus-visible\\\\:outline:focus-visible {\n  outline-style: solid;\n}\n\n.focus-visible\\\\:outline-1:focus-visible {\n  outline-width: 1px;\n}\n\n.focus-visible\\\\:outline-2:focus-visible {\n  outline-width: 2px;\n}\n\n.focus-visible\\\\:-outline-offset-2:focus-visible {\n  outline-offset: -2px;\n}\n\n.focus-visible\\\\:outline-offset-0:focus-visible {\n  outline-offset: 0px;\n}\n\n.focus-visible\\\\:outline-offset-1:focus-visible {\n  outline-offset: 1px;\n}\n\n.focus-visible\\\\:outline-offset-2:focus-visible {\n  outline-offset: 2px;\n}\n\n.focus-visible\\\\:outline-offset-4:focus-visible {\n  outline-offset: 4px;\n}\n\n.focus-visible\\\\:outline-offset-8:focus-visible {\n  outline-offset: 8px;\n}\n\n.focus-visible\\\\:outline-interactive:focus-visible {\n  outline-color: #375fff;\n}\n\n.focus-visible\\\\:outline-line-selected:focus-visible {\n  outline-color: #000000;\n}\n\n.focus-visible\\\\:outline-negative:focus-visible {\n  outline-color: #ad0700;\n}\n\n.active\\\\:bg-\\\\[\\\\#fffffff5\\\\]:active {\n  background-color: #fffffff5;\n}\n\n.active\\\\:bg-primary-pressed:active {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.active\\\\:bg-silent-pressed:active {\n  --tw-bg-opacity: 1;\n  background-color: rgb(240 240 240 / var(--tw-bg-opacity, 1));\n}\n\n.active\\\\:text-disabled:active {\n  --tw-text-opacity: 1;\n  color: rgb(180 180 180 / var(--tw-text-opacity, 1));\n}\n\n.active\\\\:text-on-white-pressed:active {\n  color: #fffffff5;\n}\n\n.active\\\\:text-primary-pressed:active {\n  --tw-text-opacity: 1;\n  color: rgb(70 70 70 / var(--tw-text-opacity, 1));\n}\n\n.active\\\\:text-secondary-pressed:active {\n  --tw-text-opacity: 1;\n  color: rgb(138 138 138 / var(--tw-text-opacity, 1));\n}\n\n.disabled\\\\:pointer-events-none:disabled {\n  pointer-events: none;\n}\n\n.disabled\\\\:cursor-not-allowed:disabled {\n  cursor: not-allowed;\n}\n\n.disabled\\\\:text-disabled:disabled {\n  --tw-text-opacity: 1;\n  color: rgb(180 180 180 / var(--tw-text-opacity, 1));\n}\n\n.group:hover .group-hover\\\\:text-tertiary-hover {\n  --tw-text-opacity: 1;\n  color: rgb(158 158 158 / var(--tw-text-opacity, 1));\n}\n\n.group:active .group-active\\\\:h-\\\\[22px\\\\] {\n  height: 22px;\n}\n\n.group:active .group-active\\\\:min-h-\\\\[22px\\\\] {\n  min-height: 22px;\n}\n\n.group:active .group-active\\\\:w-\\\\[22px\\\\] {\n  width: 22px;\n}\n\n.group:active .group-active\\\\:min-w-\\\\[22px\\\\] {\n  min-width: 22px;\n}\n\n.group:active .group-active\\\\:text-tertiary-pressed {\n  --tw-text-opacity: 1;\n  color: rgb(158 158 158 / var(--tw-text-opacity, 1));\n}\n\n.peer:checked ~ .peer-checked\\\\:border-line-disabled {\n  border-color: #00000021;\n}\n\n.peer:checked ~ .peer-checked\\\\:border-on-black {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.peer:checked ~ .peer-checked\\\\:border-on-black-hover {\n  border-color: #000000e0;\n}\n\n.peer:checked ~ .peer-checked\\\\:bg-interactive {\n  --tw-bg-opacity: 1;\n  background-color: rgb(55 95 255 / var(--tw-bg-opacity, 1));\n}\n\n.peer:checked ~ .peer-checked\\\\:bg-on-black {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.peer:checked ~ .peer-checked\\\\:bg-on-black-hover {\n  background-color: #000000e0;\n}\n\n.peer:checked ~ .peer-checked\\\\:bg-silent {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.peer:checked ~ .peer-checked\\\\:hover\\\\:bg-silent-hover:hover {\n  --tw-bg-opacity: 1;\n  background-color: rgb(240 240 240 / var(--tw-bg-opacity, 1));\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:border-line-disabled {\n  border-color: #00000021;\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:border-on-black {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:border-on-black-hover {\n  border-color: #000000e0;\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:bg-on-black {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:bg-on-black-hover {\n  background-color: #000000e0;\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:bg-silent {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:hover\\\\:bg-silent-hover:hover {\n  --tw-bg-opacity: 1;\n  background-color: rgb(240 240 240 / var(--tw-bg-opacity, 1));\n}\n\n.peer:focus ~ .peer-focus\\\\:outline-none {\n  outline: 2px solid transparent;\n  outline-offset: 2px;\n}\n\n.peer:disabled ~ .peer-disabled\\\\:cursor-not-allowed {\n  cursor: not-allowed;\n}\n\n.peer:disabled ~ .peer-disabled\\\\:bg-disabled {\n  --tw-bg-opacity: 1;\n  background-color: rgb(232 232 232 / var(--tw-bg-opacity, 1));\n}\n\n.peer:checked:disabled ~ .peer-checked\\\\:peer-disabled\\\\:bg-disabled {\n  --tw-bg-opacity: 1;\n  background-color: rgb(232 232 232 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-disabled[data-pressed=\"true\"] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(232 232 232 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-negative-pressed[data-pressed=\"true\"] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(217 65 65 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-on-white[data-pressed=\"true\"] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-primary-pressed[data-pressed=\"true\"] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-silent-pressed[data-pressed=\"true\"] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(240 240 240 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-transparent[data-pressed=\"true\"] {\n  background-color: transparent;\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:text-disabled[data-pressed=\"true\"] {\n  --tw-text-opacity: 1;\n  color: rgb(180 180 180 / var(--tw-text-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:text-on-color[data-pressed=\"true\"] {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:text-primary-pressed[data-pressed=\"true\"] {\n  --tw-text-opacity: 1;\n  color: rgb(70 70 70 / var(--tw-text-opacity, 1));\n}\n\n.data-\\\\[state\\\\=open\\\\]\\\\:text-green-300[data-state=\"open\"] {\n  --tw-text-opacity: 1;\n  color: rgb(129 220 113 / var(--tw-text-opacity, 1));\n}\n\n@media (pointer: coarse) {\n  .touchable\\\\:bg-green-500 {\n    --tw-bg-opacity: 1;\n    background-color: rgb(18 186 35 / var(--tw-bg-opacity, 1));\n  }\n}\n\n@media ((min-width: 1025px) and (pointer: fine)) or (min-width: 1280px) {\n  .desktop\\\\:sr-only {\n    position: absolute;\n    width: 1px;\n    height: 1px;\n    padding: 0;\n    margin: -1px;\n    overflow: hidden;\n    clip: rect(0, 0, 0, 0);\n    white-space: nowrap;\n    border-width: 0;\n  }\n\n  .desktop\\\\:not-sr-only {\n    position: static;\n    width: auto;\n    height: auto;\n    padding: 0;\n    margin: 0;\n    overflow: visible;\n    clip: auto;\n    white-space: normal;\n  }\n\n  .desktop\\\\:static {\n    position: static;\n  }\n\n  .desktop\\\\:grid-cols-2 {\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n  }\n\n  .desktop\\\\:grid-cols-4 {\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n  }\n\n  .desktop\\\\:grid-cols-5 {\n    grid-template-columns: repeat(5, minmax(0, 1fr));\n  }\n\n  .desktop\\\\:grid-cols-6 {\n    grid-template-columns: repeat(6, minmax(0, 1fr));\n  }\n\n  .desktop\\\\:grid-cols-8 {\n    grid-template-columns: repeat(8, minmax(0, 1fr));\n  }\n\n  .desktop\\\\:overflow-hidden {\n    overflow: hidden;\n  }\n\n  .desktop\\\\:rounded-2 {\n    border-radius: 2px;\n  }\n}\n\n@media (min-width: 390px) {\n  .min-\\\\[390px\\\\]\\\\:grid-cols-3 {\n    grid-template-columns: repeat(3, minmax(0, 1fr));\n  }\n}\n\n@media (min-width: 541px) {\n  .md\\\\:grid-cols-4 {\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n  }\n}\n\n@media (min-width: 1025px) {\n  .lg\\\\:max-w-1280 {\n    max-width: 80rem;\n  }\n\n  .lg\\\\:grid-cols-4 {\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n  }\n\n  .lg\\\\:grid-cols-5 {\n    grid-template-columns: repeat(5, minmax(0, 1fr));\n  }\n\n  @media (pointer: coarse) {\n    .lg\\\\:touchable\\\\:max-w-700 {\n      max-width: 43.750rem;\n    }\n\n    .lg\\\\:touchable\\\\:grid-cols-3 {\n      grid-template-columns: repeat(3, minmax(0, 1fr));\n    }\n  }\n}\n\n@media (min-width: 1280px) {\n  .xl\\\\:max-w-1280 {\n    max-width: 80rem;\n  }\n\n  .xl\\\\:grid-cols-5 {\n    grid-template-columns: repeat(5, minmax(0, 1fr));\n  }\n\n  .xl\\\\:grid-cols-6 {\n    grid-template-columns: repeat(6, minmax(0, 1fr));\n  }\n\n  .xl\\\\:grid-cols-8 {\n    grid-template-columns: repeat(8, minmax(0, 1fr));\n  }\n\n  .xl\\\\:px-50 {\n    padding-left: 3.125rem;\n    padding-right: 3.125rem;\n  }\n}\n\n@media (min-width: 2560px) {\n  .xxl\\\\:max-w-2560 {\n    max-width: 160rem;\n  }\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.postfix-icon\\\\)\\\\]\\\\:pr-12:has(.postfix-icon) {\n  padding-right: 0.750rem;\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.postfix-icon\\\\)\\\\]\\\\:pr-16:has(.postfix-icon) {\n  padding-right: 1rem;\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.postfix-icon\\\\)\\\\]\\\\:pr-8:has(.postfix-icon) {\n  padding-right: 0.500rem;\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.prefix-icon\\\\)\\\\]\\\\:pl-12:has(.prefix-icon) {\n  padding-left: 0.750rem;\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.prefix-icon\\\\)\\\\]\\\\:pl-16:has(.prefix-icon) {\n  padding-left: 1rem;\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.prefix-icon\\\\)\\\\]\\\\:pl-8:has(.prefix-icon) {\n  padding-left: 0.500rem;\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:hover\\\\:text-on-white-hover:hover:not(:disabled) {\n  color: #fffffff5;\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:hover\\\\:text-primary-hover:hover:not(:disabled) {\n  --tw-text-opacity: 1;\n  color: rgb(70 70 70 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:hover\\\\:text-secondary-hover:hover:not(:disabled) {\n  --tw-text-opacity: 1;\n  color: rgb(138 138 138 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:hover\\\\:text-tertiary-hover:hover:not(:disabled) {\n  --tw-text-opacity: 1;\n  color: rgb(158 158 158 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:active\\\\:text-on-white-pressed:active:not(:disabled) {\n  color: #fffffff5;\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:active\\\\:text-primary-pressed:active:not(:disabled) {\n  --tw-text-opacity: 1;\n  color: rgb(70 70 70 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:active\\\\:text-secondary-pressed:active:not(:disabled) {\n  --tw-text-opacity: 1;\n  color: rgb(138 138 138 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:active\\\\:text-tertiary-pressed:active:not(:disabled) {\n  --tw-text-opacity: 1;\n  color: rgb(158 158 158 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:block>* {\n  display: block;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:size-full>* {\n  width: 100%;\n  height: 100%;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:h-14>* {\n  height: 0.875rem;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:h-32>* {\n  height: 2rem;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:w-14>* {\n  width: 0.875rem;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:w-32>* {\n  width: 2rem;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:shrink-0>* {\n  flex-shrink: 0;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:align-middle>* {\n  vertical-align: middle;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:text-accent>* {\n  --tw-text-opacity: 1;\n  color: rgb(255 72 0 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:text-gray-300>* {\n  --tw-text-opacity: 1;\n  color: rgb(204 204 204 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:text-gray-400>* {\n  --tw-text-opacity: 1;\n  color: rgb(180 180 180 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:text-primary>* {\n  --tw-text-opacity: 1;\n  color: rgb(31 31 31 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\>img\\\\]\\\\:aspect-\\\\[5\\\\/4\\\\]>img {\n  aspect-ratio: 5/4;\n}\n\n.\\\\[\\\\&\\\\>img\\\\]\\\\:aspect-square>img {\n  aspect-ratio: 1 / 1;\n}\n\n.\\\\[\\\\&\\\\>img\\\\]\\\\:rounded-2>img {\n  border-radius: 2px;\n}\n\n.\\\\[\\\\&\\\\>img\\\\]\\\\:rounded-full>img {\n  border-radius: 9999px;\n}\n\n.\\\\[\\\\&\\\\>img\\\\]\\\\:object-cover>img {\n  object-fit: cover;\n}\n\n.\\\\[\\\\&\\\\>span\\\\]\\\\:truncate>span {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.\\\\[\\\\&_\\\\*\\\\]\\\\:cursor-not-allowed * {\n  cursor: not-allowed;\n}\n\n.\\\\[\\\\&_div\\\\]\\\\:text-accent div {\n  --tw-text-opacity: 1;\n  color: rgb(255 72 0 / var(--tw-text-opacity, 1));\n}\n\n@media(hover:hover)and(pointer:fine) {\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:bg-silent-hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(240 240 240 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:text-primary-hover {\n    --tw-text-opacity: 1;\n    color: rgb(70 70 70 / var(--tw-text-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-\\\\[\\\\#fffffff5\\\\]:hover {\n    background-color: #fffffff5;\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-disabled:hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(232 232 232 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-negative-hover:hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(217 65 65 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-on-white:hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-primary-hover:hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-silent-hover:hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(240 240 240 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-transparent:hover {\n    background-color: transparent;\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:text-disabled:hover {\n    --tw-text-opacity: 1;\n    color: rgb(180 180 180 / var(--tw-text-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:text-gray-300:hover {\n    --tw-text-opacity: 1;\n    color: rgb(204 204 204 / var(--tw-text-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:text-on-color:hover {\n    --tw-text-opacity: 1;\n    color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:text-on-white-hover:hover {\n    color: #fffffff5;\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:text-primary-hover:hover {\n    --tw-text-opacity: 1;\n    color: rgb(70 70 70 / var(--tw-text-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:text-secondary-hover:hover {\n    --tw-text-opacity: 1;\n    color: rgb(138 138 138 / var(--tw-text-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:text-tertiary-hover:hover {\n    --tw-text-opacity: 1;\n    color: rgb(158 158 158 / var(--tw-text-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:active\\\\:bg-\\\\[\\\\#fffffff5\\\\]:active {\n    background-color: #fffffff5;\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:active\\\\:bg-primary-pressed:active {\n    --tw-bg-opacity: 1;\n    background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:active\\\\:bg-silent-pressed:active {\n    --tw-bg-opacity: 1;\n    background-color: rgb(240 240 240 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:active\\\\:text-disabled:active {\n    --tw-text-opacity: 1;\n    color: rgb(180 180 180 / var(--tw-text-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:active\\\\:text-on-white-pressed:active {\n    color: #fffffff5;\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:active\\\\:text-primary-pressed:active {\n    --tw-text-opacity: 1;\n    color: rgb(70 70 70 / var(--tw-text-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:active\\\\:text-secondary-pressed:active {\n    --tw-text-opacity: 1;\n    color: rgb(138 138 138 / var(--tw-text-opacity, 1));\n  }\n}\n/**\n * 29CM Editorial (V2) — 신규 서체 (M29CMCCF-2115)\n * static 5웨이트(400/500/600/700/800). 350은 비표준(usWeightClass 300)이라 미사용.\n * 서브셋 없이 웨이트당 full 파일 하나(~700KB)를 쓴다.\n */\n@font-face {\n  font-family: '29CM Editorial';\n  font-style: normal;\n  font-display: swap;\n  font-weight: 400;\n  src: url(https://d13fzx7h5ezopb.cloudfront.net/fonts/29cm-editorial/29cm-editorial-400.woff2) format('woff2');\n}\n@font-face {\n  font-family: '29CM Editorial';\n  font-style: normal;\n  font-display: swap;\n  font-weight: 500;\n  src: url(https://d13fzx7h5ezopb.cloudfront.net/fonts/29cm-editorial/29cm-editorial-500.woff2) format('woff2');\n}\n@font-face {\n  font-family: '29CM Editorial';\n  font-style: normal;\n  font-display: swap;\n  font-weight: 600;\n  src: url(https://d13fzx7h5ezopb.cloudfront.net/fonts/29cm-editorial/29cm-editorial-600.woff2) format('woff2');\n}\n@font-face {\n  font-family: '29CM Editorial';\n  font-style: normal;\n  font-display: swap;\n  font-weight: 700;\n  src: url(https://d13fzx7h5ezopb.cloudfront.net/fonts/29cm-editorial/29cm-editorial-700.woff2) format('woff2');\n}\n@font-face {\n  font-family: '29CM Editorial';\n  font-style: normal;\n  font-display: swap;\n  font-weight: 800;\n  src: url(https://d13fzx7h5ezopb.cloudfront.net/fonts/29cm-editorial/29cm-editorial-800.woff2) format('woff2');\n}`));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nimport { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport snowplow from \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"react\";\nimport \"../../components/systems/Countdown/Countdown.js\";\nimport \"react-dom\";\nimport \"../../components/systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../components/systems/Expandable/Expandable.js\";\nimport \"../../components/systems/FixedScrollProgressBar/FixedScrollProgressBar.js\";\nimport { FloatingShareButton } from \"../../components/systems/FloatingShareButton/FloatingShareButton.js\";\nimport \"../../components/systems/Products/Products.js\";\nimport \"../../apis/framer/FramerApiService.js\";\nimport { isWebview } from \"../../utils/device.js\";\nimport \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport { env } from \"../../config/index.js\";\nimport \"../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport { useFetchUserInfo } from \"../../hooks/fetchers/useFetchUserInfo.js\";\nimport { FIREBASE_CONFIG } from \"../../constants/firebase.js\";\nimport { isCanvas } from \"../../utils/framer/isCanvas.js\";\nimport { isFramerPreview } from \"../../utils/framer/isFramerPreview.js\";\nimport \"../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../hooks/stores/content/content.store.js\";\nimport \"../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../hooks/stores/toast/toast.store.js\";\nimport \"../../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport { DialogContainer } from \"../../containers/DialogContainer/DialogContainer.js\";\nimport \"../../hooks/useFeatureFlag.js\";\nimport \"../../utils/redirectLogin.js\";\nimport { AlertDialogContainer } from \"../../containers/AlertDialogContainer/AlertDialogContainer.js\";\nimport \"../../utils/event-properties/source.js\";\nimport \"../../constants/snowplow/snowplowSchema.js\";\nimport \"../../components/systems/ResponsiveSplitView/ResponsiveSplitView.js\";\nimport \"../../components/systems/ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.js\";\nimport \"../../components/systems/RollingNumber/RollingNumber.js\";\nimport \"../../components/systems/TabBar/TabBar.js\";\nimport \"../../components/systems/TimeProgressBar/TimeProgressBar.js\";\nimport \"../../components/systems/ViewportContainer/ViewportContainer.js\";\nimport \"../../components/systems/TabBarV2/TabBarV2.js\";\nimport \"../../components/systems/TabBarV3/TabBarV3.js\";\nimport \"../../components/systems/TabBarV4/TabBarV4.js\";\nimport { BottomSheetContainer } from \"../../containers/BottomSheetContainer/BottomSheetContainer.js\";\nimport { UIContainer } from \"../../containers/UIContainer/UIContainer.js\";\nimport { ToastContainer } from \"../../containers/ToastContainer/ToastContainer.js\";\nimport { useForceOneMemberRedirect } from \"../../hooks/mss-one/useForceOneMemberRedirect.js\";\nimport { useSyncViewportMeta, useSendMetadata, useSendAdditionalMetadata, useSendContentId, useSendMetadataStatus, useInitializeContentSummary, useInjectFontCSS, stringToNumber } from \"./Bootstrap.hooks.js\";\nimport { useTrackVisitContent, useTrackViewAttribution } from \"./Bootstrap.hooks.event.js\";\nimport { AdvancedReadingIndexTracker } from \"./advanced-reading-index-tracker/AdvancedReadingIndexTracker.js\";\nimport { ReadingIndexTracker } from \"./reading-index-tracker/ReadingIndexTracker.js\";\nimport { initFirebase } from \"../../utils/analytics/firebase.js\";\nimport { withCSS } from \"framer\";\nimport { useInitBrazeCDN } from \"../../hooks/analytics/braze/useInitBrazeCDN.js\";\nimport { CampaignBanner } from \"../../components/systems/CampaignBanner/CampaignBanner.js\";\nimport { getCampaignPhaseStatus } from \"../../components/systems/CampaignBanner/CampaignBanner.utils.js\";\nimport { EventGateBanner } from \"../../components/systems/EventGateBanner/EventGateBanner.js\";\nimport { SENTRY_DSN } from \"../../constants/sentry.js\";\nimport { initBeacon } from \"../beacon.js\";\n\n\nimport { init } from \"../../node_modules/@sentry/browser/build/npm/esm/sdk.js\";\nimport { browserTracingIntegration } from \"../../node_modules/@sentry/browser/build/npm/esm/tracing/browserTracingIntegration.js\";\nsnowplow.init({\n  debug: false,\n  trackerId: \"web\",\n  appId: \"29cm\",\n  postPath: \"/api/track\",\n  platform: \"web\",\n  collectUrl: env.api.collector,\n  discoverRootDomain: true\n});\ninitBeacon();\nif (!isWebview()) {\n  initFirebase(FIREBASE_CONFIG);\n}\nconst webviewGlobalCSS = [`\n  body {\n    user-select: none;\n    \n    -webkit-overflow-scrolling: touch;\n    -webkit-tap-highlight-color: transparent;\n    -webkit-touch-callout: none;\n  }\n  `];\nconst primaryPageContentIds = [\"4030\", \"4031\", \"4245\", \"4267\", \"4263\", \"4254\"];\nconst Bootstrap = withCSS(({\n  children,\n  useAdvancedReadingIndexTracking,\n  excludeSectionIds,\n  contentId,\n  metadata,\n  hideShareButton = false\n}) => {\n  useSyncViewportMeta();\n  useSendMetadata(metadata);\n  useSendAdditionalMetadata();\n  useSendContentId(stringToNumber(contentId));\n  useSendMetadataStatus(metadata);\n  const contentSummary = {\n    contentId,\n    title: metadata.title,\n    mobilePoster: metadata.mobilePoster\n  };\n  const {\n    isInitBraze\n  } = useInitBrazeCDN();\n  useInitializeContentSummary(contentSummary);\n  useTrackVisitContent(contentSummary, isInitBraze);\n  useTrackViewAttribution();\n  useFetchUserInfo();\n  useForceOneMemberRedirect();\n  if (primaryPageContentIds.includes(contentId)) {\n    init({\n      dsn: SENTRY_DSN,\n      integrations: [browserTracingIntegration()],\n      environment: env.name,\n      enabled: !isFramerPreview() && !isCanvas(),\n      tracesSampleRate: 0,\n      sampleRate: env.name === \"production\" ? 0.01 : 1,\n      ignoreErrors: [\"Cannot read properties of null (reading 'setAttribute')\", \"Cannot read properties of null (reading 'removeAttribute')\", \"null is not an object (evaluating 'u.current.setAttribute')\", \"null is not an object (evaluating 'u.current.removeAttribute')\", \"UnknownError: Database deleted by request of the user\", \"Load failed (firebaseinstallations.googleapis.com)\", \"undefined is not an object (evaluating 'e.createObjectStore')\", \"Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.\"]\n    });\n  }\n  const shouldRenderContainers = !isCanvas();\n  const hideDefaultFab = hideShareButton;\n  const {\n    isDuringTeasingPeriod,\n    isDuringFullMainPeriod\n  } = getCampaignPhaseStatus();\n  const isDuringCampaign = isDuringTeasingPeriod || isDuringFullMainPeriod;\n  useInjectFontCSS();\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    shouldRenderContainers ? /* @__PURE__ */ jsxs(Fragment, { children: [\n      /* @__PURE__ */ jsx(ToastContainer, {}),\n      /* @__PURE__ */ jsx(DialogContainer, {}),\n      /* @__PURE__ */ jsx(AlertDialogContainer, {}),\n      /* @__PURE__ */ jsx(UIContainer, {}),\n      /* @__PURE__ */ jsx(BottomSheetContainer, {})\n    ] }) : null,\n    hideDefaultFab ? null : /* @__PURE__ */ jsx(FloatingShareButton, {}),\n    children,\n    useAdvancedReadingIndexTracking ? /* @__PURE__ */ jsx(AdvancedReadingIndexTracker, { excludeSectionIds }) : /* @__PURE__ */ jsx(ReadingIndexTracker, {}),\n    isDuringCampaign ? /* @__PURE__ */ jsx(CampaignBanner, {}) : null,\n    hideDefaultFab ? null : /* @__PURE__ */ jsx(EventGateBanner, {})\n  ] });\n}, isWebview() ? webviewGlobalCSS : []);\nexport {\n  Bootstrap\n};\n","import { useState, useEffect } from \"react\";\nimport api from \"../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../components/systems/CampaignBanner/CampaignBanner.js\";\nimport { getCampaignPhaseStatus } from \"../components/systems/CampaignBanner/CampaignBanner.utils.js\";\nconst HIDE_APP_INSTALL_COOKIE_KEY = \"no_app_install\";\nconst HIDE_APP_INSTALL_COOKIE_VALUE = \"1\";\nconst useAppInstallBannerVisibility = () => {\n  const [hidden, setHidden] = useState(true);\n  useEffect(() => {\n    const {\n      isDuringTeasingPeriod,\n      isDuringFullMainPeriod\n    } = getCampaignPhaseStatus();\n    const isDuringCampaign = isDuringTeasingPeriod || isDuringFullMainPeriod;\n    if (isDuringCampaign) {\n      setHidden(true);\n      return;\n    }\n    const value = api.get(HIDE_APP_INSTALL_COOKIE_KEY);\n    setHidden(value === HIDE_APP_INSTALL_COOKIE_VALUE);\n  }, []);\n  const hide = (seconds) => {\n    const expiryDate = new Date((/* @__PURE__ */ new Date()).getTime() + seconds * 1e3);\n    api.set(HIDE_APP_INSTALL_COOKIE_KEY, HIDE_APP_INSTALL_COOKIE_VALUE, {\n      path: \"/\",\n      domain: \".29cm.co.kr\",\n      expires: expiryDate\n    });\n    setHidden(true);\n  };\n  return {\n    hidden,\n    hide\n  };\n};\nexport {\n  useAppInstallBannerVisibility\n};\n","import api from \"../node_modules/js-cookie/dist/js.cookie.js\";\nimport { useEffect } from \"react\";\nconst NAVER_EP_COOKIE_KEY = \"naverEp\";\nconst NAVER_EP_COOKIE_EXPIRY = 600;\nconst useInitializeNaverEp = (onInit) => {\n  useEffect(() => {\n    const naverEp = retrieveNaverEp();\n    if (!naverEp) {\n      return;\n    }\n    api.set(NAVER_EP_COOKIE_KEY, naverEp, {\n      domain: \".29cm.co.kr\",\n      path: \"/\",\n      expires: new Date((/* @__PURE__ */ new Date()).getTime() + NAVER_EP_COOKIE_EXPIRY * 1e3)\n    });\n    onInit == null ? void 0 : onInit();\n  });\n};\nconst retrieveNaverEp = () => {\n  const searchParams = retrieveSearchParams();\n  const naverCode = searchParams.get(\"naver_code\");\n  const naverCampaignType = Number(searchParams.get(\"n_campaign_type\") ?? 0);\n  if (naverCampaignType === 2) {\n    return \"naver_shopping_keyword\";\n  }\n  if (naverCode) {\n    return naverCode;\n  }\n  return api.get(NAVER_EP_COOKIE_KEY);\n};\nconst retrieveSearchParams = () => new URLSearchParams(window.location.search);\nexport {\n  useInitializeNaverEp\n};\n","import{jsx as e}from\"react/jsx-runtime\";import{useEffect as t,useState as r,forwardRef as n}from\"react\";import{isWebview as o,isMobile as s}from\"https://asset.29cm.co.kr/contents/framer/utils/device.js\";export function withMobileWebLazyRender(i){return /*#__PURE__*/n((n,l)=>{let[a,m]=r(!1);return t(()=>{!o()&&s()&&m(!0);},[]),/*#__PURE__*/e(i,{...n,ref:l,style:{...n.style,display:a?\"\":\"none\"}});});}export function withDesktopLazyRender(o){return /*#__PURE__*/n((n,i)=>{let[l,a]=r(!1);return t(()=>{s()||a(!0);},[]),/*#__PURE__*/e(o,{...n,ref:i,style:{...n.style,display:l?\"\":\"none\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withDesktopLazyRender\":{\"type\":\"reactHoc\",\"name\":\"withDesktopLazyRender\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMobileWebLazyRender\":{\"type\":\"reactHoc\",\"name\":\"withMobileWebLazyRender\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithLazyRender.map","// Generated by Framer (19eed98)\nimport{jsx as e,jsxs as r}from\"react/jsx-runtime\";import{addFonts as t,addPropertyControls as a,ControlType as i,cx as n,Image as o,Link as l,useLocaleInfo as s,useVariantState as m,withCSS as f}from\"framer\";import{LayoutGroup as c,motion as d,MotionConfigContext as p}from\"framer-motion\";import*as h from\"react\";import{withDesktopLazyRender as u}from\"https://framerusercontent.com/modules/y7oaWiZbkQVWph54vUZd/zdn5ZLCHnFZkH6Ccx1mf/WithLazyRender.js\";let x=u(d.nav),g=[\"Wzfm7hzMG\",\"csr6hDuSM\"],b=\"framer-Q9c6i\",v={csr6hDuSM:\"framer-v-14dov9i\",Wzfm7hzMG:\"framer-v-1lbx091\"};function w(e,...r){let t={};return null==r||r.forEach(r=>r&&Object.assign(t,e[r])),t;}let y={default:{damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"}},z=e=>!e,M=({value:r,children:t})=>{let a=h.useContext(p),i=null!=r?r:a.transition,n=h.useMemo(()=>({...a,transition:i}),[JSON.stringify(i)]);return /*#__PURE__*/e(p.Provider,{value:n,children:t});},D={Dark:\"csr6hDuSM\",Light:\"Wzfm7hzMG\"},Q=({height:e,id:r,isMobile:t,width:a,...i})=>{var n,o;return{...i,variant:null!==(o=null!==(n=D[i.variant])&&void 0!==n?n:i.variant)&&void 0!==o?o:\"Wzfm7hzMG\",w2lPcauNX:null!=t?t:i.w2lPcauNX};},W=(e,r)=>r.join(\"-\")+e.layoutDependency,k=/*#__PURE__*/h.forwardRef(function(t,a){let{activeLocale:i}=s(),{style:f,className:p,layoutId:u,variant:b,w2lPcauNX:D,...k}=Q(t),{baseVariant:H,classNames:N,gestureVariant:R,setGestureState:S,setVariant:j,transition:G,variants:P}=m({cycleOrder:g,defaultVariant:\"Wzfm7hzMG\",transitions:y,variant:b,variantClassNames:v}),I=W(t,P),T=h.useRef(null),L=h.useId();return /*#__PURE__*/e(c,{id:null!=u?u:L,children:/*#__PURE__*/e(d.div,{initial:b,animate:P,onHoverStart:()=>S({isHovered:!0}),onHoverEnd:()=>S({isHovered:!1}),onTapStart:()=>S({isPressed:!0}),onTap:()=>S({isPressed:!1}),onTapCancel:()=>S({isPressed:!1}),className:n(\"framer-Q9c6i\",...[],N),style:{display:\"contents\"},children:/*#__PURE__*/e(M,{value:G,children:/*#__PURE__*/e(x,{...k,className:n(\"framer-1lbx091\",p),\"data-framer-name\":\"Light\",layoutDependency:I,layoutId:\"Wzfm7hzMG\",ref:null!=a?a:T,style:{...f},...w({csr6hDuSM:{\"data-framer-name\":\"Dark\"}},H,R),children:/*#__PURE__*/e(l,{href:\"https://29cm.co.kr/home/\",openInNewTab:!0,children:/*#__PURE__*/r(d.a,{className:\"framer-1wzu016 framer-1xsir05\",\"data-framer-name\":\"Home\",layoutDependency:I,layoutId:\"ZK3Genk5j\",children:[z(D)&&/*#__PURE__*/e(o,{background:{alt:\"\",fit:\"fit\",intrinsicHeight:75,intrinsicWidth:300,pixelHeight:75,pixelWidth:300,src:\"https://framerusercontent.com/images/RF2rXMWHMDRgIRK40f2hk5metVs.svg\"},className:\"framer-1tcueu2\",\"data-framer-name\":\"DesktopLogo\",layoutDependency:I,layoutId:\"qTXwS_JMu\",...w({csr6hDuSM:{background:{alt:\"\",fit:\"fit\",intrinsicHeight:75,intrinsicWidth:300,pixelHeight:75,pixelWidth:300,src:\"https://framerusercontent.com/images/vCTh3iffjkqQWJZRb24dYPzkK70.svg\"}}},H,R)}),D&&/*#__PURE__*/e(o,{background:{alt:\"\",fit:\"fit\",intrinsicHeight:75,intrinsicWidth:300,pixelHeight:75,pixelWidth:300,src:\"https://framerusercontent.com/images/RF2rXMWHMDRgIRK40f2hk5metVs.svg\"},className:\"framer-1b4wchm\",\"data-framer-name\":\"MobileLogo\",layoutDependency:I,layoutId:\"DEVxTueC3\"})]})})})})})});}),H=['.framer-Q9c6i [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }',\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Q9c6i .framer-1xsir05 { display: block; }\",\".framer-Q9c6i .framer-1lbx091 { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 40px; height: 50px; justify-content: flex-start; padding: 0px 50px 0px 50px; position: relative; width: 1920px; }\",\".framer-Q9c6i .framer-1wzu016 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 100%; justify-content: center; overflow: visible; padding: 0px 0px 0px 0px; position: relative; text-decoration: none; width: 120px; }\",\".framer-Q9c6i .framer-1tcueu2 { aspect-ratio: 3.92 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 18px); overflow: visible; position: relative; width: 71px; }\",\".framer-Q9c6i .framer-1b4wchm { aspect-ratio: 3.92 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 12px); overflow: visible; position: relative; width: 47px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-Q9c6i .framer-1lbx091, .framer-Q9c6i .framer-1wzu016 { gap: 0px; } .framer-Q9c6i .framer-1lbx091 > * { margin: 0px; margin-left: calc(40px / 2); margin-right: calc(40px / 2); } .framer-Q9c6i .framer-1lbx091 > :first-child { margin-left: 0px; } .framer-Q9c6i .framer-1lbx091 > :last-child { margin-right: 0px; } .framer-Q9c6i .framer-1wzu016 > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-Q9c6i .framer-1wzu016 > :first-child { margin-top: 0px; } .framer-Q9c6i .framer-1wzu016 > :last-child { margin-bottom: 0px; } }\"],N=f(k,H,\"framer-Q9c6i\");export default N;N.displayName=\"WebGNB\",N.defaultProps={height:50,width:1920},a(N,{variant:{options:[\"Wzfm7hzMG\",\"csr6hDuSM\"],optionTitles:[\"Light\",\"Dark\"],title:\"Variant\",type:i.Enum},w2lPcauNX:{defaultValue:!1,title:\"isMobile\",type:i.Boolean}}),t(N,[]);\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerS9Dp38YA7\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"false\",\"framerVariables\":\"{\\\"w2lPcauNX\\\":\\\"isMobile\\\"}\",\"framerIntrinsicHeight\":\"50\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"csr6hDuSM\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"1920\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/*\n * WebGNB\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/I9ht8jBctZPguy6Qpt3k/80nWBjrnJFW0OScYfNAq/S9Dp38YA7.js\"\nexport { default } from \"https://framerusercontent.com/modules/I9ht8jBctZPguy6Qpt3k/80nWBjrnJFW0OScYfNAq/S9Dp38YA7.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function withAppInstallLink(Component){return props=>{const[href,setHref]=useState(\"\");useEffect(()=>{const url=new URL(location.href);url.hash=\"\";const utmSource=url.searchParams.get(\"utm_source\")||\"install_mowebtoapp\";const utmCampaign=url.searchParams.get(\"utm_campaign\")||\"\";const utmContent=url.searchParams.get(\"utm_content\")||\"\";// 네이버 쇼핑 검색 타고 모웹으로 랜딩 될 시 네이버 측에서 앱 다운로드하는 배너 삭제해달라고 요청.\nif(utmCampaign===\"conversion_navershopping\")return;const href=`https://29cm.onelink.me/1080201211?pid=29cm_mowebtoapp&c=${utmSource}&af_adset=${utmCampaign}&af_ad=${utmContent}&is_retargeting=true&af_click_lookback=7d&af_dp=app29cm://web/${encodeURIComponent(location.href)}&deep_link_value=app29cm://web/${encodeURIComponent(location.href)}&af_web_dp=${encodeURIComponent(location.href)}`;setHref(href);return()=>{};},[]);return /*#__PURE__*/_jsx(\"a\",{href:href,target:\"_blank\",style:{textDecoration:\"none\"},children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withAppInstallLink\":{\"type\":\"reactHoc\",\"name\":\"withAppInstallLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithAppInstallBanner.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState,forwardRef}from\"react\";import{isWebview,isMobile}from\"https://asset.29cm.co.kr/contents/framer/utils/device.js\";export function withMobileWebLazyRender(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[isReady,setIsReady]=useState(false);useEffect(()=>{if(!isWebview()&&isMobile()){setIsReady(true);}},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,display:isReady?\"\":\"none\"}});});}export function withDesktopLazyRender(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[isReady,setIsReady]=useState(false);useEffect(()=>{if(!isMobile()){setIsReady(true);}},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,display:isReady?\"\":\"none\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withDesktopLazyRender\":{\"type\":\"reactHoc\",\"name\":\"withDesktopLazyRender\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMobileWebLazyRender\":{\"type\":\"reactHoc\",\"name\":\"withMobileWebLazyRender\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithLazyRender.map","// Generated by Framer (7bba2ed)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,cx,getLoadingLazyAtYPosition,Image as Image1,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCodeBoundaryForOverrides,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{withAppInstallLink}from\"https://framerusercontent.com/modules/ssKC8GEyZlkclfUGHZyl/gNceh1KRgTXQeqQBanCM/WithAppInstallBanner.js\";import{withMobileWebLazyRender}from\"https://framerusercontent.com/modules/y7oaWiZbkQVWph54vUZd/eBrIazCWGkDFwPLmboSh/WithLazyRender.js\";const MotionDivWithAppInstallLink1sl5nzj=withCodeBoundaryForOverrides(motion.div,{nodeId:\"YOogUwg_r\",override:withAppInstallLink,scopeId:\"BlNtXYaR7\"});const MotionDivWithMobileWebLazyRender1mcero2=withCodeBoundaryForOverrides(motion.div,{nodeId:\"SWvxS_8i8\",override:withMobileWebLazyRender,scopeId:\"BlNtXYaR7\"});const serializationHash=\"framer-yDdNW\";const variantClassNames={SWvxS_8i8:\"framer-v-1mcero2\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,contentLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"SWvxS_8i8\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(MotionDivWithMobileWebLazyRender1mcero2,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1mcero2\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"SWvxS_8i8\",ref:refBinding,style:{backgroundColor:\"rgb(255, 255, 255)\",...style},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1gg8t3l\",\"data-border\":true,\"data-framer-name\":\"Container\",layoutDependency:layoutDependency,layoutId:\"HKeWGJU_2\",style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(255, 255, 255, 0.2)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",backgroundColor:\"rgb(0, 0, 0)\"},children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-z0ak33\",\"data-framer-name\":\"Layout\",layoutDependency:layoutDependency,layoutId:\"jnIP34yPv\",children:[/*#__PURE__*/_jsx(Link,{href:\"https://www.29cm.co.kr\",motionChild:true,nodeId:\"lpWlrpe4S\",openInNewTab:true,scopeId:\"BlNtXYaR7\",children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-vlzf4n framer-16ufk7a\",\"data-framer-name\":\"Logo\",layoutDependency:layoutDependency,layoutId:\"lpWlrpe4S\",children:/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",intrinsicHeight:556.111125843025,intrinsicWidth:2125.0000562932773,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+((componentViewport?.height||50)-Math.max(componentViewport?.height||50,0))/2+(Math.max(componentViewport?.height||50,0)-29)/2+6.5),pixelHeight:1001,pixelWidth:3825,sizes:\"50px\",src:\"https://framerusercontent.com/images/ceAKfF3qJS5a52h7hRaL0LBI4a4.png?width=3825&height=1001\",srcSet:\"https://framerusercontent.com/images/ceAKfF3qJS5a52h7hRaL0LBI4a4.png?scale-down-to=512&width=3825&height=1001 512w,https://framerusercontent.com/images/ceAKfF3qJS5a52h7hRaL0LBI4a4.png?scale-down-to=1024&width=3825&height=1001 1024w,https://framerusercontent.com/images/ceAKfF3qJS5a52h7hRaL0LBI4a4.png?scale-down-to=2048&width=3825&height=1001 2048w,https://framerusercontent.com/images/ceAKfF3qJS5a52h7hRaL0LBI4a4.png?width=3825&height=1001 3825w\"},className:\"framer-lmrb76\",\"data-framer-name\":\"29CM Logo_White\",layoutDependency:layoutDependency,layoutId:\"k4An_zbiX\"})})}),/*#__PURE__*/_jsx(MotionDivWithAppInstallLink1sl5nzj,{className:\"framer-1sl5nzj\",\"data-framer-name\":\"Button\",layoutDependency:layoutDependency,layoutId:\"YOogUwg_r\",style:{backgroundColor:\"rgb(255, 72, 0)\",borderBottomLeftRadius:999,borderBottomRightRadius:999,borderTopLeftRadius:999,borderTopRightRadius:999},children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgQm9sZA==\",\"--framer-font-family\":'\"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif',\"--framer-font-size\":\"11px\",\"--framer-font-weight\":\"700\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"29CM 앱 설치하고 20% 할인받기\"})}),className:\"framer-orwnb2\",fonts:[\"CUSTOM;Pretendard Bold\"],layoutDependency:layoutDependency,layoutId:\"Tw_k1faAy\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true})})]})})})})})});});const css=[\".framer-yDdNW.framer-16ufk7a, .framer-yDdNW .framer-16ufk7a { display: block; }\",\".framer-yDdNW.framer-1mcero2 { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 50px; justify-content: center; padding: 0px; position: relative; width: 457px; }\",\".framer-yDdNW .framer-1gg8t3l { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 1px; justify-content: center; padding: 0px 12px 0px 12px; position: relative; width: 100%; }\",\".framer-yDdNW .framer-z0ak33 { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; height: min-content; justify-content: space-between; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-yDdNW .framer-vlzf4n { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 29px; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; text-decoration: none; width: 1px; }\",\".framer-yDdNW .framer-lmrb76 { aspect-ratio: 3.821178821178821 / 1; flex: none; height: auto; overflow: visible; position: relative; width: 50px; }\",\".framer-yDdNW .framer-1sl5nzj { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 24px; justify-content: center; overflow: visible; padding: 0px 12px 0px 12px; position: relative; width: min-content; }\",\".framer-yDdNW .framer-orwnb2 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",'.framer-yDdNW[data-border=\"true\"]::after, .framer-yDdNW [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 50\n * @framerIntrinsicWidth 457\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerBlNtXYaR7=withCSS(Component,css,\"framer-yDdNW\");export default FramerBlNtXYaR7;FramerBlNtXYaR7.displayName=\"AppInstallBanner\";FramerBlNtXYaR7.defaultProps={height:50,width:457};addFonts(FramerBlNtXYaR7,[{explicitInter:true,fonts:[{cssFamilyName:\"Pretendard Bold\",source:\"custom\",style:\"normal\",uiFamilyName:\"Pretendard\",url:\"https://framerusercontent.com/assets/LRzUHfZAOec3ukV7kedpEAHaJoA.woff2\",weight:\"700\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerBlNtXYaR7\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"50\",\"framerIntrinsicWidth\":\"457\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlNtXYaR7.map","/*\n * AppInstallBanner\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/mFtD9hXCAxZQTFQaZ4zU/GK9ydw7l5nDfXKN65tAc/BlNtXYaR7.js\"\nexport { default } from \"https://framerusercontent.com/modules/mFtD9hXCAxZQTFQaZ4zU/GK9ydw7l5nDfXKN65tAc/BlNtXYaR7.js\"\n","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport * as React from \"react\";\nexport const containerStyles = {\n    width: \"100%\",\n    height: \"100%\",\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nconst nullIconStyle = {\n    minWidth: \"10px\",\n    minHeight: \"10px\",\n    maxWidth: \"20px\",\n    maxHeight: \"20px\",\n    width: \"60%\",\n    height: \"60%\"\n};\nconst emptyStateStyle = {\n    ...containerStyles,\n    borderRadius: 6,\n    background: \"rgba(149, 149, 149, 0.1)\",\n    border: \"1px dashed rgba(149, 149, 149, 0.15)\",\n    color: \"#a5a5a5\",\n    flexDirection: \"column\"\n};\nexport const NullState = /*#__PURE__*/ React.forwardRef((_, ref)=>{\n    return(/*#__PURE__*/ _jsx(\"div\", {\n        style: emptyStateStyle,\n        ref: ref\n    }));\n}) /*\n\n<svg\n                xmlns=\"http://www.w3.org/2000/svg\"\n                viewBox=\"0 0 30 30\"\n                style={nullIconStyle}\n            >\n                <path\n                    d=\"M 12.857 0 C 19.958 0 25.714 5.756 25.714 12.857 C 25.714 19.958 19.958 25.714 12.857 25.714 C 5.756 25.714 0 19.958 0 12.857 C 0 5.756 5.756 0 12.857 0 Z\"\n                    fill=\"#FFFFFF\"\n                ></path>\n                <path\n                    d=\"M 20.357 20.357 L 27.857 27.857\"\n                    fill=\"transparent\"\n                    strokeWidth=\"4.28\"\n                    stroke=\"#FFFFFF\"\n                    strokeLinecap=\"round\"\n                ></path>\n                <g transform=\"translate(9.643 6.429)\">\n                    <path\n                        d=\"M 3.214 12.857 L 3.214 12.857\"\n                        fill=\"transparent\"\n                        strokeWidth=\"3.75\"\n                        stroke=\"currentColor\"\n                        strokeLinecap=\"round\"\n                    ></path>\n                    <path\n                        d=\"M 0 3.214 C 0 1.004 1.843 0 3.214 0 C 4.586 0 6.429 0.603 6.429 3.214 C 6.429 5.826 3.214 5.913 3.214 7.232 C 3.214 8.552 3.214 8.571 3.214 8.571\"\n                        fill=\"transparent\"\n                        strokeWidth=\"3.22\"\n                        stroke=\"currentColor\"\n                        strokeLinecap=\"round\"\n                        strokeLinejoin=\"round\"\n                    ></path>\n                </g>\n            </svg>\n            */ ;\n\nexport const __FramerMetadata__ = {\"exports\":{\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NullState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./nullstate.map","/*\n * nullstate (framer/icon-nullstate@0.7.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/DyldKav0OOAWR3bCAlhK/8c3l9FzyOlGpbPncYhfc/nullstate.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{NullState}from\"https://framer.com/m/framer/icon-nullstate.js@0.7.0\";var SrcType;(function(SrcType){SrcType[\"Upload\"]=\"Upload\";SrcType[\"Url\"]=\"URL\";})(SrcType||(SrcType={}));const baseUrl=\"https://logo.clearbit.com/\";const getLogoUrl=company=>{if(!company)return null;return company.includes(\".\")?`${baseUrl}${company}?size=500`:`${baseUrl}${company}.com?size=500`;};/**\n * @framerIntrinsicWidth 64\n * @framerIntrinsicHeight 64\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */ export default function Logo(props){const{company,radius,isSearch,srcType,srcUrl,srcFile,style}=props;const logoURL=useMemo(()=>{if(isSearch)return getLogoUrl(company);if(srcType===SrcType.Upload)return srcFile;if(srcType===SrcType.Url)return srcUrl;return null;},[company,isSearch,srcType,srcUrl,srcFile]);const isOnCanvas=RenderTarget.current()===RenderTarget.canvas;const emptyState=isOnCanvas?/*#__PURE__*/ _jsx(NullState,{}):null;return logoURL?/*#__PURE__*/ _jsx(\"img\",{src:logoURL,style:{...baseStyles,...style,borderRadius:radius},alt:\"Logo\"}):emptyState;};Logo.defaultProps={company:\"Framer\",radius:100,width:64,height:64,isSearch:true};const baseStyles={position:\"absolute\",left:0,right:0,top:0,bottom:0,width:\"100%\",height:\"100%\"};addPropertyControls(Logo,{isSearch:{type:ControlType.Boolean,title:\"Type\",disabledTitle:\"Custom\",enabledTitle:\"Search\"},srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[SrcType.Url,SrcType.Upload],hidden:({isSearch})=>isSearch},srcUrl:{type:ControlType.String,title:\" \",placeholder:\"../example.jpg\",hidden:({srcType,isSearch})=>srcType===SrcType.Upload||isSearch},srcFile:{type:ControlType.File,title:\" \",allowedFileTypes:[\"jpg\",\"png\",\"jpeg\",\"tiff\",\"gif\"],hidden:({srcType,isSearch})=>srcType===SrcType.Url||isSearch},company:{type:ControlType.String,title:\"Company\",placeholder:\"Github, Apple...\",hidden:({isSearch})=>!isSearch},radius:{type:ControlType.Number,min:0,max:100,title:\"Radius\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Logo\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"64\",\"framerIntrinsicHeight\":\"64\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Logo.map","import { ControlType } from \"framer\";\nexport const fontStack = `\"Inter\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"`;\nexport const containerStyles = {\n    position: \"relative\",\n    width: \"100%\",\n    height: \"100%\",\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const emptyStateStyle = {\n    ...containerStyles,\n    borderRadius: 6,\n    background: \"rgba(136, 85, 255, 0.3)\",\n    color: \"#85F\",\n    border: \"1px dashed #85F\",\n    flexDirection: \"column\"\n};\nexport const defaultEvents = {\n    onClick: {\n        type: ControlType.EventHandler\n    },\n    onMouseEnter: {\n        type: ControlType.EventHandler\n    },\n    onMouseLeave: {\n        type: ControlType.EventHandler\n    }\n};\nexport const fontSizeOptions = {\n    type: ControlType.Number,\n    title: \"Font Size\",\n    min: 2,\n    max: 200,\n    step: 1,\n    displayStepper: true\n};\nexport const fontControls = {\n    font: {\n        type: ControlType.Boolean,\n        title: \"Font\",\n        defaultValue: false,\n        disabledTitle: \"Default\",\n        enabledTitle: \"Custom\"\n    },\n    fontFamily: {\n        type: ControlType.String,\n        title: \"Family\",\n        placeholder: \"Inter\",\n        hidden: ({ font  })=>!font\n    },\n    fontWeight: {\n        type: ControlType.Enum,\n        title: \"Weight\",\n        options: [\n            100,\n            200,\n            300,\n            400,\n            500,\n            600,\n            700,\n            800,\n            900\n        ],\n        optionTitles: [\n            \"Thin\",\n            \"Extra-light\",\n            \"Light\",\n            \"Regular\",\n            \"Medium\",\n            \"Semi-bold\",\n            \"Bold\",\n            \"Extra-bold\",\n            \"Black\", \n        ],\n        hidden: ({ font  })=>!font\n    }\n};\n// @TODO check if we're missing anything here — there doesn't seem to be a reliable browser API for this\nexport const localeOptions = {\n    af: \"Afrikaans\",\n    sq: \"Albanian\",\n    an: \"Aragonese\",\n    ar: \"Arabic (Standard)\",\n    \"ar-dz\": \"Arabic (Algeria)\",\n    \"ar-bh\": \"Arabic (Bahrain)\",\n    \"ar-eg\": \"Arabic (Egypt)\",\n    \"ar-iq\": \"Arabic (Iraq)\",\n    \"ar-jo\": \"Arabic (Jordan)\",\n    \"ar-kw\": \"Arabic (Kuwait)\",\n    \"ar-lb\": \"Arabic (Lebanon)\",\n    \"ar-ly\": \"Arabic (Libya)\",\n    \"ar-ma\": \"Arabic (Morocco)\",\n    \"ar-om\": \"Arabic (Oman)\",\n    \"ar-qa\": \"Arabic (Qatar)\",\n    \"ar-sa\": \"Arabic (Saudi Arabia)\",\n    \"ar-sy\": \"Arabic (Syria)\",\n    \"ar-tn\": \"Arabic (Tunisia)\",\n    \"ar-ae\": \"Arabic (U.A.E.)\",\n    \"ar-ye\": \"Arabic (Yemen)\",\n    hy: \"Armenian\",\n    as: \"Assamese\",\n    ast: \"Asturian\",\n    az: \"Azerbaijani\",\n    eu: \"Basque\",\n    bg: \"Bulgarian\",\n    be: \"Belarusian\",\n    bn: \"Bengali\",\n    bs: \"Bosnian\",\n    br: \"Breton\",\n    my: \"Burmese\",\n    ca: \"Catalan\",\n    ch: \"Chamorro\",\n    ce: \"Chechen\",\n    zh: \"Chinese\",\n    \"zh-hk\": \"Chinese (Hong Kong)\",\n    \"zh-cn\": \"Chinese (PRC)\",\n    \"zh-sg\": \"Chinese (Singapore)\",\n    \"zh-tw\": \"Chinese (Taiwan)\",\n    cv: \"Chuvash\",\n    co: \"Corsican\",\n    cr: \"Cree\",\n    hr: \"Croatian\",\n    cs: \"Czech\",\n    da: \"Danish\",\n    nl: \"Dutch (Standard)\",\n    \"nl-be\": \"Dutch (Belgian)\",\n    en: \"English\",\n    \"en-au\": \"English (Australia)\",\n    \"en-bz\": \"English (Belize)\",\n    \"en-ca\": \"English (Canada)\",\n    \"en-ie\": \"English (Ireland)\",\n    \"en-jm\": \"English (Jamaica)\",\n    \"en-nz\": \"English (New Zealand)\",\n    \"en-ph\": \"English (Philippines)\",\n    \"en-za\": \"English (South Africa)\",\n    \"en-tt\": \"English (Trinidad & Tobago)\",\n    \"en-gb\": \"English (United Kingdom)\",\n    \"en-us\": \"English (United States)\",\n    \"en-zw\": \"English (Zimbabwe)\",\n    eo: \"Esperanto\",\n    et: \"Estonian\",\n    fo: \"Faeroese\",\n    fa: \"Farsi\",\n    fj: \"Fijian\",\n    fi: \"Finnish\",\n    fr: \"French (Standard)\",\n    \"fr-be\": \"French (Belgium)\",\n    \"fr-ca\": \"French (Canada)\",\n    \"fr-fr\": \"French (France)\",\n    \"fr-lu\": \"French (Luxembourg)\",\n    \"fr-mc\": \"French (Monaco)\",\n    \"fr-ch\": \"French (Switzerland)\",\n    fy: \"Frisian\",\n    fur: \"Friulian\",\n    gd: \"Gaelic (Scots)\",\n    \"gd-ie\": \"Gaelic (Irish)\",\n    gl: \"Galacian\",\n    ka: \"Georgian\",\n    de: \"German (Standard)\",\n    \"de-at\": \"German (Austria)\",\n    \"de-de\": \"German (Germany)\",\n    \"de-li\": \"German (Liechtenstein)\",\n    \"de-lu\": \"German (Luxembourg)\",\n    \"de-ch\": \"German (Switzerland)\",\n    el: \"Greek\",\n    gu: \"Gujurati\",\n    ht: \"Haitian\",\n    he: \"Hebrew\",\n    hi: \"Hindi\",\n    hu: \"Hungarian\",\n    is: \"Icelandic\",\n    id: \"Indonesian\",\n    iu: \"Inuktitut\",\n    ga: \"Irish\",\n    it: \"Italian (Standard)\",\n    \"it-ch\": \"Italian (Switzerland)\",\n    ja: \"Japanese\",\n    kn: \"Kannada\",\n    ks: \"Kashmiri\",\n    kk: \"Kazakh\",\n    km: \"Khmer\",\n    ky: \"Kirghiz\",\n    tlh: \"Klingon\",\n    ko: \"Korean\",\n    \"ko-kp\": \"Korean (North Korea)\",\n    \"ko-kr\": \"Korean (South Korea)\",\n    la: \"Latin\",\n    lv: \"Latvian\",\n    lt: \"Lithuanian\",\n    lb: \"Luxembourgish\",\n    mk: \"FYRO Macedonian\",\n    ms: \"Malay\",\n    ml: \"Malayalam\",\n    mt: \"Maltese\",\n    mi: \"Maori\",\n    mr: \"Marathi\",\n    mo: \"Moldavian\",\n    nv: \"Navajo\",\n    ng: \"Ndonga\",\n    ne: \"Nepali\",\n    no: \"Norwegian\",\n    nb: \"Norwegian (Bokmal)\",\n    nn: \"Norwegian (Nynorsk)\",\n    oc: \"Occitan\",\n    or: \"Oriya\",\n    om: \"Oromo\",\n    \"fa-ir\": \"Persian/Iran\",\n    pl: \"Polish\",\n    pt: \"Portuguese\",\n    \"pt-br\": \"Portuguese (Brazil)\",\n    pa: \"Punjabi\",\n    \"pa-in\": \"Punjabi (India)\",\n    \"pa-pk\": \"Punjabi (Pakistan)\",\n    qu: \"Quechua\",\n    rm: \"Rhaeto-Romanic\",\n    ro: \"Romanian\",\n    \"ro-mo\": \"Romanian (Moldavia)\",\n    ru: \"Russian\",\n    \"ru-mo\": \"Russian (Moldavia)\",\n    sz: \"Sami (Lappish)\",\n    sg: \"Sango\",\n    sa: \"Sanskrit\",\n    sc: \"Sardinian\",\n    sd: \"Sindhi\",\n    si: \"Singhalese\",\n    sr: \"Serbian\",\n    sk: \"Slovak\",\n    sl: \"Slovenian\",\n    so: \"Somani\",\n    sb: \"Sorbian\",\n    es: \"Spanish\",\n    \"es-ar\": \"Spanish (Argentina)\",\n    \"es-bo\": \"Spanish (Bolivia)\",\n    \"es-cl\": \"Spanish (Chile)\",\n    \"es-co\": \"Spanish (Colombia)\",\n    \"es-cr\": \"Spanish (Costa Rica)\",\n    \"es-do\": \"Spanish (Dominican Republic)\",\n    \"es-ec\": \"Spanish (Ecuador)\",\n    \"es-sv\": \"Spanish (El Salvador)\",\n    \"es-gt\": \"Spanish (Guatemala)\",\n    \"es-hn\": \"Spanish (Honduras)\",\n    \"es-mx\": \"Spanish (Mexico)\",\n    \"es-ni\": \"Spanish (Nicaragua)\",\n    \"es-pa\": \"Spanish (Panama)\",\n    \"es-py\": \"Spanish (Paraguay)\",\n    \"es-pe\": \"Spanish (Peru)\",\n    \"es-pr\": \"Spanish (Puerto Rico)\",\n    \"es-es\": \"Spanish (Spain)\",\n    \"es-uy\": \"Spanish (Uruguay)\",\n    \"es-ve\": \"Spanish (Venezuela)\",\n    sx: \"Sutu\",\n    sw: \"Swahili\",\n    sv: \"Swedish\",\n    \"sv-fi\": \"Swedish (Finland)\",\n    \"sv-sv\": \"Swedish (Sweden)\",\n    ta: \"Tamil\",\n    tt: \"Tatar\",\n    te: \"Teluga\",\n    th: \"Thai\",\n    tig: \"Tigre\",\n    ts: \"Tsonga\",\n    tn: \"Tswana\",\n    tr: \"Turkish\",\n    tk: \"Turkmen\",\n    uk: \"Ukrainian\",\n    hsb: \"Upper Sorbian\",\n    ur: \"Urdu\",\n    ve: \"Venda\",\n    vi: \"Vietnamese\",\n    vo: \"Volapuk\",\n    wa: \"Walloon\",\n    cy: \"Welsh\",\n    xh: \"Xhosa\",\n    ji: \"Yiddish\",\n    zu: \"Zulu\"\n};\n\nexport const __FramerMetadata__ = {\"exports\":{\"fontSizeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontStack\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emptyStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./constants.map","import { useIsInCurrentNavigationTarget } from \"framer\";\nimport { useEffect } from \"react\";\nexport function useOnEnter(onEnter, enabled) {\n    return useOnSpecificTargetChange(true, onEnter, enabled);\n}\nexport function useOnExit(onExit, enabled) {\n    return useOnSpecificTargetChange(false, onExit, enabled);\n}\nfunction useOnSpecificTargetChange(goal, callback, enabled = true) {\n    const isInTarget = useIsInCurrentNavigationTarget();\n    useEffect(()=>{\n        if (enabled && isInTarget === goal) callback();\n    }, [\n        isInTarget\n    ]);\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useOnEnter\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnExit\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useOnNavigationTargetChange.map","import { useRef } from \"react\";\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */ export function useConstant(init) {\n    const ref = useRef(null);\n    if (ref.current === null) {\n        ref.current = init();\n    }\n    return ref.current;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useConstant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useConstant.map","import { Color } from \"framer\";\nexport function colorFromToken(color) {\n    if (color.startsWith(\"var(--token-\")) return \"rgb\" + color.split(\") /*\")[0].split(\", rgb\")[1];\n    return color;\n}\nexport function colorTokentoValue(color) {\n    return Color(colorFromToken(color)).toValue();\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"colorFromToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorTokentoValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./colorFromToken.map","import { MotionValue } from \"framer\";\nexport const isMotionValue = (v)=>v instanceof MotionValue\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"isMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./isMotionValue.map","import * as React from \"react\";\nconst letters = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\nconst l = ()=>letters[Math.floor(Math.random() * letters.length)]\n;\nexport const randomID = ()=>l() + l() + l() + l() + l() + l() + l() + l() + l()\n;\nfunction createUniqueClass(suffix) {\n    return `framer-${suffix}-${randomID()}`;\n}\nexport function useUniqueClassName(suffix, deps) {\n    const [className, setClassName] = React.useState(createUniqueClass(suffix));\n    React.useEffect(()=>{\n        setClassName(createUniqueClass(suffix));\n    }, [\n        suffix,\n        ...deps\n    ]);\n    return className;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useUniqueClassName\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useUniqueClassName.map","import { ControlType } from \"framer\";\n// I realize this only applies to select right now\n// but we can work on it in here\nexport function getVariantControls(Component, variant, additionalControls = {\n}) {\n    return {\n        [`${variant}TextColor`]: {\n            type: ControlType.Color,\n            title: \"Text Color\",\n            defaultValue: Component.defaultProps[`${variant}TextColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}IconColor`]: {\n            type: ControlType.Color,\n            title: \"Icon Color\",\n            defaultValue: Component.defaultProps[`${variant}IconColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BackgroundColor`]: {\n            type: ControlType.Color,\n            title: \"Bg Color\",\n            defaultValue: Component.defaultProps[`${variant}BackgroundColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BorderColor`]: {\n            type: ControlType.Color,\n            title: \"Border Color\",\n            defaultValue: Component.defaultProps[`${variant}BorderColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BorderWidth`]: {\n            type: ControlType.Number,\n            title: \" \",\n            min: 0,\n            max: 5,\n            displayStepper: true,\n            defaultValue: Component.defaultProps[`${variant}BorderWidth`],\n            hidden: (props)=>props.variant !== variant\n        },\n        ...additionalControls\n    };\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"getVariantControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./variantUtils.map","import { useMemo } from \"react\";\nexport const isBrowserSafari = ()=>{\n    if (typeof navigator !== `undefined`) {\n        const userAgent = navigator.userAgent.toLowerCase();\n        const isSafari = (userAgent.indexOf(\"safari\") > -1 || userAgent.indexOf(\"framermobile\") > -1 || userAgent.indexOf(\"framerx\") > -1) && userAgent.indexOf(\"chrome\") < 0;\n        return isSafari;\n    } else return false;\n};\nexport const useIsBrowserSafari = ()=>useMemo(()=>isBrowserSafari()\n    , [])\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"useIsBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./isBrowser.map","import { useEffect } from \"react\";\n//@ts-ignore\nimport { isMotionValue } from \"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";\nexport function useOnChange(value, callback) {\n    useEffect(()=>// @ts-ignore this should be detected as a MV :shrug:\n        isMotionValue(value) ? value.onChange(callback) : undefined\n    );\n}\nexport function useMultiOnChange(values, handler) {\n    useEffect(()=>{\n        const subscriptions = values.map((value)=>value.onChange(handler)\n        );\n        return ()=>subscriptions.forEach((unsubscribe)=>unsubscribe()\n            )\n        ;\n    });\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"Subscriber\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useMultiOnChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useOnChange.map","import { useCallback, useEffect, useRef } from \"react\";\nimport { motionValue, animate, RenderTarget } from \"framer\";\n// @ts-ignore\nimport { isMotionValue } from \"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";\n// @ts-ignore\nimport { useConstant } from \"https://framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js\";\nexport function useAutoMotionValue(inputValue, options) {\n    var ref;\n    // Put options on a local ref\n    // Might wanna just memo instead but it works for now\n    const optionsRef = useRef(options);\n    const animation = useRef();\n    const didInitialMount = useRef(false);\n    const isOnCanvas = RenderTarget.current() === RenderTarget.canvas;\n    // in-progress - trying to figure out effect hooks\n    const onChangeDeps = (options === null || options === void 0 ? void 0 : options.onChangeDeps) ? options.onChangeDeps : [];\n    // Memoize the onChange handler\n    const onChange = useCallback(options === null || options === void 0 ? void 0 : options.onChange, [\n        ...onChangeDeps, \n    ]);\n    // Optionally scale the value from props\n    const transformer = useCallback((value)=>((ref = optionsRef.current) === null || ref === void 0 ? void 0 : ref.transform) ? optionsRef.current.transform(value) : value\n    , []);\n    // Create new MotionValue from inputValue\n    const value = useConstant(()=>isMotionValue(inputValue) ? inputValue : motionValue(transformer(inputValue))\n    );\n    // Setting value from prop change\n    useEffect(()=>{\n        if (!isMotionValue(inputValue) && didInitialMount.current) {\n            var ref1, ref2;\n            const newValue = transformer(inputValue);\n            (ref1 = animation.current) === null || ref1 === void 0 ? void 0 : ref1.stop();\n            // Call change callback\n            if (onChange) onChange(newValue, value);\n            // Trigger animation to new value\n            if (((ref2 = optionsRef.current) === null || ref2 === void 0 ? void 0 : ref2.animate) && !isOnCanvas) {\n                var ref3;\n                // @ts-ignore\n                animation.current = animate(value, newValue, (ref3 = optionsRef.current) === null || ref3 === void 0 ? void 0 : ref3.transition);\n            } else {\n                value.set(newValue);\n            }\n        }\n        didInitialMount.current = true;\n    }, [\n        inputValue,\n        ...onChangeDeps\n    ]);\n    return value;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useAutoMotionValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}","// @ts-ignore\nimport{fontStore}from\"framer\";import{useEffect}from\"react\";import{fontStack}from\"https://framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js\";const fontWeights={100:\"Thin\",200:\"Extra-light\",300:\"Light\",400:\"Regular\",500:\"Medium\",600:\"Semi-bold\",700:\"Bold\",800:\"Extra-bold\",900:\"Black\"};export function useFontControls(props){const{fontFamily=\"Inter\",fontSize=16,fontWeight=400,font=false}=props;const fontWeightName=fontWeights[fontWeight];const customFontStack=`\"${fontFamily} ${fontWeightName}\", \"${fontFamily}\", ${fontStack}`;const fontFamilyStyle=fontFamily?{fontSize,fontWeight,fontFamily:customFontStack}:{fontSize,fontWeight};const fetchCustomFonts=async()=>{await fontStore.loadWebFontsFromSelectors([`CUSTOM;${fontFamily}`,`CUSTOM;${fontFamily} ${fontWeightName}`,`GF;${fontFamily}-${fontWeightName.toLowerCase()}`,]).catch(e=>console.error(e));};useEffect(()=>{if(font)fetchCustomFonts();},[font,fontFamily,fontWeight]);return fontFamilyStyle;}\nexport const __FramerMetadata__ = {\"exports\":{\"useFontControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useFontControls.map","import { useMemo } from \"react\";\nimport { RenderTarget } from \"framer\";\nexport function useRenderTarget() {\n    const currentRenderTarget = useMemo(()=>RenderTarget.current()\n    , []);\n    return currentRenderTarget;\n}\nexport function useIsInPreview() {\n    const inPreview = useMemo(()=>RenderTarget.current() === RenderTarget.preview\n    , []);\n    return inPreview;\n}\nexport function useIsOnCanvas() {\n    const onCanvas = useMemo(()=>RenderTarget.current() === RenderTarget.canvas\n    , []);\n    return onCanvas;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useIsInPreview\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRenderTarget\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsOnCanvas\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useRenderTarget.map","import * as React from \"react\";\nexport function useControlledState(value) {\n    const [controlledValue, setValue] = React.useState(value);\n    React.useEffect(()=>{\n        setValue(value);\n    }, [\n        value\n    ]);\n    return [\n        controlledValue,\n        setValue\n    ];\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useControlledState\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useControlledState.map","import { useMemo } from \"react\";\nimport { ControlType } from \"framer\";\nexport function useRadius(props) {\n    const { borderRadius , isMixedBorderRadius , topLeftRadius , topRightRadius , bottomRightRadius , bottomLeftRadius ,  } = props;\n    const radiusValue = useMemo(()=>isMixedBorderRadius ? `${topLeftRadius}px ${topRightRadius}px ${bottomRightRadius}px ${bottomLeftRadius}px` : `${borderRadius}px`\n    , [\n        borderRadius,\n        isMixedBorderRadius,\n        topLeftRadius,\n        topRightRadius,\n        bottomRightRadius,\n        bottomLeftRadius, \n    ]);\n    return radiusValue;\n}\nexport const borderRadiusControl = {\n    borderRadius: {\n        title: \"Radius\",\n        type: ControlType.FusedNumber,\n        toggleKey: \"isMixedBorderRadius\",\n        toggleTitles: [\n            \"Radius\",\n            \"Radius per corner\"\n        ],\n        valueKeys: [\n            \"topLeftRadius\",\n            \"topRightRadius\",\n            \"bottomRightRadius\",\n            \"bottomLeftRadius\", \n        ],\n        valueLabels: [\n            \"TL\",\n            \"TR\",\n            \"BR\",\n            \"BL\"\n        ],\n        min: 0\n    }\n};\nexport function usePadding(props) {\n    const { padding , paddingPerSide , paddingTop , paddingRight , paddingBottom , paddingLeft ,  } = props;\n    const paddingValue = useMemo(()=>paddingPerSide ? `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px` : padding\n    , [\n        padding,\n        paddingPerSide,\n        paddingTop,\n        paddingRight,\n        paddingBottom,\n        paddingLeft, \n    ]);\n    return paddingValue;\n}\nexport const paddingControl = {\n    padding: {\n        type: ControlType.FusedNumber,\n        toggleKey: \"paddingPerSide\",\n        toggleTitles: [\n            \"Padding\",\n            \"Padding per side\"\n        ],\n        valueKeys: [\n            \"paddingTop\",\n            \"paddingRight\",\n            \"paddingBottom\",\n            \"paddingLeft\", \n        ],\n        valueLabels: [\n            \"T\",\n            \"R\",\n            \"B\",\n            \"L\"\n        ],\n        min: 0,\n        title: \"Padding\"\n    }\n};\n\nexport const __FramerMetadata__ = {\"exports\":{\"borderRadiusControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRadius\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RadiusProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PaddingProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePadding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"paddingControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./propUtils.map","import{defaultEvents,localeOptions,fontControls,fontSizeOptions,emptyStateStyle,containerStyles,fontStack}from\"https://framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js\";import{useOnEnter,useOnExit}from\"https://framerusercontent.com/modules/D4TWeLfcxT6Tysr2BlYg/iZjmqdxVx1EOiM3k1FaW/useOnNavigationTargetChange.js\";import{useConstant}from\"https://framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js\";import{colorTokentoValue,colorFromToken}from\"https://framerusercontent.com/modules/D2Lz5CmnNVPZFFiZXalt/QaCzPbriZBfXWZIIycFI/colorFromToken.js\";import{isMotionValue}from\"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";import{useUniqueClassName,randomID}from\"https://framerusercontent.com/modules/xDiQsqBGXzmMsv7AlEVy/uhunpMiNsbXxzjlXsg1y/useUniqueClassName.js\";import{getVariantControls}from\"https://framerusercontent.com/modules/ETACN5BJyFTSo0VVDJfu/NHRqowOiXkF9UwOzczF7/variantUtils.js\";import{useIsBrowserSafari}from\"https://framerusercontent.com/modules/eMBrwoqQK7h6mEeGQUH8/GuplvPJVjmxpk9zqOTcb/isBrowser.js\";import{useMultiOnChange,useOnChange}from\"https://framerusercontent.com/modules/v9AWX2URmiYsHf7GbctE/XxKAZ9KlhWqf5x1JMyyF/useOnChange.js\";import{mstoMinAndSec,secondsToMinutes}from\"https://framerusercontent.com/modules/4zHZnO5JojN1PrIbu2jm/revv9QCWpkh8lPzi2jje/time.js\";import{useAutoMotionValue}from\"https://framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/fSIr3AOAYbGlfSPgXpYu/useAutoMotionValue.js\";import{useFontControls}from\"https://framerusercontent.com/modules/cuQH4dmpDnV8YK1mSgQX/KqRXqunFjE6ufhpc7ZRu/useFontControls.js\";import{useRenderTarget,useIsInPreview,useIsOnCanvas}from\"https://framerusercontent.com/modules/afBE9Yx1W6bY5q32qPxe/m3q7puE2tbo1S2C0s0CT/useRenderTarget.js\";import{useControlledState}from\"https://framerusercontent.com/modules/zGkoP8tPDCkoBzMdt5uq/0zFSjxIYliHxrQQnryFX/useControlledState.js\";import{usePadding,useRadius,paddingControl,borderRadiusControl}from\"https://framerusercontent.com/modules/5SM58HxZHxjjv7aLMOgQ/WXz9i6mVki0bBCrKdqB3/propUtils.js\";import{detectAutoSizingAxis}from\"https://framerusercontent.com/modules/8CkHAZatUz1UR8jNTcfD/HwbnIAZlUmQ2oTpcLkaH/detectAutoSizingAxis.js\";export{useOnEnter,useOnExit,defaultEvents,isMotionValue,colorFromToken,colorTokentoValue,localeOptions,fontControls,fontSizeOptions,emptyStateStyle,containerStyles,fontStack,useUniqueClassName,getVariantControls,useIsBrowserSafari,randomID,useConstant,useMultiOnChange,useOnChange,usePadding,useRadius,paddingControl,borderRadiusControl,mstoMinAndSec,useFontControls,secondsToMinutes,useAutoMotionValue,useRenderTarget,useIsInPreview,useControlledState,detectAutoSizingAxis,useIsOnCanvas,};\nexport const __FramerMetadata__ = {\"exports\":{\"useConstant\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useUniqueClassName\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useMultiOnChange\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnChange\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsOnCanvas\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnExit\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontSizeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorTokentoValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRadius\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getVariantControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorFromToken\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePadding\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontStack\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useControlledState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useAutoMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emptyStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsInPreview\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"detectAutoSizingAxis\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"borderRadiusControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"mstoMinAndSec\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnEnter\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"secondsToMinutes\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRenderTarget\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"paddingControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}","/*\n * index (framer/default-utils@0.45.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\"\n","import{MotionValue}from\"framer\";// Basic MotionValue check\nexport const isMotionValue=v=>v instanceof MotionValue;\nexport const __FramerMetadata__ = {\"exports\":{\"isMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./isMotionValue.map","import{useCallback,useEffect,useRef}from\"react\";import{motionValue,animate,RenderTarget}from\"framer\";import{isMotionValue}from\"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/TbXI1XaZFNevVKcgIt7G/isMotionValue.js\";import{useConstant}from\"https://framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js\";export function useAutoMotionValue(inputValue,options){// Put options on a local ref\n// Might wanna just memo instead but it works for now\nconst optionsRef=useRef(options);const animation=useRef();const didInitialMount=useRef(false);const isOnCanvas=RenderTarget.current()===RenderTarget.canvas;// in-progress - trying to figure out effect hooks\nconst onChangeDeps=(options===null||options===void 0?void 0:options.onChangeDeps)?options.onChangeDeps:[];// Memoize the onChange handler\nconst onChange=useCallback(options===null||options===void 0?void 0:options.onChange,[...onChangeDeps,]);// Optionally scale the value from props\nconst transformer=useCallback(value=>{var ref;return((ref=optionsRef.current)===null||ref===void 0?void 0:ref.transform)?optionsRef.current.transform(value):value;},[]);// Create new MotionValue from inputValue\nconst value1=useConstant(()=>isMotionValue(inputValue)?inputValue:motionValue(transformer(inputValue)));// Setting value from prop change\nuseEffect(()=>{if(!isMotionValue(inputValue)&&didInitialMount.current){var ref,ref1;const newValue=transformer(inputValue);(ref=animation.current)===null||ref===void 0?void 0:ref.stop();// Call change callback\nif(onChange)onChange(newValue,value1);// Trigger animation to new value\nif(((ref1=optionsRef.current)===null||ref1===void 0?void 0:ref1.animate)&&!isOnCanvas){var ref2;// @ts-ignore\nanimation.current=animate(value1,newValue,(ref2=optionsRef.current)===null||ref2===void 0?void 0:ref2.transition);}else{value1.set(newValue);}}didInitialMount.current=true;},[inputValue,...onChangeDeps]);return value1;}\nexport const __FramerMetadata__ = {\"exports\":{\"useAutoMotionValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./useAutoMotionValue.map","/*\n * useAutoMotionValue (framer/useAutoMotionValue@0.3.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/V4SPg9g59hF1vFH3ZTF0/useAutoMotionValue.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{useMotionValueEvent}from\"framer-motion\";import{useRef,useEffect,useMemo,useCallback,memo}from\"react\";import{ControlType,addPropertyControls,useIsInCurrentNavigationTarget}from\"framer\";import{useOnEnter,useOnExit,defaultEvents,useIsOnCanvas,useIsBrowserSafari,useRadius,borderRadiusControl}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";import{useAutoMotionValue}from\"https://framer.com/m/framer/useAutoMotionValue.js@^0.3.0\";var ObjectFitType;(function(ObjectFitType){ObjectFitType[\"Fill\"]=\"fill\";ObjectFitType[\"Contain\"]=\"contain\";ObjectFitType[\"Cover\"]=\"cover\";ObjectFitType[\"None\"]=\"none\";ObjectFitType[\"ScaleDown\"]=\"scale-down\";})(ObjectFitType||(ObjectFitType={}));var SrcType;(function(SrcType){SrcType[\"Video\"]=\"Upload\";SrcType[\"Url\"]=\"URL\";})(SrcType||(SrcType={}));// Reduce renders\nfunction getProps(props){const{width,height,topLeft,topRight,bottomRight,bottomLeft,id,children,...rest}=props;return rest;}/**\n * VIDEO\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 112\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */ export function Video(props){const newProps=getProps(props);return /*#__PURE__*/ _jsx(VideoMemo,{...newProps});}/**\n * For the useEffect hook to change progress of the video on state change.\n * It was causing the video to restart on hydration\n */ let isMountedAndReadyForProgressChanges=false;const VideoMemo=/*#__PURE__*/ memo(function VideoInner(props){const{srcType,srcFile,srcUrl,playing,canvasPlay,muted,playsinline,controls,progress,objectFit,backgroundColor,radius,topLeft,topRight,bottomRight,bottomLeft,isMixed,onSeeked,onPause,onPlay,onEnd,onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,poster,restartOnEnter,posterEnabled,startTime:startTimeProp,volume,loop}=props;const isInCurrentNavigationTarget=useIsInCurrentNavigationTarget();const videoRef=useRef();const isSafari=useIsBrowserSafari();const requestingPlay=useRef(false);const wasPausedOnLeave=useRef(null);const wasEndedOnLeave=useRef(null);const isOnCanvas=useIsOnCanvas();const borderRadius=useRadius(props);// Video elements behave oddly at 100% duration\nconst startTime=useMemo(()=>startTimeProp===100?99.9:startTimeProp,[startTimeProp]);const shouldPlay=!isOnCanvas||canvasPlay;const autoPlay=useMemo(()=>playing,[]);const isMuted=useMemo(()=>isOnCanvas?true:muted,[isOnCanvas,muted]);const setProgress=useCallback(rawProgress=>{if(!videoRef.current)return;const newProgress=(rawProgress===1?.999:rawProgress)*videoRef.current.duration;const isAlreadySet=Math.abs(videoRef.current.currentTime-newProgress)<.1;if(videoRef.current.duration>0&&!isAlreadySet){videoRef.current.currentTime=newProgress;}},[]);const play=useCallback(()=>{const isPlaying=videoRef.current.currentTime>0&&videoRef.current.onplaying&&!videoRef.current.paused&&!videoRef.current.ended&&videoRef.current.readyState>videoRef.current.HAVE_CURRENT_DATA;if(!isPlaying&&videoRef.current&&!requestingPlay.current&&isInCurrentNavigationTarget){requestingPlay.current=true;videoRef.current.play().catch(e=>{}) // It's likely fine, swallow error\n.finally(()=>requestingPlay.current=false);}},[]);const pause=useCallback(()=>{if(!videoRef.current||requestingPlay.current)return;videoRef.current.pause();},[]);// Pause/play via props\nuseEffect(()=>{if(playing&&shouldPlay)play();else pause();},[playing,canvasPlay]);// Change progress via prop\nuseEffect(()=>{if(isMountedAndReadyForProgressChanges)setProgress(startTime*.01);else isMountedAndReadyForProgressChanges=true;},[startTime,srcFile,srcUrl]);const videoProgress=useAutoMotionValue(progress,{transform:value=>value*.01,onChange:newValue=>{setProgress(newValue);}});// Allow scrubbing with MotionValue\nuseMotionValueEvent(videoProgress,\"change\",latest=>{if(!isOnCanvas)setProgress(latest);});// (Prototyping) Checking if we need to play on navigation enter\nuseOnEnter(()=>{if(wasPausedOnLeave.current===null)return;if(videoRef.current){// if (restartOnEnter) setProgress(0)\nif(!wasEndedOnLeave&&loop||!wasPausedOnLeave.current)play();}});// (Prototyping) Pausing & saving playing state on navigation exit\nuseOnExit(()=>{if(videoRef.current){wasEndedOnLeave.current=videoRef.current.ended;wasPausedOnLeave.current=videoRef.current.paused;pause();}});const src=useMemo(()=>{let fragment=\"\";// if (\n//     startTime > 0 &&\n//     videoRef.current &&\n//     !isNaN(videoRef.current.duration) &&\n//     !isOnCanvas\n// ) {\n//     console.log(startTime, videoRef.current.duration)\n//     fragment = `#t=${startTime * videoRef.current.duration}`\n// }\nif(srcType===SrcType.Url)return srcUrl+fragment;if(srcType===SrcType.Video)return srcFile+fragment;},[srcType,srcFile,srcUrl,startTime]);// Autoplay via JS to work in Safari\nuseEffect(()=>{if(isSafari&&videoRef.current&&autoPlay){setTimeout(()=>play(),50);}},[]);// Volume Control\nuseEffect(()=>{if(videoRef.current&&!muted)videoRef.current.volume=volume/100;},[volume]);// When video is ready, set start-time, then autoplay if needed\nconst handleReady=()=>{if(videoRef.current&&videoRef.current.currentTime<.3)setProgress(startTime*.01);if(shouldPlay&&videoRef.current&&autoPlay)play();};return /*#__PURE__*/ _jsx(\"video\",{onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,src:src,loop:loop,ref:videoRef,onSeeked:e=>{return onSeeked===null||onSeeked===void 0?void 0:onSeeked(e);},onPause:e=>{return onPause===null||onPause===void 0?void 0:onPause(e);},onPlay:e=>{return onPlay===null||onPlay===void 0?void 0:onPlay(e);},onEnded:e=>{return onEnd===null||onEnd===void 0?void 0:onEnd(e);},autoPlay:autoPlay&&shouldPlay,poster:posterEnabled?poster:undefined,onLoadedData:handleReady,controls:controls,muted:isMuted,playsInline:playsinline,style:{cursor:!!onClick?\"pointer\":\"auto\",width:\"100%\",height:\"100%\",borderRadius,display:\"block\",objectFit:objectFit,backgroundColor:backgroundColor,objectPosition:\"50% 50%\"}});});Video.displayName=\"Video\";Video.defaultProps={srcType:SrcType.Url,srcUrl:\"https://assets.mixkit.co/videos/preview/mixkit-ice-cream-glass-of-red-soda-5094-small.mp4\",srcFile:\"\",posterEnabled:false,controls:false,autoPlay:true,canvasPlay:false,loop:true,muted:true,playsinline:true,restartOnEnter:false,objectFit:ObjectFitType.Cover,backgroundColor:\"rgba(0,0,0,0)\",radius:0,volume:25,startTime:0};addPropertyControls(Video,{srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[SrcType.Url,SrcType.Video]},srcUrl:{type:ControlType.String,title:\" \",placeholder:\"../example.mp4\",hidden(props){return props.srcType===SrcType.Video;},description:\"Hosted video file URL. For Youtube, use the Youtube component.\"},srcFile:{type:ControlType.File,title:\" \",allowedFileTypes:[\"mp4\"],hidden(props){return props.srcType===SrcType.Url;}},playing:{type:ControlType.Boolean,title:\"Playing\",enabledTitle:\"Yes\",disabledTitle:\"No\"},posterEnabled:{type:ControlType.Boolean,title:\"Poster\",enabledTitle:\"Yes\",disabledTitle:\"No\"},poster:{type:ControlType.Image,title:\" \",hidden:({posterEnabled})=>!posterEnabled},backgroundColor:{type:ControlType.Color,title:\"Background\"},...borderRadiusControl,startTime:{title:\"Start Time\",type:ControlType.Number,min:0,max:100,step:.1,unit:\"%\"},loop:{type:ControlType.Boolean,title:\"Loop\",enabledTitle:\"Yes\",disabledTitle:\"No\"},objectFit:{type:ControlType.Enum,title:\"Fit\",options:[ObjectFitType.Cover,ObjectFitType.Fill,ObjectFitType.Contain,ObjectFitType.ScaleDown,ObjectFitType.None,]},canvasPlay:{type:ControlType.Boolean,title:\"On Canvas\",enabledTitle:\"Play\",disabledTitle:\"Pause\",hidden(props){return props.autoPlay===false;}},// restartOnEnter: {\n//     type: ControlType.Boolean,\n//     title: \"On ReEnter\",\n//     enabledTitle: \"Restart\",\n//     disabledTitle: \"Resume\",\n// },\ncontrols:{type:ControlType.Boolean,title:\"Controls\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},muted:{type:ControlType.Boolean,title:\"Muted\",enabledTitle:\"Yes\",disabledTitle:\"No\"},volume:{type:ControlType.Number,max:100,min:0,unit:\"%\",hidden:({muted})=>muted},onEnd:{type:ControlType.EventHandler},onSeeked:{type:ControlType.EventHandler},onPause:{type:ControlType.EventHandler},onPlay:{type:ControlType.EventHandler},...defaultEvents});\nexport const __FramerMetadata__ = {\"exports\":{\"VideoProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Video\":{\"type\":\"reactComponent\",\"name\":\"Video\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"200\",\"framerIntrinsicHeight\":\"112\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Video.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function FadeInOut(Component){return props=>{const[isVisible,setIsVisible]=useState(true);useEffect(()=>{const interval=setInterval(()=>{setIsVisible(prevVisible=>!prevVisible);},1e3);return()=>clearInterval(interval);},[]);return /*#__PURE__*/ _jsx(Component,{...props,style:{...props.style,opacity:isVisible?1:0,transition:\"opacity 0.8s linear\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"FadeInOut\":{\"type\":\"reactHoc\",\"name\":\"FadeInOut\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FadeInOut.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useScroll,useTransform,useSpring,useMotionTemplate,easeIn}from\"framer-motion\";export function withHeroBannerImage(Component){return props=>{const{scrollY}=useScroll();const y=useTransform(scrollY,[0,1e3],[0,900],{ease:easeIn});return /*#__PURE__*/_jsx(Component,{...props,style:{y}});};}export function withHeroBannerBlur(Component){return props=>{const{scrollY}=useScroll();const springY=useSpring(scrollY);const saturate=useTransform(springY,value=>Math.max(190+value*-.32,0));const blur=useTransform(springY,value=>value*.32+60);const backdropFilter=useMotionTemplate`saturate(${saturate}%) blur(${blur}px)`;return /*#__PURE__*/_jsx(Component,{...props,style:{maskImage:`linear-gradient(to bottom,transparent,rgba(0,0,0,.068) 3.3%,rgba(0,0,0,.145) 5.9%,rgba(0,0,0,.227) 8.1%,rgba(0,0,0,.313) 10.1%,rgba(0,0,0,.401) 12.1%,rgba(0,0,0,.49) 14.6%,rgba(0,0,0,.578) 17.7%,rgba(0,0,0,.661) 21.8%,rgba(0,0,0,.74) 27.1%,rgba(0,0,0,.812) 33.9%,rgba(0,0,0,.875) 42.4%,rgba(0,0,0,.927) 53%,rgba(0,0,0,.966) 66%,rgba(0,0,0,.991) 81.5%,rgba(0,0,0,.991) 100%)`,WebkitMaskImage:`linear-gradient(to bottom,transparent,rgba(0,0,0,.068) 3.3%,rgba(0,0,0,.145) 5.9%,rgba(0,0,0,.227) 8.1%,rgba(0,0,0,.313) 10.1%,rgba(0,0,0,.401) 12.1%,rgba(0,0,0,.49) 14.6%,rgba(0,0,0,.578) 17.7%,rgba(0,0,0,.661) 21.8%,rgba(0,0,0,.74) 27.1%,rgba(0,0,0,.812) 33.9%,rgba(0,0,0,.875) 42.4%,rgba(0,0,0,.927) 53%,rgba(0,0,0,.966) 66%,rgba(0,0,0,.991) 81.5%,rgba(0,0,0,.991) 100%)`,backgroundColor:\"rgba(40,40,40,.5)\",WebkitBackdropFilter:backdropFilter,backdropFilter}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHeroBannerImage\":{\"type\":\"reactHoc\",\"name\":\"withHeroBannerImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroBannerBlur\":{\"type\":\"reactHoc\",\"name\":\"withHeroBannerBlur\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroBannerBlur.map","// Generated by Framer (4d5c76d)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFonts,RichText,SVG,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import Logo from\"https://framerusercontent.com/modules/IQXqjAGXltPKLdfjcdtf/AdYVRfUvx2HLE5qL3Xfw/Logo.js\";import{Video}from\"https://framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/0jtlswBvrookcx7EpjBD/Video.js\";import{FadeInOut}from\"https://framerusercontent.com/modules/fJRNYRZQGLBX4YACgYdl/FPpfmWGuWkaGvvOrXms8/FadeInOut.js\";import{withHeroBannerBlur,withHeroBannerImage}from\"https://framerusercontent.com/modules/QY4tN3egvv4KYUbynXBs/2SxLPQguTLcxRLtMlKhD/HeroBannerBlur.js\";const VideoFonts=getFonts(Video);const VideoWithHeroBannerImage=withHeroBannerImage(Video);const MotionDivWithHeroBannerBlur=withHeroBannerBlur(motion.div);const LogoFonts=getFonts(Logo);const MotionDivFadeInOut=FadeInOut(motion.div);const cycleOrder=[\"kp8MZzCMm\",\"agcndxlJx\"];const serializationHash=\"framer-qkFHY\";const variantClassNames={agcndxlJx:\"framer-v-3qpg2x\",kp8MZzCMm:\"framer-v-f0z3vb\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transitions={agcndxlJx:{damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"},default:{delay:.2,duration:.6,ease:[.44,0,.56,1],type:\"tween\"}};const toImageSrc=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value.src;}return typeof value===\"string\"?value:undefined;};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={DesktopHeroBanner:\"kp8MZzCMm\",MobileHeroBanner:\"agcndxlJx\"};const getProps=({description,desktopMainVideoURL,desktopPoster,height,id,logo,mobileMainVideoURL,mobilePoster,promotions,title,width,...props})=>{var _ref,_ref1,_ref2,_ref3,_humanReadableVariantMap_props_variant,_ref4;return{...props,AWK_gyual:(_ref=promotions!==null&&promotions!==void 0?promotions:props.AWK_gyual)!==null&&_ref!==void 0?_ref:\"프로모션 텍스트\",EHnH0b2mU:logo!==null&&logo!==void 0?logo:props.EHnH0b2mU,gCfdNGMzO:(_ref1=title!==null&&title!==void 0?title:props.gCfdNGMzO)!==null&&_ref1!==void 0?_ref1:\"콘텐츠 제목\",gFDr8y3Br:mobilePoster!==null&&mobilePoster!==void 0?mobilePoster:props.gFDr8y3Br,IB66QfGh1:desktopMainVideoURL!==null&&desktopMainVideoURL!==void 0?desktopMainVideoURL:props.IB66QfGh1,ixl5vkaCb:(_ref2=description!==null&&description!==void 0?description:props.ixl5vkaCb)!==null&&_ref2!==void 0?_ref2:\"콘텐츠 설명\",QT2shsp_E:(_ref3=mobileMainVideoURL!==null&&mobileMainVideoURL!==void 0?mobileMainVideoURL:props.QT2shsp_E)!==null&&_ref3!==void 0?_ref3:'\"\"',variant:(_ref4=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref4!==void 0?_ref4:\"kp8MZzCMm\",VFui_42jF:desktopPoster!==null&&desktopPoster!==void 0?desktopPoster:props.VFui_42jF};};const createLayoutDependency=(props,variants)=>variants.join(\"-\")+props.layoutDependency;const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,gCfdNGMzO,ixl5vkaCb,AWK_gyual,EHnH0b2mU,IB66QfGh1,QT2shsp_E,VFui_42jF,gFDr8y3Br,...restProps}=getProps(props);const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,transition,variants}=useVariantState({cycleOrder,defaultVariant:\"kp8MZzCMm\",transitions,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const isDisplayed=()=>{if(baseVariant===\"agcndxlJx\")return true;return false;};const isDisplayed1=()=>{if(baseVariant===\"agcndxlJx\")return false;return true;};const defaultLayoutId=React.useId();const sharedStyleClassNames=[];return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Transition,{value:transition,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,animate:variants,className:cx(serializationHash,...sharedStyleClassNames,\"framer-f0z3vb\",className,classNames),\"data-framer-name\":\"DesktopHeroBanner\",initial:variant,layoutDependency:layoutDependency,layoutId:\"kp8MZzCMm\",onHoverEnd:()=>setGestureState({isHovered:false}),onHoverStart:()=>setGestureState({isHovered:true}),onTap:()=>setGestureState({isPressed:false}),onTapCancel:()=>setGestureState({isPressed:false}),onTapStart:()=>setGestureState({isPressed:true}),ref:ref!==null&&ref!==void 0?ref:ref1,style:{backgroundColor:\"rgb(0, 0, 0)\",...style},...addPropertyOverrides({agcndxlJx:{\"data-framer-name\":\"MobileHeroBanner\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1hic9oq\",layoutDependency:layoutDependency,layoutId:\"wid6CbJom\",children:[isDisplayed()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-gl3wyb-container\",layoutDependency:layoutDependency,layoutId:\"vnB1GHnLE-container\",children:/*#__PURE__*/_jsx(VideoWithHeroBannerImage,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,canvasPlay:true,controls:false,height:\"100%\",id:\"vnB1GHnLE\",isMixedBorderRadius:false,layoutId:\"vnB1GHnLE\",loop:true,muted:true,objectFit:\"cover\",playing:true,poster:toImageSrc(gFDr8y3Br),posterEnabled:true,srcType:\"URL\",srcUrl:QT2shsp_E,startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,volume:25,width:\"100%\"})}),/*#__PURE__*/_jsx(MotionDivWithHeroBannerBlur,{className:\"framer-1gq24gy\",\"data-framer-name\":\"Blur\",layoutDependency:layoutDependency,layoutId:\"jtQnfVCOO\"}),isDisplayed()&&/*#__PURE__*/_jsxs(motion.div,{className:\"framer-uvlafr\",\"data-framer-name\":\"MobileHeroBanner\",layoutDependency:layoutDependency,layoutId:\"DhfUdeMcc\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-muhzw1\",\"data-framer-name\":\"HeroBannerTop\",layoutDependency:layoutDependency,layoutId:\"SizaxMpIi\"}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-qpltuj\",\"data-framer-name\":\"HeroBannerInfo\",layoutDependency:layoutDependency,layoutId:\"QPC5Drr_i\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-i9lysm\",\"data-framer-name\":\"HeroBannerInfoContents\",layoutDependency:layoutDependency,layoutId:\"Mj652hQqG\",children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1vj874g\",\"data-framer-name\":\"text-box\",layoutDependency:layoutDependency,layoutId:\"CFMOMZvkz\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgQm9sZA==\",\"--framer-font-family\":'\"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Ep. 19 혼자만의 쉼이 필요한 날에는\"})}),className:\"framer-1xyp4yg\",fonts:[\"CUSTOM;Pretendard Bold\"],layoutDependency:layoutDependency,layoutId:\"M5b6CVL5x\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:gCfdNGMzO,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsxs(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgUmVndWxhcg==\",\"--framer-font-family\":'\"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:[\"일상 속 모험을 즐기는 사람들을 위한 \",/*#__PURE__*/_jsx(motion.span,{style:{\"--framer-text-color\":\"var(--extracted-1w3ko1f, rgb(0, 0, 0))\"},children:/*#__PURE__*/_jsx(motion.br,{})}),\"물건을 소개합니다.\"]})}),className:\"framer-z63gzf\",fonts:[\"CUSTOM;Pretendard Regular\"],layoutDependency:layoutDependency,layoutId:\"GRHdKwR2g\",style:{\"--extracted-1w3ko1f\":\"rgb(0, 0, 0)\",\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"12px\"},verticalAlignment:\"top\",withExternalLayout:true})]})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-143kxlk\",\"data-framer-name\":\"HeroBannerTopLogoBox\",layoutDependency:layoutDependency,layoutId:\"hy8UR7ut7\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-pz1tfp-container\",layoutDependency:layoutDependency,layoutId:\"qlZItwCe0-container\",children:/*#__PURE__*/_jsx(Logo,{company:\"Framer\",height:\"100%\",id:\"qlZItwCe0\",isSearch:false,layoutId:\"qlZItwCe0\",radius:0,srcType:\"URL\",srcUrl:EHnH0b2mU,style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})]}),/*#__PURE__*/_jsx(MotionDivFadeInOut,{className:\"framer-1mm0j0x\",\"data-framer-name\":\"DownArrowIcon\",layoutDependency:layoutDependency,layoutId:\"MIJ1BHP9y\",children:/*#__PURE__*/_jsx(SVG,{className:\"framer-lvitj\",\"data-framer-name\":\"graphic\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"v72ZDeOTi\",opacity:1,style:{backgroundColor:\"rgba(0, 0, 0, 0)\"},svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 21 21\"><path d=\"M 12.728 0 L 12.728 12.728 L 0 12.728\" transform=\"translate(4.136 4.136) rotate(45 6.364 6.364)\" fill=\"transparent\" stroke-width=\"1.99\" stroke=\"hsl(0, 0%, 100%)\"></path></svg>',svgContentId:1351218148,withExternalLayout:true})})]})]}),isDisplayed1()&&/*#__PURE__*/_jsxs(motion.div,{className:\"framer-n7fhb6\",layoutDependency:layoutDependency,layoutId:\"ig5d3AxJa\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-vtvcdq-container\",layoutDependency:layoutDependency,layoutId:\"AnxSBbgdM-container\",children:/*#__PURE__*/_jsx(VideoWithHeroBannerImage,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,canvasPlay:true,controls:false,height:\"100%\",id:\"AnxSBbgdM\",isMixedBorderRadius:false,layoutId:\"AnxSBbgdM\",loop:true,muted:true,objectFit:\"cover\",playing:true,poster:toImageSrc(VFui_42jF),posterEnabled:true,srcType:\"URL\",srcUrl:IB66QfGh1,startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,volume:25,width:\"100%\"})}),/*#__PURE__*/_jsx(MotionDivWithHeroBannerBlur,{className:\"framer-5hq1ii\",\"data-framer-name\":\"Blur\",layoutDependency:layoutDependency,layoutId:\"iFyb3xaG1\"}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-3unpr6\",\"data-framer-name\":\"DesktopHeroBanner\",layoutDependency:layoutDependency,layoutId:\"nQcUzOaAF\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-17qsdg2\",\"data-framer-name\":\"HeroBannerTop\",layoutDependency:layoutDependency,layoutId:\"MHEAnKqy8\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-zkiday\",\"data-framer-name\":\"HeroBannerTopLogoBox\",layoutDependency:layoutDependency,layoutId:\"h57J7Ker4\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-16gsc7t-container\",layoutDependency:layoutDependency,layoutId:\"kgyEOG0Od-container\",children:/*#__PURE__*/_jsx(Logo,{company:\"Framer\",height:\"100%\",id:\"kgyEOG0Od\",isSearch:false,layoutId:\"kgyEOG0Od\",radius:0,srcType:\"URL\",srcUrl:EHnH0b2mU,style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-feu7la\",\"data-framer-name\":\"HeroBannerInfo\",layoutDependency:layoutDependency,layoutId:\"bJcdOPVuD\",children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-jtsixh\",\"data-framer-name\":\"HeroBannerInfoContents\",layoutDependency:layoutDependency,layoutId:\"q1dTHJJ8E\",children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-13fimv6\",\"data-framer-name\":\"text-box\",layoutDependency:layoutDependency,layoutId:\"XI5nfFx4o\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgQm9sZA==\",\"--framer-font-family\":'\"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Ep. 19 혼자만의 쉼이 필요한 날에는\"})}),className:\"framer-194gogu\",fonts:[\"CUSTOM;Pretendard Bold\"],layoutDependency:layoutDependency,layoutId:\"j22cnTI8Y\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:gCfdNGMzO,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgUmVndWxhcg==\",\"--framer-font-family\":'\"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"콘텐츠 설명\"})}),className:\"framer-vp8ijw\",fonts:[\"CUSTOM;Pretendard Regular\"],layoutDependency:layoutDependency,layoutId:\"ljxxLPzx6\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:ixl5vkaCb,verticalAlignment:\"top\",withExternalLayout:true})]}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgUmVndWxhcg==\",\"--framer-font-family\":'\"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(255, 255, 255, 0.6))\"},children:\"프로모션 텍스트\"})}),className:\"framer-1q95fb\",fonts:[\"CUSTOM;Pretendard Regular\"],layoutDependency:layoutDependency,layoutId:\"ce_hrbqFC\",style:{\"--extracted-r6o4lv\":\"rgba(255, 255, 255, 0.6)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:AWK_gyual,verticalAlignment:\"top\",withExternalLayout:true})]}),/*#__PURE__*/_jsx(MotionDivFadeInOut,{className:\"framer-249j77\",\"data-framer-name\":\"DownArrowIcon\",layoutDependency:layoutDependency,layoutId:\"Yob4WAI4o\",children:/*#__PURE__*/_jsx(SVG,{className:\"framer-1sdbsti\",\"data-framer-name\":\"graphic\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"leUI8W8Cz\",opacity:1,style:{backgroundColor:\"rgba(0, 0, 0, 0)\"},svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 21 21\"><path d=\"M 12.728 0 L 12.728 12.728 L 0 12.728\" transform=\"translate(4.136 4.136) rotate(45 6.364 6.364)\" fill=\"transparent\" stroke-width=\"1.99\" stroke=\"hsl(0, 0%, 100%)\"></path></svg>',svgContentId:1351218148,withExternalLayout:true})})]})]})]})]})})});});const css=['.framer-qkFHY[data-border=\"true\"]::after, .framer-qkFHY [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }',\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-qkFHY.framer-1rfoglq, .framer-qkFHY .framer-1rfoglq { display: block; }\",\".framer-qkFHY.framer-f0z3vb { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 1330px; justify-content: center; padding: 0px 0px 0px 0px; position: relative; width: 1920px; }\",\".framer-qkFHY .framer-1hic9oq, .framer-qkFHY .framer-n7fhb6 { flex: 1 0 0px; height: 100%; overflow: visible; position: relative; width: 1px; }\",\".framer-qkFHY .framer-gl3wyb-container { flex: none; height: 100%; left: calc(50.00000000000002% - 100% / 2); position: absolute; top: calc(50.00000000000002% - 100% / 2); width: 100%; z-index: 0; }\",\".framer-qkFHY .framer-1gq24gy, .framer-qkFHY .framer-5hq1ii { bottom: 0px; flex: none; height: 40%; left: calc(50.00000000000002% - 100% / 2); overflow: visible; position: absolute; width: 100%; }\",\".framer-qkFHY .framer-uvlafr { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 100%; justify-content: flex-end; left: 0px; overflow: hidden; padding: 40px 0px 40px 0px; position: absolute; top: 0px; width: 100%; z-index: 1; }\",\".framer-qkFHY .framer-muhzw1 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 100%; justify-content: flex-start; left: calc(50.00000000000002% - 100% / 2); overflow: hidden; padding: 0px 0px 0px 0px; position: absolute; top: calc(50.00000000000002% - 100% / 2); width: 100%; z-index: 3; }\",\".framer-qkFHY .framer-qpltuj { align-content: flex-end; align-items: flex-end; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 30px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px 20px 0px 20px; position: relative; width: 100%; z-index: 1; }\",\".framer-qkFHY .framer-i9lysm { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 20px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 100%; }\",\".framer-qkFHY .framer-1vj874g { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px 20px 0px 20px; position: relative; width: 100%; }\",\".framer-qkFHY .framer-1xyp4yg, .framer-qkFHY .framer-z63gzf, .framer-qkFHY .framer-194gogu, .framer-qkFHY .framer-vp8ijw, .framer-qkFHY .framer-1q95fb { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-qkFHY .framer-143kxlk { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 100%; }\",\".framer-qkFHY .framer-pz1tfp-container { flex: none; height: 130px; position: relative; width: 226px; }\",\".framer-qkFHY .framer-1mm0j0x { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: flex-end; overflow: visible; padding: 0px 0px 0px 0px; position: relative; width: 40px; z-index: 1; }\",\".framer-qkFHY .framer-lvitj, .framer-qkFHY .framer-1sdbsti { flex: none; height: 21px; position: relative; width: 21px; }\",\".framer-qkFHY .framer-vtvcdq-container { flex: none; height: 100%; left: 0px; position: absolute; top: 0px; width: 100%; z-index: 0; }\",\".framer-qkFHY .framer-3unpr6 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 73%; justify-content: center; left: calc(50.00000000000002% - min(1515px, 88%) / 2); max-width: 1515px; overflow: visible; padding: 0px 0px 0px 0px; position: absolute; top: calc(48.10000000000002% - 73.05% / 2); width: 88%; }\",\".framer-qkFHY .framer-17qsdg2 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 20px; height: 50%; justify-content: flex-start; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 100%; z-index: 1; }\",\".framer-qkFHY .framer-zkiday { align-content: center; align-items: center; display: flex; flex: 0.5 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 1px; }\",\".framer-qkFHY .framer-16gsc7t-container { flex: none; height: 188px; position: relative; width: 326px; }\",\".framer-qkFHY .framer-feu7la { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 26px; height: 50%; justify-content: flex-end; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 100%; z-index: 1; }\",\".framer-qkFHY .framer-jtsixh { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 30px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 100%; }\",\".framer-qkFHY .framer-13fimv6 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 74px; justify-content: center; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 438px; }\",\".framer-qkFHY .framer-249j77 { align-content: center; align-items: center; aspect-ratio: 1 / 1; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: var(--framer-aspect-ratio-supported, 40px); justify-content: flex-end; overflow: visible; padding: 0px 0px 0px 0px; position: relative; width: 40px; z-index: 1; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-qkFHY.framer-f0z3vb, .framer-qkFHY .framer-uvlafr, .framer-qkFHY .framer-muhzw1, .framer-qkFHY .framer-qpltuj, .framer-qkFHY .framer-i9lysm, .framer-qkFHY .framer-1vj874g, .framer-qkFHY .framer-143kxlk, .framer-qkFHY .framer-1mm0j0x, .framer-qkFHY .framer-3unpr6, .framer-qkFHY .framer-17qsdg2, .framer-qkFHY .framer-zkiday, .framer-qkFHY .framer-feu7la, .framer-qkFHY .framer-jtsixh, .framer-qkFHY .framer-13fimv6, .framer-qkFHY .framer-249j77 { gap: 0px; } .framer-qkFHY.framer-f0z3vb > *, .framer-qkFHY .framer-143kxlk > *, .framer-qkFHY .framer-zkiday > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-qkFHY.framer-f0z3vb > :first-child, .framer-qkFHY .framer-143kxlk > :first-child, .framer-qkFHY .framer-17qsdg2 > :first-child, .framer-qkFHY .framer-zkiday > :first-child { margin-left: 0px; } .framer-qkFHY.framer-f0z3vb > :last-child, .framer-qkFHY .framer-143kxlk > :last-child, .framer-qkFHY .framer-17qsdg2 > :last-child, .framer-qkFHY .framer-zkiday > :last-child { margin-right: 0px; } .framer-qkFHY .framer-uvlafr > *, .framer-qkFHY .framer-muhzw1 > *, .framer-qkFHY .framer-3unpr6 > * { margin: 0px; margin-bottom: calc(0px / 2); margin-top: calc(0px / 2); } .framer-qkFHY .framer-uvlafr > :first-child, .framer-qkFHY .framer-muhzw1 > :first-child, .framer-qkFHY .framer-qpltuj > :first-child, .framer-qkFHY .framer-i9lysm > :first-child, .framer-qkFHY .framer-1vj874g > :first-child, .framer-qkFHY .framer-1mm0j0x > :first-child, .framer-qkFHY .framer-3unpr6 > :first-child, .framer-qkFHY .framer-feu7la > :first-child, .framer-qkFHY .framer-jtsixh > :first-child, .framer-qkFHY .framer-13fimv6 > :first-child, .framer-qkFHY .framer-249j77 > :first-child { margin-top: 0px; } .framer-qkFHY .framer-uvlafr > :last-child, .framer-qkFHY .framer-muhzw1 > :last-child, .framer-qkFHY .framer-qpltuj > :last-child, .framer-qkFHY .framer-i9lysm > :last-child, .framer-qkFHY .framer-1vj874g > :last-child, .framer-qkFHY .framer-1mm0j0x > :last-child, .framer-qkFHY .framer-3unpr6 > :last-child, .framer-qkFHY .framer-feu7la > :last-child, .framer-qkFHY .framer-jtsixh > :last-child, .framer-qkFHY .framer-13fimv6 > :last-child, .framer-qkFHY .framer-249j77 > :last-child { margin-bottom: 0px; } .framer-qkFHY .framer-qpltuj > *, .framer-qkFHY .framer-jtsixh > * { margin: 0px; margin-bottom: calc(30px / 2); margin-top: calc(30px / 2); } .framer-qkFHY .framer-i9lysm > * { margin: 0px; margin-bottom: calc(20px / 2); margin-top: calc(20px / 2); } .framer-qkFHY .framer-1vj874g > *, .framer-qkFHY .framer-1mm0j0x > *, .framer-qkFHY .framer-13fimv6 > *, .framer-qkFHY .framer-249j77 > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-qkFHY .framer-17qsdg2 > * { margin: 0px; margin-left: calc(20px / 2); margin-right: calc(20px / 2); } .framer-qkFHY .framer-feu7la > * { margin: 0px; margin-bottom: calc(26px / 2); margin-top: calc(26px / 2); } }\",\".framer-qkFHY.framer-v-3qpg2x.framer-f0z3vb { flex-direction: column; height: 784px; justify-content: flex-end; width: 390px; }\",\".framer-qkFHY.framer-v-3qpg2x .framer-1hic9oq { height: 1px; width: 100%; }\",\".framer-qkFHY.framer-v-3qpg2x .framer-i9lysm { order: 1; }\",\".framer-qkFHY.framer-v-3qpg2x .framer-143kxlk { order: 0; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-qkFHY.framer-v-3qpg2x.framer-f0z3vb { gap: 0px; } .framer-qkFHY.framer-v-3qpg2x.framer-f0z3vb > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-qkFHY.framer-v-3qpg2x.framer-f0z3vb > :first-child { margin-top: 0px; } .framer-qkFHY.framer-v-3qpg2x.framer-f0z3vb > :last-child { margin-bottom: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 1330\n * @framerIntrinsicWidth 1920\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"agcndxlJx\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"gCfdNGMzO\":\"title\",\"ixl5vkaCb\":\"description\",\"AWK_gyual\":\"promotions\",\"EHnH0b2mU\":\"logo\",\"IB66QfGh1\":\"desktopMainVideoURL\",\"QT2shsp_E\":\"mobileMainVideoURL\",\"VFui_42jF\":\"desktopPoster\",\"gFDr8y3Br\":\"mobilePoster\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n */const FramersXEZN54Hy=withCSS(Component,css,\"framer-qkFHY\");export default FramersXEZN54Hy;FramersXEZN54Hy.displayName=\"HeroBanner\";FramersXEZN54Hy.defaultProps={height:1330,width:1920};addPropertyControls(FramersXEZN54Hy,{variant:{options:[\"kp8MZzCMm\",\"agcndxlJx\"],optionTitles:[\"DesktopHeroBanner\",\"MobileHeroBanner\"],title:\"Variant\",type:ControlType.Enum},gCfdNGMzO:{defaultValue:\"콘텐츠 제목\",placeholder:\"콘텐츠 제목\",title:\"title\",type:ControlType.String},ixl5vkaCb:{defaultValue:\"콘텐츠 설명\",displayTextArea:true,placeholder:\"콘텐츠 설명\",title:\"description\",type:ControlType.String},AWK_gyual:{defaultValue:\"프로모션 텍스트\",placeholder:\"프로모션 텍스트\",title:\"promotions\",type:ControlType.String},EHnH0b2mU:{defaultValue:\"\",placeholder:\"로고 URL\",title:\"logo\",type:ControlType.String},IB66QfGh1:{defaultValue:\"\",placeholder:\"데스크탑 비디오 URL\",title:\"desktopMainVideoURL\",type:ControlType.String},QT2shsp_E:{defaultValue:'\"\"',placeholder:\"모바일 비디오 URL\",title:\"mobileMainVideoURL\",type:ControlType.String},VFui_42jF:{title:\"desktopPoster\",type:ControlType.ResponsiveImage},gFDr8y3Br:{title:\"mobilePoster\",type:ControlType.ResponsiveImage}});addFonts(FramersXEZN54Hy,[{family:\"Pretendard Bold\",url:\"https://framerusercontent.com/assets/crzkHU25cJonwO6VK1IAv8AG9g.woff2\"},{family:\"Pretendard Regular\",url:\"https://framerusercontent.com/assets/Rs6Z4930tvYq1KEhYJKErYwTPE.woff2\"},...VideoFonts,...LogoFonts]);\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramersXEZN54Hy\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"gCfdNGMzO\\\":\\\"title\\\",\\\"ixl5vkaCb\\\":\\\"description\\\",\\\"AWK_gyual\\\":\\\"promotions\\\",\\\"EHnH0b2mU\\\":\\\"logo\\\",\\\"IB66QfGh1\\\":\\\"desktopMainVideoURL\\\",\\\"QT2shsp_E\\\":\\\"mobileMainVideoURL\\\",\\\"VFui_42jF\\\":\\\"desktopPoster\\\",\\\"gFDr8y3Br\\\":\\\"mobilePoster\\\"}\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"1920\",\"framerIntrinsicHeight\":\"1330\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"agcndxlJx\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./sXEZN54Hy.map","/*\n * HeroBanner\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/aaRHInB5Hb8uvFjxVMtg/4mHBDtH2gTLemCxxmPRx/sXEZN54Hy.js\"\nexport { default } from \"https://framerusercontent.com/modules/aaRHInB5Hb8uvFjxVMtg/4mHBDtH2gTLemCxxmPRx/sXEZN54Hy.js\"\n","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsOnFramerCanvas}from\"framer\";import{Bootstrap as BaseBootstrap}from\"https://asset.29cm.co.kr/contents/framer/core/Bootstrap/Bootstrap.js\";import{useAppInstallBannerVisibility}from\"https://asset.29cm.co.kr/contents/framer/hooks/useAppInstallBannerVisibility.js\";import{useInitializeNaverEp}from\"https://asset.29cm.co.kr/contents/framer/hooks/useInitializeNaverEp.js\";import WebGNB from\"https://framer.com/m/WebGNB-JO9I.js@80nWBjrnJFW0OScYfNAq\";import AppInstallBanner from\"https://framer.com/m/AppInstallBanner-X61X.js@GK9ydw7l5nDfXKN65tAc\";import HeroBanner from\"https://framer.com/m/HeroBanner-2wn4.js@4mHBDtH2gTLemCxxmPRx\";const APP_INSTALL_HIDE_DURATION=1800// 30분 (초 단위)\n;/**\n * @framerSupportedLayoutWidth fixed\n * @framerDisableUnlink\n */export default function Bootstrap(props){const{gnb,metadata}=props;const isOnFramerCanvas=useIsOnFramerCanvas();const{hidden,hide}=useAppInstallBannerVisibility();useInitializeNaverEp(()=>hide(APP_INSTALL_HIDE_DURATION));return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(BaseBootstrap,{sendMetadata:isOnFramerCanvas,...props,metadata:{...metadata,displayEndAt:metadata.hasDisplayEndAt===true?metadata.displayEndAt:{date:undefined,hours:0,minutes:0,seconds:0}}}),!isOnFramerCanvas?/*#__PURE__*/_jsxs(_Fragment,{children:[hidden?null:/*#__PURE__*/_jsx(AppInstallBanner,{style:{position:\"relative\",zIndex:\"1000\",width:\"100%\"}}),gnb.visible?/*#__PURE__*/_jsx(WebGNB,{variant:props.gnb.theme,style:{width:\"100%\",position:\"absolute\",top:0,left:0,zIndex:2}}):null]}):null,props.heroBanner.visible?/*#__PURE__*/_jsx(HeroBanner,{...metadata,logo:metadata.logo?.src??\"\",style:props.style,variant:props.heroBanner.layout}):null]});}addPropertyControls(Bootstrap,{contentId:{type:ControlType.String,description:\"콘텐츠 아이디\"},gnb:{type:ControlType.Object,controls:{theme:{type:ControlType.Enum,title:\"GNB 테마\",defaultValue:\"Light\",options:[\"Light\",\"Dark\"]},visible:{type:ControlType.Boolean,title:\"GNB 유무\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"}}},useAdvancedReadingIndexTracking:{type:ControlType.Boolean,title:\"정독지수 측정 개선 적용 여부\",description:\"실험 기능이므로, 콘텐츠 스쿼드 구성원과 논의 후 활성화해 주세요.\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},excludeSectionIds:{type:ControlType.Array,title:\"정독지수 제외할 스크롤 섹션 ID\",control:{type:ControlType.String,title:\"스크롤 섹션 ID\"},hidden(props){return props.useAdvancedReadingIndexTracking===false;}},heroBanner:{type:ControlType.Object,description:\"HeroBanner 제어\",controls:{visible:{type:ControlType.Boolean,enabledTitle:\"Yes\",disabledTitle:\"No\",defaultValue:false,description:\"노출 여부\"},layout:{type:ControlType.Enum,defaultValue:\"DesktopHeroBanner\",options:[\"DesktopHeroBanner\",\"MobileHeroBanner\"],optionTitles:[\"데스크탑\",\"모바일\"],description:\"레이아웃\"}}},hideShareButton:{title:\"기본 FAB 숨김 여부\",type:ControlType.Boolean,enabledTitle:\"숨김\",disabledTitle:\"노출\",defaultValue:false,description:\"공유하기 버튼과 숫자이벤트 배너를 함께 숨겨요. 하단을 커스텀 모듈로 채울 때 켜세요.\"},metadata:{type:ControlType.Object,description:\"콘텐츠 메타데이터\",controls:{title:{type:ControlType.String,description:\"콘텐츠 제목 (필수)\"},description:{type:ControlType.String,description:\"콘텐츠 설명 (필수)\"},promotions:{type:ControlType.String,description:\"콘텐츠 프로모션\"},logo:{type:ControlType.ResponsiveImage,description:\"콘텐츠 로고\"},desktopPoster:{type:ControlType.ResponsiveImage,description:\"PC 커버 이미지 (필수)\"},mobilePoster:{type:ControlType.ResponsiveImage,description:\"모바일 커버 이미지 (필수)\"},desktopMainVideoURL:{type:ControlType.String,description:\"PC 메인 비디오 URL\"},mobileMainVideoURL:{type:ControlType.String,description:\"모바일 메인 비디오 URL\"},hasDisplayEndAt:{type:ControlType.Boolean,title:\"노출 종료일시 유무\",description:\"비활성화 시 메타데이터에서 노출 종료일이 제외됩니다.\",defaultValue:true},displayStartAt:{type:ControlType.Object,description:\"콘텐츠 노출 시작일시 (필수)\",controls:{date:{type:ControlType.Date,description:\"날짜\"},hours:{type:ControlType.Number,defaultValue:0,min:0,max:23,unit:\"시\",step:1,displayStepper:true,description:\"시\"},minutes:{type:ControlType.Number,defaultValue:0,min:0,max:59,unit:\"분\",step:1,displayStepper:true,description:\"분\"}}},displayEndAt:{hidden:({hasDisplayEndAt})=>hasDisplayEndAt===false,type:ControlType.Object,description:\"콘텐츠 노출 종료일시\",controls:{date:{type:ControlType.Date,description:\"날짜\"},hours:{type:ControlType.Number,defaultValue:0,min:0,max:23,unit:\"시\",step:1,displayStepper:true,description:\"시\"},minutes:{type:ControlType.Number,defaultValue:0,min:0,max:59,unit:\"분\",step:1,displayStepper:true,description:\"분\"}}}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Bootstrap\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Bootstrap.map","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { mediaBuilder } from \"../../../../utils/mediaBuilder.js\";\nconst KeyVisualImage = ({\n  style,\n  media,\n  lazy,\n  source\n}) => {\n  if (!source) {\n    return;\n  }\n  const imageWebp = mediaBuilder(source);\n  const image = mediaBuilder(source);\n  return /* @__PURE__ */ jsxs(\"picture\", { children: [\n    /* @__PURE__ */ jsx(\"source\", { srcSet: imageWebp.getSrcSet(), src: imageWebp.getSrc(), media }),\n    /* @__PURE__ */ jsx(\"img\", { style, loading: lazy ? \"lazy\" : \"eager\", sizes: \"100vw\", srcSet: imageWebp.getSrcSet(), src: image.getSrc(), alt: source })\n  ] });\n};\nexport {\n  KeyVisualImage\n};\n","var Breakpoint = /* @__PURE__ */ ((Breakpoint2) => {\n  Breakpoint2[Breakpoint2[\"DESKTOP\"] = 0] = \"DESKTOP\";\n  Breakpoint2[Breakpoint2[\"TABLET\"] = 1] = \"TABLET\";\n  Breakpoint2[Breakpoint2[\"MOBILE\"] = 2] = \"MOBILE\";\n  return Breakpoint2;\n})(Breakpoint || {});\nvar MediaType = /* @__PURE__ */ ((MediaType2) => {\n  MediaType2[MediaType2[\"VIDEO\"] = 0] = \"VIDEO\";\n  MediaType2[MediaType2[\"IMAGE\"] = 1] = \"IMAGE\";\n  return MediaType2;\n})(MediaType || {});\nexport {\n  Breakpoint,\n  MediaType\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { useInView } from \"framer-motion\";\nimport { useRef } from \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport { useVideoVisibility } from \"../../../../hooks/useVideoVisibility.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { querify } from \"../../../../utils/querify.js\";\nimport { Breakpoint } from \"../KeyVisual.constants.js\";\nconst KeyVisualVideoInner = ({\n  poster,\n  sourceWebm,\n  source,\n  style,\n  breakpoint,\n  media\n}) => {\n  const {\n    videoRef\n  } = useVideoVisibility();\n  const query = querify({\n    width: posterWidthByBreakpoint[breakpoint],\n    q: 90\n  });\n  return /* @__PURE__ */ jsx(\"div\", { style: {\n    position: \"relative\",\n    ...style\n  }, children: /* @__PURE__ */ jsxs(\"video\", { ref: videoRef, playsInline: true, muted: true, loop: true, preload: \"metadata\", style: {\n    width: \"100%\",\n    height: \"100%\",\n    objectFit: \"cover\",\n    overflow: \"hidden\",\n    backgroundImage: `url(${poster})`,\n    backgroundPosition: \"center\",\n    backgroundSize: \"cover\"\n  }, poster: `${poster}?${query}`, children: [\n    sourceWebm && /* @__PURE__ */ jsx(\"source\", { type: \"video/webm\", src: sourceWebm, media }),\n    /* @__PURE__ */ jsx(\"source\", { type: \"video/mp4\", src: source, media })\n  ] }) });\n};\nconst KeyVisualVideo = ({\n  style,\n  lazy,\n  ...rest\n}) => {\n  const ref = useRef(null);\n  const isInView = useInView(ref, {\n    margin: \"400px 0px\",\n    once: true\n  });\n  if (lazy && !isInView) {\n    return /* @__PURE__ */ jsx(\"div\", { ref, style });\n  }\n  return /* @__PURE__ */ jsx(KeyVisualVideoInner, { style, ...rest });\n};\nconst posterWidthByBreakpoint = {\n  [Breakpoint.DESKTOP]: void 0,\n  [Breakpoint.TABLET]: 1440,\n  [Breakpoint.MOBILE]: 1024\n};\nexport {\n  KeyVisualVideo\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { memo } from \"react\";\nimport { KeyVisualImage } from \"./KeyVisualImage/KeyVisualImage.js\";\nimport { KeyVisualVideo } from \"./KeyVisualVideo/KeyVisualVideo.js\";\nimport { MediaType, Breakpoint } from \"./KeyVisual.constants.js\";\nconst KeyVisual = memo(({\n  style,\n  breakpoint,\n  type,\n  lazy,\n  poster,\n  sourceWebm,\n  source,\n  sourceImage\n}) => {\n  if (type === MediaType.IMAGE) {\n    return /* @__PURE__ */ jsx(KeyVisualImage, { style: {\n      ...style,\n      ...mediaStyle\n    }, media: mediaByBreakpoint[breakpoint], lazy, source: sourceImage });\n  }\n  return /* @__PURE__ */ jsx(KeyVisualVideo, { style: {\n    ...style,\n    ...mediaStyle\n  }, breakpoint, lazy, media: mediaByBreakpoint[breakpoint], poster, sourceWebm, source });\n});\nconst mediaByBreakpoint = {\n  [Breakpoint.DESKTOP]: \"(min-width: 1025px)\",\n  [Breakpoint.TABLET]: \"(min-width: 541px)\",\n  [Breakpoint.MOBILE]: void 0\n};\nconst mediaStyle = {\n  width: \"100%\",\n  height: \"100%\",\n  display: \"block\",\n  objectFit: \"cover\",\n  objectPosition: \"50% 50%\",\n  background: \"transparent\",\n  border: 0,\n  outline: \"none\"\n};\nconst isVideo = ({\n  type\n}) => type === MediaType.VIDEO;\nconst isImage = ({\n  type\n}) => type === MediaType.IMAGE;\naddPropertyControls(KeyVisual, {\n  breakpoint: {\n    type: ControlType.Enum,\n    title: \"분기점\",\n    options: [Breakpoint.DESKTOP, Breakpoint.TABLET, Breakpoint.MOBILE],\n    optionTitles: [\"PC\", \"Tablet\", \"Mobile\"],\n    displaySegmentedControl: true\n  },\n  type: {\n    type: ControlType.Enum,\n    title: \"미디어 유형\",\n    options: [MediaType.VIDEO, MediaType.IMAGE],\n    optionTitles: [\"Video\", \"Image\"],\n    defaultValue: MediaType.VIDEO,\n    displaySegmentedControl: true\n  },\n  lazy: {\n    type: ControlType.Boolean,\n    title: \"지연 로드\",\n    description: \"활성화할 경우 미디어가 화면상에 노출되기 직전에 로드됩니다.\",\n    defaultValue: false\n  },\n  poster: {\n    hidden: isImage,\n    type: ControlType.String,\n    title: \"포스터\",\n    description: \"영상이 자동재생되지 않는 환경(ex. 저전력 모드)에서 임시로 노출할 이미지 링크를 입력합니다.\"\n  },\n  sourceWebm: {\n    hidden: isImage,\n    type: ControlType.String,\n    title: \"영상 링크 (.webm)\",\n    description: \".webm 포맷의 영상 링크를 입력합니다.\"\n  },\n  source: {\n    hidden: isImage,\n    type: ControlType.String,\n    title: \"영상 링크 (.mp4)\",\n    description: \".mp4 포맷의 영상 링크를 입력합니다.\"\n  },\n  sourceImage: {\n    hidden: isVideo,\n    type: ControlType.String,\n    title: \"이미지 링크\",\n    description: \"img.29cm.co.kr 주소로 된 이미지 링크를 입력합니다.\"\n  }\n});\nexport {\n  KeyVisual\n};\n","import{KeyVisual}from\"https://asset.29cm.co.kr/contents/framer/components/systems/KeyVisual/KeyVisual.js\";// import { KeyVisual } from \"https://asset.29cm.co.kr/contents/framer/dev/components/systems/KeyVisual/KeyVisual.js\"\n// import { KeyVisual } from \"http://localhost:4173/components/systems/KeyVisual/KeyVisual.js\"\nKeyVisual.displayName=\"KeyVisual\";/**\n * @framerDisableUnlink\n */export default KeyVisual;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"KeyVisual\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KeyVisual.map","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport \"react\";\nimport \"framer-motion\";\nimport \"react-dom\";\nimport { Icon } from \"../../@shared/Icon/Icon.js\";\nimport * as index from \"../../@shared/Icon/assets/index.js\";\nconst ICON_OPTIONS = Object.keys(index);\nconst FramerIcon = (props) => {\n  return /* @__PURE__ */ jsx(\"div\", { style: {\n    lineHeight: 0\n  }, children: /* @__PURE__ */ jsx(Icon, { ...props }) });\n};\naddPropertyControls(FramerIcon, {\n  type: {\n    type: ControlType.Enum,\n    title: \"아이콘\",\n    options: ICON_OPTIONS\n  },\n  weight: {\n    type: ControlType.Enum,\n    title: \"두께\",\n    options: [\"bold\", \"regular\", \"light\"],\n    defaultValue: \"bold\"\n  },\n  color: {\n    type: ControlType.Color,\n    title: \"색상\",\n    optional: true\n  },\n  size: {\n    type: ControlType.Number,\n    title: \"크기\",\n    min: 0,\n    defaultValue: 24,\n    displayStepper: true\n  },\n  fill: {\n    type: ControlType.Boolean,\n    title: \"채우기\",\n    defaultValue: false\n  }\n});\nexport {\n  FramerIcon,\n  ICON_OPTIONS\n};\n","import{FramerIcon as Icon}from\"https://asset.29cm.co.kr/contents/framer/components/systems/Icon/Icon.js\";Icon.displayName=\"Icon\";/**\n * @framerDisableUnlink\n */export default Icon;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Icon.map","// Generated by Framer (5186692)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;2026 PRODUCT 29CM Editorial 400\",\"CUSTOMV2;2026 PRODUCT 29CM Editorial 700\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"2026 PRODUCT 29CM Editorial 400\",source:\"custom\",style:\"normal\",uiFamilyName:\"2026 PRODUCT 29CM Editorial\",url:\"https://framerusercontent.com/assets/V5W4ZOvy6DSBkIpXGAxef3xHqI.woff2\",weight:\"400\"},{cssFamilyName:\"2026 PRODUCT 29CM Editorial 700\",source:\"custom\",style:\"normal\",uiFamilyName:\"2026 PRODUCT 29CM Editorial\",url:\"https://framerusercontent.com/assets/URD3ZfY783jRKWceBwn7rpZtAdU.woff2\",weight:\"700\"}]}];export const css=['.framer-F52Vz .framer-styles-preset-1cyseud:not(.rich-text-wrapper), .framer-F52Vz .framer-styles-preset-1cyseud.rich-text-wrapper p { --framer-font-family: \"2026 PRODUCT 29CM Editorial 400\", \"2026 PRODUCT 29CM Editorial 400 Placeholder\", sans-serif; --framer-font-family-bold: \"2026 PRODUCT 29CM Editorial 700\", \"2026 PRODUCT 29CM Editorial 700 Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 13px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: 0em; --framer-line-height: 1.6em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: #474747; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1024px) and (min-width: 701px) { .framer-F52Vz .framer-styles-preset-1cyseud:not(.rich-text-wrapper), .framer-F52Vz .framer-styles-preset-1cyseud.rich-text-wrapper p { --framer-font-family: \"2026 PRODUCT 29CM Editorial 400\", \"2026 PRODUCT 29CM Editorial 400 Placeholder\", sans-serif; --framer-font-family-bold: \"2026 PRODUCT 29CM Editorial 700\", \"2026 PRODUCT 29CM Editorial 700 Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 13px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: 0em; --framer-line-height: 1.6em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: #474747; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 700px) and (min-width: 0px) { .framer-F52Vz .framer-styles-preset-1cyseud:not(.rich-text-wrapper), .framer-F52Vz .framer-styles-preset-1cyseud.rich-text-wrapper p { --framer-font-family: \"2026 PRODUCT 29CM Editorial 400\", \"2026 PRODUCT 29CM Editorial 400 Placeholder\", sans-serif; --framer-font-family-bold: \"2026 PRODUCT 29CM Editorial 700\", \"2026 PRODUCT 29CM Editorial 700 Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: 0em; --framer-line-height: 1.6em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: #474747; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-F52Vz\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import { useRef, useState, useEffect, useCallback } from \"react\";\nconst useVisibilityAwareInterval = (callback, delay) => {\n  const savedCallback = useRef(callback);\n  const intervalIdRef = useRef(null);\n  const [isVisible, setIsVisible] = useState(false);\n  useEffect(() => {\n    savedCallback.current = callback;\n  }, [callback]);\n  const startInterval = useCallback(() => {\n    if (intervalIdRef.current !== null || delay === null) {\n      return;\n    }\n    intervalIdRef.current = setInterval(() => {\n      savedCallback.current();\n    }, delay);\n  }, [delay]);\n  const stopInterval = useCallback(() => {\n    if (intervalIdRef.current !== null) {\n      clearInterval(intervalIdRef.current);\n      intervalIdRef.current = null;\n    }\n  }, []);\n  useEffect(() => {\n    const handleVisibilityChange = () => {\n      setIsVisible(document.visibilityState === \"visible\");\n    };\n    document.addEventListener(\"visibilitychange\", handleVisibilityChange);\n    return () => {\n      document.removeEventListener(\"visibilitychange\", handleVisibilityChange);\n    };\n  }, []);\n  useEffect(() => {\n    if (delay === null) {\n      stopInterval();\n      return;\n    }\n    if (isVisible) {\n      startInterval();\n    } else {\n      stopInterval();\n    }\n    return () => {\n      stopInterval();\n    };\n  }, [isVisible, delay, startInterval, stopInterval]);\n  useEffect(() => {\n    setIsVisible(document.visibilityState === \"visible\");\n  }, []);\n};\nexport {\n  useVisibilityAwareInterval\n};\n","import { ControlType } from \"framer\";\nvar Gender = /* @__PURE__ */ ((Gender2) => {\n  Gender2[\"ALL\"] = \"A\";\n  Gender2[\"FEMALE\"] = \"F\";\n  Gender2[\"MALE\"] = \"M\";\n  return Gender2;\n})(Gender || {});\nconst GENDER_CONTROLS = {\n  gender: {\n    type: ControlType.Enum,\n    title: \"성별 타겟팅\",\n    options: [\n      \"A\",\n      \"F\",\n      \"M\"\n      /* MALE */\n    ],\n    optionTitles: [\"전체\", \"여성\", \"남성\"],\n    displaySegmentedControl: true\n  }\n};\nexport {\n  GENDER_CONTROLS,\n  Gender\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useState, useLayoutEffect } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../hooks/useCurrentUser.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../providers/ThemeProvider/ThemeProvider.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { Gender as Gender$1 } from \"../../../libs/property-controls/gender.js\";\nconst Gender = ({\n  children,\n  gender\n}) => {\n  const user = useCurrentUser();\n  const [userGender, setUserGender] = useState(null);\n  useLayoutEffect(() => {\n    addStyle();\n  }, []);\n  useLayoutEffect(() => {\n    setUserGender(user.gender);\n  }, [user]);\n  if (isCanvas() || gender === Gender$1.ALL) {\n    return children;\n  }\n  return /* @__PURE__ */ jsx(\"div\", { \"data-gender\": userGender ?? \"F\", \"data-target\": gender, children });\n};\nconst STYLE_ID = \"gender-targeting-styles\";\nconst addStyle = () => {\n  let styleTag = document.getElementById(STYLE_ID);\n  if (!styleTag) {\n    styleTag = document.createElement(\"style\");\n    styleTag.id = STYLE_ID;\n    styleTag.type = \"text/css\";\n    styleTag.innerHTML = `\n      [data-gender='F'][data-target='M'] {\n        display: none;\n      }\n      [data-gender='M'][data-target='F'] {\n        display: none;\n      }\n    `;\n    document.head.appendChild(styleTag);\n  }\n};\nexport {\n  Gender\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { Headline as Headline$1 } from \"../curations/Headline/index.js\";\nimport { ThemeProvider } from \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"react\";\nimport { BreakpointProvider } from \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport { THEME_CONTROLS } from \"../../../libs/property-controls/theme.js\";\nimport { BREAKPOINT_CONTROLS } from \"../../../libs/property-controls/breakpoint.js\";\nconst HeadlineMedia = ({\n  mediaType,\n  imageSrc,\n  videoSrc,\n  videoSrcWebm,\n  poster,\n  lazy\n}) => {\n  if (mediaType === \"image\") {\n    return /* @__PURE__ */ jsx(Headline$1.Image, { source: imageSrc, lazy });\n  }\n  if (mediaType === \"video\") {\n    return /* @__PURE__ */ jsx(Headline$1.Video, { source: videoSrc, sourceWebm: videoSrcWebm, poster, lazy });\n  }\n  return null;\n};\nconst Headline = (props) => {\n  const {\n    priority,\n    title,\n    description,\n    action,\n    mediaType,\n    loading,\n    horizontalPadding,\n    bodyGap\n  } = props;\n  const contentStyle = horizontalPadding !== void 0 ? {\n    paddingLeft: horizontalPadding,\n    paddingRight: horizontalPadding\n  } : void 0;\n  const bodyStyle = bodyGap !== void 0 ? {\n    gap: bodyGap\n  } : void 0;\n  const hasMediaType = mediaType !== \"none\";\n  const isPrimary = priority === \"primary\";\n  const canRenderMedia = isPrimary && hasMediaType;\n  return /* @__PURE__ */ jsxs(Headline$1.Root, { priority, loading, children: [\n    canRenderMedia ? /* @__PURE__ */ jsx(HeadlineMedia, { ...props }) : null,\n    /* @__PURE__ */ jsxs(Headline$1.Content, { style: contentStyle, children: [\n      /* @__PURE__ */ jsxs(Headline$1.Body, { style: bodyStyle, children: [\n        /* @__PURE__ */ jsx(Headline$1.Title, { children: title }),\n        isPrimary ? /* @__PURE__ */ jsx(Headline$1.Action, { children: action }) : /* @__PURE__ */ jsx(Headline$1.Description, { children: description })\n      ] }),\n      isPrimary ? /* @__PURE__ */ jsx(Headline$1.Description, { children: description }) : /* @__PURE__ */ jsx(Headline$1.Action, { children: action }),\n      canRenderMedia ? /* @__PURE__ */ jsx(Headline$1.Gradient, {}) : null\n    ] })\n  ] });\n};\nconst FramerHeadline = (props) => {\n  return /* @__PURE__ */ jsx(ThemeProvider, { theme: props.theme, children: /* @__PURE__ */ jsx(BreakpointProvider, { breakpoint: props.breakpoint, children: /* @__PURE__ */ jsx(Headline, { ...props }) }) });\n};\naddPropertyControls(FramerHeadline, {\n  ...BREAKPOINT_CONTROLS,\n  ...THEME_CONTROLS,\n  priority: {\n    type: ControlType.Enum,\n    title: \"우선 순위\",\n    description: \"미디어 관련 옵션은 primary 일 때에만 사용 가능합니다.\",\n    options: [\"primary\", \"secondary\", \"tertiary\"]\n  },\n  title: {\n    type: ControlType.String,\n    title: \"제목\",\n    placeholder: \"제목 텍스트 입력\",\n    defaultValue: \"제목 텍스트 입력\"\n  },\n  description: {\n    type: ControlType.String,\n    title: \"설명\",\n    placeholder: \"설명 텍스트 입력\",\n    displayTextArea: true\n  },\n  action: {\n    type: ControlType.ComponentInstance,\n    title: \"액션 컴포넌트\",\n    description: \"헤드라인 우측에 별도의 컴포넌트가 삽입되어야 하는 경우 연결\"\n  },\n  mediaType: {\n    hidden: ({\n      priority\n    }) => priority !== \"primary\",\n    type: ControlType.Enum,\n    title: \"미디어 유형\",\n    description: \"삽입할 키비주얼의 미디어 유형 선택\",\n    options: [\"none\", \"image\", \"video\"],\n    optionTitles: [\"선택 안 함\", \"이미지\", \"영상\"]\n  },\n  imageSrc: {\n    hidden: ({\n      priority,\n      mediaType\n    }) => priority !== \"primary\" || mediaType !== \"image\",\n    type: ControlType.String,\n    title: \"이미지 URL\",\n    placeholder: \"이미지 URL 입력\"\n  },\n  videoSrc: {\n    hidden: ({\n      priority,\n      mediaType\n    }) => priority !== \"primary\" || mediaType !== \"video\",\n    type: ControlType.String,\n    title: \"영상 URL\",\n    placeholder: \"영상 URL 입력\"\n  },\n  videoSrcWebm: {\n    hidden: ({\n      priority,\n      mediaType\n    }) => priority !== \"primary\" || mediaType !== \"video\",\n    type: ControlType.String,\n    title: \"WEBM 영상 URL\",\n    placeholder: \"WEBM 포맷의 영상 URL 입력\"\n  },\n  poster: {\n    hidden: ({\n      priority,\n      mediaType\n    }) => priority !== \"primary\" || mediaType !== \"video\",\n    type: ControlType.String,\n    title: \"포스터 이미지 URL\",\n    description: \"영상이 자동재생되지 않는 환경(ex. 저전력 모드)에서 임시로 노출할 이미지 URL을 입력합니다.\",\n    placeholder: \"포스터 이미지 URL 입력\"\n  },\n  lazy: {\n    hidden: ({\n      priority,\n      mediaType\n    }) => priority !== \"primary\" || mediaType === \"none\",\n    type: ControlType.Boolean,\n    title: \"미디어 지연 요청\",\n    description: \"컴포넌트가 화면에 보일 때에만 미디어를 로드합니다.\\n(성능 최적화를 위해 활성화하는 것을 권장합니다.)\",\n    defaultValue: true\n  }\n});\nexport {\n  FramerHeadline,\n  Headline\n};\n","import { useState, useCallback } from \"react\";\nimport useSWR from \"../../node_modules/swr/core/dist/index.js\";\nconst useLazySWR = (key, fetcher, config) => {\n  const [enabled, setEnabled] = useState(false);\n  const response = useSWR(enabled ? key : null, fetcher, config);\n  const isLoading = !enabled || response.isLoading;\n  const fetch = useCallback(() => setEnabled(true), []);\n  return {\n    ...response,\n    isLoading,\n    fetch\n  };\n};\nexport {\n  useLazySWR\n};\n","import { keywordCollectionApi } from \"../../apis/keyword-collections/KeywordCollectionApiService.js\";\nimport { useLazySWR } from \"../swr/useLazySWR.js\";\nconst KEYWORD_COLLECTION_FETCHER_KEY = \"keyword-collection-v2\";\nconst useLazyFetchKeywordCollection = (collectionId) => {\n  const enabled = Boolean(collectionId);\n  const {\n    data,\n    isLoading,\n    error,\n    fetch\n  } = useLazySWR(enabled ? [KEYWORD_COLLECTION_FETCHER_KEY, collectionId] : null, () => keywordCollectionApi.getKeywordCollection(collectionId));\n  const hasError = error !== void 0;\n  const isPending = isLoading || hasError || !enabled;\n  return {\n    collection: data == null ? void 0 : data.data,\n    isPending,\n    fetch\n  };\n};\nexport {\n  useLazyFetchKeywordCollection\n};\n","const closest = (array, target) => {\n  return array.reduce((prev, curr) => Math.abs(curr - target) < Math.abs(prev - target) ? curr : prev, 0);\n};\nexport {\n  closest\n};\n","const getRestScrollWidth = (element) => {\n  const {\n    scrollWidth = 0,\n    offsetWidth = 0\n  } = element ?? {};\n  return scrollWidth - offsetWidth;\n};\nexport {\n  getRestScrollWidth\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useMotionValue, clamp, animate } from \"framer-motion\";\nimport { createContext, forwardRef, useRef, useState, useLayoutEffect, useEffect } from \"react\";\nimport { getRestScrollWidth } from \"../../../utils/getRestScrollWidth.js\";\nconst DraggableTabsContext = createContext(null);\nconst Root = forwardRef(({\n  children,\n  style,\n  defaultValue,\n  value,\n  dragPaddingLeft = 0,\n  dragPaddingRight = 0,\n  onValueChange,\n  ...rest\n}, ref) => {\n  const refs = useRef(/* @__PURE__ */ new Map());\n  const listRef = useRef(null);\n  const [firstValue] = refs.current.keys();\n  const [currentValue, setCurrentValue] = useState(defaultValue ?? value ?? firstValue);\n  const listX = useMotionValue(0);\n  const focusTo = (incoming, smooth = true) => {\n    const item = refs.current.get(incoming);\n    if (item === void 0) {\n      return;\n    }\n    const threshold = getRestScrollWidth(listRef.current);\n    const finalX = -clamp(0, threshold, item.offsetLeft - dragPaddingLeft);\n    if (smooth) {\n      animate(listX, finalX, {\n        type: \"spring\",\n        stiffness: 400,\n        damping: 50\n      });\n    } else {\n      listX.set(finalX);\n    }\n  };\n  const move = (next) => {\n    onValueChange == null ? void 0 : onValueChange(next);\n    setCurrentValue(next);\n    focusTo(next);\n  };\n  useLayoutEffect(() => {\n    if (defaultValue) {\n      focusTo(defaultValue, false);\n    }\n  }, []);\n  useEffect(() => {\n    if (value) {\n      move(value);\n    }\n  }, [value]);\n  const context = {\n    refs,\n    listRef,\n    currentValue,\n    listX,\n    dragPaddingLeft,\n    dragPaddingRight,\n    move\n  };\n  return /* @__PURE__ */ jsx(DraggableTabsContext.Provider, { value: context, children: /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...style,\n    ...containerStyle\n  }, children }) });\n});\nconst containerStyle = {\n  display: \"flex\",\n  flexDirection: \"column\"\n};\nexport {\n  DraggableTabsContext,\n  Root\n};\n","import { useContext } from \"react\";\nimport { DraggableTabsContext } from \"./Root.js\";\nconst useDraggableTabsContext = () => {\n  const context = useContext(DraggableTabsContext);\n  if (!context) {\n    throw new Error(\"useDraggableTabsContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useDraggableTabsContext\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useRef, useState, useLayoutEffect, useEffect } from \"react\";\nimport { withCSS } from \"framer\";\nimport { motion, clamp, animate } from \"framer-motion\";\nimport { closest } from \"../../../utils/closest.js\";\nimport { getRestScrollWidth } from \"../../../utils/getRestScrollWidth.js\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nimport { useDraggableTabsContext } from \"./Root.hooks.js\";\nconst COMPONENT_NAME = \"tabs-list\";\nconst INITIAL_DAMPING = 0.4;\nconst css = [`\n    .${COMPONENT_NAME}-container::-webkit-scrollbar {\n      display: none;\n    }\n  `];\nconst List = withCSS(forwardRef(({\n  children,\n  style,\n  gap = 0,\n  damping = INITIAL_DAMPING,\n  ...rest\n}, ref) => {\n  const {\n    listRef,\n    refs,\n    listX,\n    dragPaddingLeft,\n    dragPaddingRight\n  } = useDraggableTabsContext();\n  const trackRef = useRef(null);\n  const [constraints, setConstraints] = useState({\n    left: 0,\n    right: 0\n  });\n  const updateConstraints = () => {\n    if (!listRef.current) {\n      return;\n    }\n    const maxScroll = getRestScrollWidth(listRef.current);\n    const newLeft = -maxScroll;\n    setConstraints((prev) => {\n      if (prev.left === newLeft) {\n        return prev;\n      }\n      return {\n        left: newLeft,\n        right: 0\n      };\n    });\n  };\n  const getChildrenPositions = () => {\n    return Array.from(refs.current.values()).map((element) => element.offsetLeft);\n  };\n  const handleDragEnd = (_, {\n    velocity\n  }) => {\n    const destinationX = listX.get() + velocity.x * damping;\n    const closestX = closest(getChildrenPositions(), -destinationX);\n    const threshold = getRestScrollWidth(listRef.current);\n    const finalX = -clamp(0, threshold, closestX - dragPaddingLeft);\n    animate(listX, finalX, {\n      type: \"spring\",\n      stiffness: 200,\n      damping: 50\n    });\n  };\n  useLayoutEffect(() => {\n    updateConstraints();\n  }, []);\n  useEffect(() => {\n    const container = listRef.current;\n    if (!container) {\n      return;\n    }\n    const resizeObserver = new ResizeObserver(() => {\n      updateConstraints();\n    });\n    resizeObserver.observe(container);\n    if (trackRef.current) {\n      resizeObserver.observe(trackRef.current);\n    }\n    return () => {\n      resizeObserver.disconnect();\n    };\n  }, []);\n  return /* @__PURE__ */ jsx(\"div\", { ref: mergeRefs([ref, listRef]), className: `${COMPONENT_NAME}-container`, style: {\n    ...containerStyle,\n    ...style\n  }, ...rest, children: /* @__PURE__ */ jsx(motion.div, { ref: trackRef, style: {\n    ...listStyle,\n    x: listX,\n    gap,\n    paddingLeft: dragPaddingLeft,\n    paddingRight: dragPaddingRight\n  }, drag: \"x\", dragElastic: 0.1, dragConstraints: constraints, dragPropagation: false, onDragEnd: handleDragEnd, whileDrag: {\n    pointerEvents: \"none\"\n  }, children }) });\n}), css);\nconst containerStyle = {\n  position: \"relative\",\n  zIndex: 8,\n  width: \"100%\",\n  overflow: \"hidden\",\n  msOverflowStyle: \"none\",\n  scrollbarWidth: \"none\",\n  cursor: \"grab\"\n};\nconst listStyle = {\n  display: \"inline-flex\",\n  minWidth: \"100%\"\n};\nexport {\n  List\n};\n","import { useDraggableTabsContext } from \"./Root.hooks.js\";\nconst Panel = ({\n  children,\n  value\n}) => {\n  const {\n    currentValue\n  } = useDraggableTabsContext();\n  const isCurrent = value === currentValue;\n  return isCurrent ? children : null;\n};\nexport {\n  Panel\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useDraggableTabsContext } from \"./Root.hooks.js\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nimport { isFunction } from \"../../../utils/function.js\";\nimport { playHaptic } from \"../../../utils/playHaptic.js\";\nconst Trigger = forwardRef(({\n  children,\n  style,\n  value,\n  onClick,\n  ...rest\n}, ref) => {\n  const {\n    refs,\n    currentValue,\n    move\n  } = useDraggableTabsContext();\n  const isCurrent = value === currentValue;\n  const register = (incoming) => (element) => {\n    refs.current.set(incoming, element);\n  };\n  const handleClick = (e) => {\n    onClick == null ? void 0 : onClick(e);\n    move(value);\n    playHaptic(\"rigid\");\n  };\n  return /* @__PURE__ */ jsx(\"div\", { ref: mergeRefs([ref, register(value)]), style: {\n    ...containerStyle,\n    ...style\n  }, ...rest, onClick: handleClick, children: isFunction(children) ? children(isCurrent) : children });\n});\nconst containerStyle = {\n  position: \"relative\",\n  display: \"flex\",\n  flex: \"0 0 auto\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  cursor: \"pointer\",\n  scrollSnapAlign: \"start\"\n};\nexport {\n  Trigger\n};\n","import { List } from \"./List.js\";\nimport { Panel } from \"./Panel.js\";\nimport { Root } from \"./Root.js\";\nimport { Trigger } from \"./Trigger.js\";\nconst DraggableTabs = {\n  Root,\n  List,\n  Trigger,\n  Panel\n};\nexport {\n  DraggableTabs\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef } from \"react\";\nimport { DraggableTabs } from \"../../../@shared/DraggableTabs/index.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { Breakpoint } from \"../../../../styles/breakpoint.js\";\nconst TagsContext = createContext(null);\nconst Root = forwardRef(({\n  children,\n  loading = false,\n  defaultValue,\n  value,\n  dragPaddingLeft,\n  dragPaddingRight,\n  onValueChange\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const sidePadding = sidePaddingByBreakpoint[breakpoint];\n  return /* @__PURE__ */ jsx(TagsContext.Provider, { value: {\n    loading\n  }, children: /* @__PURE__ */ jsx(DraggableTabs.Root, { ref, defaultValue, value, dragPaddingLeft: dragPaddingLeft ?? sidePadding, dragPaddingRight: dragPaddingRight ?? sidePadding, onValueChange, children }) });\n});\nconst sidePaddingByBreakpoint = {\n  [Breakpoint.DESKTOP]: 0,\n  [Breakpoint.TABLET]: 16,\n  [Breakpoint.MOBILE]: 16\n};\nexport {\n  Root,\n  TagsContext\n};\n","import { useContext } from \"react\";\nimport { TagsContext } from \"./Root.js\";\nconst useTagsContext = () => {\n  const context = useContext(TagsContext);\n  if (!context) {\n    throw new Error(\"useTagsContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useTagsContext\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { forwardRef, Fragment, useState, useEffect } from \"react\";\nimport { useTransform, useMotionTemplate, motion, useMotionValue, useMotionValueEvent } from \"framer-motion\";\nimport { DraggableTabs } from \"../../../@shared/DraggableTabs/index.js\";\nimport { useDraggableTabsContext } from \"../../../@shared/DraggableTabs/Root.hooks.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { Breakpoint } from \"../../../../styles/breakpoint.js\";\nimport { getRestScrollWidth } from \"../../../../utils/getRestScrollWidth.js\";\nimport { useTagsContext } from \"./Root.hooks.js\";\nconst LIST_GAP = 4;\nconst SKELETONS_PER_PENDING = 3;\nconst FADE_WIDTH = 60;\nconst List = ({\n  style,\n  children,\n  list\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const {\n    loading\n  } = useTagsContext();\n  const pending = loading && list.length === 0;\n  const overflowed = useListOverflowed(!pending && breakpoint !== Breakpoint.MOBILE);\n  const xProgress = useListXProgress();\n  const fadeWidth = useTransform(xProgress, [0.95, 1], [FADE_WIDTH, 0]);\n  const maskImage = useMotionTemplate`linear-gradient(to right, black 0%, black calc(100% - ${fadeWidth}px), transparent 100%)`;\n  return /* @__PURE__ */ jsx(\n    motion.div,\n    {\n      style: {\n        ...containerStyle,\n        maskImage: overflowed ? maskImage : \"none\",\n        WebkitMaskImage: overflowed ? maskImage : \"none\",\n        ...style\n      },\n      children: /* @__PURE__ */ jsxs(DraggableTabs.List, { ref, gap: LIST_GAP, children: [\n        list.map((item, index) => (\n          // eslint-disable-next-line react/no-array-index-key\n          /* @__PURE__ */ jsx(Fragment, { children: children({\n            index,\n            pending,\n            item\n          }) }, index)\n        )),\n        pending ? Array.from({\n          length: SKELETONS_PER_PENDING\n        }).map((_, index) => (\n          // eslint-disable-next-line react/no-array-index-key\n          /* @__PURE__ */ jsx(Fragment, { children: children({\n            index,\n            pending\n          }) }, index)\n        )) : null\n      ] })\n    }\n  );\n};\nconst useListOverflowed = (enabled) => {\n  const {\n    listRef\n  } = useDraggableTabsContext();\n  const [overflowed, setOverflowed] = useState(false);\n  useEffect(() => {\n    const container = listRef.current;\n    if (container === null || !enabled) {\n      setOverflowed(false);\n      return;\n    }\n    setOverflowed(container.scrollWidth > container.clientWidth);\n  }, [listRef, enabled]);\n  return overflowed;\n};\nconst useListXProgress = () => {\n  const {\n    listX,\n    listRef\n  } = useDraggableTabsContext();\n  const xProgress = useMotionValue(0);\n  useMotionValueEvent(listX, \"change\", (latest) => {\n    xProgress.set(-latest / getRestScrollWidth(listRef.current));\n  });\n  return xProgress;\n};\nconst Default = forwardRef(List);\nconst containerStyle = {\n  position: \"relative\",\n  width: \"100%\",\n  marginBottom: 16,\n  overflow: \"hidden\"\n};\nexport {\n  Default as List\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nconst a = g({\n  base: \"focus-visible:outline focus-visible:outline-1 focus-visible:outline-interactive focus-visible:outline-offset-1\"\n}), s = g({\n  slots: {\n    // radius 는 size variant 가 전담한다 — 커스텀 radius 토큰은 twMerge 그룹 밖이라 base 에 두면\n    // small 의 `rounded-8` 과 나란히 남아 CSS 순서로 결정돼 버린다.\n    base: [a(), \"inline-flex h-32 cursor-pointer items-center justify-center whitespace-nowrap px-10\"],\n    label: \"text-m\"\n  },\n  variants: {\n    // Figma 는 선택된 칩만 medium(500) 이고 나머지는 regular(400) 다.\n    active: {\n      true: { label: \"text-m-medium\" },\n      false: {}\n    },\n    /**\n     * 칩 표면 표현 (Figma toggleTag `surfaceStyle`).\n     * `filled` 은 배경을 칠하고 `outlined` 는 테두리를 두른다 — 굵기만 여기서, 색은 compoundVariants 에서 정한다.\n     *\n     * Figma 는 테두리를 칩 안쪽에 겹쳐 그려(strokeAlign INSIDE) `filled` 와 `outlined` 의 폭이 같다.\n     * CSS `border` 는 패딩 바깥에 더해지므로 `outlined` 만 좌우 패딩을 테두리 굵기(1px)만큼 줄여\n     * 폭을 맞춘다 — compoundVariants 의 outlined 패딩 행 참고.\n     */\n    surfaceStyle: {\n      filled: {},\n      outlined: { base: \"border\" }\n    },\n    /**\n     * 칩 크기 (Figma toggleTag `size`). medium 은 base 가 그대로 담당하고 small 만 덮어쓴다 —\n     * base 의 치수를 variant 로 옮기면 `pr-8`(FilterTag) · `pr-[27px]`(RemovableTag) 처럼\n     * 자식 slots 가 지정한 패딩보다 부모 variant 가 나중에 적용돼 우측 패딩이 사라진다.\n     */\n    size: {\n      medium: { base: \"rounded-[10px]\" },\n      small: { base: \"h-28 rounded-8 px-8\" }\n    },\n    /** 라벨 앞 아이콘 유무 (Figma toggleTag `prefixItem`). `prefix` 로 계산하는 내부 축이다. */\n    hasPrefix: {\n      true: { base: \"gap-4\" },\n      false: {}\n    },\n    /**\n     * hover 는 전부 `[@media(hover:hover)and(pointer:fine)]` 안에 둔다 — 터치 기기는 탭한 요소에\n     * `:hover` 를 걸어두고 다른 곳을 탭할 때까지 유지해서, 고른 칩에 hover 배경이 눌어붙는다.\n     * `Button.style.ts` 와 같은 방식이다.\n     *\n     * **`active:` 는 맨 것과 접두사 붙은 것을 쌍으로 둔다.** Tailwind 는 arbitrary variant 를 기본\n     * variant 뒤에 출력해서, 접두사 붙은 hover 규칙이 맨 `active:` 규칙보다 뒤에 온다. 둘의 specificity 가\n     * `(0,2,0)` 로 같아 마우스로 누르는 동안 hover 색이 pressed 색을 덮는다. 접두사 붙은 `active:` 를 함께\n     * 두면 그것이 hover 뒤로 가 pressed 가 이기고(기본 정렬이 hover → focus → active 라 같은 접두사 안에서는\n     * 항상 이 순서다), 맨 `active:` 는 터치 기기 몫으로 남는다. 한쪽만 지우면 둘 중 한 기기에서 pressed 가 사라진다.\n     *\n     * modifier 가 다르면 twMerge 가 같은 그룹으로 안 묶는다. **소비처가 `className` 으로 hover · pressed 색을\n     * 덮으려면 두 형태를 다 넘겨야 한다** — `hover:bg-foo` 만 넘기면 접두사 붙은 규칙이 뒤에 남아 마우스에서는\n     * 기본 색이 이기고, `active:bg-foo` 만 넘겨도 마찬가지다.\n     */\n    theme: {\n      light: {\n        label: \"active:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:active:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\"\n      },\n      dark: {}\n    },\n    disabled: {\n      true: {\n        base: \"cursor-not-allowed bg-disabled [&_*]:cursor-not-allowed\",\n        label: \"text-disabled active:text-disabled [@media(hover:hover)and(pointer:fine)]:active:text-disabled [@media(hover:hover)and(pointer:fine)]:hover:text-disabled\",\n        icon: \"text-disabled\"\n      }\n    }\n  },\n  compoundVariants: [\n    {\n      surfaceStyle: \"filled\",\n      active: true,\n      disabled: false,\n      theme: \"light\",\n      class: {\n        base: \"bg-primary text-on-color active:bg-primary-pressed [@media(hover:hover)and(pointer:fine)]:active:bg-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:bg-primary-hover\",\n        label: \"text-on-color active:text-on-white-pressed [@media(hover:hover)and(pointer:fine)]:active:text-on-white-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-on-white-hover\"\n      }\n    },\n    {\n      surfaceStyle: \"filled\",\n      active: true,\n      disabled: false,\n      theme: \"dark\",\n      // NOTE:(김홍동) framer-ruler 전용 — 기획전 모듈 시안 dark 값(fill/selected · text/on-color)이 이 브랜치 토큰에 없어 임의값.\n      // 배경 #FFFFFF 89% · hover·pressed 96%, 글자 #0C0C0C 는 hover·pressed 에도 고정이다.\n      class: {\n        base: \"bg-[#ffffffe3] text-[#0c0c0c] active:bg-[#fffffff5] [@media(hover:hover)and(pointer:fine)]:active:bg-[#fffffff5] [@media(hover:hover)and(pointer:fine)]:hover:bg-[#fffffff5]\",\n        label: \"text-[#0c0c0c]\"\n      }\n    },\n    {\n      surfaceStyle: \"filled\",\n      active: false,\n      disabled: false,\n      theme: \"light\",\n      class: {\n        base: \"bg-tertiary text-secondary\",\n        label: \"text-secondary active:text-secondary-pressed [@media(hover:hover)and(pointer:fine)]:active:text-secondary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-secondary-hover\"\n      }\n    },\n    {\n      surfaceStyle: \"filled\",\n      active: false,\n      disabled: false,\n      theme: \"dark\",\n      // NOTE:(김홍동) framer-ruler 전용 — 시안 dark 값(fill/tertiary #1C1C1C · text/secondary #ADADAD)이 이 브랜치 토큰에 없어 임의값.\n      class: {\n        base: \"bg-[#1c1c1c] text-[#adadad]\",\n        label: \"text-[#adadad]\"\n      }\n    },\n    // outlined 의 hover·pressed 배경은 light 에만 있다 — 기획전 모듈 시안의 dark 는 테두리·글자 색만 정의한다.\n    // outlined 도 hover·pressed 에는 배경이 깔린다. 배경이 없는 건 default·focus 뿐이라 따로 둔다.\n    {\n      surfaceStyle: \"outlined\",\n      disabled: false,\n      theme: \"light\",\n      class: {\n        base: \"active:bg-silent-pressed [@media(hover:hover)and(pointer:fine)]:active:bg-silent-pressed [@media(hover:hover)and(pointer:fine)]:hover:bg-silent-hover\"\n      }\n    },\n    {\n      surfaceStyle: \"outlined\",\n      active: false,\n      disabled: false,\n      theme: \"light\",\n      class: {\n        base: \"border-line text-secondary\",\n        label: \"text-secondary active:text-secondary-pressed [@media(hover:hover)and(pointer:fine)]:active:text-secondary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-secondary-hover\"\n      }\n    },\n    {\n      surfaceStyle: \"outlined\",\n      active: true,\n      disabled: false,\n      theme: \"light\",\n      class: {\n        base: \"border-line-selected text-primary\",\n        label: \"text-primary\"\n      }\n    },\n    // NOTE:(김홍동) framer-ruler 전용 — 시안 dark 값 중 border/line(#313131) · text/primary(#F4F4F4) 만 같은 값의 클래스가 있고,\n    // line-selected-subtle(#FFFFFF 68%) · text/secondary(#ADADAD) 는 이 브랜치 토큰에 없어 임의값.\n    // dark disabled 는 시안 미정의(\"미선택 · disabled 는 바뀌지 않았다\") — filled·outlined 모두 light 값을 그대로 쓴다.\n    {\n      surfaceStyle: \"outlined\",\n      active: false,\n      disabled: false,\n      theme: \"dark\",\n      class: {\n        base: \"border-line-dark text-[#adadad]\",\n        label: \"text-[#adadad]\"\n      }\n    },\n    {\n      surfaceStyle: \"outlined\",\n      active: true,\n      disabled: false,\n      theme: \"dark\",\n      class: {\n        base: \"border-[#ffffffad] text-gray-900-dark\",\n        label: \"text-gray-900-dark\"\n      }\n    },\n    {\n      surfaceStyle: \"outlined\",\n      disabled: true,\n      class: { base: \"border-line-disabled\" }\n    },\n    // outlined 는 테두리 1px 만큼 패딩을 줄여 filled 와 폭을 맞춘다 (Figma 는 테두리를 안쪽에 겹쳐 그린다).\n    // `pl`·`pr` 을 건드리는 모든 행보다 먼저 와야 한다 — twMerge 는 뒤에 온 `px` 로 앞의 `pl`·`pr` 을 지운다.\n    // 같은 이유로 `FilterTag`(`pr-8`) · `RemovableTag`(`pr-[27px]`) 에 `surfaceStyle` 을 열 때는\n    // 우측 패딩도 outlined 행으로 함께 내려야 한다. 지금은 둘 다 Omit 해서 이 행에 닿지 않는다.\n    { surfaceStyle: \"outlined\", size: \"medium\", class: { base: \"px-[9px]\" } },\n    { surfaceStyle: \"outlined\", size: \"small\", class: { base: \"px-[7px]\" } },\n    // 아이콘이 붙는 왼쪽만 좁아진다 (Figma: medium 10→5, small 8→4).\n    { size: \"medium\", hasPrefix: true, class: { base: \"pl-[5px]\" } },\n    { size: \"small\", hasPrefix: true, class: { base: \"pl-4\" } },\n    { surfaceStyle: \"outlined\", size: \"medium\", hasPrefix: true, class: { base: \"pl-4\" } },\n    { surfaceStyle: \"outlined\", size: \"small\", hasPrefix: true, class: { base: \"pl-[3px]\" } }\n  ],\n  defaultVariants: {\n    disabled: false,\n    surfaceStyle: \"filled\",\n    size: \"medium\",\n    hasPrefix: false\n  }\n});\nexport {\n  a as baseFocusVisible,\n  s as baseTag\n};\n","import { cn as p } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { useCallback, useMemo } from \"react\";\nconst C = (a) => {\n  const { disabled: s, onClick: e, className: c, bgClass: o } = a, l = useCallback(() => {\n    !s && e && e();\n  }, [s, e]), n = useMemo(() => p(s ? \"\" : o, c), [s, o, c]);\n  return {\n    handleClick: l,\n    className: n\n  };\n};\nexport {\n  C as useTag\n};\n","import { j as m } from \"../../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport { baseTag as s } from \"../Tag.styles.js\";\nimport { useTag as C$1 } from \"../useTag.js\";\nconst k = g({\n  extend: s,\n  slots: {\n    // 아이콘 자체 높이가 없어 svg 가 접히므로 슬롯 크기를 직계 자식까지 전파한다.\n    icon: \"inline-flex shrink-0 items-center justify-center [&>*]:size-full\"\n  },\n  variants: {\n    // Figma prefixItem 은 medium 24 · small 22 다. 한쪽을 slots 에 두고 다른 쪽만 덮으면\n    // 두 클래스가 나란히 남을 수 있으니 양쪽 다 variant 로 명시한다.\n    size: {\n      medium: { icon: \"size-24\" },\n      small: { icon: \"size-22\" }\n    }\n  }\n}), C = (s2) => s2 != null && s2 !== false && s2 !== \"\", P = forwardRef(\n  ({\n    className: s2,\n    active: a = false,\n    theme: t = \"light\",\n    surfaceStyle: o = \"filled\",\n    size: r = \"medium\",\n    disabled: e,\n    onClick: m$1,\n    children: c,\n    bgClass: f,\n    prefix: i,\n    ...u\n  }, p) => {\n    const n = C(i), { base: g2, label: x, icon: h } = k({ active: a, theme: t, surfaceStyle: o, size: r, disabled: e, hasPrefix: n }), { handleClick: j, className: d } = C$1({ disabled: e, onClick: m$1, bgClass: f, className: s2 });\n    return /* @__PURE__ */ m.jsxs(\n      \"button\",\n      {\n        \"aria-pressed\": a,\n        ...u,\n        ref: p,\n        className: g2({ className: d }),\n        onClick: j,\n        disabled: e,\n        children: [\n          n ? /* @__PURE__ */ m.jsx(\"span\", { className: h(), children: i }) : null,\n          /* @__PURE__ */ m.jsx(\"span\", { className: x(), children: c })\n        ]\n      }\n    );\n  }\n);\nexport {\n  P as ToggleTag\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Skeleton } from \"../Skeleton/Skeleton.js\";\nconst TagSkeleton = forwardRef(({\n  theme = \"light\"\n}, ref) => {\n  return /* @__PURE__ */ jsx(Skeleton, { ref, style: {\n    width: 73,\n    height: \"32px\",\n    borderRadius: 10,\n    ...baseStyleByTheme[theme]\n  } });\n});\nconst baseStyleByTheme = {\n  light: {\n    backgroundColor: \"#dee2e6\"\n  },\n  dark: {\n    backgroundColor: \"#27272a\"\n  }\n};\nexport {\n  TagSkeleton\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { DraggableTabs } from \"../../../@shared/DraggableTabs/index.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport { ToggleTag as P } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/Tag/ToggleTag/ToggleTag.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useTagsContext } from \"./Root.hooks.js\";\nimport { TagSkeleton } from \"../../../@shared/TagSkeleton/TagSkeleton.js\";\nconst Item = forwardRef(({\n  children,\n  value,\n  onClick\n}, ref) => {\n  const {\n    loading\n  } = useTagsContext();\n  const theme = useTheme();\n  if (loading) {\n    return /* @__PURE__ */ jsx(TagSkeleton, { theme });\n  }\n  return /* @__PURE__ */ jsx(DraggableTabs.Trigger, { ref, value, onClick, children: (active) => /* @__PURE__ */ jsx(P, { active, theme, className: \"whitespace-nowrap\", children }) });\n});\nexport {\n  Item\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { Fragment } from \"react\";\nimport { useTagsContext } from \"./Root.hooks.js\";\nconst Panels = ({\n  children,\n  list\n}) => {\n  const {\n    loading\n  } = useTagsContext();\n  const pending = loading && list.length === 0;\n  if (pending) {\n    return children({\n      index: 0,\n      pending\n    });\n  }\n  return list.map((item, index) => (\n    // eslint-disable-next-line react/no-array-index-key\n    /* @__PURE__ */ jsx(Fragment, { children: children({\n      index,\n      pending,\n      item\n    }) }, index)\n  ));\n};\nexport {\n  Panels\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { DraggableTabs } from \"../../../@shared/DraggableTabs/index.js\";\nimport { useTagsContext } from \"./Root.hooks.js\";\nconst Panel = ({\n  children,\n  value\n}) => {\n  const {\n    loading\n  } = useTagsContext();\n  if (loading) {\n    return children;\n  }\n  return /* @__PURE__ */ jsx(DraggableTabs.Panel, { value, children });\n};\nexport {\n  Panel\n};\n","import { Root } from \"./Root.js\";\nimport { List as Default } from \"./List.js\";\nimport { Item } from \"./Item.js\";\nimport { Panels } from \"./Panels.js\";\nimport { Panel } from \"./Panel.js\";\nconst Tags = {\n  Root,\n  List: Default,\n  Item,\n  Panels,\n  Panel\n};\nexport {\n  Tags\n};\n","import { useMemo } from \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../../hooks/useCurrentUser.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { getProductGroupType, reshapeProductGroupList, findInitialProductGroupId, findCurrentProductGroupIndex } from \"./KeywordCollectionTags.utils.js\";\nconst useCollectionProductGroupList = (productGroupList) => {\n  const {\n    gender\n  } = useCurrentUser();\n  const productGroupType = useMemo(() => getProductGroupType(productGroupList), [productGroupList]);\n  const reshapedProductGroupList = useMemo(() => reshapeProductGroupList(productGroupList, productGroupType, gender), [productGroupList, productGroupType, gender]);\n  const initialProductGroupId = useMemo(() => findInitialProductGroupId(productGroupList, reshapedProductGroupList, productGroupType), [productGroupList, reshapedProductGroupList, productGroupType]);\n  const currentIndex = useMemo(() => productGroupType === \"DATE\" ? findCurrentProductGroupIndex(productGroupList) : void 0, [productGroupType, productGroupList]);\n  return {\n    productGroupType,\n    collectionProductGroupList: reshapedProductGroupList,\n    initialCollectionProductGroupId: initialProductGroupId,\n    eventTagType: productGroupType === \"DATE\" ? \"time\" : \"keyword\",\n    currentIndex\n  };\n};\nexport {\n  useCollectionProductGroupList\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport \"react\";\nimport \"../../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../../config/index.js\";\nimport \"../../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../../apis/user/UserApiService.js\";\nimport \"../../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport { useBreakpoint } from \"../../../../../hooks/useBreakpoint.js\";\nimport \"../../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../../utils/redirectLogin.js\";\nimport \"../../../../../utils/event-properties/source.js\";\nimport { Tags } from \"../../Tags/index.js\";\nimport { useCollectionProductGroupList } from \"../../../KeywordCollection/KeywordCollectionTags/KeywordCollectionTags.hooks.js\";\nimport { useTrackSnowplowEvent } from \"../../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { useComponentId } from \"../../EventTrackingProvider/EventTrackingProvider.hooks.js\";\nimport \"../../EventTrackingProvider/EventTrackingProvider.js\";\nconst KeywordCollectionTags = ({\n  pending,\n  productGroups,\n  children\n}) => {\n  const breakpoint = useBreakpoint();\n  const componentId = useComponentId();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const {\n    collectionProductGroupList: list,\n    currentIndex\n  } = useCollectionProductGroupList(productGroups);\n  const handleClickTag = (title, index) => {\n    if (!title) {\n      return;\n    }\n    trackSnowplowEvent(\"click_button\", {\n      section_name: componentId,\n      section_title: componentId,\n      position: -1,\n      button_id: \"tag\",\n      button_name: title,\n      layout_position: index + 1\n    });\n  };\n  return /* @__PURE__ */ jsxs(Tags.Root, { defaultValue: 0, value: currentIndex, loading: pending, children: [\n    /* @__PURE__ */ jsx(Tags.List, { list, style: listStyleByBreakpoint[breakpoint], children: ({\n      item: {\n        title\n      } = {},\n      index\n    }) => /* @__PURE__ */ jsx(Tags.Item, { value: index, onClick: () => handleClickTag(title, index), children: title }) }),\n    /* @__PURE__ */ jsx(Tags.Panels, { list, children: (props) => /* @__PURE__ */ jsx(Tags.Panel, { value: props.index, children: children(props) }) })\n  ] });\n};\nconst listStyleByBreakpoint = {\n  desktop: {\n    marginBottom: 16\n  },\n  tablet: {\n    marginBottom: 12\n  },\n  mobile: {\n    marginBottom: 12\n  }\n};\nexport {\n  KeywordCollectionTags\n};\n","const createSearchParams = (params) => {\n  const filteredParams = Object.fromEntries(Object.entries(params).filter(([, value]) => value !== void 0 && value !== null && value !== \"\" && value !== \"null\" && value !== \"undefined\"));\n  return new URLSearchParams(filteredParams).toString();\n};\nexport {\n  createSearchParams\n};\n","import { useRef, useCallback } from \"react\";\nimport { useUpdatedRef } from \"./useUpdatedRef.js\";\nimport { useWindowEventListener } from \"./useWindowEventListener.js\";\nconst useInViewport = (callback) => {\n  const ref = useRef(null);\n  const prevIsInViewport = useRef(false);\n  const updatedCallback = useUpdatedRef(callback);\n  const handleScroll = useCallback(() => {\n    if (ref.current === null) {\n      return;\n    }\n    const isInViewport = getIsInViewport(ref.current);\n    if (isInViewport !== prevIsInViewport.current) {\n      updatedCallback.current(isInViewport);\n    }\n    prevIsInViewport.current = isInViewport;\n  }, []);\n  useWindowEventListener(\"scroll\", handleScroll);\n  return ref;\n};\nconst getIsInViewport = (element) => {\n  const {\n    offsetHeight\n  } = element;\n  const top = getAbsoluteOffsetTop(element);\n  const bottom = top + offsetHeight;\n  const isElementInViewport = window.scrollY <= top && bottom <= window.scrollY + window.innerHeight;\n  const isViewportInElement = top <= window.scrollY && window.scrollY + window.innerHeight <= bottom;\n  return isViewportInElement || isElementInViewport;\n};\nconst getAbsoluteOffsetTop = (element) => {\n  return Math.round(element.getBoundingClientRect().top + window.scrollY);\n};\nexport {\n  useInViewport\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef, useRef } from \"react\";\nimport { useInViewport } from \"../../../hooks/useInViewport.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport \"framer\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nconst EventTriggerContext = createContext({\n  isViewportEntered: () => false,\n  canTriggerFallbackImpression: () => false,\n  setCanTriggerFallbackImpression: () => {\n  },\n  types: [],\n  onImpression: void 0\n});\nconst Root = forwardRef(({\n  children,\n  className,\n  style,\n  types,\n  onImpression\n}, ref) => {\n  const isViewportEntered = useRef(false);\n  const canTriggerFallbackImpression = useRef(true);\n  const observeViewport = types.includes(\"impression\");\n  const handleViewportEnter = () => {\n    if (canTriggerFallbackImpression.current) {\n      onImpression == null ? void 0 : onImpression();\n    }\n    isViewportEntered.current = true;\n    canTriggerFallbackImpression.current = false;\n  };\n  const handleViewportLeave = () => {\n    isViewportEntered.current = false;\n    canTriggerFallbackImpression.current = true;\n  };\n  const containerRef = useInViewport((isInViewport) => {\n    if (!observeViewport) {\n      return;\n    }\n    if (isInViewport) {\n      handleViewportEnter();\n    } else {\n      handleViewportLeave();\n    }\n  });\n  return /* @__PURE__ */ jsx(EventTriggerContext.Provider, { value: {\n    isViewportEntered: () => isViewportEntered.current,\n    canTriggerFallbackImpression: () => canTriggerFallbackImpression.current,\n    setCanTriggerFallbackImpression: (next) => canTriggerFallbackImpression.current = next,\n    types,\n    onImpression\n  }, children: /* @__PURE__ */ jsx(\"div\", { ref: mergeRefs([containerRef, ref]), className, style: {\n    width: \"100%\",\n    ...style\n  }, children }) });\n});\nexport {\n  EventTriggerContext,\n  Root\n};\n","import { useContext } from \"react\";\nimport { EventTriggerContext } from \"./Root.js\";\nconst useEventTriggerContext = () => useContext(EventTriggerContext);\nexport {\n  useEventTriggerContext\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useEventTriggerContext } from \"./Root.hooks.js\";\nconst Target = forwardRef(({\n  children,\n  onClick,\n  ...rest\n}, ref) => {\n  const {\n    isViewportEntered,\n    canTriggerFallbackImpression,\n    setCanTriggerFallbackImpression,\n    types,\n    onImpression\n  } = useEventTriggerContext();\n  const handleClick = (e) => {\n    onClick == null ? void 0 : onClick(e);\n    const shouldTriggerFallbackImpression = types.includes(\"impression\") && !isViewportEntered() && canTriggerFallbackImpression();\n    if (shouldTriggerFallbackImpression) {\n      onImpression == null ? void 0 : onImpression();\n      setCanTriggerFallbackImpression(false);\n    }\n  };\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, onClick: handleClick, children });\n});\nexport {\n  Target\n};\n","import { Root } from \"./Root.js\";\nimport { Target } from \"./Target.js\";\nconst EventTrigger = {\n  Root,\n  Target\n};\nexport {\n  EventTrigger\n};\n","const QueryParamKeys = {\n  EngagerType: \"engager_type\",\n  Name: \"n\"\n};\nconst QueryParamValues = {\n  EngagerTypeValueSharer: \"sharer\",\n  EngagerTypeValueViewer: \"viewer\"\n};\nconst PREVIOUS_PAGE_NAME_QUERY_STRING_KEY = \"previousPageName\";\nconst PREVIOUS_SECTION_NAME_QUERY_STRING_KEY = \"previousSectionName\";\nconst PREVIOUS_SECTION_TITLE_QUERY_STRING_KEY = \"previousSectionTitle\";\nconst PREVIOUS_CONTENT_NO_QUERY_STRING_KEY = \"previousContentNo\";\nexport {\n  PREVIOUS_CONTENT_NO_QUERY_STRING_KEY,\n  PREVIOUS_PAGE_NAME_QUERY_STRING_KEY,\n  PREVIOUS_SECTION_NAME_QUERY_STRING_KEY,\n  PREVIOUS_SECTION_TITLE_QUERY_STRING_KEY,\n  QueryParamKeys,\n  QueryParamValues\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode('/**\\n * 기획전 「전체 상품 보기」 버튼의 Light 색입니다. variant=\"secondary\" 위에 덮어씁니다.\\n *\\n * Button 은 variant 색을 인라인 style 로 직접 넣고, style prop 보다 base 의 border: none 이 뒤에 오기 때문에\\n * style prop 으로는 덮어쓸 수 없고, 클래스 + !important 로만 재정의 가능합니다.\\n */\\n._light_u4gpa_7 {\\n  background-color: #ffffff !important;\\n  color: #1f1f1f !important;\\n  border-color: #dddddd !important;\\n}\\n\\n/**\\n * 기획전 하단 CTA 높이 Mobile 44 · Desktop 52 입니다.\\n * Button 의 줄높이 19.6(14 × 1.4)을 18 로 덮어 medium 45.6 → 44, large 53.6 → 52 가 됩니다.\\n */\\n._height_u4gpa_17 {\\n  line-height: 18px !important;\\n}'));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst light = \"_light_u4gpa_7\";\nconst height = \"_height_u4gpa_17\";\nconst viewAllButtonCss = {\n  light,\n  height\n};\nexport {\n  viewAllButtonCss as default,\n  height,\n  light\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { env } from \"../../../../../config/index.js\";\nimport { useNavigatePage } from \"../../../../../hooks/useNavigatePage.js\";\nimport { Button as Default } from \"../../../../@shared/Button/Button.js\";\nimport \"react\";\nimport \"../../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../../apis/user/UserApiService.js\";\nimport \"../../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../../hooks/useTheme.js\";\nimport { useBreakpoint } from \"../../../../../hooks/useBreakpoint.js\";\nimport \"../../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../../utils/redirectLogin.js\";\nimport { createContentEventProperties } from \"../../../../../utils/event-properties/content.js\";\nimport \"../../../../../utils/event-properties/source.js\";\nimport { clsx } from \"../../../../../utils/clsx.js\";\nimport { createSearchParams } from \"../../../../../utils/createSearchParams.js\";\nimport { useTrackSnowplowEvent } from \"../../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { useEventTrackingContext } from \"../../EventTrackingProvider/EventTrackingProvider.hooks.js\";\nimport { EventTrigger } from \"../../../../@shared/EventTrigger/index.js\";\nimport { PREVIOUS_SECTION_NAME_QUERY_STRING_KEY, PREVIOUS_SECTION_TITLE_QUERY_STRING_KEY, PREVIOUS_PAGE_NAME_QUERY_STRING_KEY, PREVIOUS_CONTENT_NO_QUERY_STRING_KEY } from \"../../../../../constants/query-params.js\";\nimport viewAllButtonCss from \"../../Products/ViewAllButton.module.css.js\";\nconst buttonSizeByBreakpoint = {\n  desktop: \"large\",\n  tablet: \"medium\",\n  mobile: \"medium\"\n};\nconst wrapperStyleByBreakpoint = {\n  desktop: {\n    padding: \"16px 0 0\"\n  },\n  tablet: {\n    padding: \"16px 16px 0\"\n  },\n  mobile: {\n    padding: \"16px 16px 0\"\n  }\n};\nconst KeywordCollectionButton = ({\n  collectionId,\n  productGroupId,\n  sectionTitle,\n  children\n}) => {\n  const breakpoint = useBreakpoint();\n  const theme = useTheme();\n  const {\n    componentId\n  } = useEventTrackingContext();\n  const {\n    curr_screen,\n    content_no\n  } = createContentEventProperties();\n  const params = createSearchParams({\n    product_group: `${productGroupId ?? \"\"}`,\n    [PREVIOUS_SECTION_NAME_QUERY_STRING_KEY]: componentId,\n    [PREVIOUS_SECTION_TITLE_QUERY_STRING_KEY]: sectionTitle,\n    [PREVIOUS_PAGE_NAME_QUERY_STRING_KEY]: curr_screen,\n    [PREVIOUS_CONTENT_NO_QUERY_STRING_KEY]: content_no\n  });\n  const collectionUrl = `${env.workspace.content}/collection/${collectionId}?${params}`;\n  const navigateCollectionPage = useNavigatePage(collectionUrl, {\n    webview: {\n      home: true\n    }\n  });\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const handleClick = () => {\n    trackSnowplowEvent(\"click_button\", {\n      // TODO(한지원): section_name, position, layout_position 프로퍼티에 할당한 약속된 임의 값 수정\n      section_name: componentId,\n      section_title: componentId,\n      position: -1,\n      layout_position: -1,\n      button_id: \"more\",\n      button_name: \"전체 상품 보기\"\n    });\n    navigateCollectionPage();\n  };\n  return /* @__PURE__ */ jsx(\"div\", { style: wrapperStyleByBreakpoint[breakpoint], children: /* @__PURE__ */ jsx(EventTrigger.Target, { onClick: handleClick, children: /* @__PURE__ */ jsx(Default, { variant: \"secondary\", className: clsx({\n    [viewAllButtonCss.height]: breakpoint !== \"tablet\",\n    [viewAllButtonCss.light]: theme === \"light\"\n  }), size: buttonSizeByBreakpoint[breakpoint], fill: true, theme, children }) }) });\n};\nexport {\n  KeywordCollectionButton\n};\n","function last(array) {\n  var length = array == null ? 0 : array.length;\n  return length ? array[length - 1] : void 0;\n}\nexport {\n  last as default\n};\n","import { useRef, useCallback } from \"react\";\nimport useSWR from \"../../core/dist/index.js\";\nimport { withMiddleware, SWRGlobalState, cache, INFINITE_PREFIX, createCacheHelper, isUndefined, useIsomorphicLayoutEffect, serialize, UNDEFINED, isFunction } from \"../../_internal/dist/index.js\";\nimport { s as shimExports } from \"../../../use-sync-external-store/shim/index.js\";\nconst getFirstPageKey = (getKey) => {\n  return serialize(getKey ? getKey(0, null) : null)[0];\n};\nconst EMPTY_PROMISE = Promise.resolve();\nconst infinite = (useSWRNext) => (getKey, fn, config) => {\n  const didMountRef = useRef(false);\n  const { cache: cache$1, initialSize = 1, revalidateAll = false, persistSize = false, revalidateFirstPage = true, revalidateOnMount = false, parallel = false } = config;\n  const [, , , PRELOAD] = SWRGlobalState.get(cache);\n  let infiniteKey;\n  try {\n    infiniteKey = getFirstPageKey(getKey);\n    if (infiniteKey)\n      infiniteKey = INFINITE_PREFIX + infiniteKey;\n  } catch (err) {\n  }\n  const [get, set, subscribeCache] = createCacheHelper(cache$1, infiniteKey);\n  const getSnapshot = useCallback(() => {\n    const size = isUndefined(get()._l) ? initialSize : get()._l;\n    return size;\n  }, [\n    cache$1,\n    infiniteKey,\n    initialSize\n  ]);\n  shimExports.useSyncExternalStore(useCallback(\n    (callback) => {\n      if (infiniteKey)\n        return subscribeCache(infiniteKey, () => {\n          callback();\n        });\n      return () => {\n      };\n    },\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [\n      cache$1,\n      infiniteKey\n    ]\n  ), getSnapshot, getSnapshot);\n  const resolvePageSize = useCallback(() => {\n    const cachedPageSize = get()._l;\n    return isUndefined(cachedPageSize) ? initialSize : cachedPageSize;\n  }, [\n    infiniteKey,\n    initialSize\n  ]);\n  const lastPageSizeRef = useRef(resolvePageSize());\n  useIsomorphicLayoutEffect(() => {\n    if (!didMountRef.current) {\n      didMountRef.current = true;\n      return;\n    }\n    if (infiniteKey) {\n      set({\n        _l: persistSize ? lastPageSizeRef.current : resolvePageSize()\n      });\n    }\n  }, [\n    infiniteKey,\n    cache$1\n  ]);\n  const shouldRevalidateOnMount = revalidateOnMount && !didMountRef.current;\n  const swr = useSWRNext(infiniteKey, async (key) => {\n    const forceRevalidateAll = get()._i;\n    const data = [];\n    const pageSize = resolvePageSize();\n    const [getCache] = createCacheHelper(cache$1, key);\n    const cacheData = getCache().data;\n    const revalidators = [];\n    let previousPageData = null;\n    for (let i = 0; i < pageSize; ++i) {\n      const [pageKey, pageArg] = serialize(getKey(i, parallel ? null : previousPageData));\n      if (!pageKey) {\n        break;\n      }\n      const [getSWRCache, setSWRCache] = createCacheHelper(cache$1, pageKey);\n      let pageData = getSWRCache().data;\n      const shouldFetchPage = revalidateAll || forceRevalidateAll || isUndefined(pageData) || revalidateFirstPage && !i && !isUndefined(cacheData) || shouldRevalidateOnMount || cacheData && !isUndefined(cacheData[i]) && !config.compare(cacheData[i], pageData);\n      if (fn && shouldFetchPage) {\n        const revalidate = async () => {\n          const hasPreloadedRequest = pageKey in PRELOAD;\n          if (!hasPreloadedRequest) {\n            pageData = await fn(pageArg);\n          } else {\n            const req = PRELOAD[pageKey];\n            delete PRELOAD[pageKey];\n            pageData = await req;\n          }\n          setSWRCache({\n            data: pageData,\n            _k: pageArg\n          });\n          data[i] = pageData;\n        };\n        if (parallel) {\n          revalidators.push(revalidate);\n        } else {\n          await revalidate();\n        }\n      } else {\n        data[i] = pageData;\n      }\n      if (!parallel) {\n        previousPageData = pageData;\n      }\n    }\n    if (parallel) {\n      await Promise.all(revalidators.map((r) => r()));\n    }\n    set({\n      _i: UNDEFINED\n    });\n    return data;\n  }, config);\n  const mutate = useCallback(\n    // eslint-disable-next-line func-names\n    function(data, opts) {\n      const options = typeof opts === \"boolean\" ? {\n        revalidate: opts\n      } : opts || {};\n      const shouldRevalidate = options.revalidate !== false;\n      if (!infiniteKey)\n        return EMPTY_PROMISE;\n      if (shouldRevalidate) {\n        if (!isUndefined(data)) {\n          set({\n            _i: false\n          });\n        } else {\n          set({\n            _i: true\n          });\n        }\n      }\n      return arguments.length ? swr.mutate(data, {\n        ...options,\n        revalidate: shouldRevalidate\n      }) : swr.mutate();\n    },\n    // swr.mutate is always the same reference\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [\n      infiniteKey,\n      cache$1\n    ]\n  );\n  const setSize = useCallback(\n    (arg) => {\n      if (!infiniteKey)\n        return EMPTY_PROMISE;\n      const [, changeSize] = createCacheHelper(cache$1, infiniteKey);\n      let size;\n      if (isFunction(arg)) {\n        size = arg(resolvePageSize());\n      } else if (typeof arg == \"number\") {\n        size = arg;\n      }\n      if (typeof size != \"number\")\n        return EMPTY_PROMISE;\n      changeSize({\n        _l: size\n      });\n      lastPageSizeRef.current = size;\n      const data = [];\n      const [getInfiniteCache] = createCacheHelper(cache$1, infiniteKey);\n      let previousPageData = null;\n      for (let i = 0; i < size; ++i) {\n        const [pageKey] = serialize(getKey(i, previousPageData));\n        const [getCache] = createCacheHelper(cache$1, pageKey);\n        const pageData = pageKey ? getCache().data : UNDEFINED;\n        if (isUndefined(pageData)) {\n          return mutate(getInfiniteCache().data);\n        }\n        data.push(pageData);\n        previousPageData = pageData;\n      }\n      return mutate(data);\n    },\n    // exclude getKey from the dependencies, which isn't allowed to change during the lifecycle\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [\n      infiniteKey,\n      cache$1,\n      mutate,\n      resolvePageSize\n    ]\n  );\n  return {\n    size: resolvePageSize(),\n    setSize,\n    mutate,\n    get data() {\n      return swr.data;\n    },\n    get error() {\n      return swr.error;\n    },\n    get isValidating() {\n      return swr.isValidating;\n    },\n    get isLoading() {\n      return swr.isLoading;\n    }\n  };\n};\nconst useSWRInfinite = withMiddleware(useSWR, infinite);\nexport {\n  useSWRInfinite as default,\n  infinite\n};\n","import last from \"../../node_modules/lodash-es/last.js\";\nimport { useMemo } from \"react\";\nimport useSWRInfinite from \"../../node_modules/swr/infinite/dist/index.js\";\nimport { keywordCollectionApi } from \"../../apis/keyword-collections/KeywordCollectionApiService.js\";\nconst DEFAULT_SIZE = 20;\nconst DEFAULT_MAX_COUNT = 60;\nconst getKey = ({\n  collectionId,\n  productGroupId,\n  sort,\n  size = DEFAULT_SIZE,\n  enabled\n}) => (pageIndex, previousPageData) => {\n  if (enabled === false) {\n    return null;\n  }\n  const isValid = !Number.isNaN(collectionId) && productGroupId !== void 0 && sort !== void 0;\n  if (!isValid || (previousPageData == null ? void 0 : previousPageData.hasNext) === false) {\n    return null;\n  }\n  return {\n    collectionId,\n    productGroupId,\n    sort,\n    page: pageIndex,\n    size\n  };\n};\nconst fetcher = (params) => {\n  return keywordCollectionApi.getCollectionProducts(params);\n};\nconst useFetchKeywordCollectionProducts = (params) => {\n  const {\n    data,\n    isLoading,\n    error,\n    size,\n    isValidating,\n    setSize,\n    mutate\n  } = useSWRInfinite(getKey(params), fetcher, {\n    keepPreviousData: true,\n    revalidateFirstPage: false\n  });\n  const hasError = error !== void 0;\n  const isFetching = isLoading || isValidating;\n  const isPending = isFetching || hasError || !params.enabled;\n  const products = useMemo(() => {\n    return (data == null ? void 0 : data.flatMap(({\n      resultList\n    }) => resultList)) ?? [];\n  }, [data]);\n  const hasNext = useMemo(() => {\n    const prevData = last(data);\n    return products.length < (params.maxCount ?? DEFAULT_MAX_COUNT) && (prevData == null ? void 0 : prevData.hasNext);\n  }, [data, params.maxCount, products.length]);\n  return {\n    products,\n    isPending,\n    isLoading,\n    isFetching,\n    size,\n    setSize,\n    hasNext,\n    mutate\n  };\n};\nexport {\n  useFetchKeywordCollectionProducts\n};\n","import getNative from \"./_getNative.js\";\nvar defineProperty = function() {\n  try {\n    var func = getNative(Object, \"defineProperty\");\n    func({}, \"\", {});\n    return func;\n  } catch (e) {\n  }\n}();\nexport {\n  defineProperty as default\n};\n","import defineProperty from \"./_defineProperty.js\";\nfunction baseAssignValue(object, key, value) {\n  if (key == \"__proto__\" && defineProperty) {\n    defineProperty(object, key, {\n      \"configurable\": true,\n      \"enumerable\": true,\n      \"value\": value,\n      \"writable\": true\n    });\n  } else {\n    object[key] = value;\n  }\n}\nexport {\n  baseAssignValue as default\n};\n","import baseAssignValue from \"./_baseAssignValue.js\";\nimport eq from \"./eq.js\";\nfunction assignMergeValue(object, key, value) {\n  if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) {\n    baseAssignValue(object, key, value);\n  }\n}\nexport {\n  assignMergeValue as default\n};\n","function createBaseFor(fromRight) {\n  return function(object, iteratee, keysFunc) {\n    var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;\n    while (length--) {\n      var key = props[fromRight ? length : ++index];\n      if (iteratee(iterable[key], key, iterable) === false) {\n        break;\n      }\n    }\n    return object;\n  };\n}\nexport {\n  createBaseFor as default\n};\n","import createBaseFor from \"./_createBaseFor.js\";\nvar baseFor = createBaseFor();\nexport {\n  baseFor as default\n};\n","import root from \"./_root.js\";\nvar freeExports = typeof exports == \"object\" && exports && !exports.nodeType && exports;\nvar freeModule = freeExports && typeof module == \"object\" && module && !module.nodeType && module;\nvar moduleExports = freeModule && freeModule.exports === freeExports;\nvar Buffer = moduleExports ? root.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;\nfunction cloneBuffer(buffer, isDeep) {\n  if (isDeep) {\n    return buffer.slice();\n  }\n  var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n  buffer.copy(result);\n  return result;\n}\nexport {\n  cloneBuffer as default\n};\n","import Uint8Array from \"./_Uint8Array.js\";\nfunction cloneArrayBuffer(arrayBuffer) {\n  var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n  new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n  return result;\n}\nexport {\n  cloneArrayBuffer as default\n};\n","import cloneArrayBuffer from \"./_cloneArrayBuffer.js\";\nfunction cloneTypedArray(typedArray, isDeep) {\n  var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n  return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\nexport {\n  cloneTypedArray as default\n};\n","function copyArray(source, array) {\n  var index = -1, length = source.length;\n  array || (array = Array(length));\n  while (++index < length) {\n    array[index] = source[index];\n  }\n  return array;\n}\nexport {\n  copyArray as default\n};\n","import isObject from \"./isObject.js\";\nvar objectCreate = Object.create;\nvar baseCreate = /* @__PURE__ */ function() {\n  function object() {\n  }\n  return function(proto) {\n    if (!isObject(proto)) {\n      return {};\n    }\n    if (objectCreate) {\n      return objectCreate(proto);\n    }\n    object.prototype = proto;\n    var result = new object();\n    object.prototype = void 0;\n    return result;\n  };\n}();\nexport {\n  baseCreate as default\n};\n","import overArg from \"./_overArg.js\";\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\nconst getPrototype$1 = getPrototype;\nexport {\n  getPrototype$1 as default\n};\n","import baseCreate from \"./_baseCreate.js\";\nimport getPrototype from \"./_getPrototype.js\";\nimport isPrototype from \"./_isPrototype.js\";\nfunction initCloneObject(object) {\n  return typeof object.constructor == \"function\" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};\n}\nexport {\n  initCloneObject as default\n};\n","import isArrayLike from \"./isArrayLike.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nfunction isArrayLikeObject(value) {\n  return isObjectLike(value) && isArrayLike(value);\n}\nexport {\n  isArrayLikeObject as default\n};\n","import baseGetTag from \"./_baseGetTag.js\";\nimport getPrototype from \"./_getPrototype.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar objectTag = \"[object Object]\";\nvar funcProto = Function.prototype, objectProto = Object.prototype;\nvar funcToString = funcProto.toString;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nvar objectCtorString = funcToString.call(Object);\nfunction isPlainObject(value) {\n  if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n    return false;\n  }\n  var proto = getPrototype(value);\n  if (proto === null) {\n    return true;\n  }\n  var Ctor = hasOwnProperty.call(proto, \"constructor\") && proto.constructor;\n  return typeof Ctor == \"function\" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;\n}\nexport {\n  isPlainObject as default\n};\n","function safeGet(object, key) {\n  if (key === \"constructor\" && typeof object[key] === \"function\") {\n    return;\n  }\n  if (key == \"__proto__\") {\n    return;\n  }\n  return object[key];\n}\nexport {\n  safeGet as default\n};\n","import baseAssignValue from \"./_baseAssignValue.js\";\nimport eq from \"./eq.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction assignValue(object, key, value) {\n  var objValue = object[key];\n  if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {\n    baseAssignValue(object, key, value);\n  }\n}\nexport {\n  assignValue as default\n};\n","import assignValue from \"./_assignValue.js\";\nimport baseAssignValue from \"./_baseAssignValue.js\";\nfunction copyObject(source, props, object, customizer) {\n  var isNew = !object;\n  object || (object = {});\n  var index = -1, length = props.length;\n  while (++index < length) {\n    var key = props[index];\n    var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;\n    if (newValue === void 0) {\n      newValue = source[key];\n    }\n    if (isNew) {\n      baseAssignValue(object, key, newValue);\n    } else {\n      assignValue(object, key, newValue);\n    }\n  }\n  return object;\n}\nexport {\n  copyObject as default\n};\n","function nativeKeysIn(object) {\n  var result = [];\n  if (object != null) {\n    for (var key in Object(object)) {\n      result.push(key);\n    }\n  }\n  return result;\n}\nexport {\n  nativeKeysIn as default\n};\n","import isObject from \"./isObject.js\";\nimport isPrototype from \"./_isPrototype.js\";\nimport nativeKeysIn from \"./_nativeKeysIn.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction baseKeysIn(object) {\n  if (!isObject(object)) {\n    return nativeKeysIn(object);\n  }\n  var isProto = isPrototype(object), result = [];\n  for (var key in object) {\n    if (!(key == \"constructor\" && (isProto || !hasOwnProperty.call(object, key)))) {\n      result.push(key);\n    }\n  }\n  return result;\n}\nexport {\n  baseKeysIn as default\n};\n","import arrayLikeKeys from \"./_arrayLikeKeys.js\";\nimport baseKeysIn from \"./_baseKeysIn.js\";\nimport isArrayLike from \"./isArrayLike.js\";\nfunction keysIn(object) {\n  return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\nexport {\n  keysIn as default\n};\n","import copyObject from \"./_copyObject.js\";\nimport keysIn from \"./keysIn.js\";\nfunction toPlainObject(value) {\n  return copyObject(value, keysIn(value));\n}\nexport {\n  toPlainObject as default\n};\n","import assignMergeValue from \"./_assignMergeValue.js\";\nimport cloneBuffer from \"./_cloneBuffer.js\";\nimport cloneTypedArray from \"./_cloneTypedArray.js\";\nimport copyArray from \"./_copyArray.js\";\nimport initCloneObject from \"./_initCloneObject.js\";\nimport isArguments from \"./isArguments.js\";\nimport isArray from \"./isArray.js\";\nimport isArrayLikeObject from \"./isArrayLikeObject.js\";\nimport isBuffer from \"./isBuffer.js\";\nimport isFunction from \"./isFunction.js\";\nimport isObject from \"./isObject.js\";\nimport isPlainObject from \"./isPlainObject.js\";\nimport isTypedArray from \"./isTypedArray.js\";\nimport safeGet from \"./_safeGet.js\";\nimport toPlainObject from \"./toPlainObject.js\";\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n  var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue);\n  if (stacked) {\n    assignMergeValue(object, key, stacked);\n    return;\n  }\n  var newValue = customizer ? customizer(objValue, srcValue, key + \"\", object, source, stack) : void 0;\n  var isCommon = newValue === void 0;\n  if (isCommon) {\n    var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n    newValue = srcValue;\n    if (isArr || isBuff || isTyped) {\n      if (isArray(objValue)) {\n        newValue = objValue;\n      } else if (isArrayLikeObject(objValue)) {\n        newValue = copyArray(objValue);\n      } else if (isBuff) {\n        isCommon = false;\n        newValue = cloneBuffer(srcValue, true);\n      } else if (isTyped) {\n        isCommon = false;\n        newValue = cloneTypedArray(srcValue, true);\n      } else {\n        newValue = [];\n      }\n    } else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n      newValue = objValue;\n      if (isArguments(objValue)) {\n        newValue = toPlainObject(objValue);\n      } else if (!isObject(objValue) || isFunction(objValue)) {\n        newValue = initCloneObject(srcValue);\n      }\n    } else {\n      isCommon = false;\n    }\n  }\n  if (isCommon) {\n    stack.set(srcValue, newValue);\n    mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n    stack[\"delete\"](srcValue);\n  }\n  assignMergeValue(object, key, newValue);\n}\nexport {\n  baseMergeDeep as default\n};\n","import Stack from \"./_Stack.js\";\nimport assignMergeValue from \"./_assignMergeValue.js\";\nimport baseFor from \"./_baseFor.js\";\nimport baseMergeDeep from \"./_baseMergeDeep.js\";\nimport isObject from \"./isObject.js\";\nimport keysIn from \"./keysIn.js\";\nimport safeGet from \"./_safeGet.js\";\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n  if (object === source) {\n    return;\n  }\n  baseFor(source, function(srcValue, key) {\n    stack || (stack = new Stack());\n    if (isObject(srcValue)) {\n      baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n    } else {\n      var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + \"\", object, source, stack) : void 0;\n      if (newValue === void 0) {\n        newValue = srcValue;\n      }\n      assignMergeValue(object, key, newValue);\n    }\n  }, keysIn);\n}\nexport {\n  baseMerge as default\n};\n","function identity(value) {\n  return value;\n}\nexport {\n  identity as default\n};\n","function apply(func, thisArg, args) {\n  switch (args.length) {\n    case 0:\n      return func.call(thisArg);\n    case 1:\n      return func.call(thisArg, args[0]);\n    case 2:\n      return func.call(thisArg, args[0], args[1]);\n    case 3:\n      return func.call(thisArg, args[0], args[1], args[2]);\n  }\n  return func.apply(thisArg, args);\n}\nexport {\n  apply as default\n};\n","import apply from \"./_apply.js\";\nvar nativeMax = Math.max;\nfunction overRest(func, start, transform) {\n  start = nativeMax(start === void 0 ? func.length - 1 : start, 0);\n  return function() {\n    var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);\n    while (++index < length) {\n      array[index] = args[start + index];\n    }\n    index = -1;\n    var otherArgs = Array(start + 1);\n    while (++index < start) {\n      otherArgs[index] = args[index];\n    }\n    otherArgs[start] = transform(array);\n    return apply(func, this, otherArgs);\n  };\n}\nexport {\n  overRest as default\n};\n","function constant(value) {\n  return function() {\n    return value;\n  };\n}\nexport {\n  constant as default\n};\n","import constant from \"./constant.js\";\nimport defineProperty from \"./_defineProperty.js\";\nimport identity from \"./identity.js\";\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n  return defineProperty(func, \"toString\", {\n    \"configurable\": true,\n    \"enumerable\": false,\n    \"value\": constant(string),\n    \"writable\": true\n  });\n};\nconst baseSetToString$1 = baseSetToString;\nexport {\n  baseSetToString$1 as default\n};\n","var HOT_COUNT = 800, HOT_SPAN = 16;\nvar nativeNow = Date.now;\nfunction shortOut(func) {\n  var count = 0, lastCalled = 0;\n  return function() {\n    var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);\n    lastCalled = stamp;\n    if (remaining > 0) {\n      if (++count >= HOT_COUNT) {\n        return arguments[0];\n      }\n    } else {\n      count = 0;\n    }\n    return func.apply(void 0, arguments);\n  };\n}\nexport {\n  shortOut as default\n};\n","import baseSetToString from \"./_baseSetToString.js\";\nimport shortOut from \"./_shortOut.js\";\nvar setToString = shortOut(baseSetToString);\nexport {\n  setToString as default\n};\n","import identity from \"./identity.js\";\nimport overRest from \"./_overRest.js\";\nimport setToString from \"./_setToString.js\";\nfunction baseRest(func, start) {\n  return setToString(overRest(func, start, identity), func + \"\");\n}\nexport {\n  baseRest as default\n};\n","import eq from \"./eq.js\";\nimport isArrayLike from \"./isArrayLike.js\";\nimport isIndex from \"./_isIndex.js\";\nimport isObject from \"./isObject.js\";\nfunction isIterateeCall(value, index, object) {\n  if (!isObject(object)) {\n    return false;\n  }\n  var type = typeof index;\n  if (type == \"number\" ? isArrayLike(object) && isIndex(index, object.length) : type == \"string\" && index in object) {\n    return eq(object[index], value);\n  }\n  return false;\n}\nexport {\n  isIterateeCall as default\n};\n","import baseRest from \"./_baseRest.js\";\nimport isIterateeCall from \"./_isIterateeCall.js\";\nfunction createAssigner(assigner) {\n  return baseRest(function(object, sources) {\n    var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;\n    customizer = assigner.length > 3 && typeof customizer == \"function\" ? (length--, customizer) : void 0;\n    if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n      customizer = length < 3 ? void 0 : customizer;\n      length = 1;\n    }\n    object = Object(object);\n    while (++index < length) {\n      var source = sources[index];\n      if (source) {\n        assigner(object, source, index, customizer);\n      }\n    }\n    return object;\n  });\n}\nexport {\n  createAssigner as default\n};\n","import baseMerge from \"./_baseMerge.js\";\nimport createAssigner from \"./_createAssigner.js\";\nvar merge = createAssigner(function(object, source, srcIndex) {\n  baseMerge(object, source, srcIndex);\n});\nexport {\n  merge as default\n};\n","function arrayEach(array, iteratee) {\n  var index = -1, length = array == null ? 0 : array.length;\n  while (++index < length) {\n    if (iteratee(array[index], index, array) === false) {\n      break;\n    }\n  }\n  return array;\n}\nexport {\n  arrayEach as default\n};\n","import copyObject from \"./_copyObject.js\";\nimport keys from \"./keys.js\";\nfunction baseAssign(object, source) {\n  return object && copyObject(source, keys(source), object);\n}\nexport {\n  baseAssign as default\n};\n","import copyObject from \"./_copyObject.js\";\nimport keysIn from \"./keysIn.js\";\nfunction baseAssignIn(object, source) {\n  return object && copyObject(source, keysIn(source), object);\n}\nexport {\n  baseAssignIn as default\n};\n","import copyObject from \"./_copyObject.js\";\nimport getSymbols from \"./_getSymbols.js\";\nfunction copySymbols(source, object) {\n  return copyObject(source, getSymbols(source), object);\n}\nexport {\n  copySymbols as default\n};\n","import arrayPush from \"./_arrayPush.js\";\nimport getPrototype from \"./_getPrototype.js\";\nimport getSymbols from \"./_getSymbols.js\";\nimport stubArray from \"./stubArray.js\";\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n  var result = [];\n  while (object) {\n    arrayPush(result, getSymbols(object));\n    object = getPrototype(object);\n  }\n  return result;\n};\nexport {\n  getSymbolsIn as default\n};\n","import copyObject from \"./_copyObject.js\";\nimport getSymbolsIn from \"./_getSymbolsIn.js\";\nfunction copySymbolsIn(source, object) {\n  return copyObject(source, getSymbolsIn(source), object);\n}\nexport {\n  copySymbolsIn as default\n};\n","import baseGetAllKeys from \"./_baseGetAllKeys.js\";\nimport getSymbolsIn from \"./_getSymbolsIn.js\";\nimport keysIn from \"./keysIn.js\";\nfunction getAllKeysIn(object) {\n  return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\nexport {\n  getAllKeysIn as default\n};\n","var objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction initCloneArray(array) {\n  var length = array.length, result = new array.constructor(length);\n  if (length && typeof array[0] == \"string\" && hasOwnProperty.call(array, \"index\")) {\n    result.index = array.index;\n    result.input = array.input;\n  }\n  return result;\n}\nexport {\n  initCloneArray as default\n};\n","import cloneArrayBuffer from \"./_cloneArrayBuffer.js\";\nfunction cloneDataView(dataView, isDeep) {\n  var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\nexport {\n  cloneDataView as default\n};\n","var reFlags = /\\w*$/;\nfunction cloneRegExp(regexp) {\n  var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n  result.lastIndex = regexp.lastIndex;\n  return result;\n}\nexport {\n  cloneRegExp as default\n};\n","import Symbol$1 from \"./_Symbol.js\";\nvar symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;\nfunction cloneSymbol(symbol) {\n  return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\nexport {\n  cloneSymbol as default\n};\n","import cloneArrayBuffer from \"./_cloneArrayBuffer.js\";\nimport cloneDataView from \"./_cloneDataView.js\";\nimport cloneRegExp from \"./_cloneRegExp.js\";\nimport cloneSymbol from \"./_cloneSymbol.js\";\nimport cloneTypedArray from \"./_cloneTypedArray.js\";\nvar boolTag = \"[object Boolean]\", dateTag = \"[object Date]\", mapTag = \"[object Map]\", numberTag = \"[object Number]\", regexpTag = \"[object RegExp]\", setTag = \"[object Set]\", stringTag = \"[object String]\", symbolTag = \"[object Symbol]\";\nvar arrayBufferTag = \"[object ArrayBuffer]\", dataViewTag = \"[object DataView]\", float32Tag = \"[object Float32Array]\", float64Tag = \"[object Float64Array]\", int8Tag = \"[object Int8Array]\", int16Tag = \"[object Int16Array]\", int32Tag = \"[object Int32Array]\", uint8Tag = \"[object Uint8Array]\", uint8ClampedTag = \"[object Uint8ClampedArray]\", uint16Tag = \"[object Uint16Array]\", uint32Tag = \"[object Uint32Array]\";\nfunction initCloneByTag(object, tag, isDeep) {\n  var Ctor = object.constructor;\n  switch (tag) {\n    case arrayBufferTag:\n      return cloneArrayBuffer(object);\n    case boolTag:\n    case dateTag:\n      return new Ctor(+object);\n    case dataViewTag:\n      return cloneDataView(object, isDeep);\n    case float32Tag:\n    case float64Tag:\n    case int8Tag:\n    case int16Tag:\n    case int32Tag:\n    case uint8Tag:\n    case uint8ClampedTag:\n    case uint16Tag:\n    case uint32Tag:\n      return cloneTypedArray(object, isDeep);\n    case mapTag:\n      return new Ctor();\n    case numberTag:\n    case stringTag:\n      return new Ctor(object);\n    case regexpTag:\n      return cloneRegExp(object);\n    case setTag:\n      return new Ctor();\n    case symbolTag:\n      return cloneSymbol(object);\n  }\n}\nexport {\n  initCloneByTag as default\n};\n","import getTag from \"./_getTag.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar mapTag = \"[object Map]\";\nfunction baseIsMap(value) {\n  return isObjectLike(value) && getTag(value) == mapTag;\n}\nexport {\n  baseIsMap as default\n};\n","import baseIsMap from \"./_baseIsMap.js\";\nimport baseUnary from \"./_baseUnary.js\";\nimport nodeUtil from \"./_nodeUtil.js\";\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\nexport {\n  isMap as default\n};\n","import getTag from \"./_getTag.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar setTag = \"[object Set]\";\nfunction baseIsSet(value) {\n  return isObjectLike(value) && getTag(value) == setTag;\n}\nexport {\n  baseIsSet as default\n};\n","import baseIsSet from \"./_baseIsSet.js\";\nimport baseUnary from \"./_baseUnary.js\";\nimport nodeUtil from \"./_nodeUtil.js\";\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\nexport {\n  isSet as default\n};\n","import Stack from \"./_Stack.js\";\nimport arrayEach from \"./_arrayEach.js\";\nimport assignValue from \"./_assignValue.js\";\nimport baseAssign from \"./_baseAssign.js\";\nimport baseAssignIn from \"./_baseAssignIn.js\";\nimport cloneBuffer from \"./_cloneBuffer.js\";\nimport copyArray from \"./_copyArray.js\";\nimport copySymbols from \"./_copySymbols.js\";\nimport copySymbolsIn from \"./_copySymbolsIn.js\";\nimport getAllKeys from \"./_getAllKeys.js\";\nimport getAllKeysIn from \"./_getAllKeysIn.js\";\nimport getTag from \"./_getTag.js\";\nimport initCloneArray from \"./_initCloneArray.js\";\nimport initCloneByTag from \"./_initCloneByTag.js\";\nimport initCloneObject from \"./_initCloneObject.js\";\nimport isArray from \"./isArray.js\";\nimport isBuffer from \"./isBuffer.js\";\nimport isMap from \"./isMap.js\";\nimport isObject from \"./isObject.js\";\nimport isSet from \"./isSet.js\";\nimport keys from \"./keys.js\";\nimport keysIn from \"./keysIn.js\";\nvar CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4;\nvar argsTag = \"[object Arguments]\", arrayTag = \"[object Array]\", boolTag = \"[object Boolean]\", dateTag = \"[object Date]\", errorTag = \"[object Error]\", funcTag = \"[object Function]\", genTag = \"[object GeneratorFunction]\", mapTag = \"[object Map]\", numberTag = \"[object Number]\", objectTag = \"[object Object]\", regexpTag = \"[object RegExp]\", setTag = \"[object Set]\", stringTag = \"[object String]\", symbolTag = \"[object Symbol]\", weakMapTag = \"[object WeakMap]\";\nvar arrayBufferTag = \"[object ArrayBuffer]\", dataViewTag = \"[object DataView]\", float32Tag = \"[object Float32Array]\", float64Tag = \"[object Float64Array]\", int8Tag = \"[object Int8Array]\", int16Tag = \"[object Int16Array]\", int32Tag = \"[object Int32Array]\", uint8Tag = \"[object Uint8Array]\", uint8ClampedTag = \"[object Uint8ClampedArray]\", uint16Tag = \"[object Uint16Array]\", uint32Tag = \"[object Uint32Array]\";\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n  var result, isDeep = bitmask & CLONE_DEEP_FLAG, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG;\n  if (customizer) {\n    result = object ? customizer(value, key, object, stack) : customizer(value);\n  }\n  if (result !== void 0) {\n    return result;\n  }\n  if (!isObject(value)) {\n    return value;\n  }\n  var isArr = isArray(value);\n  if (isArr) {\n    result = initCloneArray(value);\n    if (!isDeep) {\n      return copyArray(value, result);\n    }\n  } else {\n    var tag = getTag(value), isFunc = tag == funcTag || tag == genTag;\n    if (isBuffer(value)) {\n      return cloneBuffer(value, isDeep);\n    }\n    if (tag == objectTag || tag == argsTag || isFunc && !object) {\n      result = isFlat || isFunc ? {} : initCloneObject(value);\n      if (!isDeep) {\n        return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));\n      }\n    } else {\n      if (!cloneableTags[tag]) {\n        return object ? value : {};\n      }\n      result = initCloneByTag(value, tag, isDeep);\n    }\n  }\n  stack || (stack = new Stack());\n  var stacked = stack.get(value);\n  if (stacked) {\n    return stacked;\n  }\n  stack.set(value, result);\n  if (isSet(value)) {\n    value.forEach(function(subValue) {\n      result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n    });\n  } else if (isMap(value)) {\n    value.forEach(function(subValue, key2) {\n      result.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));\n    });\n  }\n  var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;\n  var props = isArr ? void 0 : keysFunc(value);\n  arrayEach(props || value, function(subValue, key2) {\n    if (props) {\n      key2 = subValue;\n      subValue = value[key2];\n    }\n    assignValue(result, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));\n  });\n  return result;\n}\nexport {\n  baseClone as default\n};\n","import baseClone from \"./_baseClone.js\";\nvar CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;\nfunction cloneDeep(value) {\n  return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\nexport {\n  cloneDeep as default\n};\n","import { entries } from \"../../../../utils/entries.js\";\nimport merge from \"../../../../node_modules/lodash-es/merge.js\";\nimport cloneDeep from \"../../../../node_modules/lodash-es/cloneDeep.js\";\nconst DEFAULT_ROW_GAP_BY_BREAKPOINT = {\n  desktop: 24,\n  tablet: 16,\n  mobile: 16\n};\nconst withDefaultRowGap = (options, breakpoint) => {\n  var _a;\n  return {\n    ...options,\n    row: {\n      ...options.row,\n      gap: ((_a = options.row) == null ? void 0 : _a.gap) ?? DEFAULT_ROW_GAP_BY_BREAKPOINT[breakpoint]\n    }\n  };\n};\nconst createOptionTemplate = (options) => {\n  const {\n    base,\n    mobile = {},\n    tablet = {},\n    desktop = {}\n  } = options;\n  return Object.fromEntries(entries({\n    mobile,\n    tablet,\n    desktop\n  }).map(([key, value]) => [key, merge(cloneDeep(base), value)]));\n};\nconst getResponsiveWidth = (gap, column = 1, inset = 0) => {\n  return `calc((100% - ${gap * Math.max(column - 1, 1) + inset}px) / ${column})`;\n};\nconst HORIZONTAL_CARD_TOTAL_WIDTH_RATIO = 0.82;\nconst getResponsiveWidthWithProductPeekInset = (gap, column = 1) => {\n  const gapTotal = gap * Math.max(column - 1, 1);\n  const horizontalPaddingTotal = 32;\n  return `calc(((100% + ${horizontalPaddingTotal}px) * ${HORIZONTAL_CARD_TOTAL_WIDTH_RATIO} - ${gapTotal}px) / ${column})`;\n};\nconst BAR_PEEK_COLUMN_WIDTH_RATIO = 0.77;\nconst getBarPeekColumnWidth = (horizontalPaddingPx = 0) => {\n  if (horizontalPaddingPx > 0) {\n    return `calc((100% + ${horizontalPaddingPx * 2}px) * ${BAR_PEEK_COLUMN_WIDTH_RATIO})`;\n  }\n  return `calc(100% * ${BAR_PEEK_COLUMN_WIDTH_RATIO})`;\n};\nconst getHorizontalBarColumnWidth = (layout, breakpoint, horizontalPaddingPx) => {\n  const {\n    columnGap,\n    columnDisplayCount,\n    columnDivider,\n    hasRank\n  } = layout;\n  if (columnDisplayCount === 1 && breakpoint !== \"desktop\") {\n    return getBarPeekColumnWidth(horizontalPaddingPx);\n  }\n  const rankInset = breakpoint === \"mobile\" ? hasRank ? 53 : 4 : breakpoint === \"tablet\" ? hasRank ? 60 : 20 : 0;\n  if (columnDivider) {\n    return getResponsiveWidth(0, columnDisplayCount, rankInset + 21);\n  }\n  return getResponsiveWidth(columnGap, columnDisplayCount, rankInset);\n};\nexport {\n  BAR_PEEK_COLUMN_WIDTH_RATIO,\n  DEFAULT_ROW_GAP_BY_BREAKPOINT,\n  createOptionTemplate,\n  getBarPeekColumnWidth,\n  getHorizontalBarColumnWidth,\n  getResponsiveWidth,\n  getResponsiveWidthWithProductPeekInset,\n  withDefaultRowGap\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nconst Grid = ({\n  as,\n  children,\n  style,\n  row,\n  column,\n  ...rest\n}, ref) => {\n  const Element = as ?? \"div\";\n  return /* @__PURE__ */ jsx(Element, { ...rest, ref, style: {\n    display: \"grid\",\n    rowGap: row == null ? void 0 : row.gap,\n    columnGap: column == null ? void 0 : column.gap,\n    gridAutoRows: row == null ? void 0 : row.width,\n    gridAutoColumns: column == null ? void 0 : column.width,\n    ...(column == null ? void 0 : column.count) !== void 0 ? verticalGridStyle(column.count, column.minWidth ?? 0) : void 0,\n    ...(row == null ? void 0 : row.count) !== void 0 ? horizontalGridStyle(row.count, row.minWidth ?? 0) : void 0,\n    ...style\n  }, children });\n};\nconst toPixel = (value) => {\n  if (typeof value === \"number\") {\n    return `${value}px`;\n  }\n  return value.includes(\"px\") ? value : `${value}px`;\n};\nconst verticalGridStyle = (count, minWidth) => ({\n  // NOTE(임규민): minmax 를 사용하지 않으면 특정 웹뷰 환경에서 크기가 맞지 않는 문제가 있음.\n  gridTemplateColumns: `repeat(${count === \"auto\" ? \"auto-fill\" : count}, minmax(${toPixel(minWidth)}, 1fr))`,\n  gridAutoFlow: \"row\"\n});\nconst horizontalGridStyle = (count, minWidth) => ({\n  // NOTE(임규민): minmax 를 사용하지 않으면 특정 웹뷰 환경에서 크기가 맞지 않는 문제가 있음.\n  gridTemplateRows: `repeat(${count === \"auto\" ? \"auto-fill\" : count}, minmax(${toPixel(minWidth)}, auto))`,\n  gridAutoRows: \"min-content\",\n  gridAutoFlow: \"column\"\n});\nconst Default = forwardRef(Grid);\nexport {\n  Default as Grid\n};\n","import { useContext } from \"react\";\nimport { ProductsContext } from \"./Root.js\";\nconst useProductsContext = () => {\n  const context = useContext(ProductsContext);\n  if (!context) {\n    throw new Error(\"useProductsContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useProductsContext\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst ArrowIcon = ({\n  color,\n  size,\n  style,\n  ...rest\n}) => {\n  const svgHeight = size ?? 30;\n  const svgWidth = svgHeight * 12 / 30;\n  return /* @__PURE__ */ jsx(\"div\", { ...rest, style: {\n    ...containerStyle,\n    ...size && {\n      width: size,\n      height: size\n    },\n    ...style\n  }, children: /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: svgWidth, height: svgHeight, viewBox: \"0 0 12 30\", fill: \"none\", children: /* @__PURE__ */ jsx(\"path\", { d: \"M1 1L11 15L1 29\", stroke: color, strokeWidth: \"2\", strokeLinecap: \"round\", strokeLinejoin: \"round\" }) }) });\n};\nconst containerStyle = {\n  width: 50,\n  height: 50,\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\"\n};\nexport {\n  ArrowIcon\n};\n","import { createContext, useContext } from \"react\";\nconst HorizontalScrollContext = createContext(null);\nconst useHorizontalScrollContext = () => useContext(HorizontalScrollContext);\nexport {\n  HorizontalScrollContext,\n  useHorizontalScrollContext\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { forwardRef, useRef, useMemo, useState, useEffect } from \"react\";\nimport { Grid as Default } from \"../../../@shared/layouts/Grid.js\";\nimport { ProductCardType } from \"../../../@shared/ProductCard/ProductCard.types.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { mergeRefs } from \"../../../../utils/react/mergeRefs.js\";\nimport { useProductsContext } from \"./Root.hooks.js\";\nimport { ArrowIcon } from \"../ArrowIcon/ArrowIcon.js\";\nimport { HorizontalScrollContext } from \"./HorizontalScrollContext.js\";\nconst NAVIGATOR_SIZE = 50;\nconst HorizontalList = forwardRef(({\n  style,\n  listStyle,\n  children,\n  options,\n  pagination = false,\n  padding,\n  navigatorOffset,\n  virtualize = false\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const theme = useTheme();\n  const {\n    pending,\n    initialHasNext\n  } = useProductsContext();\n  const gridRef = useRef(null);\n  const isScrolling = useRef(false);\n  const {\n    card,\n    row,\n    column,\n    navigator,\n    columnDivider\n  } = options;\n  const {\n    type = ProductCardType.CARD\n  } = card ?? {};\n  const scrollContextValue = useMemo(() => ({\n    scrollRef: gridRef,\n    virtualize\n  }), [virtualize]);\n  const [hasPrevious, setHasPrevious] = useState(false);\n  const [hasNext, setHasNext] = useState(initialHasNext);\n  const inset = (column == null ? void 0 : column.gap) ?? 0;\n  const isBarType = type === ProductCardType.BAR;\n  const applyScrollSnap = isBarType && breakpoint !== \"desktop\";\n  const shouldRenderNavigator = pagination && navigator;\n  const scrollTo = (direction) => {\n    if (isScrolling.current || pending) {\n      return;\n    }\n    const container = gridRef.current;\n    if (container === null) {\n      return;\n    }\n    const position = getScrollPosition(container, inset, direction);\n    const hasRemainingNextOffset = position < Math.ceil(container.scrollWidth - container.clientWidth);\n    const hasRemainingPrevOffset = position > 0;\n    setHasNext(hasRemainingNextOffset || initialHasNext);\n    setHasPrevious(hasRemainingPrevOffset);\n    isScrolling.current = true;\n    container.scroll({\n      behavior: \"smooth\",\n      left: position\n    });\n    setTimeout(() => {\n      isScrolling.current = false;\n    }, 700);\n  };\n  const handlePreviousClick = () => {\n    if (hasPrevious) {\n      scrollTo(\"previous\");\n    }\n  };\n  const handleNextClick = () => {\n    if (hasNext) {\n      scrollTo(\"next\");\n    }\n  };\n  useEffect(() => {\n    const container = gridRef.current;\n    if (container === null || pending || !navigator) {\n      return;\n    }\n    const measure = () => {\n      const maxScrollLeft = container.scrollWidth - container.clientWidth;\n      const hasMoreRight = Math.ceil(container.scrollLeft) < Math.ceil(maxScrollLeft);\n      setHasNext(hasMoreRight || initialHasNext);\n      setHasPrevious(container.scrollLeft > 0);\n    };\n    measure();\n    const observer = new ResizeObserver(measure);\n    observer.observe(container);\n    return () => observer.disconnect();\n  }, [pending, initialHasNext, navigator]);\n  return /* @__PURE__ */ jsx(HorizontalScrollContext.Provider, { value: scrollContextValue, children: /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...containerStyle,\n    ...style\n  }, children: [\n    shouldRenderNavigator ? /* @__PURE__ */ jsx(ArrowIcon, { style: {\n      ...baseNavigatorStyle,\n      ...leftNavigatorStyle,\n      ...navigatorOffset !== void 0 && {\n        left: `-${navigatorOffset}px`\n      }\n    }, color: hasPrevious ? iconColorByTheme[theme] : disabledIconColorByTheme[theme], onClick: handlePreviousClick }) : null,\n    /* @__PURE__ */ jsx(Default, { ref: mergeRefs([ref, gridRef]), style: {\n      ...wrapperResetStyle,\n      ...wrapperStyle,\n      ...wrapperStyleByBreakpoint[breakpoint],\n      overflowX: navigator ? \"hidden\" : \"scroll\",\n      overflowY: \"hidden\",\n      scrollSnapType: applyScrollSnap ? \"x mandatory\" : \"none\",\n      WebkitScrollSnapType: applyScrollSnap ? \"x mandatory\" : \"none\",\n      ...padding ? {\n        padding: `${padding.top ?? 0}px ${padding.right ?? 0}px ${padding.bottom ?? 0}px ${padding.left ?? 0}px`,\n        scrollPaddingLeft: padding.left ?? 0,\n        scrollPaddingRight: padding.right ?? 0\n      } : void 0,\n      ...listStyle,\n      ...columnDivider && (column == null ? void 0 : column.width) ? {\n        gridAutoColumns: `${column.width} 21px`\n      } : void 0\n    }, row, column, children }),\n    shouldRenderNavigator ? /* @__PURE__ */ jsx(ArrowIcon, { style: {\n      ...baseNavigatorStyle,\n      ...rightNavigatorStyle,\n      ...navigatorOffset !== void 0 && {\n        right: `-${navigatorOffset}px`\n      }\n    }, color: hasNext ? iconColorByTheme[theme] : disabledIconColorByTheme[theme], onClick: handleNextClick }) : null\n  ] }) });\n});\nconst getScrollPosition = (container, inset, direction) => {\n  const offset = container.clientWidth + inset;\n  return Math.ceil(container.scrollLeft + (direction === \"previous\" ? -offset : offset));\n};\nconst containerStyle = {\n  position: \"relative\",\n  width: \"100%\"\n};\nconst iconColorByTheme = {\n  light: \"#000\",\n  dark: \"#fff\"\n};\nconst disabledIconColorByTheme = {\n  light: \"#a0a0a0\",\n  dark: \"#474747\"\n};\nconst baseNavigatorStyle = {\n  position: \"absolute\",\n  top: \"50%\",\n  cursor: \"pointer\"\n};\nconst leftNavigatorStyle = {\n  left: `-${NAVIGATOR_SIZE}px`,\n  transform: \"translateY(-50%) rotate(180deg)\"\n};\nconst rightNavigatorStyle = {\n  right: `-${NAVIGATOR_SIZE}px`,\n  transform: \"translateY(-50%)\"\n};\nconst wrapperResetStyle = {\n  padding: 0,\n  margin: 0\n};\nconst wrapperStyle = {\n  padding: \"0 20px\",\n  msOverflowStyle: \"none\",\n  scrollbarWidth: \"none\"\n};\nconst wrapperStyleByBreakpoint = {\n  mobile: {\n    padding: \"0 16px\",\n    scrollPaddingLeft: 16,\n    scrollPaddingRight: 16\n  },\n  tablet: {\n    padding: \"0 16px\",\n    scrollPaddingLeft: 16,\n    scrollPaddingRight: 16\n  },\n  desktop: {\n    padding: 0\n  }\n};\nexport {\n  HorizontalList\n};\n","const fromEntries = (entries) => {\n  return Object.fromEntries(entries);\n};\nexport {\n  fromEntries\n};\n","import { fromEntries } from \"./fromEntries.js\";\nimport { entries } from \"./entries.js\";\nimport merge from \"../node_modules/lodash-es/merge.js\";\nimport cloneDeep from \"../node_modules/lodash-es/cloneDeep.js\";\nconst mergeBase = (base = {}, source = {}) => {\n  return merge(cloneDeep(base), source);\n};\nconst createSlices = (slices) => {\n  const {\n    base,\n    ...rest\n  } = slices;\n  return fromEntries(entries(rest).map(([name, slice]) => [name, mergeBase(base, slice)]));\n};\nexport {\n  createSlices\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { ProductCardType } from \"../ProductCard/ProductCard.types.js\";\nimport { Skeleton } from \"../Skeleton/Skeleton.js\";\nimport { createSlices } from \"../../../utils/createSlices.js\";\nconst ProductCardSkeleton = forwardRef(({\n  style,\n  type = ProductCardType.CARD,\n  theme = \"light\",\n  size = \"medium\",\n  hasName = true,\n  hasBrandName = true,\n  hasMetaGroup = true,\n  /**\n   * ProductCard 와 prop 을 공유하지만 스켈레톤에서는 뱃지를 그리지 않습니다.\n   *\n   * 뱃지 플레이스홀더가 있으면 가로 스크롤 목록에서 카드가 순차적으로 로드될 때\n   * 뱃지 영역만큼 높이가 출렁여 목록 전체가 덜컹거리기 때문입니다.\n   *\n   * 값을 rest 에 남겨두면 DOM 속성으로 새어나가므로 여기서 걷어냅니다.\n   */\n  hasBadges: _hasBadges,\n  isCompactSkeleton = false,\n  ...rest\n}, ref) => {\n  const isCompactCardWithMetaGroup = type === ProductCardType.CARD && hasMetaGroup && isCompactSkeleton;\n  let styleSlices = stylesByType[type];\n  if (type === ProductCardType.CARD && !hasMetaGroup) {\n    styleSlices = cardWithoutMetaGroupStyles;\n  }\n  if (isCompactCardWithMetaGroup) {\n    styleSlices = compactCardWithMetaGroupStyles;\n  }\n  const styles = styleSlices[size];\n  return /* @__PURE__ */ jsxs(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...styles == null ? void 0 : styles.container,\n    ...style\n  }, children: [\n    /* @__PURE__ */ jsx(Skeleton, { style: {\n      ...styles == null ? void 0 : styles.image,\n      ...baseStyleByTheme[theme],\n      borderRadius: 2\n    } }),\n    /* @__PURE__ */ jsxs(\"div\", { style: summaryStyle, children: [\n      hasBrandName ? /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...styles == null ? void 0 : styles.brandName,\n        ...baseStyleByTheme[theme],\n        borderRadius: 6\n      } }) : null,\n      hasName ? /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...styles == null ? void 0 : styles.name,\n        ...baseStyleByTheme[theme],\n        borderRadius: 6\n      } }) : null,\n      /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...styles == null ? void 0 : styles.price,\n        ...baseStyleByTheme[theme],\n        borderRadius: 6\n      } }),\n      isCompactCardWithMetaGroup ? /* @__PURE__ */ jsx(\"div\", { style: styles == null ? void 0 : styles.badge }) : null\n    ] })\n  ] });\n});\nconst baseStyleByTheme = {\n  light: {\n    backgroundColor: \"#dee2e6\"\n  },\n  dark: {\n    backgroundColor: \"#27272a\"\n  }\n};\nconst containerStyle = {\n  display: \"flex\",\n  gap: \"10px\",\n  width: \"100%\",\n  margin: \"0 auto\"\n};\nconst summaryStyle = {\n  flex: \"1\",\n  display: \"flex\",\n  flexDirection: \"column\"\n};\nconst barStyles = createSlices({\n  base: {\n    container: {\n      flexDirection: \"row\",\n      alignItems: \"center\",\n      gap: 8\n    },\n    brandName: {\n      width: \"60%\",\n      height: 11\n    },\n    name: {\n      width: \"80%\",\n      height: 13,\n      marginTop: 5\n    },\n    price: {\n      width: \"50%\",\n      height: 16,\n      marginTop: 5\n    },\n    badge: {\n      width: \"20%\",\n      height: 16,\n      marginTop: 6\n    }\n  },\n  small: {\n    image: {\n      width: 56,\n      height: 56\n    }\n  },\n  medium: {\n    image: {\n      width: 80,\n      height: 80\n    }\n  }\n});\nconst cardStyles = createSlices({\n  base: {\n    container: {\n      flexDirection: \"column\",\n      gap: 10\n    },\n    image: {\n      width: \"100%\",\n      aspectRatio: \"1 / 1\"\n    },\n    brandName: {\n      width: \"60%\",\n      height: 16.31\n    },\n    name: {\n      width: \"80%\",\n      height: 16.31,\n      marginTop: 4\n    },\n    price: {\n      width: \"50%\",\n      height: 15.2,\n      marginTop: 4\n    },\n    badge: {\n      width: \"20%\",\n      height: 13,\n      marginTop: 4\n    }\n  },\n  small: {},\n  medium: {}\n});\nconst cardWithoutMetaGroupStyles = createSlices({\n  base: {\n    container: {\n      flexDirection: \"column\",\n      gap: 0\n    },\n    image: {\n      width: \"100%\",\n      aspectRatio: \"1 / 1\",\n      marginBottom: 6\n    },\n    brandName: {\n      width: \"60%\",\n      height: 16.32,\n      marginTop: 2\n    },\n    name: {\n      width: \"80%\",\n      height: 36.4\n    },\n    price: {\n      width: \"50%\",\n      height: 18.2,\n      marginTop: 4\n    },\n    badge: {}\n  },\n  small: {},\n  medium: {}\n});\nconst compactCardWithMetaGroupStyles = createSlices({\n  base: {\n    container: {\n      flexDirection: \"column\",\n      gap: 0\n    },\n    image: {\n      width: \"100%\",\n      aspectRatio: \"1 / 1\",\n      marginBottom: 6\n    },\n    brandName: {\n      width: \"60%\",\n      height: 16.31,\n      margin: \"2px 0\"\n    },\n    name: {\n      width: \"80%\",\n      height: 36.4\n    },\n    price: {\n      width: \"50%\",\n      height: 18.2,\n      marginTop: 4\n    },\n    badge: {\n      height: 18,\n      marginTop: 4\n    }\n  },\n  small: {},\n  medium: {}\n});\nconst cardDetailedStyles = createSlices({\n  base: {\n    container: {\n      flexDirection: \"column\",\n      gap: 14\n    },\n    image: {\n      width: \"100%\",\n      aspectRatio: \"1 / 1\"\n    },\n    brandName: {\n      width: \"60%\",\n      height: 16.31\n    },\n    name: {\n      width: \"80%\",\n      height: 19.59,\n      marginTop: 4\n    },\n    price: {\n      width: \"50%\",\n      height: 22.41,\n      marginTop: 6\n    },\n    badge: {\n      width: \"20%\",\n      height: 16,\n      marginTop: 6\n    }\n  },\n  small: {},\n  medium: {}\n});\nconst stylesByType = {\n  [ProductCardType.BAR]: barStyles,\n  [ProductCardType.CARD]: cardStyles,\n  [ProductCardType.CARD_DETAILED]: cardDetailedStyles\n};\nexport {\n  ProductCardSkeleton\n};\n","import { useRef, useMemo, useState, useEffect } from \"react\";\nimport { useInView } from \"framer-motion\";\nimport { useHorizontalScrollContext } from \"./HorizontalScrollContext.js\";\nimport { useProductsContext } from \"./Root.hooks.js\";\nconst HORIZONTAL_VIRTUAL_ROOT_MARGIN = \"800px 0px\";\nconst IN_VIEW_HIDE_DELAY_MS = 200;\nconst isProductsListAppend = (prev, next) => prev !== null && next.length > prev.length && next.startsWith(`${prev},`);\nconst useHorizontalVirtualItem = ({\n  isPaginationSentinel,\n  onLastItemView\n}) => {\n  const horizontalScroll = useHorizontalScrollContext();\n  const {\n    products,\n    pending\n  } = useProductsContext();\n  const itemRef = useRef(null);\n  const onLastItemViewRef = useRef(onLastItemView);\n  const wasInScrollViewRef = useRef(false);\n  const lastFetchedAtProductCountRef = useRef(0);\n  const hideInViewTimerRef = useRef();\n  const prevProductsSignatureRef = useRef(null);\n  onLastItemViewRef.current = onLastItemView;\n  const virtualize = (horizontalScroll == null ? void 0 : horizontalScroll.virtualize) === true;\n  const productsSignature = useMemo(() => products.map((product) => product.productId).join(\",\"), [products]);\n  const isInScrollView = useInView(itemRef, {\n    root: horizontalScroll == null ? void 0 : horizontalScroll.scrollRef,\n    margin: HORIZONTAL_VIRTUAL_ROOT_MARGIN,\n    amount: 0\n  });\n  const [stableInView, setStableInView] = useState(false);\n  useEffect(() => {\n    if (isInScrollView) {\n      if (hideInViewTimerRef.current) {\n        clearTimeout(hideInViewTimerRef.current);\n        hideInViewTimerRef.current = void 0;\n      }\n      setStableInView(true);\n      return;\n    }\n    hideInViewTimerRef.current = setTimeout(() => {\n      setStableInView(false);\n      hideInViewTimerRef.current = void 0;\n    }, IN_VIEW_HIDE_DELAY_MS);\n    return () => {\n      if (hideInViewTimerRef.current) {\n        clearTimeout(hideInViewTimerRef.current);\n        hideInViewTimerRef.current = void 0;\n      }\n    };\n  }, [isInScrollView]);\n  const [holdFullRender, setHoldFullRender] = useState(true);\n  useEffect(() => {\n    const prev = prevProductsSignatureRef.current;\n    prevProductsSignatureRef.current = productsSignature;\n    if (isProductsListAppend(prev, productsSignature)) {\n      return;\n    }\n    if (prev !== null) {\n      setStableInView(false);\n    }\n    setHoldFullRender(true);\n    const frameId = requestAnimationFrame(() => setHoldFullRender(false));\n    return () => cancelAnimationFrame(frameId);\n  }, [productsSignature]);\n  useEffect(() => {\n    if (!virtualize || !isPaginationSentinel) {\n      return;\n    }\n    if (!isInScrollView) {\n      wasInScrollViewRef.current = false;\n      return;\n    }\n    const justEntered = !wasInScrollViewRef.current;\n    const sentinelAdvanced = lastFetchedAtProductCountRef.current !== products.length;\n    wasInScrollViewRef.current = true;\n    if (!justEntered && !sentinelAdvanced) {\n      return;\n    }\n    lastFetchedAtProductCountRef.current = products.length;\n    onLastItemViewRef.current();\n  }, [virtualize, isPaginationSentinel, isInScrollView, products.length]);\n  return {\n    itemRef,\n    showProductCard: !virtualize || pending || holdFullRender || stableInView\n  };\n};\nexport {\n  HORIZONTAL_VIRTUAL_ROOT_MARGIN,\n  useHorizontalVirtualItem\n};\n","const isLast = (list, index) => list.length - 1 === index;\nexport {\n  isLast\n};\n","function noop() {\n}\nexport {\n  noop as default\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { Intersection } from \"../../../@shared/Intersection/Intersection.js\";\nimport \"react-dom\";\nimport \"../../../@shared/Icon/Icon.js\";\nimport { ProductCardSkeleton } from \"../../../@shared/ProductCardSkeleton/ProductCardSkeleton.js\";\nimport \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useProductsContext } from \"./Root.hooks.js\";\nimport { useHorizontalScrollContext } from \"./HorizontalScrollContext.js\";\nimport { HORIZONTAL_VIRTUAL_ROOT_MARGIN, useHorizontalVirtualItem } from \"./useHorizontalVirtualItem.js\";\nimport { isLast } from \"../../../../utils/isLast.js\";\nimport noop from \"../../../../node_modules/lodash-es/noop.js\";\nconst Item = ({\n  children,\n  index,\n  onLastItemView = noop\n}) => {\n  const {\n    products,\n    initialHasNext\n  } = useProductsContext();\n  const horizontalScroll = useHorizontalScrollContext();\n  const isPaginationSentinel = isLast(products, index) && initialHasNext;\n  if ((horizontalScroll == null ? void 0 : horizontalScroll.virtualize) !== true) {\n    return /* @__PURE__ */ jsx(ItemWithoutVirtualization, { isPaginationSentinel, onLastItemView, children });\n  }\n  return /* @__PURE__ */ jsx(VirtualizedItem, { isPaginationSentinel, onLastItemView, children });\n};\nconst ItemWithoutVirtualization = ({\n  children,\n  isPaginationSentinel,\n  onLastItemView\n}) => {\n  if (isPaginationSentinel) {\n    return /* @__PURE__ */ jsx(Intersection, { style: itemStyle, margin: HORIZONTAL_VIRTUAL_ROOT_MARGIN, onView: onLastItemView, children });\n  }\n  return /* @__PURE__ */ jsx(\"div\", { style: itemStyle, children });\n};\nconst VirtualizedItem = ({\n  children,\n  isPaginationSentinel,\n  onLastItemView\n}) => {\n  const theme = useTheme();\n  const {\n    card,\n    cardStyle\n  } = useProductsContext();\n  const {\n    itemRef,\n    showProductCard\n  } = useHorizontalVirtualItem({\n    isPaginationSentinel,\n    onLastItemView\n  });\n  return /* @__PURE__ */ jsx(\"div\", { ref: itemRef, style: itemStyle, children: showProductCard ? children : /* @__PURE__ */ jsx(\"div\", { style: offscreenSlotStyle, \"aria-hidden\": true, children: /* @__PURE__ */ jsx(ProductCardSkeleton, { theme, ...card, style: cardStyle }) }) });\n};\nconst itemStyle = {\n  scrollSnapAlign: \"start\",\n  boxSizing: \"border-box\"\n};\nconst offscreenSlotStyle = {\n  visibility: \"hidden\",\n  pointerEvents: \"none\",\n  width: \"100%\"\n};\nexport {\n  Item\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nconst PeekColumnDivider = ({\n  rowSpan\n}) => {\n  const theme = useTheme();\n  return /* @__PURE__ */ jsx(\"div\", { \"aria-hidden\": true, style: {\n    ...gutterStyle,\n    gridRow: `1 / span ${rowSpan}`\n  }, children: /* @__PURE__ */ jsx(\"div\", { style: {\n    ...lineStyle,\n    backgroundColor: dividerColorByTheme[theme]\n  } }) });\n};\nconst gutterStyle = {\n  display: \"flex\",\n  alignItems: \"stretch\",\n  alignSelf: \"stretch\",\n  boxSizing: \"border-box\",\n  paddingLeft: 6,\n  paddingRight: 14\n};\nconst lineStyle = {\n  width: 1,\n  minWidth: 1,\n  alignSelf: \"stretch\",\n  flexShrink: 0\n};\nconst dividerColorByTheme = {\n  light: \"rgba(0, 0, 0, 0.06)\",\n  dark: \"rgba(255, 255, 255, 0.08)\"\n};\nexport {\n  PeekColumnDivider\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Grid as Default } from \"../../../@shared/layouts/Grid.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport { ComponentName } from \"../../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../../styles/createWithStyle.js\";\nimport { css } from \"../../../../styles/css.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport { ProductCardType } from \"../../../@shared/ProductCard/ProductCard.types.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.ProductsVerticalList, {\n  container: css`\n    &[data-card-type='card'],\n    &[data-card-type='card-detailed'] {\n      @media (max-width: 614px) {\n        grid-template-columns: repeat(2, minmax(100px, 1fr)) !important;\n      }\n    }\n\n    &[data-card-type='bar'] {\n      @media (max-width: 614px) {\n        grid-template-columns: repeat(1, minmax(100px, 1fr)) !important;\n      }\n    }\n  `\n});\nconst VerticalList = withStyle(forwardRef(({\n  style,\n  children,\n  options,\n  padding\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const {\n    row,\n    column,\n    card\n  } = options;\n  const {\n    type = ProductCardType.CARD\n  } = card ?? {};\n  const isAutoColumn = (column == null ? void 0 : column.count) === \"auto\";\n  const shouldApplyCanvasStyle = isAutoColumn && isCanvas() && breakpoint === \"mobile\";\n  return /* @__PURE__ */ jsx(Default, { ref, className: isAutoColumn ? classNames.container : void 0, style: {\n    ...wrapperResetStyle,\n    ...wrapperStyleByBreakpoint[breakpoint],\n    ...shouldApplyCanvasStyle ? wrapperMobileCanvasStyle[type] : void 0,\n    ...padding ? {\n      padding: `${padding.top ?? 0}px ${padding.right ?? 0}px ${padding.bottom ?? 0}px ${padding.left ?? 0}px`\n    } : void 0,\n    ...style\n  }, row, column, \"data-card-type\": type, children });\n}));\nconst wrapperResetStyle = {\n  padding: 0,\n  margin: 0\n};\nconst wrapperMobileCanvasStyle = {\n  [ProductCardType.CARD]: {\n    gridTemplateColumns: \"repeat(2, minmax(100px, 1fr))\"\n  },\n  [ProductCardType.CARD_DETAILED]: {\n    gridTemplateColumns: \"repeat(2, minmax(100px, 1fr))\"\n  },\n  [ProductCardType.BAR]: {\n    gridTemplateColumns: \"repeat(1, minmax(100px, 1fr))\"\n  }\n};\nconst wrapperStyleByBreakpoint = {\n  mobile: {\n    padding: \"0 16px\"\n  },\n  tablet: {\n    padding: \"0 16px\"\n  },\n  desktop: {\n    padding: 0\n  }\n};\nexport {\n  VerticalList\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { createContext, forwardRef, useMemo, useRef, useEffect, Fragment } from \"react\";\nimport { useProductGroupHeart } from \"../../../../hooks/product/useProductGroupHeart.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { withDefaultRowGap } from \"./Root.utils.js\";\nimport { HorizontalList } from \"./HorizontalList.js\";\nimport { Item } from \"./Item.js\";\nimport { PeekColumnDivider } from \"./PeekColumnDivider.js\";\nimport { VerticalList } from \"./VerticalList.js\";\nimport { PRODUCTS_PER_REQUEST } from \"../../Products/Products.js\";\nconst ProductsContext = createContext(null);\nconst Root = forwardRef(({\n  style,\n  listStyle,\n  cardStyle,\n  padding,\n  navigatorOffset,\n  children,\n  products: _products,\n  loading = false,\n  options: responsiveOptions,\n  hasNext: initialHasNext = false,\n  onLastItemView\n}, ref) => {\n  var _a;\n  const breakpoint = useBreakpoint();\n  const {\n    isHeartOn,\n    handleHeartOn,\n    handleHeartOff\n  } = useProductGroupHeart();\n  const options = useMemo(() => withDefaultRowGap(responsiveOptions[breakpoint], breakpoint), [responsiveOptions, breakpoint]);\n  const {\n    direction = \"horizontal\",\n    card = {},\n    row,\n    column,\n    columnDivider = false,\n    navigator = false\n  } = options;\n  const rowCount = (row == null ? void 0 : row.count) === \"auto\" ? 0 : (row == null ? void 0 : row.count) ?? 0;\n  const columnCount = (column == null ? void 0 : column.count) === \"auto\" ? 0 : (column == null ? void 0 : column.count) ?? 0;\n  const displayCount = getDisplayCount(options);\n  const products = slice(_products, rowCount * columnCount);\n  const isInitialLoading = loading && products.length === 0;\n  const pending = isInitialLoading;\n  const meetsVirtualizeThreshold = direction === \"horizontal\" && !navigator && !isInitialLoading && !pending && products.length > displayCount + (rowCount > 0 ? rowCount : 0);\n  const virtualizeLatchRef = useRef(false);\n  const prevHeadProductIdRef = useRef(void 0);\n  const headProductId = (_a = products[0]) == null ? void 0 : _a.productId;\n  if (meetsVirtualizeThreshold) {\n    virtualizeLatchRef.current = true;\n  }\n  useEffect(() => {\n    if (prevHeadProductIdRef.current !== void 0 && headProductId !== prevHeadProductIdRef.current) {\n      virtualizeLatchRef.current = false;\n    }\n    prevHeadProductIdRef.current = headProductId;\n  }, [headProductId]);\n  useEffect(() => {\n    if (isInitialLoading) {\n      virtualizeLatchRef.current = false;\n    }\n  }, [isInitialLoading]);\n  const shouldVirtualizeHorizontal = meetsVirtualizeThreshold || virtualizeLatchRef.current && direction === \"horizontal\" && !navigator && !isInitialLoading && !pending;\n  const pagination = displayCount < products.length || initialHasNext;\n  const List = direction === \"horizontal\" ? HorizontalList : VerticalList;\n  const handleLastItemView = () => {\n    if (isInitialLoading) {\n      return;\n    }\n    onLastItemView == null ? void 0 : onLastItemView();\n  };\n  return /* @__PURE__ */ jsx(ProductsContext.Provider, { value: {\n    card,\n    cardStyle,\n    products,\n    pending,\n    loading,\n    initialHasNext,\n    isHeartOn,\n    onHeartOn: handleHeartOn,\n    onHeartOff: handleHeartOff\n  }, children: /* @__PURE__ */ jsxs(List, { ref, style, listStyle, options, pagination, padding, navigatorOffset, ...direction === \"horizontal\" ? {\n    virtualize: shouldVirtualizeHorizontal\n  } : {}, children: [\n    products.map((product, index) => /* @__PURE__ */ jsxs(Fragment, { children: [\n      /* @__PURE__ */ jsx(Item, { index, onLastItemView: handleLastItemView, children: children({\n        index,\n        product,\n        pending\n      }) }),\n      shouldRenderPeekColumnDivider({\n        columnDivider,\n        direction,\n        rowCount,\n        index,\n        productsLength: products.length\n      }) ? /* @__PURE__ */ jsx(PeekColumnDivider, { rowSpan: rowCount }, `peek-column-divider-${product.productId}`) : null\n    ] }, product.productId)),\n    pending ? Array.from({\n      length: displayCount\n    }, (_, index) => /* @__PURE__ */ jsx(Item, { index, children: children({\n      index,\n      pending\n    }) }, index)) : null\n  ] }) });\n});\nconst getDisplayCount = (options) => {\n  const {\n    direction,\n    column,\n    row\n  } = options;\n  const {\n    displayCount: columnDisplayCount = 0,\n    count: columnCount = 0\n  } = column ?? {};\n  const {\n    displayCount: rowDisplayCount = 0,\n    count: rowCount = 0\n  } = row ?? {};\n  const isAutoRow = rowCount === \"auto\";\n  const isAutoColumn = columnCount === \"auto\";\n  if (direction === \"horizontal\") {\n    return columnDisplayCount * (isAutoRow ? 0 : rowCount);\n  }\n  if (direction === \"vertical\" && isAutoColumn) {\n    return PRODUCTS_PER_REQUEST;\n  }\n  return rowDisplayCount * (isAutoColumn ? 0 : columnCount);\n};\nconst slice = (list, count) => {\n  return count > 0 ? list.slice(0, count) : list;\n};\nconst shouldRenderPeekColumnDivider = ({\n  columnDivider,\n  direction,\n  rowCount,\n  index,\n  productsLength\n}) => {\n  if (!columnDivider || direction !== \"horizontal\" || rowCount <= 0) {\n    return false;\n  }\n  const isEndOfColumn = (index + 1) % rowCount === 0;\n  const hasNextColumn = index + 1 < productsLength;\n  return isEndOfColumn && hasNextColumn;\n};\nexport {\n  ProductsContext,\n  Root\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useInView } from \"framer-motion\";\nimport { forwardRef, useRef } from \"react\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nconst Lazy = ({\n  as,\n  children,\n  fallback,\n  margin,\n  ...rest\n}, ref) => {\n  const elementRef = useRef(null);\n  const isIntersecting = useInView(elementRef, {\n    margin,\n    once: true\n  });\n  const Component = as ?? \"div\";\n  if (!isIntersecting) {\n    return /* @__PURE__ */ jsx(Component, { ref: mergeRefs([ref, elementRef]), ...rest, children: fallback });\n  }\n  return /* @__PURE__ */ jsx(Component, { ref: mergeRefs([ref, elementRef]), ...rest, children });\n};\nconst Default = forwardRef(Lazy);\nexport {\n  Default as Lazy\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { ProductCard } from \"../../../@shared/ProductCard/ProductCard.js\";\nimport { useProductsContext } from \"./Root.hooks.js\";\nimport { ProductCardSkeleton } from \"../../../@shared/ProductCardSkeleton/ProductCardSkeleton.js\";\nimport \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { Lazy as Default } from \"../../../@shared/Lazy/Lazy.js\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { ProductCardType } from \"../../../@shared/ProductCard/ProductCard.types.js\";\nconst Card = ({\n  index,\n  componentName,\n  eventProperties,\n  variant,\n  showLazyFallback = true,\n  ...rest\n}) => {\n  const theme = useTheme();\n  const {\n    products,\n    card,\n    cardStyle: sharedCardStyle,\n    pending,\n    isHeartOn,\n    onHeartOn,\n    onHeartOff\n  } = useProductsContext();\n  const product = products[index];\n  const style = sharedCardStyle || rest.style ? {\n    ...sharedCardStyle,\n    ...rest.style\n  } : void 0;\n  const isBarType = card.type === ProductCardType.BAR;\n  const isCardType = card.type === ProductCardType.CARD || card.type === ProductCardType.CARD_DETAILED;\n  const hideBarTypeRank = !isBarType || !card.hasRank;\n  const hideCardTypeRank = !isCardType || !card.hasRank;\n  const position = index + 1;\n  if (pending || !product) {\n    return /* @__PURE__ */ jsx(ProductRank, { hidden: hideBarTypeRank, position, children: /* @__PURE__ */ jsx(ProductCardSkeleton, { theme, ...card, style }) });\n  }\n  return /* @__PURE__ */ jsx(Default, { margin: \"600px 200px\", fallback: showLazyFallback ? /* @__PURE__ */ jsx(ProductRank, { hidden: hideBarTypeRank, position, children: /* @__PURE__ */ jsx(ProductCardSkeleton, { theme, ...card, style }) }) : null, children: /* @__PURE__ */ jsx(ProductRank, { hidden: hideBarTypeRank, position, children: /* @__PURE__ */ jsx(ProductCard, { ...rest, ...card, style, hasRank: !hideCardTypeRank, theme, product, positionNo: position, variant, isHeartOn: isHeartOn(product.productId), onHeartOn, onHeartOff, eventProperties: {\n    product,\n    isProductGroup: true,\n    componentName,\n    positionNo: position,\n    ...eventProperties\n  } }) }) });\n};\nconst ProductRank = ({\n  children,\n  hidden = false,\n  position\n}) => {\n  const theme = useTheme();\n  if (hidden) {\n    return children;\n  }\n  return /* @__PURE__ */ jsxs(\"div\", { style: containerStyle, children: [\n    /* @__PURE__ */ jsx(\"div\", { style: rankAreaStyle, children: /* @__PURE__ */ jsx(\"div\", { style: {\n      ...typography(16, 700),\n      ...rankTextStyleByTheme[theme]\n    }, children: position }) }),\n    children\n  ] });\n};\nconst containerStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  gap: \"8px\"\n};\nconst rankAreaStyle = {\n  minWidth: 20,\n  height: \"100%\",\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\"\n};\nconst rankTextStyleByTheme = {\n  light: {\n    color: \"#000\"\n  },\n  dark: {\n    color: \"#fff\"\n  }\n};\nexport {\n  Card\n};\n","import { Root } from \"./Root.js\";\nimport { Card } from \"./Card.js\";\nconst Products = {\n  Root,\n  Card\n};\nexport {\n  Products\n};\n","import { ProductCardType } from \"../../../@shared/ProductCard/ProductCard.types.js\";\nimport { createOptionTemplate, getResponsiveWidthWithProductPeekInset, getResponsiveWidth } from \"./Root.utils.js\";\nconst CARD_HORIZONTAL_AUTO = createOptionTemplate({\n  base: {\n    direction: \"horizontal\",\n    card: {\n      type: ProductCardType.CARD,\n      hasBadges: false,\n      hasPriceUnit: false\n    },\n    column: {\n      gap: 6\n    },\n    row: {\n      count: 2\n    }\n  },\n  mobile: {\n    column: {\n      displayCount: 3,\n      width: getResponsiveWidthWithProductPeekInset(6, 3)\n    }\n  },\n  tablet: {\n    column: {\n      displayCount: 4,\n      width: getResponsiveWidthWithProductPeekInset(6, 4)\n    }\n  },\n  desktop: {\n    navigator: true,\n    card: {\n      type: ProductCardType.CARD_DETAILED,\n      hasBadges: true\n    },\n    column: {\n      displayCount: 5,\n      width: getResponsiveWidth(6, 5)\n    }\n  }\n});\nconst COMPACT_CARD_MOBILE_WIDTH = \"calc((100% + 4px) * 104 / 362)\";\nconst COMPACT_CARD_HORIZONTAL = createOptionTemplate({\n  base: {\n    direction: \"horizontal\",\n    card: {\n      type: ProductCardType.CARD,\n      hasBadges: false,\n      hasPriceUnit: false,\n      hasMetaGroup: false\n    },\n    column: {\n      gap: 4\n    },\n    row: {\n      count: 2\n    }\n  },\n  mobile: {\n    column: {\n      displayCount: 3,\n      width: COMPACT_CARD_MOBILE_WIDTH\n    }\n  },\n  tablet: {\n    column: {\n      displayCount: 4,\n      width: getResponsiveWidthWithProductPeekInset(4, 4)\n    }\n  },\n  desktop: {\n    navigator: true,\n    card: {\n      hasBadges: true,\n      hasMetaGroup: true,\n      isCompactSkeleton: true\n    },\n    column: {\n      gap: 6,\n      displayCount: 5,\n      width: getResponsiveWidth(6, 5)\n    },\n    row: {\n      gap: 16\n    }\n  }\n});\nconst BAR_HORIZONTAL_AUTO = createOptionTemplate({\n  base: {\n    direction: \"horizontal\",\n    card: {\n      type: ProductCardType.BAR,\n      size: \"small\",\n      hasName: false,\n      hasHeart: false,\n      hasBadges: false,\n      hasPriceUnit: false\n    },\n    column: {\n      gap: 16\n    },\n    row: {\n      count: 4,\n      gap: 16\n    }\n  },\n  mobile: {\n    column: {\n      displayCount: 1,\n      width: getResponsiveWidth(0, 1, 60)\n    }\n  },\n  tablet: {\n    column: {\n      displayCount: 2,\n      width: getResponsiveWidth(16, 2, 60)\n    }\n  },\n  desktop: {\n    navigator: true,\n    card: {\n      size: \"medium\"\n    },\n    column: {\n      displayCount: 3,\n      width: getResponsiveWidth(16, 3)\n    }\n  }\n});\nexport {\n  BAR_HORIZONTAL_AUTO,\n  CARD_HORIZONTAL_AUTO,\n  COMPACT_CARD_HORIZONTAL,\n  COMPACT_CARD_MOBILE_WIDTH\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useEffect } from \"react\";\nimport { useComponentTimingContext } from \"../../../../../hooks/beacon/ComponentTimingContext.js\";\nimport { useFetchKeywordCollectionProducts } from \"../../../../../hooks/fetchers/useFetchKeywordCollectionProducts.js\";\nimport { Products } from \"../../Products/index.js\";\nimport { COMPACT_CARD_HORIZONTAL } from \"../../Products/Root.constants.js\";\nconst KeywordCollectionProducts = ({\n  componentName,\n  collectionId,\n  productGroupId,\n  sort,\n  pending\n}) => {\n  const {\n    products,\n    isPending,\n    hasNext,\n    setSize\n  } = useFetchKeywordCollectionProducts({\n    enabled: pending !== true,\n    collectionId: Number(collectionId),\n    productGroupId,\n    sort\n  });\n  const {\n    markReady\n  } = useComponentTimingContext();\n  useEffect(() => {\n    if (products.length > 0) {\n      markReady();\n    }\n  }, [products.length, markReady]);\n  const onLastItemView = () => {\n    setSize((prev) => prev + 1);\n  };\n  const loading = pending || isPending;\n  return /* @__PURE__ */ jsx(Products.Root, { products, loading, options: COMPACT_CARD_HORIZONTAL, hasNext, onLastItemView, children: ({\n    index\n  }) => {\n    return /* @__PURE__ */ jsx(Products.Card, { index, componentName });\n  } });\n};\nexport {\n  KeywordCollectionProducts\n};\n","import { ControlType } from \"framer\";\nconst HEADLINE_CONTROLS = {\n  headline: {\n    type: ControlType.Object,\n    title: \"헤드라인\",\n    description: \"헤드라인 관련 상세 옵션 설정\",\n    controls: {\n      title: {\n        type: ControlType.String,\n        title: \"제목\",\n        placeholder: \"제목 텍스트 입력\",\n        defaultValue: \"제목 텍스트 입력\"\n      },\n      description: {\n        type: ControlType.String,\n        title: \"설명\",\n        placeholder: \"설명 텍스트 입력\",\n        displayTextArea: true\n      },\n      mediaType: {\n        type: ControlType.Enum,\n        title: \"미디어 유형\",\n        description: \"삽입할 키비주얼의 미디어 유형 선택\",\n        options: [\"none\", \"image\", \"video\"],\n        optionTitles: [\"선택 안 함\", \"이미지\", \"영상\"]\n      },\n      imageSrc: {\n        hidden: ({\n          mediaType\n        }) => mediaType !== \"image\",\n        type: ControlType.String,\n        title: \"이미지 URL\",\n        placeholder: \"이미지 URL 입력\"\n      },\n      videoSrc: {\n        hidden: ({\n          mediaType\n        }) => mediaType !== \"video\",\n        type: ControlType.String,\n        title: \"영상 URL\",\n        placeholder: \"영상 URL 입력\"\n      },\n      videoSrcWebm: {\n        hidden: ({\n          mediaType\n        }) => mediaType !== \"video\",\n        type: ControlType.String,\n        title: \"WEBM 영상 URL\",\n        placeholder: \"WEBM 포맷의 영상 URL 입력\"\n      },\n      poster: {\n        hidden: ({\n          mediaType\n        }) => mediaType !== \"video\",\n        type: ControlType.String,\n        title: \"포스터 이미지 URL\",\n        description: \"영상이 자동재생되지 않는 환경(ex. 저전력 모드)에서 임시로 노출할 이미지 URL을 입력합니다.\",\n        placeholder: \"포스터 이미지 URL 입력\"\n      },\n      lazy: {\n        hidden: ({\n          mediaType\n        }) => mediaType === \"none\",\n        type: ControlType.Boolean,\n        title: \"미디어 지연 요청\",\n        description: \"컴포넌트가 화면에 보일 때에만 미디어를 로드합니다.\\n(성능 최적화를 위해 활성화하는 것을 권장합니다.)\",\n        defaultValue: true\n      }\n    }\n  }\n};\nexport {\n  HEADLINE_CONTROLS\n};\n","import { ControlType } from \"framer\";\nimport { BREAKPOINT_CONTROLS } from \"./breakpoint.js\";\nimport { HEADLINE_CONTROLS } from \"./headline.js\";\nimport { THEME_CONTROLS } from \"./theme.js\";\nconst SECTION_CONTROLS = {\n  ...BREAKPOINT_CONTROLS,\n  ...THEME_CONTROLS,\n  ...HEADLINE_CONTROLS,\n  componentId: {\n    type: ControlType.String,\n    title: \"컴포넌트 ID\",\n    description: \"이벤트 수집 시에 상품 모듈을 구분하기 위한 값\\nex. 29welcoming\",\n    defaultValue: \"\"\n  }\n};\nexport {\n  SECTION_CONTROLS\n};\n","const hideClosestParentByFramerName = (currentElement, framerName, isVisible) => {\n  if (!currentElement) {\n    return null;\n  }\n  const targetName = framerName || \"segmentWrapper\";\n  const parentElement = currentElement.closest(`[data-framer-name=\"${targetName}\"]`);\n  if (parentElement) {\n    parentElement.style.display = isVisible ? parentElement.style.display === \"none\" ? \"\" : parentElement.style.display : \"none\";\n  }\n  return parentElement;\n};\nexport {\n  hideClosestParentByFramerName\n};\n","import { jsx, Fragment } from \"react/jsx-runtime\";\nimport { useRef, useEffect } from \"react\";\nimport { useSegment } from \"../../../@shared/providers/SegmentProvider/SegmentProvider.js\";\nimport { hideClosestParentByFramerName } from \"../../../../utils/hideParentElement.js\";\nconst SegmentGate = ({\n  children\n}) => {\n  const {\n    isVisible,\n    isPending\n  } = useSegment();\n  const anchorRef = useRef(null);\n  const hiddenWrapperRef = useRef(null);\n  const isOpen = !isPending && isVisible;\n  useEffect(() => {\n    if (!isOpen) {\n      hiddenWrapperRef.current = hideClosestParentByFramerName(anchorRef.current, void 0, false);\n      return;\n    }\n    if (!hiddenWrapperRef.current) {\n      return;\n    }\n    hideClosestParentByFramerName(hiddenWrapperRef.current, void 0, true);\n    hiddenWrapperRef.current = null;\n  }, [isOpen]);\n  if (!isOpen) {\n    return /* @__PURE__ */ jsx(\"div\", { ref: anchorRef });\n  }\n  return /* @__PURE__ */ jsx(Fragment, { children });\n};\nexport {\n  SegmentGate\n};\n","import { jsx, jsxs, Fragment } from \"react/jsx-runtime\";\nimport { ControlType, addPropertyControls } from \"framer\";\nimport { useEffect } from \"react\";\nimport { Gender } from \"../../../@shared/Gender/Gender.js\";\nimport { Headline } from \"../../Headline/Headline.js\";\nimport { useLazyFetchKeywordCollection } from \"../../../../hooks/fetchers/useLazyFetchKeywordCollection.js\";\nimport { useComponentTiming } from \"../../../../hooks/beacon/useComponentTiming.js\";\nimport { ComponentTimingProvider } from \"../../../../hooks/beacon/ComponentTimingContext.js\";\nimport { KeywordCollectionTags } from \"./KeywordCollectionTags/KeywordCollectionTags.js\";\nimport { KeywordCollectionButton } from \"./KeywordCollectionButton/KeywordCollectionButton.js\";\nimport { KeywordCollectionProducts } from \"./KeywordCollectionProducts/KeywordCollectionProducts.js\";\nimport { SECTION_CONTROLS } from \"../../../../libs/property-controls/section.js\";\nimport { GENDER_CONTROLS } from \"../../../../libs/property-controls/gender.js\";\nimport { SectionLayout } from \"../SectionLayout/SectionLayout.js\";\nimport \"../IntersectionProvider/IntersectionProvider.js\";\nimport { useIntersectionContext } from \"../IntersectionProvider/IntersectionProvider.hooks.js\";\nimport { useComponentId } from \"../EventTrackingProvider/EventTrackingProvider.hooks.js\";\nimport \"../EventTrackingProvider/EventTrackingProvider.js\";\nimport { SWRErrorBoundary } from \"../../../@shared/SWRErrorBoundary/SWRErrorBoundary.js\";\nimport { NoContent } from \"../NoContent/NoContent.js\";\nimport { SEGMENT_CONTROLS } from \"../../../../libs/property-controls/segment.js\";\nimport { SegmentGate } from \"../SegmentGate/SegmentGate.js\";\nconst KeywordCollectionV2Inner = ({\n  headline,\n  collectionId\n}) => {\n  const {\n    isInView\n  } = useIntersectionContext();\n  const componentId = useComponentId();\n  const {\n    collection,\n    fetch,\n    isPending\n  } = useLazyFetchKeywordCollection(Number(collectionId.trim()));\n  useEffect(() => {\n    if (isInView) {\n      fetch();\n    }\n  }, [fetch, isInView]);\n  const {\n    productGroups = []\n  } = collection ?? {};\n  const hasContent = Boolean(headline.title) || Boolean(headline.description);\n  const headlineProps = {\n    ...headline,\n    title: headline.title || (collection == null ? void 0 : collection.title) || \"\",\n    description: headline.description || (collection == null ? void 0 : collection.description) || \"\"\n  };\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(Headline, { ...headlineProps, priority: \"primary\", loading: !hasContent && isPending }),\n    /* @__PURE__ */ jsx(KeywordCollectionTags, { productGroups, pending: isPending, children: ({\n      item,\n      pending\n    }) => /* @__PURE__ */ jsx(KeywordCollectionProducts, { collectionId, productGroupId: item == null ? void 0 : item.productGroupId, sort: item == null ? void 0 : item.sort, pending, componentName: componentId }) }),\n    /* @__PURE__ */ jsx(KeywordCollectionButton, { collectionId, sectionTitle: headlineProps.title, children: \"전체 상품 보기\" })\n  ] });\n};\nconst KeywordCollectionV2 = ({\n  breakpoint,\n  theme,\n  componentId,\n  gender,\n  segment,\n  headline,\n  ...rest\n}) => {\n  const timing = useComponentTiming(\"KeywordCollectionV2\");\n  const hasContent = Boolean(headline.title) || Boolean(headline.description);\n  return /* @__PURE__ */ jsx(ComponentTimingProvider, { timing, children: /* @__PURE__ */ jsx(Gender, { gender, children: /* @__PURE__ */ jsx(SectionLayout, { theme, breakpoint, componentId, segment, onVisible: timing.markVisible, children: /* @__PURE__ */ jsx(SegmentGate, { children: /* @__PURE__ */ jsx(SWRErrorBoundary, { fallback: (retry) => /* @__PURE__ */ jsxs(Fragment, { children: [\n    hasContent && /* @__PURE__ */ jsx(Headline, { ...headline, priority: \"primary\" }),\n    /* @__PURE__ */ jsx(NoContent, { onClick: retry })\n  ] }), reportFailure: true, children: /* @__PURE__ */ jsx(KeywordCollectionV2Inner, { ...rest, headline }) }) }) }) }) });\n};\nconst KEYWORD_COLLECTION_V2_CONTROLS = {\n  ...SECTION_CONTROLS,\n  ...SEGMENT_CONTROLS,\n  ...GENDER_CONTROLS,\n  collectionId: {\n    type: ControlType.String,\n    title: \"컬렉션 아이디\",\n    placeholder: \"1152\"\n  },\n  componentId: {\n    type: ControlType.String,\n    title: \"컴포넌트 ID\",\n    description: \"이벤트 수집 시에 상품 모듈을 구분하기 위한 값\\nex. 29welcoming\",\n    defaultValue: \"\"\n  }\n};\naddPropertyControls(KeywordCollectionV2, KEYWORD_COLLECTION_V2_CONTROLS);\nconst TaggedProducts = KeywordCollectionV2;\naddPropertyControls(TaggedProducts, KEYWORD_COLLECTION_V2_CONTROLS);\nexport {\n  KeywordCollectionV2,\n  TaggedProducts\n};\n","/** local */// import { KeywordCollectionV2 } from \"https://localhost:4173/components/systems/curations/KeywordCollectionV2/KeywordCollectionV2.js\"\n/** dev */// import { KeywordCollectionV2 } from \"https://asset.29cm.co.kr/contents/framer/dev/components/systems/curations/KeywordCollectionV2/KeywordCollectionV2.js\"\n/** production */import{KeywordCollectionV2}from\"https://asset.29cm.co.kr/contents/framer/components/systems/curations/KeywordCollectionV2/KeywordCollectionV2.js\";KeywordCollectionV2.displayName=\"[완성형]TaggedProducts\";/**\n * @framerDisableUnlink\n */export default KeywordCollectionV2;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"KeywordCollectionV2\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TaggedProducts.map","var AgreementType = /* @__PURE__ */ ((AgreementType2) => {\n  AgreementType2[\"PersonalInformation\"] = \"PERSONAL_INFORMATION_AGREEMENT\";\n  AgreementType2[\"Privacy\"] = \"PRIVACY_AGREEMENT\";\n  AgreementType2[\"Advertising\"] = \"ADVERTISING_AGREEMENT\";\n  return AgreementType2;\n})(AgreementType || {});\nexport {\n  AgreementType\n};\n","import { authFetch } from \"../authFetch.js\";\nimport { APIService } from \"../APIService.js\";\nimport { AgreementType } from \"../../types/agreement.js\";\nimport { env } from \"../../config/index.js\";\nimport { APIError } from \"../APIService.types.js\";\nimport { GENERAL_ERROR } from \"../../constants/error.js\";\nconst reservedErrorMessages = [\"RAFFLE_CERTIFICATION_FAILED\"];\nconst throwFailError = (response) => {\n  const isFailError = response.result === \"FAIL\" || response.data === null;\n  const isReservedErrorMessage = response.errorCode !== null && reservedErrorMessages.includes(response.errorCode);\n  if (isFailError && isReservedErrorMessage) {\n    throw new Error(response.message ?? GENERAL_ERROR);\n  }\n  if (isFailError) {\n    throw new Error(GENERAL_ERROR);\n  }\n};\nclass RaffleApiService extends APIService {\n  constructor() {\n    super();\n    this.setBaseUrl(env.api.content);\n    this.setMiddleware(throwFailError);\n  }\n  async getRaffleGroup(raffleGroupId) {\n    return this.get(`/api/v4/framers/proxy/content-api/api/v5/raffle-groups/${raffleGroupId}`);\n  }\n  async getRaffleDisplayInformation(raffleGroupId, raffleId) {\n    return this.get(`/api/v4/framers/proxy/content-api/api/v5/raffle-groups/${raffleGroupId}/raffles/${raffleId}/display-information`, void 0, {\n      credentials: \"include\"\n    });\n  }\n  async getRaffleNotificationApplicable(raffleGroupId, raffleId) {\n    return this.get(`/api/v4/framers/proxy/content-api/api/v5/raffle-groups/${raffleGroupId}/raffles/${raffleId}/notification-applicable`, void 0, {\n      credentials: \"include\"\n    });\n  }\n  async getRaffleApplicable(raffleGroupId, raffleId) {\n    return this.get(`/api/v4/framers/proxy/content-api/api/v5/raffle-groups/${raffleGroupId}/raffles/${raffleId}/raffle-applicable`, void 0, {\n      credentials: \"include\"\n    });\n  }\n  async getInfiniteEntryRaffleApplicable(raffleGroupId) {\n    return this.get(`/api/v5/raffle-groups/${raffleGroupId}/raffle-applicable`, void 0, {\n      credentials: \"include\"\n    });\n  }\n  async postRaffleGroupAgreementsAgree({\n    raffleGroupId,\n    raffleId,\n    agreementTypes\n  }) {\n    const agreements = agreementTypes.filter((agreementType) => this.isDefinedRaffleAgreementType(agreementType));\n    return this.post(`/api/v4/framers/proxy/content-api/api/v5/raffle-groups/${raffleGroupId}/raffles/${raffleId}/agreements/agree`, {\n      agreements\n    }, {\n      credentials: \"include\"\n    });\n  }\n  isDefinedRaffleAgreementType(value) {\n    return [AgreementType.Advertising, AgreementType.Privacy, AgreementType.PersonalInformation].includes(value);\n  }\n  async getRaffleGroupAgreementStatus(raffleGroupId, actionType = \"SHARE\") {\n    return this.get(`/api/v5/raffle-groups/${raffleGroupId}/agreements`, {\n      actionType\n    }, {\n      credentials: \"include\"\n    });\n  }\n  async postRaffleGroupAgreements({\n    raffleGroupId,\n    agreementTypes\n  }) {\n    const agreements = agreementTypes.filter((agreementType) => this.isDefinedRaffleAgreementType(agreementType));\n    return this.post(`/api/v5/raffle-groups/${raffleGroupId}/agreements/agree`, {\n      agreements\n    }, {\n      credentials: \"include\"\n    });\n  }\n  async postRaffleApply(raffleGroupId, raffleId) {\n    return this.post(`/api/v4/framers/proxy/content-api/api/v5/raffle-groups/${raffleGroupId}/raffles/${raffleId}/raffle-apply`, void 0, {\n      credentials: \"include\"\n    });\n  }\n  /**\n   * 래플 응모 API (세밀한 에러 처리용)\n   *\n   * @description\n   * 특정 에러 코드별 처리가 필요한 경우 사용하세요.\n   * fetch로 직접 요청하여 APIService middleware를 우회합니다.\n   *\n   * @throws {APIError} COMMON_INVALID_PARAMETER 에러 시 서버 메시지, 기타 에러 시 기본 메시지\n   *\n   * @example\n   * ```typescript\n   * try {\n   *   await raffleApi.fetchRaffleApply(raffleGroupId, raffleId);\n   * } catch (error) {\n   *   if (error instanceof APIError && error.errorCode === 'COMMON_INVALID_PARAMETER') {\n   *     alert(error.message); // 서버 메시지 그대로\n   *   }\n   * }\n   * ```\n   */\n  async fetchRaffleApply(raffleGroupId, raffleId) {\n    const url = `${env.api.content}/api/v4/framers/proxy/content-api/api/v5/raffle-groups/${raffleGroupId}/raffles/${raffleId}/raffle-apply`;\n    const response = await authFetch(url, {\n      method: \"POST\",\n      credentials: \"include\",\n      headers: {\n        \"Content-Type\": \"application/json\"\n      }\n    });\n    const data = await response.json();\n    if (!response.ok) {\n      throw new APIError(data.message ?? GENERAL_ERROR, data.errorCode, data);\n    }\n    return data;\n  }\n  async postRaffleGroupShareCallback(raffleGroupId, rewardKey) {\n    return this.post(`/api/v5/raffle-groups/${raffleGroupId}/shares/${rewardKey}/callback`, void 0, {\n      credentials: \"include\"\n    });\n  }\n}\nconst raffleApi = new RaffleApiService();\nexport {\n  raffleApi\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { userApi } from \"../../apis/user/UserApiService.js\";\nimport \"react\";\nimport \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../useCurrentUser.js\";\nimport \"framer\";\nimport \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../apis/framer/FramerApiService.js\";\nimport \"../../config/index.js\";\nimport \"../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../apis/preuser/PreuserApiService.js\";\nimport \"../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../node_modules/swr/mutation/dist/index.js\";\nimport \"../stores/content/content.store.js\";\nimport \"../stores/dialog/dialog.store.js\";\nimport \"../stores/global-layout/global-layout.store.js\";\nimport \"../stores/toast/toast.store.js\";\nimport \"../../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../components/systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../useFeatureFlag.js\";\nimport \"../../utils/redirectLogin.js\";\nimport \"../../utils/event-properties/source.js\";\nconst AGREEMENTS_FETCHER_KEY = \"@user/agreements\";\nconst useFetchAgreements = () => {\n  const {\n    logged\n  } = useCurrentUser();\n  return useSWR(logged ? [AGREEMENTS_FETCHER_KEY] : null, () => userApi.getAgreements());\n};\nexport {\n  AGREEMENTS_FETCHER_KEY,\n  useFetchAgreements\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport _JSXStyle from \"../../../../node_modules/styled-jsx/style.js\";\nimport { useFetchAgreements } from \"../../../../hooks/fetchers/useFetchAgreements.js\";\nimport { formatDate as format } from \"../../../../node_modules/date-fns/format.js\";\nconst NotificationAgreementsToast = ({\n  title,\n  hideDescription = false\n}) => {\n  const {\n    data: response\n  } = useFetchAgreements();\n  const {\n    pushAdvertisingAgreement = false\n  } = (response == null ? void 0 : response.data) ?? {};\n  const formattedNow = format(/* @__PURE__ */ new Date(), \"yy.MM.dd\");\n  const shouldRenderDescription = !hideDescription && pushAdvertisingAgreement;\n  return /* @__PURE__ */ jsxs(\"div\", { children: [\n    /* @__PURE__ */ jsx(\"p\", { className: titleText.className, children: title ?? \"알림 설정이 완료되었습니다.\" }),\n    shouldRenderDescription ? /* @__PURE__ */ jsx(\"p\", { className: descriptionText.className, children: `${formattedNow} 마케팅 수신 동의 완료 / 거부 : MY > 회원정보 수정 / 전송자 : 29CM ((주)무신사)` }) : null,\n    titleText.styles,\n    descriptionText.styles\n  ] });\n};\nconst descriptionText = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"112177068\", children: [\"p.jsx-112177068{margin-top:4px;font-size:12px;font-weight:400;line-height:136%;color:#a0a0a0;}\"] }),\n  className: \"jsx-112177068\"\n};\nconst titleText = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"3358454669\", children: [\"p.jsx-3358454669{font-size:14px;font-weight:400;line-height:140%;color:#fff;}\"] }),\n  className: \"jsx-3358454669\"\n};\nexport {\n  NotificationAgreementsToast\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useToast } from \"../../../../hooks/useToast.js\";\nimport { NotificationAgreementsToast } from \"./NotificationAgreementsToast.js\";\nconst useNotificationAgreementsToast = () => {\n  const toast = useToast();\n  const show = (title, hideDescription) => {\n    toast.show({\n      content: /* @__PURE__ */ jsx(NotificationAgreementsToast, { title, hideDescription })\n    });\n  };\n  return {\n    show,\n    hide: toast.hide\n  };\n};\nexport {\n  useNotificationAgreementsToast\n};\n","import { dialog } from \"../containers/DialogContainer/DialogContainer.js\";\nimport { isTabView } from \"../utils/custom-tab/isTabView.js\";\nimport { sendAppSchemeMessage } from \"../utils/sendAppSchemeMessage.js\";\nconst useDialog = () => {\n  const show = (params) => {\n    const {\n      id = Math.random().toString(36).substr(2, 10),\n      needInAppLayer = true,\n      closeOnPrimaryButtonClick = true,\n      closeOnSecondaryButtonClick = true\n    } = params;\n    if (needInAppLayer && !isTabView()) {\n      sendAppSchemeMessage(\"layerDidOpen\");\n    }\n    dialog.show({\n      ...params,\n      id,\n      onClose: () => {\n        var _a;\n        (_a = params.onClose) == null ? void 0 : _a.call(params);\n        hide(id, needInAppLayer);\n      },\n      onPrimaryButtonClick: () => {\n        var _a;\n        (_a = params.onPrimaryButtonClick) == null ? void 0 : _a.call(params);\n        if (closeOnPrimaryButtonClick) {\n          hide(id, needInAppLayer);\n        }\n      },\n      onSecondaryButtonClick: () => {\n        var _a;\n        (_a = params.onSecondaryButtonClick) == null ? void 0 : _a.call(params);\n        if (closeOnSecondaryButtonClick) {\n          hide(id, needInAppLayer);\n        }\n      }\n    });\n    return id;\n  };\n  const hide = (id, needInAppLayerClose = true) => {\n    dialog.hide(id);\n    if (needInAppLayerClose && !isTabView()) {\n      sendAppSchemeMessage(\"layerDidClose\");\n    }\n  };\n  return {\n    show,\n    hide\n  };\n};\nexport {\n  useDialog\n};\n","import { useCurrentUser } from \"./useCurrentUser.js\";\nimport { useRedirectLoginDialog } from \"./useRedirectLoginDialog.js\";\nconst useWithLogin = () => {\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    showRedirectLoginDialog\n  } = useRedirectLoginDialog();\n  const withLogin = (callback) => async (...args) => {\n    if (!logged) {\n      showRedirectLoginDialog();\n      return;\n    }\n    await callback(...args);\n  };\n  return withLogin;\n};\nexport {\n  useWithLogin\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport _JSXStyle from \"../../../node_modules/styled-jsx/style.js\";\nconst Checkbox = ({\n  id,\n  name,\n  checked,\n  disabled,\n  size = \"medium\",\n  children,\n  onChange\n}) => {\n  const handleClick = (e) => {\n    e.preventDefault();\n    if (disabled) {\n      return;\n    }\n    onChange == null ? void 0 : onChange(!checked);\n  };\n  const handleChange = (e) => {\n    onChange == null ? void 0 : onChange(e.target.checked);\n  };\n  return /* @__PURE__ */ jsxs(\"span\", { className: container.className, id, \"data-size\": size, children: [\n    /* @__PURE__ */ jsx(\"input\", { className: input.className, name, type: \"checkbox\", checked, disabled, onChange: handleChange }),\n    /* @__PURE__ */ jsx(\"label\", { className: label.className, htmlFor: name, title: name, \"data-checked\": checked, \"data-size\": size, onMouseUp: handleClick, onTouchEnd: handleClick, children: /* @__PURE__ */ jsx(\"p\", { className: text.className, \"data-size\": size, children }) }),\n    input.styles,\n    label.styles,\n    container.styles,\n    text.styles\n  ] });\n};\nconst container = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"3880026199\", children: [\"span.jsx-3880026199{padding:var(--checkbox-py) 0;position:relative;overflow:hidden;display:inline-block;min-width:var(--checkbox-size-width);min-height:var(--checkbox-size-height);vertical-align:top;}\", \"span[data-size='medium'].jsx-3880026199{--checkbox-size-width:24px;--checkbox-size-height:24px;--checkbox-py:8px;}\", \"span[data-size='small'].jsx-3880026199{--checkbox-size-width:16px;--checkbox-size-height:16px;--checkbox-py:5px;}\"] }),\n  className: \"jsx-3880026199\"\n};\nconst label = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"1230890958\", children: [\"label.jsx-1230890958{cursor:pointer;position:relative;z-index:1;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:var(--checkbox-padding-left);vertical-align:top;}\", \"label[data-size='medium'].jsx-1230890958{--checkbox-padding-left:32px;}\", \"label[data-size='small'].jsx-1230890958{--checkbox-padding-left:24px;}\", \"label.jsx-1230890958::before{content:'';position:absolute;top:0;left:0;width:var(--checkbox-size-width);height:var(--checkbox-size-height);text-align:center;background:#fff;border:1px solid #d4d4d4;box-sizing:border-box;border-radius:2px;-webkit-transition:background-color 0.2s;transition:background-color 0.2s;}\", \"label.jsx-1230890958::after{content:'';position:absolute;top:var(--checkbox-check-icon-top);left:var(--checkbox-check-icon-left);-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);box-sizing:content-box;width:var(--checkbox-check-icon-width);height:var(--checkbox-check-icon-height);box-sizing:border-box;border:1px solid #a0a0a0;border-width:0 1px 1px 0;}\", \"label[data-size='medium'].jsx-1230890958::after{--checkbox-check-icon-top:3px;--checkbox-check-icon-left:8px;--checkbox-check-icon-width:8px;--checkbox-check-icon-height:13px;}\", \"label[data-size='small'].jsx-1230890958::after{--checkbox-check-icon-top:2px;--checkbox-check-icon-left:6px;--checkbox-check-icon-width:5px;--checkbox-check-icon-height:9px;}\", \"label[data-checked='true'].jsx-1230890958::before{background:#000000;border-color:#000000;}\", \"label[data-checked='true'].jsx-1230890958::after{border-color:#fff;}\"] }),\n  className: \"jsx-1230890958\"\n};\nconst text = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"2091972032\", children: [\"p.jsx-2091972032{font-size:var(--checkbox-font-size);font-weight:400;line-height:var(--checkbox-line-height);color:#000000;}\", \"p[data-size='medium'].jsx-2091972032{--checkbox-font-size:16px;--checkbox-line-height:24px;}\", \"p[data-size='small'].jsx-2091972032{--checkbox-font-size:13px;--checkbox-line-height:16px;}\"] }),\n  className: \"jsx-2091972032\"\n};\nconst input = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"839637289\", children: [\"input.jsx-839637289{position:absolute;z-index:-1;top:2px;left:2px;overflow:hidden;width:1px;height:1px;-webkit-appearance:none;-moz-appearance:none;appearance:none;visibility:hidden;background:transparent;border:0;}\"] }),\n  className: \"jsx-839637289\"\n};\nexport {\n  Checkbox\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst CloseIcon = ({\n  className\n}) => {\n  return /* @__PURE__ */ jsx(\"svg\", { className, style: {\n    width: \"20px\",\n    height: \"20px\"\n  }, xmlns: \"http://www.w3.org/2000/svg\", viewBox: \"0 0 84 82\", children: /* @__PURE__ */ jsx(\"g\", { fill: \"none\", fillRule: \"evenodd\", stroke: \"#000000\", strokeWidth: 4, strokeLinecap: \"square\", children: /* @__PURE__ */ jsx(\"path\", { d: \"M82.655.345L1.156 81.844M82.655 81.655L1.156.156\" }) }) });\n};\nexport {\n  CloseIcon\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport _JSXStyle from \"../../../../node_modules/styled-jsx/style.js\";\nimport { CloseIcon } from \"../../icons/CloseIcon.js\";\nconst PrivacyAgreementDetailDialog = ({\n  onClose\n}) => {\n  return /* @__PURE__ */ jsxs(\"div\", { className: container.className, children: [\n    /* @__PURE__ */ jsx(\"button\", { type: \"button\", className: closeButton.className, onClick: onClose, children: /* @__PURE__ */ jsx(CloseIcon, {}) }),\n    /* @__PURE__ */ jsxs(\"dl\", { children: [\n      /* @__PURE__ */ jsx(\"dt\", { className: title.className, children: \"(선택) 개인정보 수집 및 이용 동의\" }),\n      /* @__PURE__ */ jsx(\"dd\", { children: /* @__PURE__ */ jsx(\"div\", { className: wrapper.className, children: /* @__PURE__ */ jsxs(\"article\", { className: article.className, children: [\n        /* @__PURE__ */ jsx(\"p\", { className: paragraph.className, children: \"(주)무신사(29CM)는 아래의 목적으로 개인정보를 수집 및 이용하며, 회원의 개인정보를 안전하게 처리하는데 최선을 다하고 있습니다. 아래의 내용을 확인 후 동의하여 주시기 바랍니다.\" }),\n        /* @__PURE__ */ jsx(\"h2\", { className: subtitle.className, children: \"1. 수집 및 이용 목적\" }),\n        /* @__PURE__ */ jsxs(\"ul\", { className: list.className, children: [\n          /* @__PURE__ */ jsx(\"li\", { className: highlightedItem.className, children: \"개인 맞춤형 상품·서비스 혜택 정보 제공\" }),\n          /* @__PURE__ */ jsx(\"li\", { className: highlightedItem.className, children: \"이벤트 및 광고성 정보 제공 및 참여 기회 제공\" }),\n          /* @__PURE__ */ jsx(\"li\", { className: item.className, children: \"상품·서비스 이용 실적 정보 통계·분석을 통한 신규 서비스(제품) 개발\" })\n        ] }),\n        /* @__PURE__ */ jsx(\"h2\", { className: subtitle.className, children: \"2. 수집 및 이용 항목\" }),\n        /* @__PURE__ */ jsxs(\"ul\", { className: list.className, children: [\n          /* @__PURE__ */ jsx(\"li\", { className: item.className, children: \"회원 정보(이름, 휴대폰 번호, 이메일, 성별, 생년월일, 회원등급, 가입일시)\" }),\n          /* @__PURE__ */ jsx(\"li\", { className: item.className, children: \"쇼핑 및 서비스 이용 정보(장바구니의 상품, 구매일시, 배송지역)\" })\n        ] }),\n        /* @__PURE__ */ jsx(\"h2\", { className: subtitle.className, children: \"3. 보유 및 이용기간\" }),\n        /* @__PURE__ */ jsxs(\"ul\", { className: list.className, children: [\n          /* @__PURE__ */ jsx(\"li\", { className: highlightedItem.className, children: \"회원 탈퇴 요청 시 또는 동의 철회 시 지체 없이 파기합니다.\" }),\n          /* @__PURE__ */ jsx(\"li\", { className: highlightedItem.className, children: \"단, 관계 법령에 따라 일정 기간 보존해야 하는 경우 해당 기간 보관 후 파기합니다.\" })\n        ] }),\n        /* @__PURE__ */ jsx(\"br\", {}),\n        \"선택적인 개인정보 수집 및 이용에 동의하지 않을 권리가 있습니다. 동의하지 않아도 서비스 이용이 가능합니다. 다만, 동의하지 않을 경우 관련 할인 정보, 이벤트 등의 혜택 정보 제공이 제한됩니다.\"\n      ] }) }) })\n    ] }),\n    container.styles,\n    closeButton.styles,\n    title.styles,\n    wrapper.styles,\n    article.styles,\n    subtitle.styles,\n    paragraph.styles,\n    highlightedItem.styles,\n    item.styles,\n    list.styles\n  ] });\n};\nconst container = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"4193539139\", children: [\"div.jsx-4193539139{width:100%;padding:10px 8px;text-align:left;word-break:break-word;}\"] }),\n  className: \"jsx-4193539139\"\n};\nconst closeButton = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"3873915725\", children: [\"button.jsx-3873915725{position:absolute;top:0;right:0;width:60px;height:60px;outline:none;border:none;background-color:transparent;}\"] }),\n  className: \"jsx-3873915725\"\n};\nconst title = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"3876639978\", children: [\"dt.jsx-3876639978{padding-bottom:11px;font-size:20px;font-weight:bold;border-bottom:4px solid #000;}\"] }),\n  className: \"jsx-3876639978\"\n};\nconst article = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"2551450005\", children: [\"article.jsx-2551450005{padding:5px 0;font-size:13px;line-height:24px;}\"] }),\n  className: \"jsx-2551450005\"\n};\nconst wrapper = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"3570035704\", children: [\"div.jsx-3570035704{position:absolute;inset:110px 0 22px 20px;height:auto;overflow-y:scroll;margin-top:15px;padding-right:30px;}\"] }),\n  className: \"jsx-3570035704\"\n};\nconst subtitle = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"1444760618\", children: [\"h2.jsx-1444760618{margin:20px 0 5px;font-size:16px;}\"] }),\n  className: \"jsx-1444760618\"\n};\nconst list = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"57726673\", children: [\"ul.jsx-57726673{margin:0;padding:0;}\"] }),\n  className: \"jsx-57726673\"\n};\nconst item = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"1482811883\", children: [\"li.jsx-1482811883{margin-left:20px;list-style-type:disc;}\"] }),\n  className: \"jsx-1482811883\"\n};\nconst highlightedItem = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"4100544401\", children: [\"li.jsx-4100544401{margin-left:20px;font-size:15px;font-weight:bold;-webkit-text-decoration:underline;text-decoration:underline;list-style-type:disc;}\"] }),\n  className: \"jsx-4100544401\"\n};\nconst paragraph = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"3509134407\", children: [\"p.jsx-3509134407{padding-bottom:10px;}\"] }),\n  className: \"jsx-3509134407\"\n};\nexport {\n  PrivacyAgreementDetailDialog\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useDialog } from \"../../../../hooks/useDialog.js\";\nimport { PrivacyAgreementDetailDialog } from \"./PrivacyAgreementDetailDialog.js\";\nconst DIALOG_ID = \"privacy-agreement-detail-dialog-id\";\nconst usePrivacyAgreementDetailDialog = () => {\n  const dialog = useDialog();\n  const show = () => {\n    dialog.show({\n      id: DIALOG_ID,\n      responsiveFullSize: true,\n      hideButtons: true,\n      content: /* @__PURE__ */ jsx(PrivacyAgreementDetailDialog, { onClose: hide }),\n      needInAppLayer: false\n    });\n  };\n  const hide = () => {\n    dialog.hide(DIALOG_ID, false);\n  };\n  return {\n    show,\n    hide\n  };\n};\nexport {\n  usePrivacyAgreementDetailDialog\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport _JSXStyle from \"../../../../node_modules/styled-jsx/style.js\";\nimport { useState } from \"react\";\nimport { Button as Default } from \"../../Button/Button.js\";\nimport { Checkbox } from \"../../checkbox/Checkbox.js\";\nimport { usePrivacyAgreementDetailDialog } from \"../../dialogs/PrivacyAgreementDetailDialog/PrivacyAgreementDetailDialog.hooks.js\";\nconst NotificationAgreementsBottomSheet = ({\n  title = \"알림을 받으려면\\n동의가 필요해요\",\n  buttonText = \"동의하고 알림 받기\",\n  privacyAgreement,\n  pushAdvertisingAgreement,\n  onSubmit,\n  onCancel\n}) => {\n  const dialog = usePrivacyAgreementDetailDialog();\n  const [isPrivacyAgreementAgreed, setIsPrivacyAgreementAgreed] = useState(privacyAgreement);\n  const [isPushAdvertisingAgreementAgreed, setIsPushAdvertisingAgreementAgreed] = useState(pushAdvertisingAgreement);\n  const canSubmit = isPrivacyAgreementAgreed && isPushAdvertisingAgreementAgreed;\n  const handleClick = () => dialog.show();\n  return /* @__PURE__ */ jsxs(\"div\", { className: container.className, children: [\n    /* @__PURE__ */ jsxs(\"div\", { className: wrapper.className, children: [\n      /* @__PURE__ */ jsx(\"span\", { className: titleText.className, children: title }),\n      /* @__PURE__ */ jsx(\"span\", { className: hr.className }),\n      privacyAgreement ? null : /* @__PURE__ */ jsxs(\"div\", { className: row.className, children: [\n        /* @__PURE__ */ jsx(Checkbox, { checked: isPrivacyAgreementAgreed, onChange: setIsPrivacyAgreementAgreed, children: \"마케팅 목적의 개인정보 수집 및 이용 동의\" }),\n        /* @__PURE__ */ jsx(\"button\", { className: detailButton.className, onClick: handleClick, children: \"자세히\" })\n      ] }),\n      pushAdvertisingAgreement ? null : /* @__PURE__ */ jsx(\"div\", { className: row.className, children: /* @__PURE__ */ jsx(Checkbox, { checked: isPushAdvertisingAgreementAgreed, onChange: setIsPushAdvertisingAgreementAgreed, children: \"광고성 정보 수신 동의\" }) }),\n      /* @__PURE__ */ jsxs(\"div\", { className: buttons.className, children: [\n        /* @__PURE__ */ jsx(Default, { variant: \"primary\", fill: true, disabled: !canSubmit, onClick: onSubmit, children: buttonText }),\n        /* @__PURE__ */ jsx(\"button\", { className: cancelButton.className, onClick: onCancel, children: \"다음에\" })\n      ] })\n    ] }),\n    titleText.styles,\n    detailButton.styles,\n    cancelButton.styles,\n    buttons.styles,\n    row.styles,\n    hr.styles,\n    container.styles,\n    wrapper.styles\n  ] });\n};\nconst container = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"130359274\", children: [\"div.jsx-130359274{background-color:#fff;}\"] }),\n  className: \"jsx-130359274\"\n};\nconst wrapper = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"2833505254\", children: [\"div.jsx-2833505254{padding:30px 20px 20px;text-align:left;}\"] }),\n  className: \"jsx-2833505254\"\n};\nconst hr = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"2753252006\", children: [\"span.jsx-2753252006{display:block;width:100%;height:1px;margin:24px 0;background-color:#e4e4e4;}\"] }),\n  className: \"jsx-2753252006\"\n};\nconst row = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"2027943628\", children: [\"div.jsx-2027943628{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;}\", \"div.jsx-2027943628+div.jsx-2027943628{margin-top:10px;}\"] }),\n  className: \"jsx-2027943628\"\n};\nconst buttons = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"3286403566\", children: [\"div.jsx-3286403566{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:12px;margin-top:26px;}\"] }),\n  className: \"jsx-3286403566\"\n};\nconst cancelButton = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"642015552\", children: [\"button.jsx-642015552{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;margin:0;padding:0;background:none;outline:none;border:none;font-weight:700;font-size:14px;color:#474747;}\"] }),\n  className: \"jsx-642015552\"\n};\nconst detailButton = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"2879314183\", children: [\"button.jsx-2879314183{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;margin:0;padding:0;background:none;border:none;outline:none;border-bottom:1px solid;border-color:#474747;font-weight:500;font-size:14px;color:#474747;line-height:140%;}\"] }),\n  className: \"jsx-2879314183\"\n};\nconst titleText = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"249968650\", children: [\"span.jsx-249968650{font-weight:700;font-size:24px;line-height:136%;white-space:pre-line;color:#000;}\"] }),\n  className: \"jsx-249968650\"\n};\nexport {\n  NotificationAgreementsBottomSheet\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useBottomSheet } from \"../../../../hooks/useBottomSheet.js\";\nimport { NotificationAgreementsBottomSheet } from \"./NotificationAgreementsBottomSheet.js\";\nconst useNotificationAgreementsBottomSheet = () => {\n  const bottomSheet = useBottomSheet();\n  const show = ({\n    onCancel,\n    ...props\n  }) => {\n    const handleCancel = () => {\n      onCancel();\n      bottomSheet.hide();\n    };\n    bottomSheet.show({\n      content: /* @__PURE__ */ jsx(NotificationAgreementsBottomSheet, { ...props, onCancel: handleCancel }),\n      draggable: false,\n      closeOnOverlayClick: false,\n      detent: \"content-height\"\n    });\n  };\n  return {\n    show,\n    hide: bottomSheet.hide\n  };\n};\nexport {\n  useNotificationAgreementsBottomSheet\n};\n","import { useRef } from \"react\";\nimport { getAppBuildNumber, isIos } from \"../utils/device.js\";\nimport { useReceiveMessage } from \"./useReceiveMessage.js\";\nimport { postMessage } from \"../utils/postMessage.js\";\nconst APP_CRASH_FIX_IOS_BUILD_NUMBER = 719;\nconst REQUEST_TYPE = \"fetchAppNotificationState\";\nconst useAppNotificationState = () => {\n  const callbackFunction = useRef();\n  const isLoading = useRef(false);\n  const isAvailableIosBuildNumber = () => {\n    const buildNumber = getAppBuildNumber();\n    const isAdhocVersion = isIos() && Number.isNaN(buildNumber);\n    if (isAdhocVersion) {\n      return true;\n    }\n    if (!isIos()) {\n      return true;\n    }\n    if (buildNumber < APP_CRASH_FIX_IOS_BUILD_NUMBER) {\n      return false;\n    }\n    return true;\n  };\n  const fetchNotificationState = () => {\n    return new Promise((resolve, reject) => {\n      if (!isAvailableIosBuildNumber()) {\n        reject(\"UNAVAILABLE_IOS_BUILD_NUMBER\");\n      }\n      callbackFunction.current = (...args) => resolve(...args);\n      postMessage(REQUEST_TYPE, {});\n      isLoading.current = true;\n    });\n  };\n  useReceiveMessage(REQUEST_TYPE, (payload) => {\n    if (!isLoading.current || !callbackFunction.current || !payload) {\n      return;\n    }\n    callbackFunction.current(payload.result);\n    callbackFunction.current = void 0;\n    isLoading.current = false;\n  });\n  return {\n    fetchNotificationState\n  };\n};\nexport {\n  useAppNotificationState\n};\n","import { useRef, useMemo } from \"react\";\nimport { useFetchAgreements } from \"./fetchers/useFetchAgreements.js\";\nimport { postMessage } from \"../utils/postMessage.js\";\nimport { useReceiveMessage } from \"./useReceiveMessage.js\";\nimport { useDeviceInfo } from \"./useDeviceInfo.js\";\nconst IOS_REQUEST_TYPE = \"fetchNotificationState\";\nconst ANDROID_REQUEST_TYPE = \"requestMarketingPushNotification\";\nconst useMarketingPushNotification = () => {\n  const callbackFunction = useRef();\n  const {\n    data: response\n  } = useFetchAgreements();\n  const {\n    isIos\n  } = useDeviceInfo();\n  const agreements = response == null ? void 0 : response.data;\n  const privacyAgreementAlreadyAgreed = useMemo(() => {\n    if (!agreements) {\n      return false;\n    }\n    return agreements.privacyAgreement;\n  }, [agreements]);\n  const advertisingAgreementAlreadyAgreed = useMemo(() => {\n    if (!agreements) {\n      return false;\n    }\n    const {\n      privacyAgreement: _,\n      ...advertisingAgreements\n    } = agreements;\n    return Object.values(advertisingAgreements).every((value) => value);\n  }, [agreements]);\n  const requestType = isIos ? IOS_REQUEST_TYPE : ANDROID_REQUEST_TYPE;\n  const requestMarketingPushNotification = ({\n    type,\n    params = {},\n    shouldShowMarketingPushBottomSheet,\n    marketingPushBottomSheetActivateCycle = \"noLimit\",\n    osBottomSheetTitle = \"휴대폰 알림이 꺼져 있어 알림을 받을 수 없어요\",\n    marketingBottomSheetTitle = \"\"\n  }) => {\n    return new Promise((resolve) => {\n      callbackFunction.current = (...args) => resolve(...args);\n      postMessage(requestType, {\n        type,\n        shouldShowMarketingPushBottomSheet,\n        marketingPushBottomSheetActivateCycle,\n        osBottomSheetTitle,\n        marketingBottomSheetTitle,\n        ...params\n      });\n    });\n  };\n  useReceiveMessage(requestType, ({\n    marketingPushAlreadyActivated: _,\n    ...rest\n  }) => {\n    if (!callbackFunction.current) {\n      return;\n    }\n    const payload = {\n      ...rest,\n      privacyAgreementAlreadyAgreed,\n      advertisingAgreementAlreadyAgreed\n    };\n    callbackFunction.current(payload);\n    callbackFunction.current = void 0;\n  });\n  return {\n    requestMarketingPushNotification\n  };\n};\nexport {\n  useMarketingPushNotification\n};\n","import useSWRMutation from \"../../node_modules/swr/mutation/dist/index.js\";\nimport { userApi } from \"../../apis/user/UserApiService.js\";\nconst POST_AGREEMENT_MUTATION_KEY = \"@user/post-agreement\";\nconst usePostAgreementsMutation = (params) => {\n  const {\n    onSuccess,\n    onError\n  } = params ?? {};\n  return useSWRMutation(POST_AGREEMENT_MUTATION_KEY, (_, {\n    arg\n  }) => userApi.postAgreements({\n    endpoint: arg,\n    privacyAgreement: true,\n    advertisingAgreement: true\n  }), {\n    onSuccess,\n    onError\n  });\n};\nexport {\n  POST_AGREEMENT_MUTATION_KEY,\n  usePostAgreementsMutation\n};\n","const parseErrorMessage = (err, fallbackMessage) => {\n  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;\n  const error = err;\n  const errors = error == null ? void 0 : error.errors;\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_a = errors == null ? void 0 : errors.detail) == null ? void 0 : _a[0]) === \"string\") {\n    return errors.detail[0] || fallbackMessage;\n  }\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_c = (_b = errors == null ? void 0 : errors.detail) == null ? void 0 : _b[0]) == null ? void 0 : _c.warning) === \"string\") {\n    return errors.detail[0].warning || fallbackMessage;\n  }\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_f = (_e = (_d = errors == null ? void 0 : errors.detail) == null ? void 0 : _d[0]) == null ? void 0 : _e.warning) == null ? void 0 : _f[0]) === \"string\") {\n    return errors.detail[0].warning[0] || fallbackMessage;\n  }\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_h = (_g = errors == null ? void 0 : errors.detail) == null ? void 0 : _g[0]) == null ? void 0 : _h.message) === \"string\") {\n    return errors.detail[0].message || fallbackMessage;\n  }\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_k = (_j = (_i = errors == null ? void 0 : errors.detail) == null ? void 0 : _i[0]) == null ? void 0 : _j.message) == null ? void 0 : _k[0]) === \"string\") {\n    return errors.detail[0].message[0] || fallbackMessage;\n  }\n  if (isErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_l = errors == null ? void 0 : errors.detail) == null ? void 0 : _l.warning) === \"string\") {\n    return errors.detail.warning || fallbackMessage;\n  }\n  if (isErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_n = (_m = errors == null ? void 0 : errors.detail) == null ? void 0 : _m.warning) == null ? void 0 : _n[0]) === \"string\") {\n    return errors.detail.warning[0] || fallbackMessage;\n  }\n  if (isErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_o = errors == null ? void 0 : errors.detail) == null ? void 0 : _o.message) === \"string\") {\n    return errors.detail.message || fallbackMessage;\n  }\n  if (isErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_q = (_p = errors == null ? void 0 : errors.detail) == null ? void 0 : _p.message) == null ? void 0 : _q[0]) === \"string\") {\n    return errors.detail.message[0] || fallbackMessage;\n  }\n  if (error == null ? void 0 : error.message) {\n    return error.message;\n  }\n  const message = (errors == null ? void 0 : errors.message) ?? fallbackMessage;\n  if (message) {\n    return message;\n  }\n  return \"\";\n};\nconst parseDirectionCode = (err) => {\n  var _a, _b, _c;\n  const error = err;\n  const errors = error == null ? void 0 : error.errors;\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && errors && Array.isArray((_b = (_a = errors == null ? void 0 : errors.detail) == null ? void 0 : _a[0]) == null ? void 0 : _b.direction_code)) {\n    return errors.detail[0].direction_code;\n  }\n  if (isErrorDetail(errors == null ? void 0 : errors.detail) && errors && Array.isArray((_c = errors == null ? void 0 : errors.detail) == null ? void 0 : _c.direction_code)) {\n    return errors.detail.direction_code;\n  }\n  return null;\n};\nconst isArrayErrorDetail = (detail) => {\n  return Array.isArray(detail);\n};\nconst isErrorDetail = (detail) => {\n  return typeof detail === \"object\" && detail !== null && !(\"length\" in detail);\n};\nexport {\n  parseDirectionCode,\n  parseErrorMessage\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { useAppNotificationState } from \"../useAppNotificationState.js\";\nconst NOTIFICATION_PERMISSION_FETCHER_KEY = \"@notification/permission\";\nconst useFetchNotificationPermission = () => {\n  const {\n    fetchNotificationState\n  } = useAppNotificationState();\n  return useSWR([NOTIFICATION_PERMISSION_FETCHER_KEY], () => fetchNotificationState());\n};\nexport {\n  NOTIFICATION_PERMISSION_FETCHER_KEY,\n  useFetchNotificationPermission\n};\n","import { useNotificationAgreementsBottomSheet } from \"../components/@shared/bottom-sheets/NotificationAgreementsBottomSheet/NotificationAgreementsBottomSheet.hooks.js\";\nimport { useFetchAgreements } from \"./fetchers/useFetchAgreements.js\";\nimport { useAppNotificationState } from \"./useAppNotificationState.js\";\nimport { useMarketingPushNotification } from \"./useMarketingPushNotification.js\";\nimport { usePostAgreementsMutation } from \"./mutations/usePostAgreementsMutation.js\";\nimport { parseErrorMessage } from \"../utils/error/error.js\";\nimport { useNotificationAgreementsToast } from \"../components/@shared/toasts/NotificationAgreementsToast/NotificationAgreementsToast.hooks.js\";\nimport { useFetchNotificationPermission } from \"./fetchers/useFetchNotfiicationPermission.js\";\nconst useNotificationRequirements = () => {\n  const requestAgreements = useNotificationAgreements();\n  const requestPermission = useNotificationPermission();\n  const requestRequirements = async (options) => {\n    try {\n      await requestAgreements(options);\n      await requestPermission(options);\n    } catch (error) {\n      notificationRequirementsErrorHandler(error);\n    }\n  };\n  return requestRequirements;\n};\nconst notificationRequirementsErrorHandler = (error) => {\n  switch (parseErrorMessage(error)) {\n    case \"AGREEMENTS_CANCELED\":\n      return;\n    case \"NO_AGREEMENTS_DATA\":\n      return;\n    case \"UNAVAILABLE_IOS_BUILD_NUMBER\":\n      return;\n  }\n};\nconst useNotificationAgreements = () => {\n  const {\n    data: response,\n    mutate\n  } = useFetchAgreements();\n  const {\n    trigger\n  } = usePostAgreementsMutation();\n  const {\n    show,\n    hide\n  } = useNotificationAgreementsBottomSheet();\n  const agreements = response == null ? void 0 : response.data;\n  const {\n    privacyAgreement = false,\n    pushAdvertisingAgreement = false\n  } = agreements ?? {};\n  const postAgreements = (options) => {\n    const {\n      apiEndpoint,\n      onNotificationAgreementsError\n    } = options;\n    return trigger(apiEndpoint, {\n      onSuccess: () => {\n        hide();\n        mutate();\n      },\n      onError: () => {\n        hide();\n        onNotificationAgreementsError == null ? void 0 : onNotificationAgreementsError();\n      }\n    });\n  };\n  const requestAgreements = (options) => {\n    const {\n      onNotificationAgreementsSubmit,\n      onNotificationAgreementsCancel,\n      ...rest\n    } = options;\n    return new Promise((resolve, reject) => {\n      if (!agreements) {\n        reject(\n          \"NO_AGREEMENTS_DATA\"\n          /* NO_AGREEMENTS_DATA */\n        );\n        return;\n      }\n      if (privacyAgreement && pushAdvertisingAgreement) {\n        resolve(void 0);\n        return;\n      }\n      show({\n        ...rest,\n        privacyAgreement,\n        pushAdvertisingAgreement,\n        // eslint-disable-next-line @typescript-eslint/no-misused-promises\n        onSubmit: async () => {\n          await postAgreements(options);\n          resolve(void 0);\n          onNotificationAgreementsSubmit == null ? void 0 : onNotificationAgreementsSubmit(privacyAgreement, pushAdvertisingAgreement);\n        },\n        onCancel: () => {\n          reject(\n            \"AGREEMENTS_CANCELED\"\n            /* AGREEMENTS_CANCELED */\n          );\n          onNotificationAgreementsCancel == null ? void 0 : onNotificationAgreementsCancel(privacyAgreement, pushAdvertisingAgreement);\n        }\n      });\n    });\n  };\n  return requestAgreements;\n};\nconst useNotificationPermission = () => {\n  const {\n    fetchNotificationState\n  } = useAppNotificationState();\n  const {\n    mutate\n  } = useFetchNotificationPermission();\n  const {\n    requestMarketingPushNotification\n  } = useMarketingPushNotification();\n  const toast = useNotificationAgreementsToast();\n  const hasNotificationPermission = async () => await fetchNotificationState() === \"on\";\n  const requestPermission = async (options) => {\n    const {\n      osBottomSheetType = \"null\",\n      showToastOnSuccess = true,\n      toastTitle,\n      onNotificationEnabled,\n      onNotificationDisabled\n    } = options;\n    try {\n      if (await hasNotificationPermission()) {\n        if (showToastOnSuccess) {\n          toast.show(toastTitle);\n        }\n        onNotificationEnabled == null ? void 0 : onNotificationEnabled();\n        return;\n      }\n      await requestMarketingPushNotification({\n        type: osBottomSheetType\n      });\n      if (await hasNotificationPermission()) {\n        if (showToastOnSuccess) {\n          toast.show(toastTitle);\n        }\n        mutate();\n        onNotificationEnabled == null ? void 0 : onNotificationEnabled();\n      } else {\n        onNotificationDisabled == null ? void 0 : onNotificationDisabled();\n      }\n    } catch (error) {\n      throw new Error(\n        \"UNAVAILABLE_IOS_BUILD_NUMBER\"\n        /* UNAVAILABLE_IOS_BUILD_NUMBER */\n      );\n    }\n  };\n  return requestPermission;\n};\nexport {\n  useNotificationRequirements\n};\n","import { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { APIService } from \"../APIService.js\";\nimport { env } from \"../../config/index.js\";\nclass SubscriptionApiService extends APIService {\n  constructor() {\n    super();\n    this.setBaseUrl(env.api.content);\n    this.setMiddleware(throwFailError);\n  }\n  async getSubscriptionsByGroupKey(groupKey) {\n    var _a;\n    const response = await this.get(`/api/v4/framers/proxy/activation-api/api/v4/event-notification/events/${groupKey}/subscriptions`, void 0, {\n      credentials: \"include\"\n    });\n    return ((_a = response.data) == null ? void 0 : _a.eventKeys) ?? [];\n  }\n  async getSubscription(eventKey) {\n    const response = await this.get(`/api/v4/framers/proxy/activation-api/api/v4/event-notification/events/${eventKey}/subscription`, void 0, {\n      credentials: \"include\"\n    });\n    const isSubscribed = response.data ?? false;\n    return isSubscribed ? [eventKey] : [];\n  }\n  async subscribe(eventKeys) {\n    await this.post(\"/api/v4/framers/proxy/activation-api/api/v4/event-notification/events/subscription:on\", {\n      eventKeys\n    }, {\n      credentials: \"include\"\n    });\n    return eventKeys;\n  }\n  async unsubscribe(eventKey) {\n    await this.post(`/api/v4/framers/proxy/activation-api/v4/event-notification/events/${eventKey}/subscription:off`, void 0, {\n      credentials: \"include\"\n    });\n    return eventKey;\n  }\n}\nconst subscriptionApi = new SubscriptionApiService();\nexport {\n  subscriptionApi\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { subscriptionApi } from \"../../apis/subscription/SubscriptionApiService.js\";\nimport { useCurrentUser } from \"../useCurrentUser.js\";\nconst SUBSCRIPTIONS_FETCHER_KEY = \"@subscription/list\";\nconst useFetchSubscriptions = (eventKey, groupKey, enabled = true) => {\n  const {\n    logged\n  } = useCurrentUser();\n  const canFetch = groupKey !== \"\" && logged && enabled;\n  const {\n    data,\n    isLoading,\n    ...rest\n  } = useSWR(canFetch ? [SUBSCRIPTIONS_FETCHER_KEY, groupKey ? groupKey : eventKey] : null, () => groupKey ? subscriptionApi.getSubscriptionsByGroupKey(groupKey) : subscriptionApi.getSubscription(eventKey));\n  return {\n    isLoading: isLoading || !canFetch,\n    subscriptions: data ?? [],\n    ...rest\n  };\n};\nexport {\n  SUBSCRIPTIONS_FETCHER_KEY,\n  useFetchSubscriptions\n};\n","import { subscriptionApi } from \"../apis/subscription/SubscriptionApiService.js\";\nimport { useFetchSubscriptions } from \"./fetchers/useFetchSubscriptions.js\";\nimport { shallowUnique } from \"../utils/unique.js\";\nconst useRequestSubscription = (eventKey, groupKey, enabled = true) => {\n  const {\n    subscriptions,\n    mutate\n  } = useFetchSubscriptions(eventKey, groupKey, enabled);\n  const filterSubscription = (incoming) => subscriptions.filter((subscription) => subscription !== incoming);\n  const subscribeMutator = async (incoming) => {\n    const result = await subscriptionApi.subscribe(incoming);\n    return shallowUnique([...subscriptions, ...result]);\n  };\n  const unsubscribeMutator = async (incoming) => {\n    const result = await subscriptionApi.unsubscribe(incoming);\n    return filterSubscription(result);\n  };\n  const requestSubscribe = (incoming) => mutate(subscribeMutator(incoming), {\n    optimisticData: shallowUnique([...subscriptions, ...incoming]),\n    rollbackOnError: true,\n    populateCache: true,\n    revalidate: false\n  });\n  const requestUnsubscribe = (incoming) => mutate(unsubscribeMutator(incoming), {\n    optimisticData: filterSubscription(incoming),\n    rollbackOnError: true,\n    populateCache: true,\n    revalidate: false\n  });\n  return {\n    subscriptions,\n    requestSubscribe,\n    requestUnsubscribe\n  };\n};\nexport {\n  useRequestSubscription\n};\n","import { useDialog } from \"./useDialog.js\";\nimport { isIos, isAndroid } from \"../utils/device.js\";\nconst UPDATE_APP_DIALOG_ID = \"update-app-dialog\";\nconst APP_STORE_LINK = \"https://apps.apple.com/kr/app/29cm/id789634744\";\nconst GOOGLE_PLAY_STORE_LINK = \"https://play.google.com/store/apps/details?id=com.the29cm.app29cm\";\nconst useShowUpdateAppDialog = () => {\n  const dialog = useDialog();\n  const showUpdateAppDialog = (content, options = {}) => {\n    dialog.show({\n      id: UPDATE_APP_DIALOG_ID,\n      title: \"앱 업데이트 안내\",\n      content: content ?? \"해당 기능을 사용하기 위해서는 최신 버전으로 앱 업데이트가 필요해요.\",\n      primaryButtonText: \"업데이트\",\n      onPrimaryButtonClick: () => {\n        dialog.hide(UPDATE_APP_DIALOG_ID);\n        if (isIos()) {\n          document.location.href = `app29cm://outlink/${APP_STORE_LINK}`;\n          return;\n        }\n        if (isAndroid()) {\n          document.location.href = GOOGLE_PLAY_STORE_LINK;\n          return;\n        }\n      },\n      secondaryButtonText: options.secondaryButtonText ?? \"취소\",\n      onSecondaryButtonClick: () => {\n        var _a;\n        (_a = options.onSecondaryButtonClick) == null ? void 0 : _a.call(options);\n        dialog.hide(UPDATE_APP_DIALOG_ID);\n      },\n      needInAppLayer: false\n    });\n  };\n  return {\n    showUpdateAppDialog\n  };\n};\nexport {\n  useShowUpdateAppDialog\n};\n","import { useRef } from \"react\";\nimport { useTargetAppVersion } from \"./useTargetAppVersion.js\";\nimport { postMessage } from \"../utils/postMessage.js\";\nimport { useReceiveMessage } from \"./useReceiveMessage.js\";\nimport { useShowUpdateAppDialog } from \"./useShowUpdateAppDialog.js\";\nconst REQUEST_TYPE = \"requestUserAgreementBottomSheet\";\nconst useRequestUserAgreementBottomSheet = () => {\n  const confirmHandlerRef = useRef();\n  const cancelHandlerRef = useRef();\n  const {\n    isTargetAppVersion\n  } = useTargetAppVersion({\n    minIosVersion: 1072,\n    minAndroidVersion: 722\n  });\n  const {\n    showUpdateAppDialog\n  } = useShowUpdateAppDialog();\n  const requestUserAgreementBottomSheet = ({\n    type,\n    title = \"알림을 받으려면\\n동의가 필요해요\",\n    confirmButtonText = \"동의하고 알림받기\",\n    cancelButtonText = \"다음에 하기\",\n    snackBarTitle,\n    onConfirm,\n    onCancel\n  }) => {\n    if (!isTargetAppVersion) {\n      showUpdateAppDialog();\n      return;\n    }\n    postMessage(REQUEST_TYPE, {\n      type,\n      title,\n      confirmButtonText,\n      cancelButtonText,\n      snackBarTitle,\n      currentScreen: \"content\"\n      // NOTE: 콘텐츠(프레이머 등) 관련 화면인 경우 currentScreen이 'content'로 고정됨\n    });\n    confirmHandlerRef.current = onConfirm;\n    cancelHandlerRef.current = onCancel;\n  };\n  useReceiveMessage(REQUEST_TYPE, (payload) => {\n    const {\n      isPrivacyAndAdvertisingAgreed,\n      isPushNotificationGranted\n    } = payload;\n    const isUserAgree = isPrivacyAndAdvertisingAgreed && isPushNotificationGranted;\n    if (confirmHandlerRef.current && isUserAgree) {\n      confirmHandlerRef.current(payload);\n    } else if (cancelHandlerRef.current && (!isPrivacyAndAdvertisingAgreed || !isPushNotificationGranted)) {\n      cancelHandlerRef.current(payload);\n    }\n    confirmHandlerRef.current = void 0;\n    cancelHandlerRef.current = void 0;\n  });\n  return {\n    requestUserAgreementBottomSheet,\n    isTargetAppVersion\n  };\n};\nexport {\n  useRequestUserAgreementBottomSheet\n};\n","import { useCreateAppSchemeLink } from \"./useCreateAppSchemeLink.js\";\nconst useCreateOneLink = (href, webviewNavOptions) => {\n  const {\n    createAppSchemeLink\n  } = useCreateAppSchemeLink();\n  const webLink = encodeURIComponent(href);\n  const appLink = createAppSchemeLink(href, webviewNavOptions);\n  const oneLink = `https://29cm.onelink.me/1080201211?af_dp=${appLink}&deep_link_value=${appLink}&af_web_dp=${webLink}&af_force_deeplink=true`;\n  return {\n    oneLink\n  };\n};\nexport {\n  useCreateOneLink\n};\n","import { isServer } from \"./context.js\";\nconst getCleanUrl = () => {\n  const urlObj = new URL(document.location.href);\n  urlObj.search = \"\";\n  return urlObj.toString();\n};\nconst getCurrentHref = ({\n  removeQueryParams\n} = {}) => {\n  if (isServer()) {\n    return \"\";\n  }\n  if (removeQueryParams) {\n    return getCleanUrl();\n  }\n  return document.location.href;\n};\nexport {\n  getCurrentHref\n};\n","import React__default from \"react\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n  for (var prop in b || (b = {}))\n    if (__hasOwnProp.call(b, prop))\n      __defNormalProp(a, prop, b[prop]);\n  if (__getOwnPropSymbols)\n    for (var prop of __getOwnPropSymbols(b)) {\n      if (__propIsEnum.call(b, prop))\n        __defNormalProp(a, prop, b[prop]);\n    }\n  return a;\n};\nvar __objRest = (source, exclude) => {\n  var target = {};\n  for (var prop in source)\n    if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n      target[prop] = source[prop];\n  if (source != null && __getOwnPropSymbols)\n    for (var prop of __getOwnPropSymbols(source)) {\n      if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n        target[prop] = source[prop];\n    }\n  return target;\n};\n/**\n * @license QR Code generator library (TypeScript)\n * Copyright (c) Project Nayuki.\n * SPDX-License-Identifier: MIT\n */\nvar qrcodegen;\n((qrcodegen2) => {\n  const _QrCode = class {\n    constructor(version, errorCorrectionLevel, dataCodewords, msk) {\n      this.version = version;\n      this.errorCorrectionLevel = errorCorrectionLevel;\n      this.modules = [];\n      this.isFunction = [];\n      if (version < _QrCode.MIN_VERSION || version > _QrCode.MAX_VERSION)\n        throw new RangeError(\"Version value out of range\");\n      if (msk < -1 || msk > 7)\n        throw new RangeError(\"Mask value out of range\");\n      this.size = version * 4 + 17;\n      let row = [];\n      for (let i = 0; i < this.size; i++)\n        row.push(false);\n      for (let i = 0; i < this.size; i++) {\n        this.modules.push(row.slice());\n        this.isFunction.push(row.slice());\n      }\n      this.drawFunctionPatterns();\n      const allCodewords = this.addEccAndInterleave(dataCodewords);\n      this.drawCodewords(allCodewords);\n      if (msk == -1) {\n        let minPenalty = 1e9;\n        for (let i = 0; i < 8; i++) {\n          this.applyMask(i);\n          this.drawFormatBits(i);\n          const penalty = this.getPenaltyScore();\n          if (penalty < minPenalty) {\n            msk = i;\n            minPenalty = penalty;\n          }\n          this.applyMask(i);\n        }\n      }\n      assert(0 <= msk && msk <= 7);\n      this.mask = msk;\n      this.applyMask(msk);\n      this.drawFormatBits(msk);\n      this.isFunction = [];\n    }\n    static encodeText(text, ecl) {\n      const segs = qrcodegen2.QrSegment.makeSegments(text);\n      return _QrCode.encodeSegments(segs, ecl);\n    }\n    static encodeBinary(data, ecl) {\n      const seg = qrcodegen2.QrSegment.makeBytes(data);\n      return _QrCode.encodeSegments([seg], ecl);\n    }\n    static encodeSegments(segs, ecl, minVersion = 1, maxVersion = 40, mask = -1, boostEcl = true) {\n      if (!(_QrCode.MIN_VERSION <= minVersion && minVersion <= maxVersion && maxVersion <= _QrCode.MAX_VERSION) || mask < -1 || mask > 7)\n        throw new RangeError(\"Invalid value\");\n      let version;\n      let dataUsedBits;\n      for (version = minVersion; ; version++) {\n        const dataCapacityBits2 = _QrCode.getNumDataCodewords(version, ecl) * 8;\n        const usedBits = QrSegment.getTotalBits(segs, version);\n        if (usedBits <= dataCapacityBits2) {\n          dataUsedBits = usedBits;\n          break;\n        }\n        if (version >= maxVersion)\n          throw new RangeError(\"Data too long\");\n      }\n      for (const newEcl of [_QrCode.Ecc.MEDIUM, _QrCode.Ecc.QUARTILE, _QrCode.Ecc.HIGH]) {\n        if (boostEcl && dataUsedBits <= _QrCode.getNumDataCodewords(version, newEcl) * 8)\n          ecl = newEcl;\n      }\n      let bb = [];\n      for (const seg of segs) {\n        appendBits(seg.mode.modeBits, 4, bb);\n        appendBits(seg.numChars, seg.mode.numCharCountBits(version), bb);\n        for (const b of seg.getData())\n          bb.push(b);\n      }\n      assert(bb.length == dataUsedBits);\n      const dataCapacityBits = _QrCode.getNumDataCodewords(version, ecl) * 8;\n      assert(bb.length <= dataCapacityBits);\n      appendBits(0, Math.min(4, dataCapacityBits - bb.length), bb);\n      appendBits(0, (8 - bb.length % 8) % 8, bb);\n      assert(bb.length % 8 == 0);\n      for (let padByte = 236; bb.length < dataCapacityBits; padByte ^= 236 ^ 17)\n        appendBits(padByte, 8, bb);\n      let dataCodewords = [];\n      while (dataCodewords.length * 8 < bb.length)\n        dataCodewords.push(0);\n      bb.forEach((b, i) => dataCodewords[i >>> 3] |= b << 7 - (i & 7));\n      return new _QrCode(version, ecl, dataCodewords, mask);\n    }\n    getModule(x, y) {\n      return 0 <= x && x < this.size && 0 <= y && y < this.size && this.modules[y][x];\n    }\n    getModules() {\n      return this.modules;\n    }\n    drawFunctionPatterns() {\n      for (let i = 0; i < this.size; i++) {\n        this.setFunctionModule(6, i, i % 2 == 0);\n        this.setFunctionModule(i, 6, i % 2 == 0);\n      }\n      this.drawFinderPattern(3, 3);\n      this.drawFinderPattern(this.size - 4, 3);\n      this.drawFinderPattern(3, this.size - 4);\n      const alignPatPos = this.getAlignmentPatternPositions();\n      const numAlign = alignPatPos.length;\n      for (let i = 0; i < numAlign; i++) {\n        for (let j = 0; j < numAlign; j++) {\n          if (!(i == 0 && j == 0 || i == 0 && j == numAlign - 1 || i == numAlign - 1 && j == 0))\n            this.drawAlignmentPattern(alignPatPos[i], alignPatPos[j]);\n        }\n      }\n      this.drawFormatBits(0);\n      this.drawVersion();\n    }\n    drawFormatBits(mask) {\n      const data = this.errorCorrectionLevel.formatBits << 3 | mask;\n      let rem = data;\n      for (let i = 0; i < 10; i++)\n        rem = rem << 1 ^ (rem >>> 9) * 1335;\n      const bits = (data << 10 | rem) ^ 21522;\n      assert(bits >>> 15 == 0);\n      for (let i = 0; i <= 5; i++)\n        this.setFunctionModule(8, i, getBit(bits, i));\n      this.setFunctionModule(8, 7, getBit(bits, 6));\n      this.setFunctionModule(8, 8, getBit(bits, 7));\n      this.setFunctionModule(7, 8, getBit(bits, 8));\n      for (let i = 9; i < 15; i++)\n        this.setFunctionModule(14 - i, 8, getBit(bits, i));\n      for (let i = 0; i < 8; i++)\n        this.setFunctionModule(this.size - 1 - i, 8, getBit(bits, i));\n      for (let i = 8; i < 15; i++)\n        this.setFunctionModule(8, this.size - 15 + i, getBit(bits, i));\n      this.setFunctionModule(8, this.size - 8, true);\n    }\n    drawVersion() {\n      if (this.version < 7)\n        return;\n      let rem = this.version;\n      for (let i = 0; i < 12; i++)\n        rem = rem << 1 ^ (rem >>> 11) * 7973;\n      const bits = this.version << 12 | rem;\n      assert(bits >>> 18 == 0);\n      for (let i = 0; i < 18; i++) {\n        const color = getBit(bits, i);\n        const a = this.size - 11 + i % 3;\n        const b = Math.floor(i / 3);\n        this.setFunctionModule(a, b, color);\n        this.setFunctionModule(b, a, color);\n      }\n    }\n    drawFinderPattern(x, y) {\n      for (let dy = -4; dy <= 4; dy++) {\n        for (let dx = -4; dx <= 4; dx++) {\n          const dist = Math.max(Math.abs(dx), Math.abs(dy));\n          const xx = x + dx;\n          const yy = y + dy;\n          if (0 <= xx && xx < this.size && 0 <= yy && yy < this.size)\n            this.setFunctionModule(xx, yy, dist != 2 && dist != 4);\n        }\n      }\n    }\n    drawAlignmentPattern(x, y) {\n      for (let dy = -2; dy <= 2; dy++) {\n        for (let dx = -2; dx <= 2; dx++)\n          this.setFunctionModule(x + dx, y + dy, Math.max(Math.abs(dx), Math.abs(dy)) != 1);\n      }\n    }\n    setFunctionModule(x, y, isDark) {\n      this.modules[y][x] = isDark;\n      this.isFunction[y][x] = true;\n    }\n    addEccAndInterleave(data) {\n      const ver = this.version;\n      const ecl = this.errorCorrectionLevel;\n      if (data.length != _QrCode.getNumDataCodewords(ver, ecl))\n        throw new RangeError(\"Invalid argument\");\n      const numBlocks = _QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver];\n      const blockEccLen = _QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver];\n      const rawCodewords = Math.floor(_QrCode.getNumRawDataModules(ver) / 8);\n      const numShortBlocks = numBlocks - rawCodewords % numBlocks;\n      const shortBlockLen = Math.floor(rawCodewords / numBlocks);\n      let blocks = [];\n      const rsDiv = _QrCode.reedSolomonComputeDivisor(blockEccLen);\n      for (let i = 0, k = 0; i < numBlocks; i++) {\n        let dat = data.slice(k, k + shortBlockLen - blockEccLen + (i < numShortBlocks ? 0 : 1));\n        k += dat.length;\n        const ecc = _QrCode.reedSolomonComputeRemainder(dat, rsDiv);\n        if (i < numShortBlocks)\n          dat.push(0);\n        blocks.push(dat.concat(ecc));\n      }\n      let result = [];\n      for (let i = 0; i < blocks[0].length; i++) {\n        blocks.forEach((block, j) => {\n          if (i != shortBlockLen - blockEccLen || j >= numShortBlocks)\n            result.push(block[i]);\n        });\n      }\n      assert(result.length == rawCodewords);\n      return result;\n    }\n    drawCodewords(data) {\n      if (data.length != Math.floor(_QrCode.getNumRawDataModules(this.version) / 8))\n        throw new RangeError(\"Invalid argument\");\n      let i = 0;\n      for (let right = this.size - 1; right >= 1; right -= 2) {\n        if (right == 6)\n          right = 5;\n        for (let vert = 0; vert < this.size; vert++) {\n          for (let j = 0; j < 2; j++) {\n            const x = right - j;\n            const upward = (right + 1 & 2) == 0;\n            const y = upward ? this.size - 1 - vert : vert;\n            if (!this.isFunction[y][x] && i < data.length * 8) {\n              this.modules[y][x] = getBit(data[i >>> 3], 7 - (i & 7));\n              i++;\n            }\n          }\n        }\n      }\n      assert(i == data.length * 8);\n    }\n    applyMask(mask) {\n      if (mask < 0 || mask > 7)\n        throw new RangeError(\"Mask value out of range\");\n      for (let y = 0; y < this.size; y++) {\n        for (let x = 0; x < this.size; x++) {\n          let invert;\n          switch (mask) {\n            case 0:\n              invert = (x + y) % 2 == 0;\n              break;\n            case 1:\n              invert = y % 2 == 0;\n              break;\n            case 2:\n              invert = x % 3 == 0;\n              break;\n            case 3:\n              invert = (x + y) % 3 == 0;\n              break;\n            case 4:\n              invert = (Math.floor(x / 3) + Math.floor(y / 2)) % 2 == 0;\n              break;\n            case 5:\n              invert = x * y % 2 + x * y % 3 == 0;\n              break;\n            case 6:\n              invert = (x * y % 2 + x * y % 3) % 2 == 0;\n              break;\n            case 7:\n              invert = ((x + y) % 2 + x * y % 3) % 2 == 0;\n              break;\n            default:\n              throw new Error(\"Unreachable\");\n          }\n          if (!this.isFunction[y][x] && invert)\n            this.modules[y][x] = !this.modules[y][x];\n        }\n      }\n    }\n    getPenaltyScore() {\n      let result = 0;\n      for (let y = 0; y < this.size; y++) {\n        let runColor = false;\n        let runX = 0;\n        let runHistory = [0, 0, 0, 0, 0, 0, 0];\n        for (let x = 0; x < this.size; x++) {\n          if (this.modules[y][x] == runColor) {\n            runX++;\n            if (runX == 5)\n              result += _QrCode.PENALTY_N1;\n            else if (runX > 5)\n              result++;\n          } else {\n            this.finderPenaltyAddHistory(runX, runHistory);\n            if (!runColor)\n              result += this.finderPenaltyCountPatterns(runHistory) * _QrCode.PENALTY_N3;\n            runColor = this.modules[y][x];\n            runX = 1;\n          }\n        }\n        result += this.finderPenaltyTerminateAndCount(runColor, runX, runHistory) * _QrCode.PENALTY_N3;\n      }\n      for (let x = 0; x < this.size; x++) {\n        let runColor = false;\n        let runY = 0;\n        let runHistory = [0, 0, 0, 0, 0, 0, 0];\n        for (let y = 0; y < this.size; y++) {\n          if (this.modules[y][x] == runColor) {\n            runY++;\n            if (runY == 5)\n              result += _QrCode.PENALTY_N1;\n            else if (runY > 5)\n              result++;\n          } else {\n            this.finderPenaltyAddHistory(runY, runHistory);\n            if (!runColor)\n              result += this.finderPenaltyCountPatterns(runHistory) * _QrCode.PENALTY_N3;\n            runColor = this.modules[y][x];\n            runY = 1;\n          }\n        }\n        result += this.finderPenaltyTerminateAndCount(runColor, runY, runHistory) * _QrCode.PENALTY_N3;\n      }\n      for (let y = 0; y < this.size - 1; y++) {\n        for (let x = 0; x < this.size - 1; x++) {\n          const color = this.modules[y][x];\n          if (color == this.modules[y][x + 1] && color == this.modules[y + 1][x] && color == this.modules[y + 1][x + 1])\n            result += _QrCode.PENALTY_N2;\n        }\n      }\n      let dark = 0;\n      for (const row of this.modules)\n        dark = row.reduce((sum, color) => sum + (color ? 1 : 0), dark);\n      const total = this.size * this.size;\n      const k = Math.ceil(Math.abs(dark * 20 - total * 10) / total) - 1;\n      assert(0 <= k && k <= 9);\n      result += k * _QrCode.PENALTY_N4;\n      assert(0 <= result && result <= 2568888);\n      return result;\n    }\n    getAlignmentPatternPositions() {\n      if (this.version == 1)\n        return [];\n      else {\n        const numAlign = Math.floor(this.version / 7) + 2;\n        const step = this.version == 32 ? 26 : Math.ceil((this.version * 4 + 4) / (numAlign * 2 - 2)) * 2;\n        let result = [6];\n        for (let pos = this.size - 7; result.length < numAlign; pos -= step)\n          result.splice(1, 0, pos);\n        return result;\n      }\n    }\n    static getNumRawDataModules(ver) {\n      if (ver < _QrCode.MIN_VERSION || ver > _QrCode.MAX_VERSION)\n        throw new RangeError(\"Version number out of range\");\n      let result = (16 * ver + 128) * ver + 64;\n      if (ver >= 2) {\n        const numAlign = Math.floor(ver / 7) + 2;\n        result -= (25 * numAlign - 10) * numAlign - 55;\n        if (ver >= 7)\n          result -= 36;\n      }\n      assert(208 <= result && result <= 29648);\n      return result;\n    }\n    static getNumDataCodewords(ver, ecl) {\n      return Math.floor(_QrCode.getNumRawDataModules(ver) / 8) - _QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver] * _QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver];\n    }\n    static reedSolomonComputeDivisor(degree) {\n      if (degree < 1 || degree > 255)\n        throw new RangeError(\"Degree out of range\");\n      let result = [];\n      for (let i = 0; i < degree - 1; i++)\n        result.push(0);\n      result.push(1);\n      let root = 1;\n      for (let i = 0; i < degree; i++) {\n        for (let j = 0; j < result.length; j++) {\n          result[j] = _QrCode.reedSolomonMultiply(result[j], root);\n          if (j + 1 < result.length)\n            result[j] ^= result[j + 1];\n        }\n        root = _QrCode.reedSolomonMultiply(root, 2);\n      }\n      return result;\n    }\n    static reedSolomonComputeRemainder(data, divisor) {\n      let result = divisor.map((_) => 0);\n      for (const b of data) {\n        const factor = b ^ result.shift();\n        result.push(0);\n        divisor.forEach((coef, i) => result[i] ^= _QrCode.reedSolomonMultiply(coef, factor));\n      }\n      return result;\n    }\n    static reedSolomonMultiply(x, y) {\n      if (x >>> 8 != 0 || y >>> 8 != 0)\n        throw new RangeError(\"Byte out of range\");\n      let z = 0;\n      for (let i = 7; i >= 0; i--) {\n        z = z << 1 ^ (z >>> 7) * 285;\n        z ^= (y >>> i & 1) * x;\n      }\n      assert(z >>> 8 == 0);\n      return z;\n    }\n    finderPenaltyCountPatterns(runHistory) {\n      const n = runHistory[1];\n      assert(n <= this.size * 3);\n      const core = n > 0 && runHistory[2] == n && runHistory[3] == n * 3 && runHistory[4] == n && runHistory[5] == n;\n      return (core && runHistory[0] >= n * 4 && runHistory[6] >= n ? 1 : 0) + (core && runHistory[6] >= n * 4 && runHistory[0] >= n ? 1 : 0);\n    }\n    finderPenaltyTerminateAndCount(currentRunColor, currentRunLength, runHistory) {\n      if (currentRunColor) {\n        this.finderPenaltyAddHistory(currentRunLength, runHistory);\n        currentRunLength = 0;\n      }\n      currentRunLength += this.size;\n      this.finderPenaltyAddHistory(currentRunLength, runHistory);\n      return this.finderPenaltyCountPatterns(runHistory);\n    }\n    finderPenaltyAddHistory(currentRunLength, runHistory) {\n      if (runHistory[0] == 0)\n        currentRunLength += this.size;\n      runHistory.pop();\n      runHistory.unshift(currentRunLength);\n    }\n  };\n  let QrCode = _QrCode;\n  QrCode.MIN_VERSION = 1;\n  QrCode.MAX_VERSION = 40;\n  QrCode.PENALTY_N1 = 3;\n  QrCode.PENALTY_N2 = 3;\n  QrCode.PENALTY_N3 = 40;\n  QrCode.PENALTY_N4 = 10;\n  QrCode.ECC_CODEWORDS_PER_BLOCK = [\n    [-1, 7, 10, 15, 20, 26, 18, 20, 24, 30, 18, 20, 24, 26, 30, 22, 24, 28, 30, 28, 28, 28, 28, 30, 30, 26, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],\n    [-1, 10, 16, 26, 18, 24, 16, 18, 22, 22, 26, 30, 22, 22, 24, 24, 28, 28, 26, 26, 26, 26, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28],\n    [-1, 13, 22, 18, 26, 18, 24, 18, 22, 20, 24, 28, 26, 24, 20, 30, 24, 28, 28, 26, 30, 28, 30, 30, 30, 30, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],\n    [-1, 17, 28, 22, 16, 22, 28, 26, 26, 24, 28, 24, 28, 22, 24, 24, 30, 28, 28, 26, 28, 30, 24, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30]\n  ];\n  QrCode.NUM_ERROR_CORRECTION_BLOCKS = [\n    [-1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 4, 4, 4, 6, 6, 6, 6, 7, 8, 8, 9, 9, 10, 12, 12, 12, 13, 14, 15, 16, 17, 18, 19, 19, 20, 21, 22, 24, 25],\n    [-1, 1, 1, 1, 2, 2, 4, 4, 4, 5, 5, 5, 8, 9, 9, 10, 10, 11, 13, 14, 16, 17, 17, 18, 20, 21, 23, 25, 26, 28, 29, 31, 33, 35, 37, 38, 40, 43, 45, 47, 49],\n    [-1, 1, 1, 2, 2, 4, 4, 6, 6, 8, 8, 8, 10, 12, 16, 12, 17, 16, 18, 21, 20, 23, 23, 25, 27, 29, 34, 34, 35, 38, 40, 43, 45, 48, 51, 53, 56, 59, 62, 65, 68],\n    [-1, 1, 1, 2, 4, 4, 4, 5, 6, 8, 8, 11, 11, 16, 16, 18, 16, 19, 21, 25, 25, 25, 34, 30, 32, 35, 37, 40, 42, 45, 48, 51, 54, 57, 60, 63, 66, 70, 74, 77, 81]\n  ];\n  qrcodegen2.QrCode = QrCode;\n  function appendBits(val, len, bb) {\n    if (len < 0 || len > 31 || val >>> len != 0)\n      throw new RangeError(\"Value out of range\");\n    for (let i = len - 1; i >= 0; i--)\n      bb.push(val >>> i & 1);\n  }\n  function getBit(x, i) {\n    return (x >>> i & 1) != 0;\n  }\n  function assert(cond) {\n    if (!cond)\n      throw new Error(\"Assertion error\");\n  }\n  const _QrSegment = class {\n    constructor(mode, numChars, bitData) {\n      this.mode = mode;\n      this.numChars = numChars;\n      this.bitData = bitData;\n      if (numChars < 0)\n        throw new RangeError(\"Invalid argument\");\n      this.bitData = bitData.slice();\n    }\n    static makeBytes(data) {\n      let bb = [];\n      for (const b of data)\n        appendBits(b, 8, bb);\n      return new _QrSegment(_QrSegment.Mode.BYTE, data.length, bb);\n    }\n    static makeNumeric(digits) {\n      if (!_QrSegment.isNumeric(digits))\n        throw new RangeError(\"String contains non-numeric characters\");\n      let bb = [];\n      for (let i = 0; i < digits.length; ) {\n        const n = Math.min(digits.length - i, 3);\n        appendBits(parseInt(digits.substr(i, n), 10), n * 3 + 1, bb);\n        i += n;\n      }\n      return new _QrSegment(_QrSegment.Mode.NUMERIC, digits.length, bb);\n    }\n    static makeAlphanumeric(text) {\n      if (!_QrSegment.isAlphanumeric(text))\n        throw new RangeError(\"String contains unencodable characters in alphanumeric mode\");\n      let bb = [];\n      let i;\n      for (i = 0; i + 2 <= text.length; i += 2) {\n        let temp = _QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)) * 45;\n        temp += _QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i + 1));\n        appendBits(temp, 11, bb);\n      }\n      if (i < text.length)\n        appendBits(_QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)), 6, bb);\n      return new _QrSegment(_QrSegment.Mode.ALPHANUMERIC, text.length, bb);\n    }\n    static makeSegments(text) {\n      if (text == \"\")\n        return [];\n      else if (_QrSegment.isNumeric(text))\n        return [_QrSegment.makeNumeric(text)];\n      else if (_QrSegment.isAlphanumeric(text))\n        return [_QrSegment.makeAlphanumeric(text)];\n      else\n        return [_QrSegment.makeBytes(_QrSegment.toUtf8ByteArray(text))];\n    }\n    static makeEci(assignVal) {\n      let bb = [];\n      if (assignVal < 0)\n        throw new RangeError(\"ECI assignment value out of range\");\n      else if (assignVal < 1 << 7)\n        appendBits(assignVal, 8, bb);\n      else if (assignVal < 1 << 14) {\n        appendBits(2, 2, bb);\n        appendBits(assignVal, 14, bb);\n      } else if (assignVal < 1e6) {\n        appendBits(6, 3, bb);\n        appendBits(assignVal, 21, bb);\n      } else\n        throw new RangeError(\"ECI assignment value out of range\");\n      return new _QrSegment(_QrSegment.Mode.ECI, 0, bb);\n    }\n    static isNumeric(text) {\n      return _QrSegment.NUMERIC_REGEX.test(text);\n    }\n    static isAlphanumeric(text) {\n      return _QrSegment.ALPHANUMERIC_REGEX.test(text);\n    }\n    getData() {\n      return this.bitData.slice();\n    }\n    static getTotalBits(segs, version) {\n      let result = 0;\n      for (const seg of segs) {\n        const ccbits = seg.mode.numCharCountBits(version);\n        if (seg.numChars >= 1 << ccbits)\n          return Infinity;\n        result += 4 + ccbits + seg.bitData.length;\n      }\n      return result;\n    }\n    static toUtf8ByteArray(str) {\n      str = encodeURI(str);\n      let result = [];\n      for (let i = 0; i < str.length; i++) {\n        if (str.charAt(i) != \"%\")\n          result.push(str.charCodeAt(i));\n        else {\n          result.push(parseInt(str.substr(i + 1, 2), 16));\n          i += 2;\n        }\n      }\n      return result;\n    }\n  };\n  let QrSegment = _QrSegment;\n  QrSegment.NUMERIC_REGEX = /^[0-9]*$/;\n  QrSegment.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+.\\/:-]*$/;\n  QrSegment.ALPHANUMERIC_CHARSET = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:\";\n  qrcodegen2.QrSegment = QrSegment;\n})(qrcodegen || (qrcodegen = {}));\n((qrcodegen2) => {\n  ((QrCode2) => {\n    const _Ecc = class {\n      constructor(ordinal, formatBits) {\n        this.ordinal = ordinal;\n        this.formatBits = formatBits;\n      }\n    };\n    let Ecc = _Ecc;\n    Ecc.LOW = new _Ecc(0, 1);\n    Ecc.MEDIUM = new _Ecc(1, 0);\n    Ecc.QUARTILE = new _Ecc(2, 3);\n    Ecc.HIGH = new _Ecc(3, 2);\n    QrCode2.Ecc = Ecc;\n  })(qrcodegen2.QrCode || (qrcodegen2.QrCode = {}));\n})(qrcodegen || (qrcodegen = {}));\n((qrcodegen2) => {\n  ((QrSegment2) => {\n    const _Mode = class {\n      constructor(modeBits, numBitsCharCount) {\n        this.modeBits = modeBits;\n        this.numBitsCharCount = numBitsCharCount;\n      }\n      numCharCountBits(ver) {\n        return this.numBitsCharCount[Math.floor((ver + 7) / 17)];\n      }\n    };\n    let Mode = _Mode;\n    Mode.NUMERIC = new _Mode(1, [10, 12, 14]);\n    Mode.ALPHANUMERIC = new _Mode(2, [9, 11, 13]);\n    Mode.BYTE = new _Mode(4, [8, 16, 16]);\n    Mode.KANJI = new _Mode(8, [8, 10, 12]);\n    Mode.ECI = new _Mode(7, [0, 0, 0]);\n    QrSegment2.Mode = Mode;\n  })(qrcodegen2.QrSegment || (qrcodegen2.QrSegment = {}));\n})(qrcodegen || (qrcodegen = {}));\nvar qrcodegen_default = qrcodegen;\n/**\n * @license qrcode.react\n * Copyright (c) Paul O'Shannessy\n * SPDX-License-Identifier: ISC\n */\nvar ERROR_LEVEL_MAP = {\n  L: qrcodegen_default.QrCode.Ecc.LOW,\n  M: qrcodegen_default.QrCode.Ecc.MEDIUM,\n  Q: qrcodegen_default.QrCode.Ecc.QUARTILE,\n  H: qrcodegen_default.QrCode.Ecc.HIGH\n};\nvar DEFAULT_SIZE = 128;\nvar DEFAULT_LEVEL = \"L\";\nvar DEFAULT_BGCOLOR = \"#FFFFFF\";\nvar DEFAULT_FGCOLOR = \"#000000\";\nvar DEFAULT_INCLUDEMARGIN = false;\nvar MARGIN_SIZE = 4;\nvar DEFAULT_IMG_SCALE = 0.1;\nfunction generatePath(modules, margin = 0) {\n  const ops = [];\n  modules.forEach(function(row, y) {\n    let start = null;\n    row.forEach(function(cell, x) {\n      if (!cell && start !== null) {\n        ops.push(`M${start + margin} ${y + margin}h${x - start}v1H${start + margin}z`);\n        start = null;\n        return;\n      }\n      if (x === row.length - 1) {\n        if (!cell) {\n          return;\n        }\n        if (start === null) {\n          ops.push(`M${x + margin},${y + margin} h1v1H${x + margin}z`);\n        } else {\n          ops.push(`M${start + margin},${y + margin} h${x + 1 - start}v1H${start + margin}z`);\n        }\n        return;\n      }\n      if (cell && start === null) {\n        start = x;\n      }\n    });\n  });\n  return ops.join(\"\");\n}\nfunction excavateModules(modules, excavation) {\n  return modules.slice().map((row, y) => {\n    if (y < excavation.y || y >= excavation.y + excavation.h) {\n      return row;\n    }\n    return row.map((cell, x) => {\n      if (x < excavation.x || x >= excavation.x + excavation.w) {\n        return cell;\n      }\n      return false;\n    });\n  });\n}\nfunction getImageSettings(cells, size, includeMargin, imageSettings) {\n  if (imageSettings == null) {\n    return null;\n  }\n  const margin = includeMargin ? MARGIN_SIZE : 0;\n  const numCells = cells.length + margin * 2;\n  const defaultSize = Math.floor(size * DEFAULT_IMG_SCALE);\n  const scale = numCells / size;\n  const w = (imageSettings.width || defaultSize) * scale;\n  const h = (imageSettings.height || defaultSize) * scale;\n  const x = imageSettings.x == null ? cells.length / 2 - w / 2 : imageSettings.x * scale;\n  const y = imageSettings.y == null ? cells.length / 2 - h / 2 : imageSettings.y * scale;\n  let excavation = null;\n  if (imageSettings.excavate) {\n    let floorX = Math.floor(x);\n    let floorY = Math.floor(y);\n    let ceilW = Math.ceil(w + x - floorX);\n    let ceilH = Math.ceil(h + y - floorY);\n    excavation = { x: floorX, y: floorY, w: ceilW, h: ceilH };\n  }\n  return { x, y, h, w, excavation };\n}\n(function() {\n  try {\n    new Path2D().addPath(new Path2D());\n  } catch (e) {\n    return false;\n  }\n  return true;\n})();\nfunction QRCodeSVG(props) {\n  const _a = props, {\n    value,\n    size = DEFAULT_SIZE,\n    level = DEFAULT_LEVEL,\n    bgColor = DEFAULT_BGCOLOR,\n    fgColor = DEFAULT_FGCOLOR,\n    includeMargin = DEFAULT_INCLUDEMARGIN,\n    imageSettings\n  } = _a, otherProps = __objRest(_a, [\n    \"value\",\n    \"size\",\n    \"level\",\n    \"bgColor\",\n    \"fgColor\",\n    \"includeMargin\",\n    \"imageSettings\"\n  ]);\n  let cells = qrcodegen_default.QrCode.encodeText(value, ERROR_LEVEL_MAP[level]).getModules();\n  const margin = includeMargin ? MARGIN_SIZE : 0;\n  const numCells = cells.length + margin * 2;\n  const calculatedImageSettings = getImageSettings(cells, size, includeMargin, imageSettings);\n  let image = null;\n  if (imageSettings != null && calculatedImageSettings != null) {\n    if (calculatedImageSettings.excavation != null) {\n      cells = excavateModules(cells, calculatedImageSettings.excavation);\n    }\n    image = /* @__PURE__ */ React__default.createElement(\"image\", {\n      xlinkHref: imageSettings.src,\n      height: calculatedImageSettings.h,\n      width: calculatedImageSettings.w,\n      x: calculatedImageSettings.x + margin,\n      y: calculatedImageSettings.y + margin,\n      preserveAspectRatio: \"none\"\n    });\n  }\n  const fgPath = generatePath(cells, margin);\n  return /* @__PURE__ */ React__default.createElement(\"svg\", __spreadValues({\n    height: size,\n    width: size,\n    viewBox: `0 0 ${numCells} ${numCells}`\n  }, otherProps), /* @__PURE__ */ React__default.createElement(\"path\", {\n    fill: bgColor,\n    d: `M0,0 h${numCells}v${numCells}H0z`,\n    shapeRendering: \"crispEdges\"\n  }), /* @__PURE__ */ React__default.createElement(\"path\", {\n    fill: fgColor,\n    d: fgPath,\n    shapeRendering: \"crispEdges\"\n  }), image);\n}\nexport {\n  QRCodeSVG\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport _JSXStyle from \"../../../../node_modules/styled-jsx/style.js\";\nimport { QRCodeSVG } from \"../../../../node_modules/qrcode.react/lib/esm/index.js\";\nimport { useIsMobileDevice } from \"../../../../hooks/useIsMobileDevice.js\";\nconst AppLinkDialog = ({\n  content,\n  oneLink,\n  displayDesktopQRCode = true\n}) => {\n  const isMobile = useIsMobileDevice();\n  if (isMobile || !displayDesktopQRCode) {\n    return /* @__PURE__ */ jsxs(\"span\", { className: text.className, children: [\n      content,\n      text.styles\n    ] });\n  }\n  return /* @__PURE__ */ jsxs(\"div\", { className: container.className, children: [\n    /* @__PURE__ */ jsx(QRCodeSVG, { value: oneLink, size: 150, bgColor: \"#ffffff\", fgColor: \"#000000\", includeMargin: false }),\n    /* @__PURE__ */ jsx(\"span\", { className: text.className, children: content }),\n    container.styles,\n    text.styles\n  ] });\n};\nconst container = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"2940926304\", children: [\"div.jsx-2940926304{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:20px;}\"] }),\n  className: \"jsx-2940926304\"\n};\nconst text = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"1263816186\", children: [\"span.jsx-1263816186{font-size:14px;font-weight:400;line-height:140%;color:#000;}\"] }),\n  className: \"jsx-1263816186\"\n};\nexport {\n  AppLinkDialog\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useCreateOneLink } from \"../../../../hooks/useCreateOneLink.js\";\nimport { useDialog } from \"../../../../hooks/useDialog.js\";\nimport { useIsMobileDevice } from \"../../../../hooks/useIsMobileDevice.js\";\nimport { getCurrentHref } from \"../../../../utils/getCurrentHref.js\";\nimport { AppLinkDialog } from \"./AppLinkDialog.js\";\nconst DIALOG_ID = \"app-link-dialog-id\";\nconst useAppLinkDialog = ({\n  webviewNavOptions,\n  href,\n  displayDesktopQRCode = true,\n  content\n}) => {\n  const dialog = useDialog();\n  const isMobile = useIsMobileDevice();\n  const {\n    oneLink\n  } = useCreateOneLink(href ?? getCurrentHref({\n    removeQueryParams: true\n  }), webviewNavOptions);\n  const redirectApp = () => {\n    if (!isMobile) {\n      return;\n    }\n    document.location.href = oneLink;\n  };\n  const show = () => {\n    dialog.show({\n      id: DIALOG_ID,\n      content: /* @__PURE__ */ jsx(AppLinkDialog, { content, oneLink, displayDesktopQRCode }),\n      primaryButtonText: isMobile ? \"앱으로 이동\" : \"확인\",\n      secondaryButtonText: isMobile ? \"취소\" : \"\",\n      onPrimaryButtonClick: redirectApp\n    });\n  };\n  const hide = () => {\n    dialog.hide(DIALOG_ID, true);\n  };\n  return {\n    show,\n    hide\n  };\n};\nexport {\n  useAppLinkDialog\n};\n","import { useAppLinkDialog } from \"../components/@shared/dialogs/AppLinkDialog/AppLinkDialog.hooks.js\";\nimport { isWebview } from \"../utils/device.js\";\nconst useWithApp = (params) => {\n  const dialog = useAppLinkDialog(params);\n  const withApp = (callback) => async (...args) => {\n    if (!isWebview()) {\n      dialog.show();\n      return;\n    }\n    await callback(...args);\n  };\n  return withApp;\n};\nexport {\n  useWithApp\n};\n","import debounce from \"./debounce.js\";\nimport isObject from \"./isObject.js\";\nvar FUNC_ERROR_TEXT = \"Expected a function\";\nfunction throttle(func, wait, options) {\n  var leading = true, trailing = true;\n  if (typeof func != \"function\") {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  if (isObject(options)) {\n    leading = \"leading\" in options ? !!options.leading : leading;\n    trailing = \"trailing\" in options ? !!options.trailing : trailing;\n  }\n  return debounce(func, wait, {\n    \"leading\": leading,\n    \"maxWait\": wait,\n    \"trailing\": trailing\n  });\n}\nexport {\n  throttle as default\n};\n","import { useCallback } from \"react\";\nimport { useNotificationAgreementsToast } from \"../../../@shared/toasts/NotificationAgreementsToast/NotificationAgreementsToast.hooks.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport { useDialog } from \"../../../../hooks/useDialog.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"framer-motion\";\nimport { useEventCallback } from \"../../../../hooks/useEventCallback.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"react/jsx-runtime\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useWithLogin } from \"../../../../hooks/useWithLogin.js\";\nimport { useNotificationRequirements } from \"../../../../hooks/useNotificationRequirements.js\";\nimport { useRequestSubscription } from \"../../../../hooks/useRequestSubscription.js\";\nimport { useRequestUserAgreementBottomSheet } from \"../../../../hooks/useRequestUserAgreementBottomSheet.js\";\nimport { useWithApp } from \"../../../../hooks/useWithApp.js\";\nimport { useComponentId, FALLBACK_COMPONENT_ID } from \"../EventTrackingProvider/EventTrackingProvider.hooks.js\";\nimport \"../EventTrackingProvider/EventTrackingProvider.js\";\nimport { useTrackSnowplowEvent } from \"../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport throttle from \"../../../../node_modules/lodash-es/throttle.js\";\nconst SUBSCRIPTION_MESSAGES = {\n  ACCESS_FROM_APP: \"알림 신청 기능은 APP에서만 사용할 수 있어요\\nAPP에서 다시 시도해 주세요.\",\n  SUBSCRIBED: \"알림 설정이 완료되었습니다.\",\n  UNSUBSCRIBED: \"알림 설정이 취소되었습니다.\",\n  ERROR_WHILE_SUBSCRIBE: \"일시적인 오류로 알림 설정에 실패했습니다.\",\n  ERROR_WHILE_UNSUBSCRIBE: \"일시적인 오류로 알림 취소에 실패했습니다.\"\n};\nconst createSubscriptionStorageKey = (key) => `subscription-requirements-viewed-${key}`;\nconst useHandleSubscription = ({\n  sectionKey,\n  groupKey,\n  eventKey,\n  restEventKeys,\n  clickEventExtra\n}, enabled = true) => {\n  const {\n    subscriptions,\n    requestSubscribe,\n    requestUnsubscribe\n  } = useRequestSubscription(eventKey, groupKey, enabled);\n  const componentId = useComponentId();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const requestRequirements = useSubscriptionRequirements();\n  const requestBulkRequirements = useBulkSubscriptionRequirements();\n  const toast = useNotificationAgreementsToast();\n  const withLogin = useWithLogin();\n  const withApp = useWithApp({\n    content: SUBSCRIPTION_MESSAGES.ACCESS_FROM_APP\n  });\n  const isSubscribed = subscriptions.includes(eventKey);\n  const hasRestEventKeys = restEventKeys.length > 0;\n  const isBulkSubscriptionRequirementsViewed = () => {\n    return localStorage.get(createSubscriptionStorageKey(sectionKey), false) ?? false;\n  };\n  const markAsBulkSubscriptionRequirementsViewed = () => {\n    localStorage.set(createSubscriptionStorageKey(sectionKey), true);\n  };\n  const onErrorWhileSubscribe = (error) => {\n    switch (error) {\n      case \"REQUIREMENTS_CANCELED\":\n        return;\n      default:\n        toast.show(SUBSCRIPTION_MESSAGES.ERROR_WHILE_SUBSCRIBE, true);\n        return;\n    }\n  };\n  const trackToggleNotificationClick = (alarmStatus) => {\n    if (componentId === FALLBACK_COMPONENT_ID) {\n      return;\n    }\n    trackSnowplowEvent(\"click_button\", {\n      section_name: componentId,\n      section_title: componentId,\n      position: -1,\n      layout_position: -1,\n      button_id: \"toggle_notification\",\n      button_name: \"알림 받기\",\n      event_key: eventKey,\n      alarm_status: alarmStatus,\n      ...clickEventExtra ?? {}\n    });\n  };\n  const subscribe = async ({\n    shouldTrackClickEvent = true\n  } = {}) => {\n    try {\n      await requestRequirements();\n      await requestSubscribe([eventKey]);\n      if (shouldTrackClickEvent) {\n        trackToggleNotificationClick(true);\n      }\n      if (hasRestEventKeys && !isBulkSubscriptionRequirementsViewed()) {\n        markAsBulkSubscriptionRequirementsViewed();\n        await requestBulkRequirements();\n        await requestSubscribe([eventKey, ...restEventKeys]);\n        toast.show(SUBSCRIPTION_MESSAGES.SUBSCRIBED);\n      }\n    } catch (error) {\n      onErrorWhileSubscribe(error);\n    }\n  };\n  const unsubscribe = async ({\n    shouldTrackClickEvent = true\n  } = {}) => {\n    try {\n      await requestUnsubscribe(eventKey);\n      if (shouldTrackClickEvent) {\n        trackToggleNotificationClick(false);\n      }\n      toast.show(SUBSCRIPTION_MESSAGES.UNSUBSCRIBED, true);\n    } catch (error) {\n      toast.show(SUBSCRIPTION_MESSAGES.ERROR_WHILE_UNSUBSCRIBE, true);\n    }\n  };\n  const toggleSubscription = useEventCallback(async (options) => {\n    if (isSubscribed) {\n      await unsubscribe(options);\n    } else {\n      await subscribe(options);\n    }\n  });\n  const throttledToggleSubscription = useCallback(throttle(toggleSubscription, 200), []);\n  return {\n    isSubscribed,\n    toggleSubscription: withApp(withLogin(throttledToggleSubscription))\n  };\n};\nconst localStorage = {\n  get: (key, initialValue) => {\n    try {\n      const value = window.localStorage.getItem(key);\n      if (!value) {\n        return initialValue;\n      }\n      return JSON.parse(value);\n    } catch (error) {\n      return initialValue;\n    }\n  },\n  set: (key, value) => {\n    window.localStorage.setItem(key, JSON.stringify(value));\n  }\n};\nconst useBulkSubscriptionRequirements = () => {\n  const dialog = useDialog();\n  const request = () => {\n    return new Promise((resolve, reject) => {\n      dialog.show({\n        title: \"다른 날 소식도 알려드릴까요?\",\n        content: \"매일매일 새로운 회차가 오픈하는 시간에\\n가장 빠르게 알려드릴게요.\",\n        primaryButtonText: \"예\",\n        secondaryButtonText: \"아니오\",\n        needInAppLayer: false,\n        onPrimaryButtonClick: () => resolve(),\n        onSecondaryButtonClick: () => reject(\n          \"REQUIREMENTS_CANCELED\"\n          /* REQUIREMENTS_CANCELED */\n        )\n      });\n    });\n  };\n  return request;\n};\nconst useSubscriptionRequirements = () => {\n  const requestRequirements = useNotificationRequirements();\n  const {\n    isTargetAppVersion,\n    requestUserAgreementBottomSheet\n  } = useRequestUserAgreementBottomSheet();\n  const request = () => {\n    return new Promise((resolve, reject) => {\n      if (isTargetAppVersion) {\n        requestUserAgreementBottomSheet({\n          type: \"CONTENT_DETAIL_PAGE\",\n          onCancel: () => reject(\n            \"REQUIREMENTS_CANCELED\"\n            /* REQUIREMENTS_CANCELED */\n          ),\n          onConfirm: () => resolve()\n        });\n      } else {\n        requestRequirements({\n          apiEndpoint: \"content-detail-page\",\n          onNotificationEnabled: () => resolve(),\n          onNotificationAgreementsError: () => reject(\n            \"REQUIREMENTS_ERROR\"\n            /* REQUIREMENTS_ERROR */\n          ),\n          onNotificationAgreementsCancel: () => reject(\n            \"REQUIREMENTS_CANCELED\"\n            /* REQUIREMENTS_CANCELED */\n          ),\n          onNotificationDisabled: () => reject(\n            \"REQUIREMENTS_CANCELED\"\n            /* REQUIREMENTS_CANCELED */\n          )\n        });\n      }\n    });\n  };\n  return request;\n};\nexport {\n  useHandleSubscription\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { playHaptic } from \"../../../utils/playHaptic.js\";\nconst SwitchButton = forwardRef(({\n  children,\n  style,\n  theme = \"light\",\n  active = false,\n  activeColor,\n  disabled = false,\n  onClick,\n  ...rest\n}) => {\n  const variant = disabled ? \"disabled\" : active ? \"active\" : \"default\";\n  const {\n    button,\n    thumb\n  } = getSwitchButtonColors(activeColor)[theme][variant];\n  const handleClick = (e) => {\n    playHaptic(\"rigid\");\n    onClick == null ? void 0 : onClick(e);\n  };\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...containerStyle,\n    ...disabled ? disabledContainerStyle : void 0,\n    ...style\n  }, ...rest, onClick: handleClick, children: [\n    children ? /* @__PURE__ */ jsx(\"div\", { style: {\n      ...labelStyle,\n      ...labelStyleByTheme[theme]\n    }, children }) : null,\n    /* @__PURE__ */ jsx(\"div\", { style: {\n      ...buttonStyle,\n      backgroundColor: button\n    }, children: /* @__PURE__ */ jsx(\"div\", { style: {\n      ...thumbStyle,\n      backgroundColor: thumb,\n      left: active ? 18 : 2\n    } }) })\n  ] });\n});\nconst getSwitchButtonColors = (activeColor) => ({\n  light: {\n    default: {\n      button: \"#DDDDDD\",\n      thumb: \"#FFFFFF\"\n    },\n    active: {\n      button: activeColor || \"#1E3CF2\",\n      thumb: \"#FFFFFF\"\n    },\n    disabled: {\n      button: \"#F4F4F4\",\n      thumb: \"rgba(93, 93, 93, 0.4)\"\n    }\n  },\n  dark: {\n    default: {\n      button: \"#313131\",\n      thumb: \"#FFFFFF\"\n    },\n    active: {\n      button: activeColor || \"#1E3CF2\",\n      thumb: \"#FFFFFF\"\n    },\n    disabled: {\n      button: \"#242424\",\n      thumb: \"#525252\"\n    }\n  }\n});\nconst containerStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  cursor: \"pointer\"\n};\nconst disabledContainerStyle = {\n  pointerEvents: \"none\"\n};\nconst labelStyle = {\n  fontFamily: \"inherit\",\n  fontSize: 14,\n  fontWeight: 500,\n  lineHeight: 1.4,\n  paddingRight: 8\n};\nconst labelStyleByTheme = {\n  light: {\n    color: \"#6A6A6A\"\n  },\n  dark: {\n    color: \"#ADADAD\"\n  }\n};\nconst buttonStyle = {\n  position: \"relative\",\n  width: 38,\n  height: 22,\n  padding: 2,\n  borderRadius: 999,\n  transition: \"background-color 0.15s ease-in-out\"\n};\nconst thumbStyle = {\n  position: \"absolute\",\n  top: \"50%\",\n  transform: \"translateY(-50%)\",\n  width: 18,\n  height: 18,\n  borderRadius: 999,\n  transition: \"background-color 0.15s ease-in-out, left 0.15s ease-in-out\"\n};\nexport {\n  SwitchButton\n};\n","import { ControlType } from \"framer\";\nimport { ButtonVariant, ButtonSize, ButtonTheme } from \"../../components/@shared/Button/Button.types.js\";\nconst BUTTON_VARIANT_CONTROLS = {\n  variant: {\n    type: ControlType.Enum,\n    title: \"변형\",\n    options: [ButtonVariant.PRIMARY, ButtonVariant.SECONDARY, ButtonVariant.TERTIARY, ButtonVariant.CUSTOM, ButtonVariant.DISABLED],\n    optionTitles: [\"primary\", \"secondary\", \"tertiary\", \"custom\", \"disabled\"]\n  },\n  backgroundColor: {\n    hidden: ({\n      variant\n    }) => variant !== ButtonVariant.CUSTOM,\n    type: ControlType.Color,\n    title: \"배경 색상\",\n    optional: true\n  },\n  color: {\n    hidden: ({\n      variant\n    }) => variant !== ButtonVariant.CUSTOM,\n    type: ControlType.Color,\n    title: \"텍스트 색상\",\n    optional: true\n  }\n};\nconst BUTTON_SIZE_CONTROLS = {\n  size: {\n    type: ControlType.Enum,\n    title: \"크기\",\n    options: [ButtonSize.LARGE, ButtonSize.MEDIUM, ButtonSize.SMALL, ButtonSize.X_SMALL],\n    optionTitles: [\"large\", \"medium\", \"small\", \"xSmall\"],\n    defaultValue: ButtonSize.MEDIUM\n  }\n};\nconst BUTTON_FILL_CONTROLS = {\n  fill: {\n    type: ControlType.Boolean,\n    title: \"반응형 너비\",\n    defaultValue: false\n  }\n};\nconst BUTTON_THEME_CONTROLS = {\n  theme: {\n    type: ControlType.Enum,\n    title: \"테마\",\n    options: [ButtonTheme.LIGHT, ButtonTheme.DARK],\n    optionTitles: [\"light\", \"dark\"],\n    defaultValue: ButtonTheme.LIGHT,\n    displaySegmentedControl: true\n  }\n};\nexport {\n  BUTTON_FILL_CONTROLS,\n  BUTTON_SIZE_CONTROLS,\n  BUTTON_THEME_CONTROLS,\n  BUTTON_VARIANT_CONTROLS\n};\n","const splitToStringArray = (str) => {\n  return str.split(\",\").map((item) => item.trim());\n};\nexport {\n  splitToStringArray\n};\n","import { startOfDay } from \"./startOfDay.js\";\nfunction isSameDay(dateLeft, dateRight) {\n  const dateLeftStartOfDay = startOfDay(dateLeft);\n  const dateRightStartOfDay = startOfDay(dateRight);\n  return +dateLeftStartOfDay === +dateRightStartOfDay;\n}\nexport {\n  isSameDay as default,\n  isSameDay\n};\n","import { isWebview } from \"./device.js\";\nconst createIsomorphicLink = (url) => isWebview() ? `app29cm://web/${url}` : url;\nexport {\n  createIsomorphicLink\n};\n","import { APIService } from \"../APIService.js\";\nimport { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { env } from \"../../config/index.js\";\nclass BestApiService extends APIService {\n  constructor() {\n    super();\n    this.setBaseUrl(env.api.search);\n    this.setMiddleware(throwFailError);\n  }\n  async getRankedProducts(payload) {\n    return this.post(`/api/v5/best`, payload).then((data) => ({\n      products: formatBestProducts(data.data.products),\n      totalCount: data.data.totalCount\n    }));\n  }\n  async getPLPFacetGroup(payload) {\n    return this.post(`/api/v5/plp/facet-group`, payload);\n  }\n}\nconst bestApi = new BestApiService();\nconst formatBestProducts = (products) => products.map((product) => {\n  var _a;\n  return {\n    ...product,\n    frontBrand: {\n      frontBrandId: product.frontBrandNo,\n      nameKor: product.frontBrandNameKor,\n      nameEng: product.frontBrandNameEng\n    },\n    productId: product.itemNo,\n    productName: product.itemName,\n    isCoupon: product.saleInfoV2.isCoupon,\n    heartOn: true,\n    frontCategories: (_a = product.frontCategoryInfo) == null ? void 0 : _a.map((category) => ({\n      largeCategoryCode: category.categoryLargeCode,\n      largeCategoryName: category.categoryLargeName,\n      mediumCategoryCode: category.categoryMediumCode,\n      mediumCategoryName: category.categoryMediumName,\n      smallCategoryCode: category.categorySmallCode,\n      smallCategoryName: category.categorySmallName\n    }))\n  };\n});\nexport {\n  bestApi\n};\n","import { env } from \"../../config/index.js\";\nimport { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { APIService } from \"../APIService.js\";\nclass BrandCurationApiService extends APIService {\n  constructor() {\n    super();\n    this.setMiddleware(throwFailError);\n  }\n  async getFavoriteBrands({\n    size,\n    brandGroupIds\n  }) {\n    return this.get(`${env.api.content}/api/v4/framers/proxy/content-api/api/v5/brand-curations/favorite`, {\n      size,\n      brandGroupIds\n    });\n  }\n}\nconst brandCurationApi = new BrandCurationApiService();\nexport {\n  brandCurationApi\n};\n","import { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { APIService } from \"../APIService.js\";\nimport { env } from \"../../config/index.js\";\nclass DisplayBffApiService extends APIService {\n  constructor() {\n    super();\n    this.setBaseUrl(env.api.displayBff);\n    this.setMiddleware(throwFailError);\n  }\n  async getFacetGroup(payload) {\n    return this.post(`/api/v1/listing/facet-group`, {\n      keyword: payload.keyword,\n      pageType: payload.pageType ?? \"CONTENT_COLLECTION_RECOMMEND\",\n      facets: payload.facets\n    }, {\n      credentials: \"include\"\n    });\n  }\n  async getListingItems(payload) {\n    return this.post(`/api/v1/listing/items`, payload);\n  }\n  async getItems(payload) {\n    return this.post(`/api/v1/framer/listing/promoted-items`, payload, {\n      credentials: \"include\"\n    });\n  }\n}\nconst displayBffApi = new DisplayBffApiService();\nexport {\n  displayBffApi\n};\n","const MOCK_PRODUCTS = [{\n  consumerPrice: 155e3,\n  imageUrl: \"/item/202502/11efe8378fbdcae28f0ab7d30031e3c9.jpg\",\n  heartCount: 2789,\n  reviewCount: 118,\n  lastSalePercent: 15,\n  lastSalePrice: 132525,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [\"[25SS]\"],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 1942207,\n  productName: \"보레알리스 2 NM2DR04A_BLK\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 269100100,\n    largeCategoryName: \"여성가방\",\n    mediumCategoryCode: 269106100,\n    mediumCategoryName: \"백팩\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 273104100,\n    mediumCategoryName: \"백팩\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 269100100,\n    largeCategoryName: \"여성가방\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 169e3,\n  imageUrl: \"/item/202411/11efa7ab6d5d1ecf9316592337ae1aca.jpg\",\n  heartCount: 22,\n  reviewCount: 0,\n  lastSalePercent: 44,\n  lastSalePrice: 94640,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 0,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2389405,\n  productName: \"듀얼 백팩 NM2DQ06K_LBE\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 273104100,\n    mediumCategoryName: \"백팩\",\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 159e3,\n  imageUrl: \"/item/202411/11efa7a8eb30739b9d18ef45b4791ed5.jpg\",\n  heartCount: 3926,\n  reviewCount: 476,\n  lastSalePercent: 10,\n  lastSalePrice: 143100,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 4.9,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 1634106,\n  productName: \"빅 샷 NM2DQ50A_BLK\",\n  isCoupon: false,\n  frontCategories: [{\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 273104100,\n    mediumCategoryName: \"백팩\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 368e3,\n  imageUrl: \"/item/202501/11efc9657db7ebf58521852ca60f84fe.jpg\",\n  heartCount: 3710,\n  reviewCount: 200,\n  lastSalePercent: 0,\n  lastSalePrice: 368e3,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [\"[25SS]\"],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2714814,\n  productName: \"여성 노벨티 눕시 RDS 다운 자켓 NJ1DR80J_BLK\",\n  isCoupon: false,\n  frontCategories: [{\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 268102117,\n    smallCategoryName: \"숏패딩\"\n  }, {\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 149e3,\n  imageUrl: \"/item/202502/11efe1c52098184b8521d58f5330e571.jpg\",\n  heartCount: 169,\n  reviewCount: 2,\n  lastSalePercent: 15,\n  lastSalePrice: 127395,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2715548,\n  productName: \"보레알리스 2 NM2DQ52E_JBK\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 273104100,\n    mediumCategoryName: \"백팩\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 109e3,\n  imageUrl: \"/item/202411/11efa7a909f8dae393166bd9acde4a3d.jpg\",\n  heartCount: 5482,\n  reviewCount: 403,\n  lastSalePercent: 15,\n  lastSalePrice: 93195,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 1744341,\n  productName: \"미니샷 NM2DQ53A_BLK\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 273104100,\n    mediumCategoryName: \"백팩\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 398e3,\n  imageUrl: \"/item/202502/11efe1c50372b3098521eff5f021c0b7.jpg\",\n  heartCount: 4450,\n  reviewCount: 500,\n  lastSalePercent: 0,\n  lastSalePrice: 398e3,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2158524,\n  productName: \"노벨티 눕시 RDS 다운 자켓 NJ1DQ51J_BLK\",\n  isCoupon: false,\n  frontCategories: [{\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 272102104,\n    smallCategoryName: \"숏패딩\"\n  }, {\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268116100,\n    mediumCategoryName: \"EXCLUSIVE\",\n    smallCategoryCode: 268116103,\n    smallCategoryName: \"아우터\"\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272111100,\n    mediumCategoryName: \"EXCLUSIVE\",\n    smallCategoryCode: 272111103,\n    smallCategoryName: \"아우터\"\n  }, {\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268116100,\n    mediumCategoryName: \"EXCLUSIVE\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272111100,\n    mediumCategoryName: \"EXCLUSIVE\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 199e3,\n  imageUrl: \"/item/202502/11efe9a806bbc08c8f0af1b717708006.jpg\",\n  heartCount: 1893,\n  reviewCount: 94,\n  lastSalePercent: 5,\n  lastSalePrice: 189050,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [\"[25SS]\"],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2326012,\n  productName: \"눕시 온볼 베스트 NV3NR50A_BLK\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 272102106,\n    smallCategoryName: \"베스트\"\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 269e3,\n  imageUrl: \"/item/202412/11efb924aca3ec8ead1bbdf9e249e357.jpg\",\n  heartCount: 172,\n  reviewCount: 20,\n  lastSalePercent: 0,\n  lastSalePrice: 269e3,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2987892,\n  productName: \"남성 1996 에코 눕시 베스트 NV1DQ55A_BLK\",\n  isCoupon: false,\n  frontCategories: [{\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 268102117,\n    smallCategoryName: \"숏패딩\"\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 272102104,\n    smallCategoryName: \"숏패딩\"\n  }]\n}, {\n  consumerPrice: 398e3,\n  imageUrl: \"/item/202501/11efd3c8584dfacb85218560bb0f3ad4.jpg\",\n  heartCount: 4982,\n  reviewCount: 369,\n  lastSalePercent: 0,\n  lastSalePrice: 398e3,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [\"[25SS]\"],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2276799,\n  productName: \"노벨티 눕시 다운 자켓 (RDS) NJ1DR50K_RBK\",\n  isCoupon: false,\n  frontCategories: [{\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 272102104,\n    smallCategoryName: \"숏패딩\"\n  }, {\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 268102117,\n    smallCategoryName: \"숏패딩\"\n  }, {\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268116100,\n    mediumCategoryName: \"EXCLUSIVE\",\n    smallCategoryCode: 268116103,\n    smallCategoryName: \"아우터\"\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272111100,\n    mediumCategoryName: \"EXCLUSIVE\",\n    smallCategoryCode: 272111103,\n    smallCategoryName: \"아우터\"\n  }, {\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268116100,\n    mediumCategoryName: \"EXCLUSIVE\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272111100,\n    mediumCategoryName: \"EXCLUSIVE\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 178e3,\n  imageUrl: \"/item/202411/11efa7d791842b119d18ff2e784a1000.jpg\",\n  heartCount: 216,\n  reviewCount: 3,\n  lastSalePercent: 34,\n  lastSalePrice: 118370,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2885368,\n  productName: \"밴든 자켓 NJ3BQ53K_GRY\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 272102129,\n    smallCategoryName: \"바람막이\"\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 178e3,\n  imageUrl: \"/item/202411/11efa7d93984c9559d1821d6fcb2b98b.jpg\",\n  heartCount: 274,\n  reviewCount: 2,\n  lastSalePercent: 34,\n  lastSalePrice: 118370,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2901769,\n  productName: \"밴든 자켓 NJ3BQ53L_BBR\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 272102104,\n    smallCategoryName: \"숏패딩\"\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 165e3,\n  imageUrl: \"/item/202411/11efa7ba136c129b9d18835acf182eb2.jpg\",\n  heartCount: 378,\n  reviewCount: 12,\n  lastSalePercent: 36,\n  lastSalePrice: 105600,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2652594,\n  productName: \"어센드 엘티 25 NM2SQ11A_BLK\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 273104100,\n    mediumCategoryName: \"백팩\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 179e3,\n  imageUrl: \"/item/202412/11efc64ed7874620ad1be9f7ff63eea8.jpg\",\n  heartCount: 98,\n  reviewCount: 7,\n  lastSalePercent: 15,\n  lastSalePrice: 153045,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [\"[25SS]\"],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 3005503,\n  productName: \"슈퍼팩 투 NM2DR01J_BLK\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 269100100,\n    largeCategoryName: \"여성가방\",\n    mediumCategoryCode: 269106100,\n    mediumCategoryName: \"백팩\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 273100100,\n    largeCategoryName: \"남성가방\",\n    mediumCategoryCode: 273104100,\n    mediumCategoryName: \"백팩\",\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 149e3,\n  imageUrl: \"/item/202411/11efa7e13b9316619316a5c4947fa678.jpg\",\n  heartCount: 774,\n  reviewCount: 35,\n  lastSalePercent: 41,\n  lastSalePrice: 88655,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2949339,\n  productName: \"여성 스트링 EX 부띠 NS99Q57J_RBK\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 270100100,\n    largeCategoryName: \"여성신발\",\n    mediumCategoryCode: 270103100,\n    mediumCategoryName: \"부츠\",\n    smallCategoryCode: 270103101,\n    smallCategoryName: \"앵클 부츠\"\n  }]\n}, {\n  consumerPrice: 269e3,\n  imageUrl: \"/item/202411/11efad615d9f79558521b5ff60f4e8a3.jpg\",\n  heartCount: 640,\n  reviewCount: 6,\n  lastSalePercent: 44,\n  lastSalePrice: 151050,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2923736,\n  productName: \"여성 써밋 히트라인 자켓 NJ3NQ82A_BLK\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 268102118,\n    smallCategoryName: \"경량패딩\"\n  }]\n}, {\n  consumerPrice: 178e3,\n  imageUrl: \"/item/202411/11efa7d9f79a488d9316d7182d8c60f0.jpg\",\n  heartCount: 905,\n  reviewCount: 7,\n  lastSalePercent: 24,\n  lastSalePrice: 135280,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 4.5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2906821,\n  productName: \"여성 에센셜 라이트 브이모션 자켓 NJ3NQ80J_CRE\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 268102118,\n    smallCategoryName: \"경량패딩\"\n  }]\n}, {\n  consumerPrice: 418e3,\n  imageUrl: \"/item/202411/11efad4449d5bb7f8521a9c74e484920.jpg\",\n  heartCount: 971,\n  reviewCount: 28,\n  lastSalePercent: 15,\n  lastSalePrice: 357390,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2969341,\n  productName: \"여성 노벨티 눕시 미드 다운 자켓 (RDS) NJ1DQ94J_BLK\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 268100100,\n    largeCategoryName: \"여성의류\",\n    mediumCategoryCode: 268102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 268102117,\n    smallCategoryName: \"숏패딩\"\n  }]\n}, {\n  consumerPrice: 89e3,\n  imageUrl: \"/item/202411/11efa7abf5e841e39d18072019049ade.jpg\",\n  heartCount: 3355,\n  reviewCount: 175,\n  lastSalePercent: 15,\n  lastSalePrice: 76095,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2417483,\n  productName: \"보레알리스 미니 팩 NM2DQ55A_BLK\",\n  isCoupon: true,\n  frontCategories: [{\n    largeCategoryCode: 269100100,\n    largeCategoryName: \"여성가방\",\n    mediumCategoryCode: 269106100,\n    mediumCategoryName: \"백팩\",\n    smallCategoryCode: 100100100\n  }, {\n    largeCategoryCode: 269100100,\n    largeCategoryName: \"여성가방\",\n    mediumCategoryCode: 100100100,\n    smallCategoryCode: 100100100\n  }]\n}, {\n  consumerPrice: 399e3,\n  imageUrl: \"/item/202411/11efa5991c716fa3afbc4f7994967cf8.jpg\",\n  heartCount: 807,\n  reviewCount: 30,\n  lastSalePercent: 30,\n  lastSalePrice: 279300,\n  isSoldOut: false,\n  isFreeShipping: true,\n  isNew: false,\n  reviewAveragePoint: 5,\n  heartOn: true,\n  subjectDescriptions: [\"[29CM 단독]\"],\n  frontBrand: {\n    frontBrandId: 7789,\n    nameKor: \"노스페이스\",\n    nameEng: \"THE NORTH FACE\"\n  },\n  productId: 2916253,\n  productName: \"써밋 마테호른 RDS 다운 자켓 NJ1DQ90A_RBK\",\n  isCoupon: false,\n  frontCategories: [{\n    largeCategoryCode: 272100100,\n    largeCategoryName: \"남성의류\",\n    mediumCategoryCode: 272102100,\n    mediumCategoryName: \"아우터\",\n    smallCategoryCode: 272102104,\n    smallCategoryName: \"숏패딩\"\n  }]\n}];\nconst createMockProductList = (productIdList) => productIdList.map((productId, index) => ({\n  ...MOCK_PRODUCTS[index % MOCK_PRODUCTS.length],\n  productId\n  // 입력된 ID로 덮어쓰기\n}));\nconst createMockCollection = (collectionId, index) => ({\n  collectionId,\n  title: `원브랜드데이 ${index + 1}일차`,\n  description: \"오늘이 마지막! 전에 없던 강력한 혜택을 붙잡아요\",\n  displayStartAt: \"2026-01-21T00:00:00.000+09:00\",\n  displayEndAt: \"2026-01-21T23:59:59.999+09:00\",\n  couponId: 3e5 + index,\n  coverImageUrl: \"https://img.29cm.co.kr/next-brand/2025/08/29/4c2abdbffea0465ab184c13a12e07d31_20250829132052.jpg\",\n  productGroupList: [{\n    collectionProductGroupId: collectionId * 100 + 1,\n    title: \"BEST\",\n    sort: \"BEST\"\n  }, {\n    collectionProductGroupId: collectionId * 100 + 2,\n    title: \"아우터\",\n    sort: \"BEST\"\n  }, {\n    collectionProductGroupId: collectionId * 100 + 3,\n    title: \"상의\",\n    sort: \"BEST\"\n  }, {\n    collectionProductGroupId: collectionId * 100 + 4,\n    title: \"하의\",\n    sort: \"BEST\"\n  }, {\n    collectionProductGroupId: collectionId * 100 + 5,\n    title: \"원피스\",\n    sort: \"BEST\"\n  }, {\n    collectionProductGroupId: collectionId * 100 + 6,\n    title: \"가방/잡화\",\n    sort: \"BEST\"\n  }]\n});\nexport {\n  MOCK_PRODUCTS,\n  createMockCollection,\n  createMockProductList\n};\n","import \"react/jsx-runtime\";\nimport { download } from \"../../@shared/Icon/assets/download.js\";\nimport { plus } from \"../../@shared/Icon/assets/plus.js\";\nimport { chevronRight } from \"../../@shared/Icon/assets/chevronRight.js\";\nimport { chevronDown } from \"../../@shared/Icon/assets/chevronDown.js\";\nimport { heart } from \"../../@shared/Icon/assets/heart.js\";\nimport { bell } from \"../../@shared/Icon/assets/bell.js\";\nimport { gift } from \"../../@shared/Icon/assets/gift.js\";\nimport { share } from \"../../@shared/Icon/assets/share.js\";\nimport { scrap } from \"../../@shared/Icon/assets/scrap.js\";\nimport { lock } from \"../../@shared/Icon/assets/lock.js\";\nimport { lockOff } from \"../../@shared/Icon/assets/lockOff.js\";\nconst prefixIconAssets = {\n  scrap,\n  lock,\n  lockOff,\n  heart,\n  bell,\n  gift,\n  share\n};\nconst postfixIconAssets = {\n  plus,\n  chevronRight,\n  download,\n  chevronDown,\n  share\n};\nconst PREFIX_ICON_OPTIONS = Object.keys(prefixIconAssets);\nconst POSTFIX_ICON_OPTIONS = Object.keys(postfixIconAssets);\nexport {\n  POSTFIX_ICON_OPTIONS,\n  PREFIX_ICON_OPTIONS,\n  postfixIconAssets,\n  prefixIconAssets\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext } from \"react\";\nimport \"../../../systems/Countdown/Countdown.js\";\nimport \"react-dom\";\nimport \"../../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../systems/Expandable/Expandable.js\";\nimport \"../../../systems/FixedScrollProgressBar/FixedScrollProgressBar.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport \"../../../systems/ShareButtonWithReferralEvent/ShareButtonWithReferralEvent.js\";\nimport \"../../../../constants/snowplow/snowplowSchema.js\";\nimport { PRODUCTS_PER_REQUEST } from \"../../../systems/Products/Products.js\";\nimport \"../../../systems/ResponsiveSplitView/ResponsiveSplitView.js\";\nimport \"../../../systems/ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.js\";\nimport \"../../../systems/RollingNumber/RollingNumber.js\";\nimport \"../../../systems/TabBar/TabBar.js\";\nimport \"../../../systems/TimeProgressBar/TimeProgressBar.js\";\nimport \"../../../systems/ViewportContainer/ViewportContainer.js\";\nimport \"../../../systems/TabBarV2/TabBarV2.js\";\nimport \"../../../systems/TabBarV3/TabBarV3.js\";\nimport \"../../../systems/TabBarV4/TabBarV4.js\";\nconst ProductsElementContext = createContext({\n  query: void 0,\n  size: PRODUCTS_PER_REQUEST\n});\nconst ProductsElementProvider = ({\n  children,\n  query,\n  size\n}) => {\n  return /* @__PURE__ */ jsx(ProductsElementContext.Provider, { value: {\n    query,\n    size\n  }, children });\n};\nexport {\n  ProductsElementContext,\n  ProductsElementProvider\n};\n","var ScrollDirection = /* @__PURE__ */ ((ScrollDirection2) => {\n  ScrollDirection2[\"Vertical\"] = \"vertical\";\n  ScrollDirection2[\"Horizontal\"] = \"horizontal\";\n  return ScrollDirection2;\n})(ScrollDirection || {});\nvar ProductsModuleInputType = /* @__PURE__ */ ((ProductsModuleInputType2) => {\n  ProductsModuleInputType2[ProductsModuleInputType2[\"Linked\"] = 0] = \"Linked\";\n  ProductsModuleInputType2[ProductsModuleInputType2[\"Manual\"] = 1] = \"Manual\";\n  ProductsModuleInputType2[ProductsModuleInputType2[\"Preuser\"] = 2] = \"Preuser\";\n  return ProductsModuleInputType2;\n})(ProductsModuleInputType || {});\nvar PaginationType = /* @__PURE__ */ ((PaginationType2) => {\n  PaginationType2[PaginationType2[\"Default\"] = 0] = \"Default\";\n  PaginationType2[PaginationType2[\"ExpandButton\"] = 1] = \"ExpandButton\";\n  PaginationType2[PaginationType2[\"None\"] = 2] = \"None\";\n  return PaginationType2;\n})(PaginationType || {});\nexport {\n  PaginationType,\n  ProductsModuleInputType,\n  ScrollDirection\n};\n","import { useContext } from \"react\";\nimport { ProductsElementContext } from \"./ProductsElementProvider.js\";\nconst useProductsElementContext = () => {\n  return useContext(ProductsElementContext);\n};\nexport {\n  useProductsElementContext\n};\n","var SortType = /* @__PURE__ */ ((SortType2) => {\n  SortType2[\"FEATURED\"] = \"FEATURED\";\n  SortType2[\"BEST\"] = \"BEST\";\n  SortType2[\"NEW\"] = \"NEW\";\n  SortType2[\"REVIEW_DESC\"] = \"REVIEW_DESC\";\n  SortType2[\"PRICE_DESC\"] = \"PRICE_DESC\";\n  SortType2[\"PRICE_ASC\"] = \"PRICE_ASC\";\n  SortType2[\"DISCOUNT_DESC\"] = \"DISCOUNT_DESC\";\n  SortType2[\"LIKE_DESC\"] = \"LIKE_DESC\";\n  SortType2[\"ORDER_DESC\"] = \"ORDER_DESC\";\n  return SortType2;\n})(SortType || {});\nexport {\n  SortType\n};\n","var DisplayBffSortType = /* @__PURE__ */ ((DisplayBffSortType2) => {\n  DisplayBffSortType2[\"Recommended\"] = \"RECOMMENDED\";\n  DisplayBffSortType2[\"Newest\"] = \"NEWEST\";\n  DisplayBffSortType2[\"MostReviewed\"] = \"MOST_REVIEWED\";\n  DisplayBffSortType2[\"LowestPrice\"] = \"LOWEST_PRICE\";\n  DisplayBffSortType2[\"HighestPrice\"] = \"HIGHEST_PRICE\";\n  DisplayBffSortType2[\"HighestDiscount\"] = \"HIGHEST_DISCOUNT\";\n  DisplayBffSortType2[\"MostLiked\"] = \"MOST_LIKED\";\n  DisplayBffSortType2[\"MostSold\"] = \"MOST_SOLD\";\n  DisplayBffSortType2[\"MostReserved\"] = \"MOST_RESERVED\";\n  DisplayBffSortType2[\"UpcomingPerformance\"] = \"UPCOMING_PERFORMANCE\";\n  return DisplayBffSortType2;\n})(DisplayBffSortType || {});\nexport {\n  DisplayBffSortType\n};\n","import { APIService } from \"../APIService.js\";\nimport { throwFailError } from \"../@middlewares/throwFailError.js\";\nimport { env } from \"../../config/index.js\";\nclass RecommendApiService extends APIService {\n  constructor() {\n    super();\n    this.setBaseUrl(env.api.content);\n    this.setMiddleware(throwFailError);\n  }\n  async getPersonalizedProducts(productGroupId, limit) {\n    return this.get(`/api/v4/framers/proxy/content-api/api/v4/product-groups/${productGroupId}/for-you-products`, {\n      limit\n    }, {\n      credentials: \"include\"\n    }).then((data) => ({\n      ...data,\n      data: {\n        ...data.data,\n        productList: formatProducts(data.data.productList)\n      }\n    }));\n  }\n  /**\n   * @param query.tagIds 콤마 구분 기획전 태그 ID (예: `\"3515,3516\"`)\n   * @param query.categoryCodes 콤마 구분 전시 대카 코드 (예: `\"268100100,268200100\"`). 빈 문자열이면 전체\n   */\n  async getRecommendedProductsByTagId(query) {\n    return this.get(\"/api/v4/framers/proxy/content-api/api/v5/recommendation/personalize/products\", {\n      limit: query.limit,\n      tagIds: query.tagIds,\n      // content-api OpenAPI: categoryCodes integer[] → 쿼리는 콤마 구분 문자열\n      categoryCodes: query.categoryCodes ?? \"\"\n    }, {\n      credentials: \"include\"\n    }).then((data) => ({\n      ...data,\n      data: {\n        ...data.data,\n        products: formatCollectionProduct2Product(data.data.products)\n      }\n    }));\n  }\n}\nconst recommendApi = new RecommendApiService();\nconst formatCollectionProduct2Product = (products) => products.map((product) => {\n  var _a;\n  return {\n    frontBrand: {\n      frontBrandId: product.frontBrand.id,\n      nameKor: product.frontBrand.nameKor,\n      nameEng: product.frontBrand.nameEng\n    },\n    productId: product.productId,\n    productName: product.productName,\n    subjectDescriptions: product.subjectDescriptions,\n    imageUrl: product.imageUrl,\n    consumerPrice: product.consumerPrice,\n    lastSalePrice: product.lastSalePrice,\n    lastSalePercent: product.lastSalePercent,\n    heartCount: product.heartCount,\n    heartOn: product.heartOn,\n    reviewCount: product.reviewCount,\n    reviewAveragePoint: product.reviewAveragePoint,\n    isCoupon: product.saleInfo.coupon,\n    isFreeShipping: product.freeShipping,\n    isNew: product.newProperty,\n    isSoldOut: product.soldOut,\n    frontCategories: (_a = product.frontCategories) == null ? void 0 : _a.map((category) => ({\n      largeCategoryCode: category.largeCode ?? 0,\n      largeCategoryName: category.largeName ?? \"\",\n      mediumCategoryCode: category.mediumCode ?? 0,\n      mediumCategoryName: category.mediumName ?? \"\",\n      smallCategoryCode: category.smallCode ?? 0,\n      smallCategoryName: category.smallName ?? \"\"\n    }))\n  };\n});\nconst formatProducts = (products) => products.map((product) => ({\n  frontBrand: {\n    frontBrandId: product.frontBrandId,\n    nameKor: product.frontBrandNameKor,\n    nameEng: product.frontBrandNameEng\n  },\n  productId: product.productId,\n  productName: product.productName,\n  subjectDescriptions: product.subjectDescriptions,\n  imageUrl: product.imageUrl,\n  consumerPrice: product.consumerPrice,\n  lastSalePrice: product.lastSalePrice,\n  lastSalePercent: product.lastSalePercent,\n  heartCount: product.heartCount,\n  heartOn: product.heartOn,\n  reviewCount: product.reviewCount,\n  reviewAveragePoint: product.reviewAveragePoint,\n  isCoupon: product.searchSale.coupon,\n  isFreeShipping: product.freeShipping,\n  isNew: product.newProperty,\n  isSoldOut: product.soldOut,\n  frontCategoryInfo: product.searchFrontCategoryList\n}));\nexport {\n  formatCollectionProduct2Product,\n  recommendApi\n};\n","import { withScope } from \"../../node_modules/@sentry/core/build/esm/currentScopes.js\";\nimport { captureException } from \"../../node_modules/@sentry/core/build/esm/exports.js\";\nconst captureAPIError = (error, response) => {\n  withScope((scope) => {\n    scope.setTag(\"error.type\", \"api_error\");\n    scope.setExtra(\"APIResponse\", response);\n    captureException(error);\n  });\n};\nconst captureNextPageError = (error, context) => {\n  withScope((scope) => {\n    scope.setTag(\"error.type\", \"next_page_error\");\n    scope.setExtras(context);\n    captureException(error);\n  });\n};\nexport {\n  captureAPIError,\n  captureNextPageError\n};\n","import { useMemo } from \"react\";\nimport useSWR from \"../../../node_modules/swr/core/dist/index.js\";\nimport useSWRInfinite from \"../../../node_modules/swr/infinite/dist/index.js\";\nimport { keywordCollectionApi } from \"../../../apis/keyword-collections/KeywordCollectionApiService.js\";\nimport { SortType } from \"../../../types/models/sort.js\";\nimport { bestApi } from \"../../../apis/best/BestApiService.js\";\nimport { displayBffApi } from \"../../../apis/display-bff/DisplayBffApiService.js\";\nimport { DisplayBffSortType } from \"../../../apis/display-bff/DisplayBffApiService.types.js\";\nimport { framerApi } from \"../../../apis/framer/FramerApiService.js\";\nimport { preuserApi } from \"../../../apis/preuser/PreuserApiService.js\";\nimport { recommendApi } from \"../../../apis/recommend/RecommendApiService.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport { isFramerPreview } from \"../../../utils/framer/isFramerPreview.js\";\nimport { captureNextPageError } from \"../../../utils/error/sentry.js\";\nimport { splitToNumberArray } from \"../../../utils/splitToNumberArray.js\";\nimport { MOCK_PRODUCTS } from \"../mock.js\";\nimport { QueryType, RankingType } from \"../types.js\";\nimport { createMolocoKey } from \"../utils/key.js\";\nimport { useSWRConfig } from \"../../../node_modules/swr/_internal/dist/index.js\";\nimport last from \"../../../node_modules/lodash-es/last.js\";\nconst BRAND_CURATION_PRODUCTS_MAX_SIZE = 60;\nconst RECOMMENDATION_PRODUCTS_MAX_SIZE = 60;\nconst RANKING_PRODUCTS_PER_REQUEST = 24;\nconst RANKING_PRODUCTS_MAX_SIZE = 99;\nconst RANKING_PRODUCTS_DEFAULT_AGE = 30;\nconst isRankingProductsQuery = (query) => query.type === QueryType.Ranking || query.type === QueryType.CustomCategory;\nconst getRankingFetchPageSize = (pageIndex) => {\n  const remaining = RANKING_PRODUCTS_MAX_SIZE - pageIndex * RANKING_PRODUCTS_PER_REQUEST;\n  return Math.max(Math.min(RANKING_PRODUCTS_PER_REQUEST, remaining), 0);\n};\nconst getRankingProductsHasNext = (pageIndex) => (pageIndex + 1) * RANKING_PRODUCTS_PER_REQUEST < RANKING_PRODUCTS_MAX_SIZE;\nconst getInitialPaginationOptions = (size) => ({\n  page: 1,\n  size\n});\nconst useMolocoProductsQuery = (options) => {\n  const {\n    enabled: _enabled = true,\n    query\n  } = options;\n  const enabled = _enabled && query !== void 0;\n  const cacheKey = enabled && query ? createMolocoKey(query) : null;\n  const {\n    data,\n    isLoading,\n    ...rest\n  } = useSWR(cacheKey, () => fetchMolocoItems(query));\n  const products = useMemo(() => (data == null ? void 0 : data.products) ?? [], [data]);\n  return {\n    isLoading: isLoading || !enabled,\n    products,\n    hasNext: false,\n    page: 1,\n    fetchNextPage: () => {\n    },\n    ...rest\n  };\n};\nclass NextPageError extends Error {\n  constructor(page, originalError) {\n    super(originalError instanceof Error ? originalError.message : \"next page request failed\");\n    this.page = page;\n    this.originalError = originalError;\n    this.name = \"NextPageError\";\n  }\n}\nconst useProductsQuery = (options) => {\n  const {\n    enabled: _enabled = true,\n    query,\n    size: _size,\n    userSegment\n  } = options;\n  const enabled = _enabled && query !== void 0;\n  const {\n    onError,\n    onErrorRetry\n  } = useSWRConfig();\n  const {\n    isLoading,\n    isValidating,\n    data,\n    size,\n    setSize,\n    error,\n    ...rest\n  } = useSWRInfinite(getKey(query, getInitialPaginationOptions(_size), enabled), async ({\n    key\n  }) => {\n    try {\n      return await queryProducts(key.query, userSegment, key.pagination);\n    } catch (err) {\n      throw key.pagination.page > 0 ? new NextPageError(key.pagination.page, err) : err;\n    }\n  }, {\n    keepPreviousData: true,\n    revalidateFirstPage: false,\n    onErrorRetry: (err, ...args) => {\n      if (err instanceof NextPageError) {\n        return;\n      }\n      onErrorRetry(err, ...args);\n    },\n    onError: (err, key, config) => {\n      if (err instanceof NextPageError) {\n        captureNextPageError(err.originalError, {\n          queryType: query == null ? void 0 : query.type,\n          page: err.page\n        });\n        return;\n      }\n      onError(err, key, config);\n    }\n  });\n  const products = useMemo(() => {\n    const fetchedProducts = (data == null ? void 0 : data.flatMap((item) => item.products)) ?? [];\n    if (query !== void 0 && isRankingProductsQuery(query)) {\n      return fetchedProducts.slice(0, RANKING_PRODUCTS_MAX_SIZE);\n    }\n    return fetchedProducts;\n  }, [data, query]);\n  const {\n    hasNext: lastPageHasNext = false\n  } = last(data) ?? {};\n  const hasNext = error === void 0 && lastPageHasNext;\n  const fetchNextPage = () => {\n    if (!hasNext || isValidating) {\n      return;\n    }\n    setSize((prev) => prev + 1);\n  };\n  return {\n    isLoading: isLoading || !enabled,\n    isValidating,\n    products,\n    hasNext,\n    page: size,\n    fetchNextPage,\n    error,\n    ...rest\n  };\n};\nconst fetchProducts = async (query, options) => {\n  if (!query.productIds) {\n    return {\n      hasNext: false,\n      products: []\n    };\n  }\n  const {\n    page,\n    size\n  } = options;\n  const offset = page * size;\n  const productIds = splitToNumberArray(query.productIds);\n  const skipped = productIds.slice(offset, productIds.length);\n  const took = skipped.slice(0, size);\n  const hasNext = skipped.length > took.length;\n  const products = await framerApi.getFramerProductListV2(took);\n  return {\n    hasNext,\n    products\n  };\n};\nconst fetchKeywordCollectionProducts = async (query, options) => {\n  var _a, _b;\n  if (!query.keywordCollectionId) {\n    return {\n      hasNext: false,\n      products: []\n    };\n  }\n  const keywordCollectionId = Number(query.keywordCollectionId);\n  const {\n    hasNext,\n    resultList\n  } = await keywordCollectionApi.getCollectionProducts({\n    collectionId: keywordCollectionId,\n    productGroupId: ((_a = query.selectedProductGroup) == null ? void 0 : _a.id) ?? await fetchFirstProductGroupId(keywordCollectionId),\n    sort: ((_b = query.selectedProductGroup) == null ? void 0 : _b.sort) ?? SortType.FEATURED,\n    ...options\n  });\n  return {\n    hasNext,\n    products: resultList\n  };\n};\nconst fetchFirstProductGroupId = async (keywordCollectionId) => {\n  const {\n    data\n  } = await keywordCollectionApi.getKeywordCollection(keywordCollectionId);\n  const [{\n    productGroupId\n  }] = data.productGroups;\n  return productGroupId;\n};\nconst fetchBrandCurationProducts = async (query, options) => {\n  if (!query.brandId) {\n    return {\n      hasNext: false,\n      products: []\n    };\n  }\n  const tagIds = splitToNumberArray(query.brandCurationTagIds);\n  const {\n    products\n  } = await bestApi.getRankedProducts({\n    facetGroupInput: {\n      brandFacetInputs: [{\n        frontBrandNo: query.brandId\n      }],\n      rankingFacetInput: {\n        type: \"POPULARITY\"\n      },\n      periodFacetInput: {\n        type: \"HOURLY\",\n        order: \"DESC\"\n      },\n      stockFacetInputs: [{\n        type: \"IN_STOCK\"\n      }],\n      tagFacetInputs: tagIds.map((tagId) => ({\n        tagId\n      }))\n    },\n    pagination: options\n  });\n  const hasNext = options.page * options.size < BRAND_CURATION_PRODUCTS_MAX_SIZE;\n  return {\n    hasNext,\n    products\n  };\n};\nconst fetchRecommendationProducts = async (query) => {\n  if (!query.recommendationTagIds) {\n    return {\n      hasNext: false,\n      products: []\n    };\n  }\n  if (isCanvas() || isFramerPreview()) {\n    return {\n      hasNext: false,\n      products: MOCK_PRODUCTS\n    };\n  }\n  const tagIds = splitToNumberArray(query.recommendationTagIds).join(\",\");\n  const {\n    data\n  } = await recommendApi.getRecommendedProductsByTagId({\n    limit: RECOMMENDATION_PRODUCTS_MAX_SIZE,\n    tagIds: tagIds || void 0\n  });\n  return {\n    // NOTE(임규민): 개인화 추천 API 는 페이지네이션을 지원하지 않으므로 hasNext 를 false 로 둔다.\n    hasNext: false,\n    products: data.products\n  };\n};\nconst fetchRankingProducts = async (query, userSegment, options) => {\n  if (!query.rankingTagIds) {\n    return {\n      hasNext: false,\n      products: []\n    };\n  }\n  const isTrending = query.rankingType === RankingType.Trending;\n  const hasLargeCategoryId = query.largeCategoryId !== void 0;\n  const hasMiddleCategoryId = query.middleCategoryId !== void 0;\n  const tagIds = splitToNumberArray(query.rankingTagIds);\n  const pageSize = getRankingFetchPageSize(options.page);\n  if (pageSize <= 0) {\n    return {\n      hasNext: false,\n      products: []\n    };\n  }\n  const {\n    products\n  } = await bestApi.getRankedProducts({\n    facetGroupInput: {\n      categoryFacetInputs: hasLargeCategoryId ? [{\n        largeId: query.largeCategoryId,\n        ...hasMiddleCategoryId ? {\n          middleId: query.middleCategoryId\n        } : void 0\n      }] : [],\n      tagFacetInputs: tagIds.map((tagId) => ({\n        tagId\n      })),\n      rankingFacetInput: {\n        type: query.rankingType\n      },\n      periodFacetInput: {\n        type: isTrending ? query.trendingPeriodType : query.popularityPeriodType,\n        order: \"DESC\"\n      }\n    },\n    userSegment: {\n      gender: userSegment.gender ?? \"F\",\n      age: RANKING_PRODUCTS_DEFAULT_AGE\n    },\n    pagination: {\n      ...options,\n      page: options.page,\n      size: pageSize\n    }\n  });\n  return {\n    hasNext: getRankingProductsHasNext(options.page),\n    products\n  };\n};\nconst fetchCouponCollectionProducts = async (query, options) => {\n  var _a;\n  if (!query.couponCollectionId) {\n    return {\n      hasNext: false,\n      products: []\n    };\n  }\n  const {\n    data\n  } = await displayBffApi.getListingItems({\n    pageType: \"COUPON\",\n    sortType: DisplayBffSortType.Recommended,\n    facets: {\n      couponFacetInputs: [{\n        couponId: ((_a = query.coupon) == null ? void 0 : _a.couponId) ?? 0\n      }]\n    },\n    pageRequest: {\n      page: options.page + 1,\n      size: options.size\n    }\n  });\n  return {\n    hasNext: data.pagination.hasNext,\n    products: data.list.map((item) => ({\n      frontBrand: {\n        frontBrandId: item.itemInfo.brandId,\n        nameKor: item.itemInfo.brandName,\n        nameEng: \"\"\n      },\n      productId: item.itemId,\n      productName: item.itemInfo.productName,\n      subjectDescriptions: [],\n      imageUrl: item.itemInfo.thumbnailUrl,\n      consumerPrice: item.itemInfo.originalPrice,\n      lastSalePrice: item.itemInfo.displayPrice,\n      lastSalePercent: item.itemInfo.saleRate,\n      heartCount: item.itemInfo.likeCount,\n      heartOn: item.itemInfo.isLiked,\n      reviewAveragePoint: item.itemInfo.reviewScore,\n      reviewCount: item.itemInfo.reviewCount,\n      isCoupon: false,\n      isFreeShipping: false,\n      isNew: false,\n      isSoldOut: item.itemInfo.isSoldOut,\n      frontCategories: item.itemInfo.extraInfo.categories.map((category) => ({\n        largeCategoryCode: category.largeCategoryCode ?? 0,\n        mediumCategoryCode: category.mediumCategoryCode ?? 0,\n        smallCategoryCode: category.smallCategoryCode ?? 0\n      }))\n    }))\n  };\n};\nconst fetchPreuserProducts = async (query) => {\n  if (!query.preuserIds) {\n    return {\n      hasNext: false,\n      products: []\n    };\n  }\n  const preuserIds = splitToNumberArray(query.preuserIds);\n  const {\n    products\n  } = await preuserApi.getPreuser(preuserIds);\n  return {\n    hasNext: false,\n    products\n  };\n};\nconst fetchMolocoItems = async (query) => {\n  if (!query.tagId) {\n    return {\n      hasNext: false,\n      products: []\n    };\n  }\n  if (isCanvas() || isFramerPreview()) {\n    const MOCK_TABS = [\"추천\", \"신상품\", \"베스트\"];\n    const allProducts2 = MOCK_TABS.flatMap((tabName) => MOCK_PRODUCTS.map((product) => ({\n      ...product,\n      molocoTab: tabName\n    })));\n    return {\n      hasNext: false,\n      products: allProducts2\n    };\n  }\n  const {\n    categories\n  } = query;\n  const tabs = categories == null ? void 0 : categories.map((category) => ({\n    name: category.categoryName.trim(),\n    categoryCodes: splitToNumberArray(category.categoryId)\n  })).filter((tab) => tab.name.length > 0 && tab.categoryCodes.length > 0);\n  const {\n    data\n  } = await displayBffApi.getItems({\n    tagIds: [Number(query.tagId)],\n    inventoryId: query.inventoryId || \"\",\n    pageId: query.pageId || \"\",\n    tabs\n  });\n  const allProducts = data.tabs.flatMap((tab) => tab.items.map((item) => ({\n    // 기본 상품 정보 매핑\n    frontBrand: {\n      frontBrandId: item.itemInfo.brandId,\n      nameKor: item.itemInfo.brandName,\n      nameEng: \"\"\n    },\n    productId: item.itemId,\n    productName: item.itemInfo.productName,\n    subjectDescriptions: [],\n    imageUrl: item.itemInfo.thumbnailUrl,\n    consumerPrice: item.itemInfo.originalPrice,\n    lastSalePrice: item.itemInfo.displayPrice,\n    lastSalePercent: item.itemInfo.saleRate,\n    heartCount: item.itemInfo.likeCount,\n    heartOn: item.itemInfo.isLiked,\n    reviewAveragePoint: item.itemInfo.reviewScore,\n    reviewCount: item.itemInfo.reviewCount,\n    isCoupon: false,\n    isFreeShipping: false,\n    isNew: false,\n    isSoldOut: item.itemInfo.isSoldOut,\n    frontCategories: item.itemInfo.extraInfo.categories.map((cat) => ({\n      largeCategoryCode: cat.largeCategoryCode,\n      mediumCategoryCode: cat.mediumCategoryCode,\n      smallCategoryCode: cat.smallCategoryCode\n    })),\n    // 메타데이터: 이 상품이 어느 탭(facet)에서 온 것인지 표시\n    // 응답 탭명을 사용해 TagsModule의 facetName과 일치시킨다.\n    molocoTab: tab.text,\n    // Moloco 트래커 이벤트 데이터 (impression/onClick)\n    itemEvent: item.itemEvent\n  })));\n  return {\n    hasNext: false,\n    products: allProducts\n  };\n};\nconst fetchRankingCategoryProducts = async (query, options) => {\n  var _a;\n  const categoryIds = (_a = query.categoryIds) == null ? void 0 : _a.map((category) => ({\n    largeId: Number(category.largeCategoryId),\n    ...category.middleCategoryId ? {\n      middleId: Number(category.middleCategoryId)\n    } : void 0\n  }));\n  const hasLargeCategoryId = categoryIds == null ? void 0 : categoryIds.some((category) => category.largeId !== void 0);\n  const tagIds = query.recommendationTagIds ? splitToNumberArray(query.recommendationTagIds) : [];\n  const pageSize = getRankingFetchPageSize(options.page);\n  if (pageSize <= 0) {\n    return {\n      hasNext: false,\n      products: []\n    };\n  }\n  const {\n    products\n  } = await bestApi.getRankedProducts({\n    facetGroupInput: {\n      categoryFacetInputs: hasLargeCategoryId ? categoryIds : [],\n      tagFacetInputs: tagIds.length > 0 ? tagIds.map((tagId) => ({\n        tagId\n      })) : void 0,\n      rankingFacetInput: {\n        type: query.rankingType\n      },\n      periodFacetInput: {\n        type: query.popularityPeriodType,\n        order: \"DESC\"\n      }\n    },\n    userSegment: {\n      gender: query.gender === \"all\" ? void 0 : query.gender,\n      age: query.age === \"all\" ? void 0 : Number(query.age)\n    },\n    pagination: {\n      ...options,\n      page: options.page,\n      size: pageSize\n    }\n  });\n  return {\n    hasNext: getRankingProductsHasNext(options.page),\n    products\n  };\n};\nconst queryProducts = (query, userSegment, options) => {\n  switch (query.type) {\n    case QueryType.Product:\n      return fetchProducts(query, options);\n    case QueryType.KeywordCollection:\n      return fetchKeywordCollectionProducts(query, options);\n    case QueryType.BrandCuration:\n      return fetchBrandCurationProducts(query, options);\n    case QueryType.Recommendation:\n      return fetchRecommendationProducts(query);\n    case QueryType.Ranking:\n      return fetchRankingProducts(query, userSegment, options);\n    case QueryType.CouponCollection:\n      return fetchCouponCollectionProducts(query, options);\n    case QueryType.Preuser:\n      return fetchPreuserProducts(query);\n    case QueryType.CustomCategory:\n      return fetchRankingCategoryProducts(query, options);\n    case QueryType.Moloco:\n      return fetchMolocoItems(query);\n    default:\n      return {\n        hasNext: false,\n        products: []\n      };\n  }\n};\nconst getKey = (query, options, enabled) => (pageIndex) => {\n  if (!enabled || query === void 0) {\n    return null;\n  }\n  if (isRankingProductsQuery(query)) {\n    const pageSize = getRankingFetchPageSize(pageIndex);\n    if (pageSize <= 0) {\n      return null;\n    }\n    return {\n      key: {\n        query,\n        pagination: {\n          page: pageIndex,\n          size: pageSize\n        }\n      }\n    };\n  }\n  return {\n    key: {\n      query,\n      // 전체 query 사용\n      pagination: {\n        ...options,\n        page: pageIndex\n      }\n    }\n  };\n};\nexport {\n  useMolocoProductsQuery,\n  useProductsQuery\n};\n","import { useSegment } from \"../../../@shared/providers/SegmentProvider/SegmentProvider.js\";\nimport { QueryType } from \"../../types.js\";\nimport \"../../../systems/curations/IntersectionProvider/IntersectionProvider.js\";\nimport { useIntersectionContext } from \"../../../systems/curations/IntersectionProvider/IntersectionProvider.hooks.js\";\nimport \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../../hooks/useCurrentUser.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useSendProductIds } from \"../../../../hooks/product/useSendProductIds.js\";\nimport \"../../../../constants/snowplow/snowplowSchema.js\";\nimport \"../ProductsElementProvider/ProductsElementProvider.js\";\nimport { useProductsElementContext } from \"../ProductsElementProvider/ProductsElementProvider.hooks.js\";\nimport { useMolocoProductsQuery, useProductsQuery } from \"../ProductsModule.hooks.js\";\nconst useProducts = () => {\n  const user = useCurrentUser();\n  const {\n    isInView\n  } = useIntersectionContext();\n  const {\n    query,\n    size\n  } = useProductsElementContext();\n  const {\n    isVisible\n  } = useSegment();\n  const isMoloco = (query == null ? void 0 : query.type) === QueryType.Moloco;\n  const molocoOptions = {\n    query,\n    size,\n    userSegment: user,\n    enabled: isMoloco && isInView && isVisible\n  };\n  const infiniteOptions = {\n    query,\n    size,\n    userSegment: user,\n    enabled: !isMoloco && isInView && isVisible\n  };\n  const molocoResult = useMolocoProductsQuery(molocoOptions);\n  const infiniteResult = useProductsQuery(infiniteOptions);\n  return isMoloco ? molocoResult : infiniteResult;\n};\nconst useSendProductsElementIds = (query) => {\n  useSendProductIds(getProductIds(query));\n};\nconst getProductIds = (query) => {\n  if (!query) {\n    return \"\";\n  }\n  switch (query.type) {\n    case QueryType.Product:\n      return query.productIds;\n    default:\n      return \"\";\n  }\n};\nexport {\n  useProducts,\n  useSendProductsElementIds\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { Button as Default } from \"../../../../../@shared/Button/Button.js\";\nimport { useProducts } from \"../../ProductsElement.hooks.js\";\nimport \"react\";\nimport \"../../../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../../../config/index.js\";\nimport \"../../../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../../../apis/user/UserApiService.js\";\nimport \"../../../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../../../hooks/useTheme.js\";\nimport \"../../../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../../../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../../../utils/redirectLogin.js\";\nimport \"../../../../../../utils/event-properties/source.js\";\nconst ExpandButtonElement = ({\n  pagination,\n  style,\n  ...rest\n}) => {\n  const theme = useTheme();\n  const {\n    page,\n    fetchNextPage,\n    hasNext\n  } = useProducts();\n  const {\n    button,\n    gap\n  } = pagination;\n  const text = button.texts[page - 1];\n  if (text === void 0 || !hasNext) {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(\"div\", { ...rest, style: {\n    ...containerStyle,\n    marginTop: gap,\n    ...style\n  }, children: /* @__PURE__ */ jsx(Default, { ...button, theme, onClick: fetchNextPage, children: text }) });\n};\nconst containerStyle = {\n  display: \"flex\",\n  justifyContent: \"center\",\n  width: \"100%\"\n};\nexport {\n  ExpandButtonElement\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { PaginationType } from \"../../../ProductsModule.types.js\";\nimport { ExpandButtonElement } from \"../ExpandButtonElement/ExpandButtonElement.js\";\nconst VerticalPaginationElement = ({\n  pagination,\n  ...rest\n}) => {\n  if (pagination !== void 0) {\n    switch (pagination.type) {\n      case PaginationType.Default:\n        return null;\n      case PaginationType.ExpandButton:\n        return /* @__PURE__ */ jsx(ExpandButtonElement, { ...rest, pagination });\n      case PaginationType.None:\n        return null;\n    }\n  }\n  return null;\n};\nexport {\n  VerticalPaginationElement\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { ScrollDirection } from \"../../ProductsModule.types.js\";\nimport { VerticalPaginationElement } from \"./VerticalPaginationElement/VerticalPaginationElement.js\";\nconst PaginationElement = ({\n  layout,\n  ...rest\n}) => {\n  switch (layout.direction) {\n    case ScrollDirection.Vertical:\n      return /* @__PURE__ */ jsx(VerticalPaginationElement, { ...rest, pagination: layout.verticalPagination });\n    default:\n      return null;\n  }\n};\nexport {\n  PaginationElement\n};\n","import \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport \"react\";\nimport { ScrollDirection, PaginationType } from \"../ProductsModule.types.js\";\nimport { PRODUCTS_PER_REQUEST } from \"../ProductsModule.constants.js\";\nconst getScrollMargin = (layout) => {\n  switch (layout.direction) {\n    case ScrollDirection.Vertical:\n      return layout.scrollMargin;\n    case ScrollDirection.Horizontal:\n      return 0;\n  }\n};\nconst isElementCrossed = (element, upper = 0) => {\n  const top = (element == null ? void 0 : element.getBoundingClientRect().top) ?? 0;\n  return top - upper <= 0;\n};\nconst initializeScroll = (element, layout) => {\n  setTimeout(() => {\n    if (layout.direction === ScrollDirection.Vertical && isElementCrossed(element, getScrollMargin(layout))) {\n      element == null ? void 0 : element.scrollIntoView({\n        block: \"start\",\n        inline: \"nearest\"\n      });\n    }\n    if (layout.direction === ScrollDirection.Horizontal) {\n      element == null ? void 0 : element.scrollTo({\n        left: 0\n      });\n    }\n  });\n};\nconst isExpandable = (pagination, page) => {\n  return pagination.button.texts[page - 1] !== void 0;\n};\nconst getDisplayCount = (layout, page) => {\n  if (layout.direction === ScrollDirection.Vertical && layout.verticalPagination !== void 0) {\n    switch (layout.verticalPagination.type) {\n      case PaginationType.ExpandButton:\n        return isExpandable(layout.verticalPagination, page) ? layout.verticalPagination.rowDisplayCount * layout.columnCount * page : void 0;\n      case PaginationType.None:\n        return layout.verticalPagination.rowDisplayCount * layout.columnCount * page;\n      default:\n        return void 0;\n    }\n  }\n};\nconst canFetchOnLastItemView = (layout, page) => {\n  if (isCanvas()) {\n    return false;\n  }\n  if (layout.direction === ScrollDirection.Vertical && layout.verticalPagination !== void 0) {\n    switch (layout.verticalPagination.type) {\n      case PaginationType.Default:\n        return true;\n      case PaginationType.ExpandButton:\n        return !isExpandable(layout.verticalPagination, page);\n      case PaginationType.None:\n        return false;\n      default:\n        return true;\n    }\n  }\n  return true;\n};\nconst getRequestSize = (layout) => {\n  if (layout.direction === ScrollDirection.Horizontal || layout.isResponsive) {\n    return PRODUCTS_PER_REQUEST;\n  }\n  if (layout.verticalPagination.type === PaginationType.Default || layout.verticalPagination.type === PaginationType.None) {\n    return PRODUCTS_PER_REQUEST;\n  }\n  return layout.verticalPagination.rowDisplayCount * layout.columnCount;\n};\nexport {\n  canFetchOnLastItemView,\n  getDisplayCount,\n  getRequestSize,\n  getScrollMargin,\n  initializeScroll\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { useRef, useMemo, useEffect } from \"react\";\nimport { EventTrigger } from \"../../../@shared/EventTrigger/index.js\";\nimport { ProductCardType } from \"../../../@shared/ProductCard/ProductCard.types.js\";\nimport { useSegment } from \"../../../@shared/providers/SegmentProvider/SegmentProvider.js\";\nimport { useRootComponentId } from \"../../hooks.js\";\nimport { QueryType } from \"../../types.js\";\nimport { Products } from \"../../../systems/curations/Products/index.js\";\nimport { createOptionTemplate, getResponsiveWidth, getHorizontalBarColumnWidth, getResponsiveWidthWithProductPeekInset } from \"../../../systems/curations/Products/Root.utils.js\";\nimport { useComponentTimingContext } from \"../../../../hooks/beacon/ComponentTimingContext.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport { hideClosestParentByFramerName } from \"../../../../utils/hideParentElement.js\";\nimport { getPadding } from \"../../../../utils/spacing.js\";\nimport { ProductsElementProvider } from \"../ProductsElementProvider/ProductsElementProvider.js\";\nimport { PRODUCTS_PER_REQUEST } from \"../ProductsModule.constants.js\";\nimport { ScrollDirection } from \"../ProductsModule.types.js\";\nimport { PaginationElement } from \"./PaginationElement/PaginationElement.js\";\nimport { useProducts, useSendProductsElementIds } from \"./ProductsElement.hooks.js\";\nimport { getDisplayCount, initializeScroll, getScrollMargin, canFetchOnLastItemView, getRequestSize } from \"./ProductsElement.utils.js\";\nconst ProductsElementInner = ({\n  query,\n  layout\n}) => {\n  const componentId = useRootComponentId(query);\n  const ref = useRef(null);\n  const {\n    isLoading,\n    hasNext,\n    products: _products,\n    page,\n    fetchNextPage\n  } = useProducts();\n  const {\n    isVisible\n  } = useSegment();\n  useSendProductsElementIds(query);\n  const totalProductsLength = _products.length;\n  const loading = isLoading && totalProductsLength === 0 || isCanvas() && totalProductsLength === 0;\n  const displayCount = getDisplayCount(layout, page);\n  const products = useMemo(() => {\n    const filteredProducts = (query == null ? void 0 : query.type) === QueryType.Moloco && query.facetName ? _products.filter((p) => p.molocoTab === query.facetName) : _products;\n    return filteredProducts.slice(0, displayCount).slice(0, isCanvas() ? PRODUCTS_PER_REQUEST : void 0);\n  }, [_products, query, displayCount]);\n  const {\n    markReady\n  } = useComponentTimingContext();\n  useEffect(() => {\n    if (!isLoading && products.length > 0) {\n      markReady();\n    }\n  }, [isLoading, products.length, markReady]);\n  useEffect(() => {\n    initializeScroll(ref.current, layout);\n    window == null ? void 0 : window.dispatchEvent(new Event(\"layout-done\"));\n  }, [query]);\n  useEffect(() => {\n    if (ref.current) {\n      hideClosestParentByFramerName(ref.current, \"광고\", isVisible);\n    }\n  }, [isVisible]);\n  const padding = getPadding(layout);\n  const hasScroll = layout.direction === ScrollDirection.Horizontal && layout.hasScroll;\n  const variant = (query == null ? void 0 : query.type) === QueryType.Preuser ? \"preuser\" : \"default\";\n  if (!isVisible) {\n    window == null ? void 0 : window.dispatchEvent(new Event(\"layout-done\"));\n    return /* @__PURE__ */ jsx(\"div\", { ref });\n  }\n  return /* @__PURE__ */ jsxs(\"div\", { ref, style: {\n    ...containerStyle,\n    paddingTop: padding.top,\n    paddingBottom: padding.bottom,\n    scrollMarginTop: getScrollMargin(layout)\n  }, children: [\n    /* @__PURE__ */ jsx(Products.Root, { loading, cardStyle, padding: {\n      right: padding.right,\n      left: padding.left\n    }, listStyle: hasScroll ? {\n      msOverflowStyle: \"initial\",\n      scrollbarWidth: \"initial\",\n      paddingBottom: \"16px\"\n    } : void 0, options: createOptions(layout), products, hasNext, onLastItemView: canFetchOnLastItemView(layout, page) ? fetchNextPage : void 0, children: ({\n      index\n    }) => /* @__PURE__ */ jsx(EventTrigger.Target, { children: /* @__PURE__ */ jsx(Products.Card, { index, componentName: componentId, variant, eventProperties: {\n      tagValue: query == null ? void 0 : query.facetName\n    } }) }) }),\n    /* @__PURE__ */ jsx(PaginationElement, { style: {\n      paddingLeft: padding.left,\n      paddingRight: padding.right\n    }, layout })\n  ] });\n};\nconst ProductsElement = (props) => {\n  return /* @__PURE__ */ jsx(ProductsElementProvider, { query: props.query, size: getRequestSize(props.layout), children: /* @__PURE__ */ jsx(ProductsElementInner, { ...props }) });\n};\nconst containerStyle = {\n  width: \"100%\",\n  display: \"flex\",\n  flexDirection: \"column\"\n};\nconst cardStyle = {\n  paddingBottom: 0\n};\nconst createOptions = (layout) => {\n  switch (layout.direction) {\n    case ScrollDirection.Vertical:\n      return createVerticalOptions(layout);\n    case ScrollDirection.Horizontal:\n      return createHorizontalOptions(layout);\n  }\n};\nconst createVerticalOptions = (layout) => {\n  switch (layout.cardType) {\n    case ProductCardType.CARD:\n    case ProductCardType.CARD_DETAILED:\n      return createOptionTemplate({\n        base: {\n          direction: layout.direction,\n          card: {\n            type: layout.cardType,\n            size: layout.size,\n            hasRank: layout.hasRank,\n            hasName: layout.hasName,\n            hasBrandName: layout.hasBrandName,\n            hasBadges: layout.hasBadges,\n            hasHeart: layout.hasHeart,\n            hasPriceUnit: false\n          },\n          column: {\n            gap: layout.columnGap,\n            width: layout.isResponsive ? void 0 : getResponsiveWidth(layout.columnGap, layout.columnCount),\n            minWidth: layout.isResponsive ? 185 : 0,\n            count: layout.isResponsive ? \"auto\" : layout.columnCount\n          },\n          row: {\n            displayCount: getDisplayCount(layout, 1),\n            gap: layout.rowGap\n          }\n        }\n      });\n    case ProductCardType.BAR:\n      return createOptionTemplate({\n        base: {\n          direction: layout.direction,\n          card: {\n            type: layout.cardType,\n            size: layout.size,\n            hasRank: layout.hasRank,\n            hasName: layout.hasName,\n            hasBrandName: layout.hasBrandName,\n            hasBadges: layout.hasBadges,\n            hasHeart: layout.hasHeart,\n            hasPriceUnit: false\n          },\n          column: {\n            gap: layout.columnGap,\n            width: layout.isResponsive ? void 0 : getResponsiveWidth(layout.columnGap, layout.columnCount),\n            minWidth: layout.isResponsive ? 300 + (layout.hasRank ? 40 : 0) : 0,\n            count: layout.isResponsive ? \"auto\" : layout.columnCount\n          },\n          row: {\n            displayCount: getDisplayCount(layout, 1),\n            gap: layout.rowGap\n          }\n        }\n      });\n  }\n};\nconst createHorizontalOptions = (layout) => {\n  switch (layout.cardType) {\n    case ProductCardType.CARD:\n    case ProductCardType.CARD_DETAILED:\n      return createOptionTemplate({\n        base: {\n          direction: layout.direction,\n          card: {\n            type: layout.cardType,\n            size: layout.size,\n            hasRank: layout.hasRank,\n            hasName: layout.hasName,\n            hasBrandName: layout.hasBrandName,\n            hasBadges: layout.hasBadges,\n            hasHeart: layout.hasHeart,\n            hasPriceUnit: false\n          },\n          column: {\n            gap: layout.columnGap,\n            displayCount: layout.columnDisplayCount,\n            width: getResponsiveWidthWithProductPeekInset(layout.columnGap, layout.columnDisplayCount)\n          },\n          row: {\n            gap: layout.rowGap,\n            count: layout.rowCount\n          }\n        },\n        desktop: {\n          navigator: true,\n          column: {\n            width: getResponsiveWidth(layout.columnGap, layout.columnDisplayCount)\n          }\n        }\n      });\n    case ProductCardType.BAR: {\n      const {\n        left,\n        right\n      } = getPadding(layout);\n      const horizontalPaddingPx = Math.max(left, right);\n      return createOptionTemplate({\n        base: {\n          direction: layout.direction,\n          ...layout.columnDivider ? {\n            columnDivider: true\n          } : {},\n          card: {\n            type: layout.cardType,\n            size: layout.size,\n            hasRank: layout.hasRank,\n            hasName: layout.hasName,\n            hasBrandName: layout.hasBrandName,\n            hasBadges: layout.hasBadges,\n            hasHeart: layout.hasHeart,\n            hasPriceUnit: false\n          },\n          column: {\n            gap: layout.columnDivider ? 0 : layout.columnGap,\n            displayCount: layout.columnDisplayCount\n          },\n          row: {\n            gap: layout.rowGap,\n            count: layout.rowCount\n          }\n        },\n        mobile: {\n          column: {\n            width: getHorizontalBarColumnWidth(layout, \"mobile\", horizontalPaddingPx)\n          }\n        },\n        tablet: {\n          column: {\n            width: getHorizontalBarColumnWidth(layout, \"tablet\", horizontalPaddingPx)\n          }\n        },\n        desktop: {\n          navigator: true,\n          column: {\n            width: getHorizontalBarColumnWidth(layout, \"desktop\", horizontalPaddingPx)\n          }\n        }\n      });\n    }\n  }\n};\nexport {\n  ProductsElement,\n  ProductsElementInner\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useQueryStore } from \"../../query-store/query.store.js\";\nimport { NoContent } from \"../../../systems/curations/NoContent/NoContent.js\";\nimport { shallow as shallow$1 } from \"../../../../node_modules/zustand/esm/shallow.js\";\nimport { ProductsElement } from \"../ProductsElement/ProductsElement.js\";\nimport { createKey } from \"../../utils/key.js\";\nconst LinkedProductsModule = ({\n  value,\n  layout\n}) => {\n  const [query, upstreamRetry] = useQueryStore((state) => [state.queries[value], state.failures[value]], shallow$1);\n  if (!query && upstreamRetry) {\n    return /* @__PURE__ */ jsx(NoContent, { onClick: upstreamRetry });\n  }\n  return /* @__PURE__ */ jsx(ProductsElement, { query, layout }, createKey(query));\n};\nexport {\n  LinkedProductsModule\n};\n","import { combineObjectPropertyControls } from \"../../../libs/property-controls/helpers.js\";\nimport { QUERY_CONTROL, PREUSER_CONTROLS, RANKING_CONTROLS, RECOMMENDATION_CONTROLS, KEYWORD_COLLECTION_CONTROLS, PRODUCT_CONTROLS } from \"../controls.js\";\nconst MANUAL_PRODUCTS_MODULE_QUERY = {\n  ...QUERY_CONTROL,\n  controls: combineObjectPropertyControls(PRODUCT_CONTROLS, KEYWORD_COLLECTION_CONTROLS, RECOMMENDATION_CONTROLS, RANKING_CONTROLS, PREUSER_CONTROLS)\n};\nexport {\n  MANUAL_PRODUCTS_MODULE_QUERY\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { ButtonVariant, ButtonSize } from \"../../@shared/Button/Button.types.js\";\nimport { ProductCardType } from \"../../@shared/ProductCard/ProductCard.types.js\";\nimport { SWRErrorBoundary } from \"../../@shared/SWRErrorBoundary/SWRErrorBoundary.js\";\nimport { PREFIX_ICON_OPTIONS, POSTFIX_ICON_OPTIONS } from \"../../systems/Button/Button.constants.js\";\nimport { NoContent } from \"../../systems/curations/NoContent/NoContent.js\";\nimport { SectionLayout } from \"../../systems/curations/SectionLayout/SectionLayout.js\";\nimport { ComponentTimingProvider } from \"../../../hooks/beacon/ComponentTimingContext.js\";\nimport { useComponentTiming } from \"../../../hooks/beacon/useComponentTiming.js\";\nimport { BREAKPOINT_CONTROLS } from \"../../../libs/property-controls/breakpoint.js\";\nimport { COMPONENT_ID_PROPS } from \"../../../libs/property-controls/component-id.js\";\nimport { SEGMENT_CONTROLS } from \"../../../libs/property-controls/segment.js\";\nimport { THEME_CONTROLS } from \"../../../libs/property-controls/theme.js\";\nimport { LinkedProductsModule } from \"./LinkedProductsModule/LinkedProductsModule.js\";\nimport { ProductsElement } from \"./ProductsElement/ProductsElement.js\";\nimport { MANUAL_PRODUCTS_MODULE_QUERY } from \"./ProductsModule.controls.js\";\nimport { ProductsModuleInputType, ScrollDirection, PaginationType } from \"./ProductsModule.types.js\";\nconst ProductsModuleInner = ({\n  input,\n  layout\n}) => {\n  switch (input.type) {\n    case ProductsModuleInputType.Linked:\n      return /* @__PURE__ */ jsx(LinkedProductsModule, { value: input.value, layout });\n    case ProductsModuleInputType.Manual:\n      return /* @__PURE__ */ jsx(ProductsElement, { query: input.query, layout });\n    default:\n      return null;\n  }\n};\nconst ProductsModule = ({\n  theme,\n  breakpoint,\n  componentId,\n  segment,\n  ...rest\n}) => {\n  const timing = useComponentTiming(\"ProductsModule\");\n  return /* @__PURE__ */ jsx(ComponentTimingProvider, { timing, children: /* @__PURE__ */ jsx(SectionLayout, { theme, breakpoint, componentId, segment, onVisible: timing.markVisible, children: /* @__PURE__ */ jsx(SWRErrorBoundary, { fallback: (retry) => /* @__PURE__ */ jsx(NoContent, { onClick: retry }), reportFailure: true, children: /* @__PURE__ */ jsx(ProductsModuleInner, { ...rest }) }) }) });\n};\naddPropertyControls(ProductsModule, {\n  ...BREAKPOINT_CONTROLS,\n  ...THEME_CONTROLS,\n  ...SEGMENT_CONTROLS,\n  ...COMPONENT_ID_PROPS,\n  input: {\n    type: ControlType.Object,\n    title: \"입력 값\",\n    controls: {\n      type: {\n        type: ControlType.Enum,\n        title: \"유형\",\n        options: [ProductsModuleInputType.Linked, ProductsModuleInputType.Manual],\n        optionTitles: [\"연결\", \"수동\"]\n      },\n      value: {\n        hidden: ({\n          type\n        }) => type !== ProductsModuleInputType.Linked,\n        type: ControlType.String,\n        title: \"출력 값\",\n        defaultValue: \"\"\n      },\n      query: {\n        hidden: ({\n          type\n        }) => type !== ProductsModuleInputType.Manual,\n        ...MANUAL_PRODUCTS_MODULE_QUERY\n      }\n    }\n  },\n  layout: {\n    type: ControlType.Object,\n    title: \"레이아웃\",\n    controls: {\n      direction: {\n        type: ControlType.Enum,\n        title: \"스크롤 방향\",\n        options: [\"horizontal\", \"vertical\"],\n        optionTitles: [\"수평\", \"수직\"]\n      },\n      cardType: {\n        type: ControlType.Enum,\n        title: \"카드 유형\",\n        options: [ProductCardType.CARD, ProductCardType.CARD_DETAILED, ProductCardType.BAR],\n        optionTitles: [\"compact-card\", \"card\", \"horizontal-card\"]\n      },\n      size: {\n        hidden: ({\n          cardType\n        }) => cardType === ProductCardType.CARD || cardType === ProductCardType.CARD_DETAILED,\n        type: ControlType.Enum,\n        title: \"크기\",\n        options: [\"small\", \"medium\"],\n        optionTitles: [\"small\", \"medium\"],\n        defaultValue: \"medium\"\n      },\n      hasRank: {\n        type: ControlType.Boolean,\n        title: \"순위 노출\",\n        defaultValue: false\n      },\n      hasName: {\n        type: ControlType.Boolean,\n        title: \"상품명 노출\",\n        defaultValue: true\n      },\n      hasBrandName: {\n        type: ControlType.Boolean,\n        title: \"브랜드명 노출\",\n        defaultValue: true\n      },\n      hasBadges: {\n        type: ControlType.Boolean,\n        title: \"뱃지 노출\",\n        defaultValue: true\n      },\n      hasHeart: {\n        type: ControlType.Boolean,\n        title: \"좋아요 노출\",\n        defaultValue: true\n      },\n      // 수평\n      rowCount: {\n        hidden: ({\n          direction\n        }) => direction !== ScrollDirection.Horizontal,\n        type: ControlType.Number,\n        title: \"행 개수\",\n        unit: \"개\",\n        defaultValue: 2,\n        min: 1,\n        max: 10\n      },\n      columnDisplayCount: {\n        hidden: ({\n          direction\n        }) => direction !== ScrollDirection.Horizontal,\n        type: ControlType.Number,\n        title: \"노출 열 개수\",\n        unit: \"개\",\n        description: \"뷰포트에 노출될 열 개수를 설정할 수 있습니다.\",\n        defaultValue: 3,\n        min: 1,\n        max: 6\n      },\n      hasScroll: {\n        hidden: ({\n          direction\n        }) => direction !== ScrollDirection.Horizontal,\n        type: ControlType.Boolean,\n        title: \"스크롤 노출\",\n        defaultValue: false\n      },\n      // 수직\n      isResponsive: {\n        hidden: ({\n          direction\n        }) => direction !== ScrollDirection.Vertical,\n        type: ControlType.Boolean,\n        title: \"반응형\",\n        defaultValue: false\n      },\n      columnCount: {\n        hidden: ({\n          direction,\n          isResponsive\n        }) => direction !== ScrollDirection.Vertical || isResponsive === true,\n        type: ControlType.Number,\n        title: \"열 개수\",\n        unit: \"개\",\n        defaultValue: 2,\n        min: 1,\n        max: 6\n      },\n      scrollMargin: {\n        hidden: ({\n          direction\n        }) => direction !== ScrollDirection.Vertical,\n        type: ControlType.Number,\n        title: \"스크롤 마진\",\n        description: \"자동 스크롤 이동 시 위치 보정 값을 설정할 수 있습니다.\",\n        unit: \"px\",\n        defaultValue: 0\n      },\n      verticalPagination: {\n        hidden: ({\n          direction\n        }) => direction !== ScrollDirection.Vertical,\n        type: ControlType.Object,\n        title: \"페이지네이션\",\n        controls: {\n          type: {\n            type: ControlType.Enum,\n            title: \"유형\",\n            options: [PaginationType.Default, PaginationType.ExpandButton, PaginationType.None],\n            optionTitles: [\"기본\", \"더보기 버튼\", \"없음\"]\n          },\n          gap: {\n            hidden: ({\n              type\n            }) => type !== PaginationType.ExpandButton,\n            type: ControlType.Number,\n            title: \"간격\",\n            description: \"상품 UI 와 페이징 UI 간의 간격을 설정할 수 있습니다.\",\n            unit: \"px\",\n            defaultValue: 16,\n            min: 0,\n            max: 50\n          },\n          rowDisplayCount: {\n            hidden: ({\n              type\n            }) => type === PaginationType.Default,\n            type: ControlType.Number,\n            title: \"노출 행 개수\",\n            description: \"(더보기 마다)노출할 행 개수를 설정할 수 있습니다.\",\n            unit: \"개\",\n            min: 1,\n            max: 10,\n            defaultValue: 4\n          },\n          button: {\n            hidden: ({\n              type\n            }) => type !== PaginationType.ExpandButton,\n            type: ControlType.Object,\n            title: \"버튼\",\n            controls: {\n              variant: {\n                type: ControlType.Enum,\n                title: \"변형\",\n                options: [ButtonVariant.PRIMARY, ButtonVariant.SECONDARY, ButtonVariant.TERTIARY],\n                optionTitles: [\"primary\", \"secondary\", \"tertiary\"]\n              },\n              size: {\n                type: ControlType.Enum,\n                title: \"크기\",\n                options: [ButtonSize.LARGE, ButtonSize.MEDIUM, ButtonSize.SMALL],\n                optionTitles: [\"large\", \"medium\", \"small\"],\n                defaultValue: ButtonSize.MEDIUM\n              },\n              fill: {\n                type: ControlType.Boolean,\n                title: \"채우기\",\n                defaultValue: false\n              },\n              prefixIcon: {\n                hidden: ({\n                  postfixIcon\n                }) => Boolean(postfixIcon),\n                type: ControlType.Enum,\n                title: \"좌측 아이콘\",\n                options: [void 0, ...PREFIX_ICON_OPTIONS],\n                optionTitles: [\"선택 안 함\", ...PREFIX_ICON_OPTIONS]\n              },\n              postfixIcon: {\n                hidden: ({\n                  prefixIcon\n                }) => Boolean(prefixIcon),\n                type: ControlType.Enum,\n                title: \"우측 아이콘\",\n                options: [void 0, ...POSTFIX_ICON_OPTIONS],\n                optionTitles: [\"선택 안 함\", ...POSTFIX_ICON_OPTIONS]\n              },\n              fillIcon: {\n                type: ControlType.Boolean,\n                title: \"아이콘 채우기\",\n                defaultValue: false\n              },\n              texts: {\n                type: ControlType.Array,\n                title: \"버튼 타이틀\",\n                defaultValue: [\"첫 번째 버튼\", \"두 번째 버튼\"],\n                control: {\n                  type: ControlType.String\n                }\n              }\n            }\n          }\n        }\n      },\n      // 공통\n      rowGap: {\n        type: ControlType.Number,\n        title: \"행 간격\",\n        unit: \"px\",\n        defaultValue: 16,\n        min: 0,\n        max: 50\n      },\n      columnGap: {\n        type: ControlType.Number,\n        title: \"열 간격\",\n        unit: \"px\",\n        defaultValue: 6,\n        min: 0,\n        max: 50\n      },\n      padding: {\n        type: ControlType.FusedNumber,\n        title: \"패딩\",\n        defaultValue: 0,\n        toggleKey: \"isMixed\",\n        toggleTitles: [\"All\", \"Individual\"],\n        valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n        valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n        min: 0\n      }\n    }\n  }\n});\nexport {\n  ProductsModule\n};\n","import{ProductsModule}from\"https://asset.29cm.co.kr/contents/framer/components/modules/ProductsModule/ProductsModule.js\";ProductsModule.displayName=\"[조립형]Products\";export default ProductsModule;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProductsModule\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProductsModule.map","import { ControlType } from \"framer\";\nimport { DiscountType, KindType } from \"../../types/models/coupon.js\";\nconst COUPON_LAYOUT_RESPONSIVE = \"responsive\";\nvar CouponColorType = /* @__PURE__ */ ((CouponColorType2) => {\n  CouponColorType2[\"DEFAULT\"] = \"default\";\n  CouponColorType2[\"SOLID\"] = \"solid\";\n  CouponColorType2[\"GRADIENT\"] = \"gradient\";\n  return CouponColorType2;\n})(CouponColorType || {});\nconst COUPON_CONTROLS = {\n  couponLayout: {\n    type: ControlType.Enum,\n    title: \"쿠폰 레이아웃\",\n    options: [\"detail\", \"compact\", COUPON_LAYOUT_RESPONSIVE],\n    optionTitles: [\"기본\", \"컴팩트\", \"반응형\"],\n    defaultValue: \"detail\"\n  },\n  backgroundColor: {\n    type: ControlType.Object,\n    title: \"쿠폰 배경색\",\n    controls: {\n      colorType: {\n        type: ControlType.Enum,\n        title: \"유형\",\n        optionTitles: [\"기본\", \"단색\", \"그라디언트\"],\n        options: [\n          \"default\",\n          \"solid\",\n          \"gradient\"\n          /* GRADIENT */\n        ]\n      },\n      color: {\n        type: ControlType.Color,\n        title: \"단색\",\n        optional: true,\n        hidden: ({\n          colorType\n        }) => colorType !== \"solid\"\n        /* SOLID */\n      },\n      gradient: {\n        type: ControlType.Object,\n        title: \"그라디언트\",\n        controls: {\n          stops: {\n            type: ControlType.Array,\n            title: \"색상 및 정지점들\",\n            control: {\n              type: ControlType.Object,\n              title: \"색상 및 정지점\",\n              controls: {\n                color: {\n                  type: ControlType.Color,\n                  title: \"색상\",\n                  optional: true\n                },\n                offsetPercent: {\n                  type: ControlType.Number,\n                  title: \"정지점\",\n                  unit: \"%\",\n                  min: 0,\n                  max: 100,\n                  defaultValue: 0,\n                  step: 1,\n                  displayStepper: true\n                }\n              }\n            }\n          },\n          degree: {\n            type: ControlType.Number,\n            title: \"각도\",\n            unit: \"deg\",\n            defaultValue: 0,\n            step: 1,\n            displayStepper: true\n          }\n        },\n        hidden: ({\n          colorType\n        }) => colorType !== \"gradient\"\n        /* GRADIENT */\n      }\n    }\n  }\n};\nconst COUPON_THEME_TYPE = {\n  DEFAULT: \"default\",\n  LIGHT: \"light\",\n  DARK: \"dark\"\n};\nconst COUPON_THEME_CONTROLS = {\n  couponTheme: {\n    type: ControlType.Enum,\n    title: \"쿠폰 테마\",\n    description: \"쿠폰 영역에 별도 테마를 적용합니다. 기본은 섹션 테마를 따릅니다.\",\n    options: [COUPON_THEME_TYPE.DEFAULT, COUPON_THEME_TYPE.LIGHT, COUPON_THEME_TYPE.DARK],\n    optionTitles: [\"기본 (테마 동일)\", \"Light\", \"Dark\"],\n    defaultValue: COUPON_THEME_TYPE.DEFAULT\n  }\n};\nconst DEFAULT_COUPON_NAME_VISIBILITY = {\n  discountValue: true,\n  brandName: true,\n  applicationType: true,\n  couponCount: false\n};\nconst DEFAULT_COUPON_MODULE_NAME_VISIBILITY = {\n  discountValue: true,\n  brandName: false,\n  applicationType: true,\n  couponCount: true\n};\nconst COUPON_MODULE_NAME_VISIBILITY_CONTROLS = {\n  couponNameVisibility: {\n    type: ControlType.Object,\n    title: \"쿠폰명 노출 옵션\",\n    controls: {\n      discountValue: {\n        type: ControlType.Boolean,\n        title: \"할인값\",\n        description: \"쿠폰명에 할인 수치(예: 10%, 3,000원)를 노출합니다.\",\n        defaultValue: true\n      },\n      applicationType: {\n        type: ControlType.Boolean,\n        title: \"적용방식\",\n        description: \"쿠폰명에 적용 대상을 노출합니다. (예: 상품, 장바구니)\",\n        defaultValue: true\n      },\n      couponCount: {\n        type: ControlType.Boolean,\n        title: \"쿠폰 개수\",\n        description: \"복수 발급 쿠폰일 때 쿠폰 장수(예: 2장)를 노출합니다.\",\n        defaultValue: true\n      }\n    }\n  }\n};\nconst COUPON_NAME_FIXED_TEXT = \"쿠폰\";\nconst getCouponDiscountValueText = (coupon) => {\n  if (coupon.discountType === DiscountType.FIXED_PRICE) {\n    return `${coupon.discountValue.toLocaleString(\"ko-KR\")}원`;\n  }\n  return `${coupon.discountValue}%`;\n};\nconst getCouponApplicationTypeText = (couponKindType) => {\n  if (couponKindType === KindType.PRODUCT) {\n    return \"상품\";\n  }\n  if (couponKindType === KindType.CART) {\n    return \"장바구니\";\n  }\n  return \"\";\n};\nconst getCouponCountText = (personMaxIssueCount) => (personMaxIssueCount ?? 0) > 1 ? `${personMaxIssueCount}장` : \"\";\nconst composeCouponName = ({\n  discountValue = \"\",\n  brandName = \"\",\n  applicationType = \"\",\n  couponCount = \"\",\n  visibility\n}) => {\n  return [visibility.discountValue ? discountValue : \"\", visibility.brandName ? brandName : \"\", visibility.applicationType ? applicationType : \"\", COUPON_NAME_FIXED_TEXT, visibility.couponCount ? couponCount : \"\"].filter(Boolean).join(\" \");\n};\nconst composeCouponNameFromCoupon = ({\n  coupon,\n  brandName = \"\",\n  visibility\n}) => composeCouponName({\n  discountValue: getCouponDiscountValueText(coupon),\n  brandName,\n  applicationType: getCouponApplicationTypeText(coupon.couponKindType),\n  couponCount: getCouponCountText(coupon.personMaxIssueCount),\n  visibility\n});\nconst resolveCouponTheme = (couponTheme) => couponTheme === COUPON_THEME_TYPE.DEFAULT ? void 0 : couponTheme;\nconst resolveCouponLayout = (couponLayout, breakpoint) => {\n  if (!couponLayout || couponLayout === COUPON_LAYOUT_RESPONSIVE) {\n    return breakpoint === \"mobile\" ? \"compact\" : \"detail\";\n  }\n  return couponLayout;\n};\nconst toBackgroundColor = (backgroundColor) => {\n  const {\n    colorType,\n    color,\n    gradient\n  } = backgroundColor;\n  const backgroundColorByType = {\n    [\n      \"default\"\n      /* DEFAULT */\n    ]: void 0,\n    [\n      \"solid\"\n      /* SOLID */\n    ]: color,\n    [\n      \"gradient\"\n      /* GRADIENT */\n    ]: gradient\n  };\n  return backgroundColorByType[colorType];\n};\nexport {\n  COUPON_CONTROLS,\n  COUPON_LAYOUT_RESPONSIVE,\n  COUPON_MODULE_NAME_VISIBILITY_CONTROLS,\n  COUPON_NAME_FIXED_TEXT,\n  COUPON_THEME_CONTROLS,\n  COUPON_THEME_TYPE,\n  CouponColorType,\n  DEFAULT_COUPON_MODULE_NAME_VISIBILITY,\n  DEFAULT_COUPON_NAME_VISIBILITY,\n  composeCouponName,\n  composeCouponNameFromCoupon,\n  getCouponApplicationTypeText,\n  getCouponCountText,\n  getCouponDiscountValueText,\n  resolveCouponLayout,\n  resolveCouponTheme,\n  toBackgroundColor\n};\n","const pick = (obj, keys) => {\n  const picked = {};\n  keys.forEach((key) => {\n    picked[key] = obj[key];\n  });\n  return picked;\n};\nconst isObject = (object) => {\n  return typeof object === \"object\" && object !== null && !Array.isArray(object);\n};\nexport {\n  isObject,\n  pick\n};\n","const variantByType = {\n  neutral: {\n    background: {\n      light: \"#dee2e6\",\n      dark: \"#27272a\"\n    },\n    primary: {\n      light: \"#000\",\n      dark: \"#fff\"\n    },\n    secondary: {\n      light: \"#474747\",\n      dark: \"#a0a0a0\"\n    },\n    tertiary: {\n      light: \"rgba(0, 0, 0, 0.5)\",\n      dark: \"rgba(255, 255, 255, 0.5)\"\n    },\n    border: \"rgba(255, 255, 255, 0.13)\"\n  },\n  accent: {\n    // NOTE(임규민): 기본 key color, 외부에서 커스터마이즈가 가능한 값입니다.\n    background: {\n      light: \"#ff4800\",\n      dark: \"#ff4800\"\n    },\n    primary: {\n      light: \"#000\",\n      dark: \"#fff\"\n    },\n    secondary: {\n      light: \"rgba(0, 0, 0, 0.73)\",\n      dark: \"#fff\"\n    },\n    tertiary: {\n      light: \"rgba(0, 0, 0, 0.73)\",\n      dark: \"#fff\"\n    },\n    border: \"rgba(255, 255, 255, 0.5)\"\n  },\n  disabled: {\n    background: {\n      light: \"#dee2e6\",\n      dark: \"#27272a\"\n    },\n    primary: {\n      light: \"#474747\",\n      dark: \"#a0a0a0\"\n    },\n    secondary: {\n      light: \"#474747\",\n      dark: \"#a0a0a0\"\n    },\n    tertiary: {\n      light: \"rgba(0, 0, 0, 0.5)\",\n      dark: \"rgba(255, 255, 255, 0.5)\"\n    },\n    border: \"rgba(255, 255, 255, 0.13)\"\n  }\n};\nconst variantByStatus = {\n  upcoming: variantByType.neutral,\n  downloadable: variantByType.accent,\n  redownloadable: variantByType.accent,\n  downloaded: variantByType.neutral,\n  expired: variantByType.disabled,\n  disabled: variantByType.disabled,\n  issuanceLimitedReached: variantByType.disabled\n};\nexport {\n  variantByStatus,\n  variantByType\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef, useCallback } from \"react\";\nimport { isObject } from \"../../../utils/object.js\";\nimport { Skeleton } from \"../Skeleton/Skeleton.js\";\nimport { variantByStatus } from \"./Root.constants.js\";\nconst CouponContext = createContext(null);\nconst Root = forwardRef(({\n  children,\n  style,\n  theme = \"light\",\n  loading = false,\n  status = \"downloadable\",\n  layout = \"detail\",\n  backgroundColor: _backgroundColor,\n  ...rest\n}, ref) => {\n  const variant = variantByStatus[status];\n  const backgroundColor = status === \"downloadable\" || status === \"redownloadable\" ? _backgroundColor ?? variant.background : variant.background;\n  const getBackground = useCallback(() => {\n    if (!isObject(backgroundColor)) {\n      return backgroundColor;\n    }\n    if (\"stops\" in backgroundColor) {\n      return getLinearGradient(backgroundColor);\n    }\n    return backgroundColor[theme];\n  }, [backgroundColor, theme]);\n  return /* @__PURE__ */ jsx(CouponContext.Provider, { value: {\n    status,\n    variant,\n    layout\n  }, children: /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    ...containerStyle,\n    ...style\n  }, ...rest, children: loading ? /* @__PURE__ */ jsx(Skeleton, { style: {\n    ...skeletonStyle,\n    ...skeletonStyleByTheme[theme],\n    ...skeletonStyleByLayout[layout]\n  } }) : /* @__PURE__ */ jsx(\"div\", { style: {\n    ...wrapperStyle,\n    background: getBackground(),\n    ...wrapperStyleByLayout[layout],\n    ...layout === \"compact\" ? compactWrapperStyleByStatus[status] : {}\n  }, children }) }) });\n});\nconst getLinearGradient = (linearGradient) => {\n  const {\n    stops,\n    degree\n  } = linearGradient;\n  const gradient = [...stops].sort((x, y) => x.offsetPercent - y.offsetPercent).map((stop) => `${stop.color} ${stop.offsetPercent}%`).join(\", \");\n  return `linear-gradient(${degree}deg, ${gradient})`;\n};\nconst containerStyle = {\n  width: \"100%\"\n};\nconst wrapperStyle = {\n  position: \"relative\",\n  width: \"100%\",\n  display: \"flex\",\n  borderRadius: 4,\n  overflow: \"hidden\"\n};\nconst wrapperStyleByLayout = {\n  compact: {\n    height: 36,\n    WebkitMaskImage: `url('data:image/svg+xml;utf8,<svg width=\"5\" height=\"10\" viewBox=\"0 0 5 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 0C2.761 0 5 2.239 5 5C5 7.761 2.761 10 0 10V0Z\" fill=\"white\"/></svg>'), linear-gradient(#fff,#fff)`,\n    maskImage: `url('data:image/svg+xml;utf8,<svg width=\"5\" height=\"10\" viewBox=\"0 0 5 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 0C2.761 0 5 2.239 5 5C5 7.761 2.761 10 0 10V0Z\" fill=\"white\"/></svg>'), linear-gradient(#fff,#fff)`,\n    WebkitMaskComposite: \"exclude\",\n    maskComposite: \"exclude\",\n    WebkitMaskPosition: \"0 50%\",\n    maskPosition: \"0 50%\",\n    WebkitMaskSize: \"5px 10px, auto\",\n    maskSize: \"5px 10px, auto\",\n    WebkitMaskRepeat: \"no-repeat\",\n    maskRepeat: \"no-repeat\"\n  },\n  detail: {\n    height: 64,\n    WebkitMaskImage: `url('data:image/svg+xml;utf8,<svg width=\"7\" height=\"14\" viewBox=\"0 0 7 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 7C7 10.866 3.866 14 0 14C0 9.18 0 4.822 0 0C3.866 0 7 3.134 7 7Z\" fill=\"white\"/></svg>'), linear-gradient(#fff,#fff)`,\n    maskImage: `url('data:image/svg+xml;utf8,<svg width=\"7\" height=\"14\" viewBox=\"0 0 7 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 7C7 10.866 3.866 14 0 14C0 9.18 0 4.822 0 0C3.866 0 7 3.134 7 7Z\" fill=\"white\"/></svg>'), linear-gradient(#fff,#fff)`,\n    WebkitMaskComposite: \"exclude\",\n    maskComposite: \"exclude\",\n    WebkitMaskPosition: \"0 50%\",\n    maskPosition: \"0 50%\",\n    WebkitMaskSize: \"7px 14px, auto\",\n    maskSize: \"7px 14px, auto\",\n    WebkitMaskRepeat: \"no-repeat\",\n    maskRepeat: \"no-repeat\"\n  }\n};\nconst compactWrapperStyleByStatus = {\n  upcoming: {\n    cursor: \"not-allowed\"\n  },\n  downloadable: {\n    cursor: \"pointer\"\n  },\n  redownloadable: {\n    cursor: \"pointer\"\n  },\n  downloaded: {\n    cursor: \"pointer\"\n  },\n  expired: {\n    cursor: \"not-allowed\"\n  },\n  disabled: {\n    cursor: \"not-allowed\"\n  },\n  issuanceLimitedReached: {\n    cursor: \"not-allowed\"\n  }\n};\nconst skeletonStyle = {\n  width: \"100%\",\n  borderRadius: 4\n};\nconst skeletonStyleByTheme = {\n  light: {\n    backgroundColor: \"#dee2e6\"\n  },\n  dark: {\n    backgroundColor: \"#27272a\"\n  }\n};\nconst skeletonStyleByLayout = {\n  compact: {\n    height: 36\n  },\n  detail: {\n    height: 64\n  }\n};\nexport {\n  CouponContext,\n  Root\n};\n","import { useContext } from \"react\";\nimport { CouponContext } from \"./Root.js\";\nconst useCouponContext = () => {\n  const context = useContext(CouponContext);\n  if (!context) {\n    throw new Error(\"useCouponContext should be used with in Root\");\n  }\n  return context;\n};\nexport {\n  useCouponContext\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../hooks/useTheme.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { useCouponContext } from \"./Root.hooks.js\";\nconst Description = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    variant,\n    layout\n  } = useCouponContext();\n  const theme = useTheme();\n  if (layout === \"compact\") {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...typography(11, 500, 1.36),\n    color: variant.tertiary[theme],\n    ...style\n  }, children });\n});\nexport {\n  Description\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../hooks/useTheme.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { useCouponContext } from \"./Root.hooks.js\";\nconst Divider = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const theme = useTheme();\n  const {\n    layout\n  } = useCouponContext();\n  if (layout === \"compact\") {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...containerStyleByTheme[theme],\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  zIndex: 1,\n  height: \"100%\",\n  borderLeftWidth: \"1px\",\n  borderLeftStyle: \"dashed\",\n  opacity: 0.2\n};\nconst containerStyleByTheme = {\n  light: {\n    borderColor: \"#000\"\n  },\n  dark: {\n    borderColor: \"#fff\"\n  }\n};\nexport {\n  Divider\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../hooks/useTheme.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { playHaptic } from \"../../../utils/playHaptic.js\";\nimport { Icon } from \"../Icon/Icon.js\";\nimport { useCouponContext } from \"./Root.hooks.js\";\nconst Button = forwardRef(({\n  style,\n  onClick,\n  ...rest\n}, ref) => {\n  const {\n    variant,\n    status,\n    layout\n  } = useCouponContext();\n  const theme = useTheme();\n  const {\n    icon,\n    text\n  } = contentByStatus[status];\n  const shouldRenderIcon = layout === \"detail\" || status === \"downloadable\" || status === \"redownloadable\" || status === \"downloaded\";\n  const getIconSize = () => {\n    if (layout === \"detail\") {\n      return 24;\n    }\n    if (layout === \"compact\") {\n      return 14;\n    }\n    return 16;\n  };\n  const getIconType = () => {\n    if (layout === \"compact\" && icon === \"download\") {\n      return \"downloadSlim\";\n    }\n    return icon;\n  };\n  const handleClick = (e) => {\n    if (status === \"upcoming\" || status === \"expired\") {\n      return;\n    }\n    playHaptic(\"rigid\");\n    onClick == null ? void 0 : onClick(e);\n  };\n  return /* @__PURE__ */ jsxs(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...containerStyleByLayout[layout],\n    ...style,\n    ...containerStyleByStatus[status]\n  }, onClick: handleClick, children: [\n    shouldRenderIcon ? /* @__PURE__ */ jsx(Icon, { type: getIconType(), weight: layout === \"detail\" ? \"light\" : \"regular\", size: getIconSize(), color: variant.secondary[theme] }) : null,\n    /* @__PURE__ */ jsx(\"div\", { style: {\n      ...textStyleByLayout[layout],\n      color: variant.secondary[theme]\n    }, children: text })\n  ] });\n});\nconst contentByStatus = {\n  upcoming: {\n    icon: \"clock\",\n    text: \"발행예정\"\n  },\n  downloadable: {\n    icon: \"download\",\n    text: \"쿠폰받기\"\n  },\n  redownloadable: {\n    icon: \"download\",\n    text: \"다시 받기\"\n  },\n  downloaded: {\n    icon: \"check\",\n    text: \"받기완료\"\n  },\n  expired: {\n    icon: \"close\",\n    text: \"기간만료\"\n  },\n  disabled: {\n    icon: \"close\",\n    text: \"사용불가\"\n  },\n  issuanceLimitedReached: {\n    icon: \"close\",\n    text: \"받기마감\"\n  }\n};\nconst containerStyle = {\n  zIndex: 1,\n  height: \"100%\",\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  gap: 4\n};\nconst containerStyleByLayout = {\n  compact: {\n    paddingRight: 16,\n    flexShrink: 0\n  },\n  detail: {\n    aspectRatio: \"1 / 1\",\n    flexDirection: \"column\"\n  }\n};\nconst textStyleByLayout = {\n  compact: {\n    fontSize: 12,\n    fontWeight: 500,\n    lineHeight: 1.36\n  },\n  detail: typography(10, 500, 1.2)\n};\nconst containerStyleByStatus = {\n  upcoming: {\n    cursor: \"not-allowed\"\n  },\n  downloadable: {\n    cursor: \"pointer\"\n  },\n  redownloadable: {\n    cursor: \"pointer\"\n  },\n  downloaded: {\n    cursor: \"pointer\"\n  },\n  expired: {\n    cursor: \"not-allowed\"\n  },\n  disabled: {\n    cursor: \"not-allowed\"\n  },\n  issuanceLimitedReached: {\n    cursor: \"not-allowed\"\n  }\n};\nexport {\n  Button\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useCouponContext } from \"./Root.hooks.js\";\nconst Summary = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    layout\n  } = useCouponContext();\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...containerStyleByLayout[layout],\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  zIndex: 1,\n  flex: 1,\n  height: \"100%\",\n  display: \"flex\",\n  flexDirection: \"column\",\n  justifyContent: \"center\",\n  gap: 2\n};\nconst containerStyleByLayout = {\n  compact: {\n    flexDirection: \"row\",\n    alignItems: \"center\",\n    gap: 12,\n    padding: \"0px 0px 0px 14px\"\n  },\n  detail: {\n    gap: 1,\n    padding: \"0px 8px 0px 26px\"\n  }\n};\nexport {\n  Summary\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../hooks/useTheme.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { useCouponContext } from \"./Root.hooks.js\";\nconst Title = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    variant,\n    layout\n  } = useCouponContext();\n  const theme = useTheme();\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...styleByLayout[layout],\n    color: variant.primary[theme],\n    ...style\n  }, children });\n});\nconst styleByLayout = {\n  compact: {\n    flex: \"1 0 0\",\n    overflow: \"hidden\",\n    textOverflow: \"ellipsis\",\n    whiteSpace: \"nowrap\",\n    fontSize: 13,\n    fontWeight: 500,\n    lineHeight: 1.4\n  },\n  detail: {\n    ...typography(14, 600)\n  }\n};\nexport {\n  Title\n};\n","import { Description } from \"./Description.js\";\nimport { Divider } from \"./Divider.js\";\nimport { Root } from \"./Root.js\";\nimport { Button } from \"./Button.js\";\nimport { Summary } from \"./Summary.js\";\nimport { Title } from \"./Title.js\";\nconst Coupon = {\n  Root,\n  Summary,\n  Title,\n  Description,\n  Divider,\n  Button\n};\nexport {\n  Coupon\n};\n","import { parseErrorMessage, parseDirectionCode } from \"../../utils/error/error.js\";\nimport { authFetch } from \"../authFetch.js\";\nimport { GENERAL_ERROR } from \"../../constants/error.js\";\nimport camelcaseKeys from \"../../node_modules/camelcase-keys/index.js\";\nimport { environments, env } from \"../../config/index.js\";\nimport { captureAPIError } from \"../../utils/error/sentry.js\";\nconst COUPONS_PER_REQUEST = 50;\nconst INVALID_COUPON_ID = 0;\nclass CouponApiService {\n  async getCoupons(couponIdList, isDevMode = false) {\n    const slicedCouponIdList = couponIdList.slice(0, COUPONS_PER_REQUEST);\n    const isValidCouponIdList = !slicedCouponIdList.includes(INVALID_COUPON_ID);\n    const slicedCouponIdListString = isValidCouponIdList ? slicedCouponIdList.join(\",\") : null;\n    const baseUrl = isDevMode ? environments.development.api.content : env.api.content;\n    const response = await fetch(`${baseUrl}/api/v4/framers/proxy/promotion-api/api/v1/coupon?couponIdList=${slicedCouponIdListString}`).then((res) => res.json()).then((res) => camelcaseKeys(res, {\n      deep: true\n    }));\n    if (response.result === \"FAIL\" || response.data === null) {\n      captureAPIError(new Error(response.message ?? GENERAL_ERROR), response);\n      throw new Error(response.message ?? GENERAL_ERROR);\n    }\n    return response;\n  }\n  async downloadCouponBulk(couponNoList, quantity = 1) {\n    const items = couponNoList.map((coupon) => {\n      if (typeof coupon === \"number\") {\n        return {\n          couponId: coupon,\n          quantity: Math.max(quantity, 1)\n        };\n      }\n      return {\n        couponId: coupon.couponId,\n        quantity: Math.max(coupon.quantity, 1)\n      };\n    });\n    return authFetch(`${env.api.promotion}/api/v6/coupons/download:bulk`, {\n      method: \"POST\",\n      body: JSON.stringify({\n        items\n      }),\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"accept\": \"application/json\"\n      },\n      credentials: \"include\"\n    }).then((res) => res.json());\n  }\n  async downloadCoupon(couponNo, downloadCount) {\n    const safeDownloadCount = Math.max(downloadCount, 1);\n    return authFetch(`${env.api.promotion}/api/v4/coupons/download`, {\n      method: \"POST\",\n      body: JSON.stringify({\n        couponId: couponNo,\n        downloadCount: safeDownloadCount\n      }),\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"accept\": \"application/json\"\n      },\n      credentials: \"include\"\n    }).then((res) => res.json());\n  }\n  async downloadLimitedCoupons(couponNoList) {\n    const promises = couponNoList.map(async (couponId) => {\n      return authFetch(`${env.api.promotion}/api/v4/coupons/download:limited`, {\n        method: \"POST\",\n        body: JSON.stringify({\n          couponId\n        }),\n        headers: {\n          \"Content-Type\": \"application/json\",\n          \"accept\": \"application/json\"\n        },\n        credentials: \"include\"\n      }).then((res) => res.json());\n    });\n    const [response] = await Promise.all(promises);\n    return response;\n  }\n  async downloadRandomCoupon() {\n    return authFetch(`${env.api.promotion}/api/v1/random-coupon/${env.name === \"qa\" ? \"issue-test\" : \"issue\"}`, {\n      method: \"POST\",\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"accept\": \"application/json\"\n      },\n      credentials: \"include\"\n    }).then((res) => res.json());\n  }\n  async getMaxIssueCount(couponId) {\n    const result = await fetch(`${env.api.promotion}/api/v4/coupons/max-issue-count/${couponId}`);\n    const response = await result.json();\n    if (response.result === \"FAIL\" || response.data === null) {\n      throw new Error(response.errorCode ?? GENERAL_ERROR);\n    }\n    return response;\n  }\n  async getDownloadableCouponSummaries(couponIdList, userId) {\n    const result = await authFetch(`${env.api.promotion}/api/v4/coupons/downloadable?userId=${userId}`, {\n      method: \"POST\",\n      body: JSON.stringify({\n        couponIdList\n      }),\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"accept\": \"application/json\"\n      },\n      credentials: \"include\"\n    });\n    const response = await result.json();\n    if (response.result === \"FAIL\" || response.data === null) {\n      throw new Error(response.errorCode ?? GENERAL_ERROR);\n    }\n    return response.data.downloadableCouponInfoList;\n  }\n  async getCouponsDownloadStatus(couponIdList, userId) {\n    const result = await authFetch(`${env.api.promotion}/api/v6/coupons/download-status?userId=${userId}`, {\n      method: \"POST\",\n      body: JSON.stringify({\n        couponIdList\n      }),\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"accept\": \"application/json\"\n      },\n      credentials: \"include\"\n    });\n    const response = await result.json();\n    if (!result.ok) {\n      throw new Error(response.errorCode ?? GENERAL_ERROR);\n    }\n    if (response.result === \"FAIL\" || response.data === null) {\n      return [];\n    }\n    return response.data.couponDownloadStatusList;\n  }\n  parseDownloadCouponError(error, fallbackMessage) {\n    const message = parseErrorMessage(error, fallbackMessage) ?? \"\";\n    const directionCode = parseDirectionCode(error);\n    const isAuthError = (directionCode == null ? void 0 : directionCode[0]) === \"auth\";\n    return {\n      message,\n      callbackUrl: isAuthError ? \"/mypage/edit/info\" : void 0\n    };\n  }\n}\nconst couponApi = new CouponApiService();\nexport {\n  couponApi\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { couponApi } from \"../../apis/coupon/CouponApiService.js\";\nconst COUPONS_DOWNLOAD_STATUS_FETCHER_KEY = \"@coupon/coupons-download-status\";\nconst useFetchCouponsDownloadStatus = (couponIds, userNo, enabled = true) => {\n  const canFetch = couponIds.length > 0 && Boolean(userNo) && enabled;\n  const {\n    isLoading,\n    data,\n    ...rest\n  } = useSWR(canFetch ? [COUPONS_DOWNLOAD_STATUS_FETCHER_KEY, ...couponIds] : null, () => couponApi.getCouponsDownloadStatus(couponIds, Number(userNo)), {\n    revalidateIfStale: true\n  });\n  return {\n    isLoading: isLoading || !canFetch,\n    statuses: data ?? [],\n    ...rest\n  };\n};\nexport {\n  useFetchCouponsDownloadStatus\n};\n","import useSWRMutation from \"../../node_modules/swr/mutation/dist/index.js\";\nimport { couponApi } from \"../../apis/coupon/CouponApiService.js\";\nconst COUPON_MULTI_ISSUE_FETCHER_KEY = \"coupon-multi-issue\";\nconst downloadCoupons = (_key, {\n  arg\n}) => {\n  const {\n    couponIds,\n    downloadCount\n  } = arg;\n  return couponApi.downloadCouponBulk(couponIds, downloadCount);\n};\nconst useDownloadCouponsMutation = ({\n  enabled = true,\n  onError,\n  onSuccess\n} = {}) => {\n  return useSWRMutation(enabled ? COUPON_MULTI_ISSUE_FETCHER_KEY : null, downloadCoupons, {\n    onError,\n    onSuccess\n  });\n};\nexport {\n  COUPON_MULTI_ISSUE_FETCHER_KEY,\n  useDownloadCouponsMutation\n};\n","const DOWNLOAD_COUPON_MESSAGES = {\n  SUCCESS: \"쿠폰을 받았어요.\\n받은 쿠폰은 마이페이지에서 확인하세요.\",\n  BULK_SUCCESS: \"쿠폰을 모두 받았어요.\\n받은 쿠폰은 마이페이지에서 확인하세요.\",\n  LOADING: \"쿠폰 발급을 시도하고 있어요. 잠시 기다려주세요.\\n신청 순서대로 처리되며 신청량이 많은 경우 쿠폰이 소진될 수 있어요\",\n  NEED_IDENTIFICATION: \"쿠폰 발급을 위해 본인확인이 필요해요.\",\n  FAILED_SOME_COUPON_DOWNLOAD: \"쿠폰을 모두 받았어요. 받은 쿠폰은 MY>쿠폰함에서 확인하세요.\",\n  FAILED_COUPON_DOWNLOAD: \"쿠폰을 모두 받았어요. 받은 쿠폰은 MY>쿠폰함에서 확인하세요.\",\n  NOT_FOUND_USER_ID: \"로그인이 필요해요.\",\n  GENERAL_ERROR: \"쿠폰 발급에 실패했어요.\",\n  RANDOM_COUPON_ISSUANCE_END: \"선착순 쿠폰이 마감되었습니다.\",\n  OVER_PERSONAL_MAX_LIMIT_DOWNLOAD: \"이미 쿠폰을 받았어요.\\n보유한 쿠폰은 마이페이지에서 확인하세요.\"\n};\nexport {\n  DOWNLOAD_COUPON_MESSAGES\n};\n","import useSWRMutation from \"../../node_modules/swr/mutation/dist/index.js\";\nimport { couponApi } from \"../../apis/coupon/CouponApiService.js\";\nconst DOWNLOAD_RANDOM_COUPON_MUTATION_KEY = \"@coupon/download-random-coupon\";\nconst useDownloadRandomCouponMutation = ({\n  enabled = true,\n  onError,\n  onSuccess\n} = {}) => {\n  return useSWRMutation(enabled ? DOWNLOAD_RANDOM_COUPON_MUTATION_KEY : null, () => couponApi.downloadRandomCoupon(), {\n    onError,\n    onSuccess\n  });\n};\nexport {\n  DOWNLOAD_RANDOM_COUPON_MUTATION_KEY,\n  useDownloadRandomCouponMutation\n};\n","import { useCurrentUser } from \"./useCurrentUser.js\";\nimport { useRedirectLoginDialog } from \"./useRedirectLoginDialog.js\";\nimport { useDownloadCouponsMutation } from \"./mutations/useDownloadCouponsMutation.js\";\nimport \"../node_modules/swr/mutation/dist/index.js\";\nimport \"../config/index.js\";\nimport \"../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../apis/taste-sharing/TasteSharingApiService.js\";\nimport { useDialog } from \"./useDialog.js\";\nimport { isContentOrigin } from \"../utils/location.js\";\nimport { DOWNLOAD_COUPON_MESSAGES } from \"../components/canvas/CouponDownloadCTA/CouponDownloadCTA.constants.js\";\nimport { useDownloadRandomCouponMutation } from \"./mutations/useDownloadRandomCouponMutation.js\";\nimport { CouponType, DiscountType } from \"../types/models/coupon.js\";\nconst useDownloadCoupons = (couponType = CouponType.NORMAL, discountType = DiscountType.FIXED_RATE, handleCouponDownloadSuccess) => {\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    showRedirectLoginDialog\n  } = useRedirectLoginDialog();\n  const isValidOrigin = isContentOrigin();\n  const dialog = useDialog();\n  const {\n    trigger: downloadCoupons,\n    isMutating: isLoading\n  } = useDownloadCouponsMutation({\n    isLimited: couponType === CouponType.LIMITED,\n    enabled: isValidOrigin\n  });\n  const {\n    trigger: downloadRandomCoupon,\n    isMutating: isRandomCouponLoading\n  } = useDownloadRandomCouponMutation({\n    enabled: isValidOrigin\n  });\n  const handleSuccess = () => (response) => {\n    if ((response == null ? void 0 : response.result) === \"FAIL\") {\n      dialog.show({\n        content: getErrorMessage(response.errorCode, response.message)\n      });\n      return;\n    }\n    handleCouponDownloadSuccess == null ? void 0 : handleCouponDownloadSuccess();\n    dialog.show({\n      content: getSuccessMessage(response, discountType)\n    });\n  };\n  const validate = () => {\n    if (!isValidOrigin) {\n      return false;\n    }\n    if (!logged) {\n      showRedirectLoginDialog();\n      return false;\n    }\n    if (isLoading || isRandomCouponLoading) {\n      dialog.show({\n        content: DOWNLOAD_COUPON_MESSAGES.LOADING\n      });\n      return false;\n    }\n    return true;\n  };\n  const download = async (couponNoList = [], downloadCountOrSkipValidation = 1, skipValidation = false) => {\n    const downloadCount = typeof downloadCountOrSkipValidation === \"number\" ? downloadCountOrSkipValidation : 1;\n    const shouldSkipValidation = typeof downloadCountOrSkipValidation === \"boolean\" ? downloadCountOrSkipValidation : skipValidation;\n    if (!shouldSkipValidation && !validate()) {\n      return;\n    }\n    if (couponType === CouponType.NORMAL || couponType === CouponType.LIMITED) {\n      await downloadCoupons({\n        couponIds: couponNoList,\n        downloadCount\n      }, {\n        onSuccess: handleSuccess(),\n        onError: () => {\n          dialog.show({\n            content: \"쿠폰 다운로드 요청이 많아 지연 중입니다. 죄송합니다. 잠시 후 다시 시도해 주세요.\"\n          });\n        }\n      });\n      return;\n    }\n    if (couponType === CouponType.RANDOM) {\n      await downloadRandomCoupon(void 0, {\n        onSuccess: handleSuccess(),\n        onError: () => {\n          dialog.show({\n            content: \"쿠폰 다운로드 요청이 많아 지연 중입니다. 죄송합니다. 잠시 후 다시 시도해 주세요.\"\n          });\n        }\n      });\n    }\n  };\n  return {\n    validate,\n    download\n  };\n};\nconst getSuccessMessage = (response, discountType) => {\n  const {\n    data\n  } = response;\n  const isBulk = data && \"downloadSummaryList\" in data;\n  const isRandom = data && \"couponId\" in data;\n  if (isRandom) {\n    return createRandomCouponSuccessMessage(data.discountValue)[discountType];\n  }\n  return isBulk ? DOWNLOAD_COUPON_MESSAGES.BULK_SUCCESS : DOWNLOAD_COUPON_MESSAGES.SUCCESS;\n};\nconst createRandomCouponSuccessMessage = (discountValue) => ({\n  [DiscountType.FIXED_PRICE]: `${discountValue.toLocaleString(\"ko-KR\")}원 쿠폰에 당첨됐어요.\n받은 쿠폰은 마이페이지에서 확인하세요.`,\n  [DiscountType.FIXED_RATE]: `${discountValue}% 쿠폰에 당첨됐어요.\n받은 쿠폰은 마이페이지에서 확인하세요.`\n});\nconst getErrorMessage = (errorCode, errorMessage) => {\n  switch (errorCode) {\n    case \"FAILED_SOME_COUPON_DOWNLOAD\":\n      return DOWNLOAD_COUPON_MESSAGES.FAILED_SOME_COUPON_DOWNLOAD;\n    case \"FAILED_COUPON_DOWNLOAD\":\n    case \"PERSONAL_LIMIT_REACHED\":\n      return DOWNLOAD_COUPON_MESSAGES.FAILED_COUPON_DOWNLOAD;\n    case \"OVER_PERSONAL_MAX_LIMIT_DOWNLOAD\":\n      return DOWNLOAD_COUPON_MESSAGES.OVER_PERSONAL_MAX_LIMIT_DOWNLOAD;\n    case \"NOT_FOUND_USER_ID\":\n      return DOWNLOAD_COUPON_MESSAGES.NOT_FOUND_USER_ID;\n    case \"RANDOM_COUPON_ISSUANCE_END\":\n    case \"TOTAL_LIMIT_REACHED\":\n    case \"OVER_MAX_LIMIT_DOWNLOAD\":\n      return DOWNLOAD_COUPON_MESSAGES.RANDOM_COUPON_ISSUANCE_END;\n    case \"COUPON_UNAVAILABLE\":\n      return DOWNLOAD_COUPON_MESSAGES.GENERAL_ERROR;\n    case \"TRANSIENT_FAILURE\":\n      return \"쿠폰 다운로드 요청이 많아 지연 중입니다. 죄송합니다. 잠시 후 다시 시도해 주세요.\";\n    default:\n      return errorMessage || \"쿠폰 다운로드 요청이 많아 지연 중입니다. 죄송합니다. 잠시 후 다시 시도해 주세요.\";\n  }\n};\nconst toCouponNos = (couponNosStr) => {\n  return couponNosStr.split(\",\").map((item) => Number(item.trim()));\n};\nexport {\n  toCouponNos,\n  useDownloadCoupons\n};\n","const formatToCoupon = (coupon) => {\n  if (!coupon) {\n    return void 0;\n  }\n  return {\n    ...coupon,\n    id: coupon.couponId\n  };\n};\nexport {\n  formatToCoupon\n};\n","import { QueryType } from \"../types.js\";\nimport useSWR from \"../../../node_modules/swr/core/dist/index.js\";\nimport { couponApi } from \"../../../apis/coupon/CouponApiService.js\";\nimport { formatToCoupon } from \"./CouponModule.utils.js\";\nconst COUPONS_FETCHER_KEY = \"@coupon-module/coupons\";\nconst useCouponsQuery = ({\n  query,\n  couponIds,\n  enabled = true\n}) => {\n  const canFetch = couponIds.length > 0 && enabled && query !== void 0;\n  const {\n    data\n  } = useSWR(canFetch ? [COUPONS_FETCHER_KEY, couponIds] : null, () => queryCoupons(couponIds, query));\n  return {\n    coupons: (data == null ? void 0 : data.coupons) ?? []\n  };\n};\nconst fetchCoupons = async (couponIds) => {\n  const {\n    data\n  } = await couponApi.getCoupons(couponIds);\n  return {\n    coupons: data\n  };\n};\nconst fetchCouponCollectionCoupon = (query) => {\n  const coupon = formatToCoupon(query.coupon);\n  return {\n    coupons: coupon ? [coupon] : []\n  };\n};\nconst fetchKeywordCollectionCoupon = async (query) => {\n  if (!query.couponId) {\n    return {\n      coupons: []\n    };\n  }\n  const {\n    data\n  } = await couponApi.getCoupons([query.couponId]);\n  return {\n    coupons: data\n  };\n};\nconst queryCoupons = (couponIds, query) => {\n  if (query === void 0) {\n    return {\n      coupons: []\n    };\n  }\n  switch (query.type) {\n    case QueryType.Coupon:\n      return fetchCoupons(couponIds);\n    case QueryType.CouponCollection:\n      return fetchCouponCollectionCoupon(query);\n    case QueryType.KeywordCollection:\n      return fetchKeywordCollectionCoupon(query);\n    default:\n      return {\n        coupons: []\n      };\n  }\n};\nexport {\n  useCouponsQuery\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef } from \"react\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { useFold } from \"./Root.hooks.js\";\nimport { cx } from \"framer\";\nimport { Skeleton } from \"../Skeleton/Skeleton.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.FoldableListRoot, {\n  container: css`\n    display: flex;\n    flex-direction: column;\n    align-items: flex-start;\n  `\n});\nconst FoldableListContext = createContext(null);\nconst Root = withStyle(forwardRef(({\n  children,\n  className,\n  theme = \"light\",\n  pending = false,\n  color,\n  ...rest\n}, ref) => {\n  const {\n    isFolded,\n    toggleFold\n  } = useFold();\n  if (pending) {\n    return /* @__PURE__ */ jsx(Skeleton, { style: {\n      ...skeletonStyle,\n      ...skeletonStyleByTheme[theme]\n    } });\n  }\n  return /* @__PURE__ */ jsx(FoldableListContext.Provider, { value: {\n    theme,\n    color,\n    isFolded,\n    toggleFold\n  }, children: /* @__PURE__ */ jsx(\"div\", { className: cx(className, classNames.container), ref, ...rest, children }) });\n}));\nconst skeletonStyle = {\n  width: 100,\n  height: 20,\n  borderRadius: 4\n};\nconst skeletonStyleByTheme = {\n  light: {\n    backgroundColor: \"#dee2e6\"\n  },\n  dark: {\n    backgroundColor: \"#27272a\"\n  }\n};\nexport {\n  FoldableListContext,\n  Root\n};\n","import { useState, useContext } from \"react\";\nimport { FoldableListContext } from \"./Root.js\";\nconst useFold = () => {\n  const [isFolded, setIsFolded] = useState(true);\n  const toggleFold = () => {\n    setIsFolded((prev) => !prev);\n  };\n  return {\n    isFolded,\n    toggleFold\n  };\n};\nconst useFoldableListContext = () => {\n  const context = useContext(FoldableListContext);\n  if (!context) {\n    throw new Error(\"useFoldableListContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useFold,\n  useFoldableListContext\n};\n","import { useAnimationControls } from \"framer-motion\";\nimport { useFoldableListContext } from \"./Root.hooks.js\";\nimport { useEffect } from \"react\";\nconst useFoldControls = () => {\n  const {\n    isFolded\n  } = useFoldableListContext();\n  const controls = useAnimationControls();\n  useEffect(() => {\n    if (isFolded) {\n      controls.start({\n        height: 0\n      });\n    } else {\n      controls.start({\n        height: \"auto\"\n      });\n    }\n  }, [isFolded]);\n  return controls;\n};\nexport {\n  useFoldControls\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { motion } from \"framer-motion\";\nimport { cx } from \"framer\";\nimport { useFoldControls } from \"./Content.hooks.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.FoldableListContent, {\n  container: css`\n    display: flex;\n    flex-direction: column;\n    gap: 2px;\n    padding-top: 7px;\n  `\n});\nconst Content = withStyle(forwardRef(({\n  children,\n  className,\n  ...rest\n}, ref) => {\n  const controls = useFoldControls();\n  return /* @__PURE__ */ jsx(motion.div, { ref, initial: {\n    height: 0\n  }, animate: controls, style: {\n    overflow: \"hidden\"\n  }, transition: {\n    type: \"spring\",\n    stiffness: 500,\n    damping: 60,\n    mass: 1\n  }, children: /* @__PURE__ */ jsx(\"div\", { className: cx(className, classNames.container), ...rest, children }) });\n}));\nexport {\n  Content\n};\n","const textStyleByTheme = {\n  light: {\n    color: \"#474747\"\n  },\n  dark: {\n    color: \"#a0a0a0\"\n  }\n};\nexport {\n  textStyleByTheme\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { cx } from \"framer\";\nimport { forwardRef } from \"react\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { typographyCSS } from \"../../../styles/typography.js\";\nimport { useFoldableListContext } from \"./Root.hooks.js\";\nimport { textStyleByTheme } from \"./Root.constants.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.FoldableListItem, {\n  \"container\": css`\n    display: flex;\n\n    ${typographyCSS(12, 400)};\n\n    line-height: 1.6em;\n    white-space: pre-wrap;\n    word-break: keep-all;\n  `,\n  \"container::before\": css`\n    content: '•';\n    font-size: 16px;\n    margin-right: 6px;\n  `\n});\nconst Item = withStyle(forwardRef(({\n  children,\n  className,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    theme,\n    color\n  } = useFoldableListContext();\n  return /* @__PURE__ */ jsx(\"div\", { ref, className: cx(className, classNames.container), style: {\n    color: color ?? textStyleByTheme[theme].color,\n    ...style\n  }, ...rest, children });\n}));\nexport {\n  Item\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { AnimatePresence, motion } from \"framer-motion\";\nimport { forwardRef } from \"react\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { typographyCSS } from \"../../../styles/typography.js\";\nimport { Icon } from \"../Icon/Icon.js\";\nimport { cx } from \"framer\";\nimport { useFoldableListContext } from \"./Root.hooks.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport { textStyleByTheme } from \"./Root.constants.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.FoldableListTrigger, {\n  container: css`\n    display: flex;\n    align-items: center;\n    gap: 4px;\n    cursor: pointer;\n  `,\n  text: typographyCSS(14, 500, 1.6)\n});\nconst Trigger = withStyle(forwardRef(({\n  children,\n  className,\n  textStyle,\n  icons,\n  onClick,\n  ...rest\n}, ref) => {\n  const {\n    theme,\n    color,\n    isFolded,\n    toggleFold\n  } = useFoldableListContext();\n  const textColor = color ?? textStyleByTheme[theme].color;\n  const {\n    initial = \"chevronDown\",\n    active = \"chevronUp\",\n    size = 14\n  } = icons ?? {};\n  const handleClick = (e) => {\n    onClick == null ? void 0 : onClick(e);\n    toggleFold();\n  };\n  return /* @__PURE__ */ jsxs(\"div\", { ref, className: cx(className, classNames.container), onClick: handleClick, ...rest, children: [\n    /* @__PURE__ */ jsx(\"div\", { className: classNames.text, style: {\n      color: textColor,\n      ...baseTextStyle,\n      ...textStyle\n    }, children }),\n    /* @__PURE__ */ jsx(AnimatePresence, { mode: \"wait\", children: /* @__PURE__ */ jsx(motion.div, { style: {\n      display: \"flex\",\n      alignItems: \"center\",\n      justifyContent: \"center\"\n    }, animate: {\n      opacity: 1\n    }, initial: {\n      opacity: isCanvas() ? 1 : 0\n    }, exit: {\n      opacity: 0\n    }, transition: {\n      duration: 0.2\n    }, children: /* @__PURE__ */ jsx(Icon, { type: isFolded ? initial : active, color: textColor, size, weight: \"bold\" }) }, isFolded ? \"plus\" : \"minus\") })\n  ] });\n}));\nconst baseTextStyle = {\n  minHeight: 20,\n  display: \"flex\",\n  alignItems: \"center\"\n};\nexport {\n  Trigger\n};\n","import { Content } from \"./Content.js\";\nimport { Item } from \"./Item.js\";\nimport { Root } from \"./Root.js\";\nimport { Trigger } from \"./Trigger.js\";\nconst FoldableList = {\n  Root,\n  Trigger,\n  Content,\n  Item\n};\nexport {\n  FoldableList\n};\n","import { CouponType, DiscountType, AvailableDayType } from \"../../../../types/models/coupon.js\";\nimport { deduplicate } from \"../../../../utils/deduplicate.js\";\nimport head from \"../../../../node_modules/lodash-es/head.js\";\nimport { parseISO } from \"../../../../node_modules/date-fns/parseISO.js\";\nimport { formatDate as format } from \"../../../../node_modules/date-fns/format.js\";\nconst DATE_FORMAT = \"yyyy.MM.dd HH:mm\";\nconst HOURS_IN_DAY = 24;\nconst getCouponNotices = (couponType, coupons) => {\n  const coupon = head(coupons);\n  if (!coupon) {\n    return [];\n  }\n  const formattedAvailablePeriod = formatAvailablePeriod(coupon);\n  const formattedMaxDiscountPrice = formatMaxDiscountPrice(couponType, sortCouponsByDiscountValueAscending(coupons));\n  const maxIssueCountNotice = createMaxIssueCountNotice(coupon.personMaxIssueCount);\n  if (couponType === CouponType.RANDOM) {\n    return getRandomCouponNotices(formattedAvailablePeriod, formattedMaxDiscountPrice);\n  }\n  if (coupon.discountType === DiscountType.FIXED_RATE) {\n    return getRateCouponNotices(formattedAvailablePeriod, formattedMaxDiscountPrice, maxIssueCountNotice);\n  }\n  return getAmountCouponNotices(formattedAvailablePeriod, formattedMaxDiscountPrice, maxIssueCountNotice);\n};\nconst createMaxIssueCountNotice = (maxIssueCount) => {\n  if (!maxIssueCount) {\n    return \"\";\n  }\n  const hasMaxIssueCount = maxIssueCount > 0;\n  if (!hasMaxIssueCount) {\n    return \"쿠폰은 이벤트 기간 중복 발급 가능합니다.\";\n  }\n  return `쿠폰은 이벤트 기간 동안 하나의 ID 당 ${maxIssueCount}회 발급 및 사용 가능합니다.`;\n};\nconst formatMaxDiscountPrice = (couponType, coupons) => {\n  const hasMaxDiscountPrice = coupons.some((coupon2) => coupon2.maxDiscountPrice > 0);\n  if (!hasMaxDiscountPrice) {\n    return \"제한 없음\";\n  }\n  const [coupon] = coupons;\n  if (couponType === CouponType.RANDOM) {\n    return formatRandomCouponMaxDiscountPrice(coupons);\n  }\n  if (coupon.discountType === DiscountType.FIXED_PRICE) {\n    return formatAmountCouponMaxDiscountPrice(coupons);\n  }\n  return formatRateCouponMaxDiscountPrice(coupons);\n};\nconst formatRateCouponMaxDiscountPrice = (coupons) => {\n  return `${composeWithUnit(getMaxDiscountPrice(coupons), \"원\")}`;\n};\nconst formatAmountCouponMaxDiscountPrice = (coupons) => {\n  const uniquified = uniquifyCouponsByMinPayAmount(coupons);\n  const formatted = uniquified.reduce((acc, curr) => {\n    const {\n      maxDiscountPrice,\n      minPayAmount\n    } = curr;\n    acc.push(`${composeWithUnit(minPayAmount, \"원\")} 이상 구매 시 ${composeWithUnit(maxDiscountPrice, \"원\")} 할인`);\n    return acc;\n  }, []);\n  return formatted.join(\", \");\n};\nconst formatRandomCouponMaxDiscountPrice = (coupons) => {\n  const uniquified = uniquifyCouponsByDiscountValue(coupons);\n  const formatted = uniquified.reduce((acc, curr) => {\n    const {\n      discountType,\n      discountValue,\n      maxDiscountPrice\n    } = curr;\n    acc.push(`${composeWithUnitByType(discountType, discountValue)} 쿠폰 ${composeWithUnit(maxDiscountPrice, \"원\")} 할인`);\n    return acc;\n  }, []);\n  return formatted.join(\", \");\n};\nconst formatAvailablePeriod = (coupon) => {\n  if (coupon.useAvailableDayType === AvailableDayType.DAY) {\n    return `쿠폰 발급 후 ${coupon.couponUseAfterDay * HOURS_IN_DAY}시간 이내`;\n  }\n  if (coupon.useAvailableDayType === AvailableDayType.RANGE) {\n    const availableStartAt = parseISO(coupon.couponUseStartAt);\n    const availableEndAt = parseISO(coupon.couponUseEndAt);\n    return `${format(availableStartAt, DATE_FORMAT)} - ${format(availableEndAt, DATE_FORMAT)}`;\n  }\n  return \"없음\";\n};\nconst uniquifyCouponsByDiscountValue = (coupons) => {\n  return deduplicate(coupons, (x, y) => x.discountValue === y.discountValue && x.maxDiscountPrice === y.maxDiscountPrice);\n};\nconst uniquifyCouponsByMinPayAmount = (coupons) => {\n  return deduplicate(coupons, (x, y) => x.minPayAmount === y.minPayAmount && x.maxDiscountPrice === y.maxDiscountPrice);\n};\nconst sortCouponsByDiscountValueAscending = (coupons) => {\n  return [...coupons].sort((x, y) => x.discountValue - y.discountValue);\n};\nconst getMaxDiscountPrice = (coupons) => {\n  return Math.max(...coupons.map((coupon) => coupon.maxDiscountPrice));\n};\nconst RANDOM_COUPON_PERIOD_CUTOFF = new Date(2026, 1, 18, 10, 0, 0);\nconst getRandomCouponUseablePeriod = (now = /* @__PURE__ */ new Date()) => {\n  if (now >= RANDOM_COUPON_PERIOD_CUTOFF) {\n    return \"발급일 기준 당일 23:59 까지\";\n  }\n  return \"발급일 기준 익일 09:59 까지\";\n};\nconst getRandomCouponNotices = (_availablePeriod, maxDiscountPrice) => [`쿠폰 사용 기간 : ${getRandomCouponUseablePeriod()}`, `쿠폰 최대 할인 금액 : ${maxDiscountPrice}`, `다운로드한 쿠폰은 'MY PAGE > 사용 가능 쿠폰'에서 확인 가능합니다.`, `쿠폰을 사용한 이력이 있는 경우 쿠폰은 보이지 않습니다.`, `쿠폰 소멸, 발급 중단, 사용 완료된 쿠폰은 구매 취소 시 별도 재발급이 불가합니다.`, `브랜드 정책에 따라 일부 상품 쿠폰 적용이 불가할 수 있습니다.`];\nconst getRateCouponNotices = (availablePeriod, maxDiscountPrice, maxIssueCountNotice) => [`쿠폰 사용 기간 : ${availablePeriod}`, `쿠폰 최대 할인 금액 : ${maxDiscountPrice}`, maxIssueCountNotice, `다운로드한 쿠폰은 'MY PAGE > 사용 가능 쿠폰'에서 확인 가능합니다.`, `해당 쿠폰은 이벤트 참여 상품 대상으로만 적용 가능합니다.`, `쿠폰 적용 가능 상품은 수시로 변경되며, 일부 품목에 한하여 쿠폰 적용이 제한될 수 있습니다.`, `브랜드 재고 사정에 따라 품절이나 환불 안내를 받게 될 수 있습니다.`];\nconst getAmountCouponNotices = (availablePeriod, maxDiscountPrice, maxIssueCountNotice) => {\n  return [`쿠폰 사용 기간 : ${availablePeriod}`, `쿠폰 최대 할인 금액 : ${maxDiscountPrice}`, maxIssueCountNotice, `다운로드한 쿠폰은 'MY PAGE > 사용 가능 쿠폰'에서 확인 가능합니다.`, `해당 쿠폰은 이벤트 참여 상품 대상으로만 적용 가능합니다.`, `쿠폰 적용 가능 상품은 수시로 변경되며, 일부 품목에 한하여 쿠폰 적용이 제한될 수 있습니다.`, `브랜드 재고 사정에 따라 품절이나 환불 안내를 받게 될 수 있습니다.`];\n};\nconst composeWithUnitByType = (discountType, discountValue) => {\n  switch (discountType) {\n    case DiscountType.FIXED_RATE:\n      return composeWithUnit(discountValue, \"%\");\n    case DiscountType.FIXED_PRICE:\n      return composeWithUnit(discountValue, \"원\");\n  }\n};\nconst composeWithUnit = (discountValue, unit) => {\n  return `${discountValue.toLocaleString(\"ko-KR\")}${unit}`;\n};\nexport {\n  composeWithUnit,\n  composeWithUnitByType,\n  getCouponNotices,\n  getRandomCouponUseablePeriod\n};\n","import { ControlType } from \"framer\";\nconst COUPON_NOTICE_THEME_TYPE = {\n  DEFAULT: \"default\",\n  LIGHT: \"light\",\n  DARK: \"dark\"\n};\nconst COUPON_NOTICES_CONTROLS = {\n  mainNotices: {\n    type: ControlType.Array,\n    title: \"메인 유의사항\",\n    description: \"상시 노출되는 유의사항으로, 최대 두 줄 입력이 가능합니다.\",\n    control: {\n      type: ControlType.String\n    },\n    maxCount: 2\n  },\n  hasAdditionalNotices: {\n    type: ControlType.Boolean,\n    title: \"추가 유의사항 노출\",\n    enabledTitle: \"노출\",\n    disabledTitle: \"미노출\",\n    defaultValue: false\n  },\n  additionalNotices: {\n    hidden: ({\n      hasAdditionalNotices\n    }) => hasAdditionalNotices === false,\n    type: ControlType.Array,\n    title: \"추가 유의사항\",\n    description: \"더보기 클릭 시 노출되는 추가 유의사항입니다.\",\n    control: {\n      type: ControlType.String\n    }\n  },\n  noticeTheme: {\n    type: ControlType.Enum,\n    title: \"유의사항 테마\",\n    description: \"기본은 쿠폰 테마를 따르며, Light/Dark로 유의사항만 별도 설정할 수 있습니다.\",\n    options: [COUPON_NOTICE_THEME_TYPE.DEFAULT, COUPON_NOTICE_THEME_TYPE.LIGHT, COUPON_NOTICE_THEME_TYPE.DARK],\n    optionTitles: [\"기본 (쿠폰 테마 동일)\", \"Light\", \"Dark\"],\n    defaultValue: COUPON_NOTICE_THEME_TYPE.DEFAULT\n  }\n};\nconst resolveCouponNoticeTheme = (noticeTheme, couponTheme) => noticeTheme === void 0 || noticeTheme === COUPON_NOTICE_THEME_TYPE.DEFAULT ? couponTheme : noticeTheme;\nexport {\n  COUPON_NOTICES_CONTROLS,\n  COUPON_NOTICE_THEME_TYPE,\n  resolveCouponNoticeTheme\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useMemo } from \"react\";\nimport { FoldableList } from \"../../../@shared/FoldableList/index.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { getCouponNotices } from \"./NoticesElement.utils.js\";\nimport { resolveCouponNoticeTheme } from \"../../../../libs/property-controls/coupon-notices.js\";\nimport { filterMap } from \"../../../../utils/filterMap.js\";\nconst NoticesElement = ({\n  couponType,\n  coupons,\n  mainNotices,\n  hasAdditionalNotices,\n  additionalNotices,\n  noticeTheme\n}) => {\n  const theme = useTheme();\n  const resolvedNoticeTheme = resolveCouponNoticeTheme(noticeTheme, theme);\n  const uniqueMainNotices = [...new Set(mainNotices)];\n  const mergedAdditionalNotices = useMemo(() => [...getCouponNotices(couponType, coupons), ...additionalNotices], [couponType, coupons, additionalNotices]);\n  const uniqueAdditionalNotices = [...new Set(mergedAdditionalNotices)];\n  const hasMainNotices = mainNotices.length > 0;\n  const hasNotices = hasMainNotices || hasAdditionalNotices;\n  if (!hasNotices) {\n    return null;\n  }\n  return /* @__PURE__ */ jsxs(\"div\", { style: noticesLayout, children: [\n    hasMainNotices ? /* @__PURE__ */ jsx(\"div\", { style: mainNoticesStyle, children: uniqueMainNotices.map((notice) => /* @__PURE__ */ jsxs(\"div\", { style: {\n      ...typography(12, 400),\n      ...mainNoticeStyleByTheme[resolvedNoticeTheme]\n    }, children: [\n      \"*\",\n      notice\n    ] }, notice)) }) : null,\n    hasAdditionalNotices ? /* @__PURE__ */ jsxs(FoldableList.Root, { theme: resolvedNoticeTheme, children: [\n      /* @__PURE__ */ jsx(FoldableList.Trigger, { style: {\n        gap: 2\n      }, textStyle: typography(12, 400), icons: {\n        initial: \"chevronDown\",\n        active: \"chevronUp\",\n        size: 12\n      }, children: \"유의사항\" }),\n      /* @__PURE__ */ jsx(FoldableList.Content, { children: filterMap(uniqueAdditionalNotices, (notice) => notice !== \"\", (notice) => /* @__PURE__ */ jsx(FoldableList.Item, { children: notice }, notice)) })\n    ] }) : null\n  ] });\n};\nconst noticesLayout = {\n  display: \"flex\",\n  flexDirection: \"column\",\n  gap: \"12px\",\n  marginTop: \"8px\"\n};\nconst mainNoticesStyle = {\n  width: \"100%\",\n  display: \"flex\",\n  flexDirection: \"column\"\n};\nconst mainNoticeStyleByTheme = {\n  light: {\n    color: \"#474747\"\n  },\n  dark: {\n    color: \"#a0a0a0\"\n  }\n};\nexport {\n  NoticesElement\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useState } from \"react\";\nimport { DiscountType } from \"../../../types/models/coupon.js\";\nimport \"../Countdown/Countdown.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../Expandable/Expandable.js\";\nimport \"../FixedScrollProgressBar/FixedScrollProgressBar.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/framer/FramerApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../apis/user/UserApiService.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../hooks/useFeatureFlag.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport \"../ShareButtonWithReferralEvent/ShareButtonWithReferralEvent.js\";\nimport \"../../../constants/snowplow/snowplowSchema.js\";\nimport \"../Products/Products.js\";\nimport \"../ResponsiveSplitView/ResponsiveSplitView.js\";\nimport \"../ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.js\";\nimport { RollingNumber } from \"../RollingNumber/RollingNumber.js\";\nimport \"../TabBar/TabBar.js\";\nimport \"../TimeProgressBar/TimeProgressBar.js\";\nimport \"../ViewportContainer/ViewportContainer.js\";\nimport \"../TabBarV2/TabBarV2.js\";\nimport \"../TabBarV3/TabBarV3.js\";\nimport \"../TabBarV4/TabBarV4.js\";\nimport { useVisibilityAwareInterval } from \"../../../hooks/useVisibilityAwareInterval.js\";\nconst RandomDiscountValue = ({\n  discountType,\n  discountValues\n}) => {\n  const [index, setIndex] = useState(0);\n  useVisibilityAwareInterval(() => {\n    setIndex((prev) => (prev + 1) % discountValues.length);\n  }, 800);\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    display: \"flex\",\n    alignItems: \"center\"\n  }, children: [\n    /* @__PURE__ */ jsx(RollingNumber, { value: discountValues[index] ?? 0 }),\n    discountType === DiscountType.FIXED_RATE ? \"%\" : \"원\"\n  ] });\n};\nexport {\n  RandomDiscountValue\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { Countdown } from \"../../../systems/Countdown/Countdown.js\";\nimport \"react-dom\";\nimport \"react\";\nimport \"../../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../systems/Expandable/Expandable.js\";\nimport \"../../../systems/FixedScrollProgressBar/FixedScrollProgressBar.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport { isCanvas } from \"../../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { createKRTimeZoneDate } from \"../../../../utils/createUTCDate.js\";\nimport \"../../../systems/ShareButtonWithReferralEvent/ShareButtonWithReferralEvent.js\";\nimport \"../../../../constants/snowplow/snowplowSchema.js\";\nimport \"../../../systems/Products/Products.js\";\nimport \"../../../systems/ResponsiveSplitView/ResponsiveSplitView.js\";\nimport \"../../../systems/ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.js\";\nimport \"../../../systems/RollingNumber/RollingNumber.js\";\nimport \"../../../systems/TabBar/TabBar.js\";\nimport \"../../../systems/TimeProgressBar/TimeProgressBar.js\";\nimport \"../../../systems/ViewportContainer/ViewportContainer.js\";\nimport \"../../../systems/TabBarV2/TabBarV2.js\";\nimport \"../../../systems/TabBarV3/TabBarV3.js\";\nimport \"../../../systems/TabBarV4/TabBarV4.js\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { DiscountType, KindType, CouponType, AvailableDayType } from \"../../../../types/models/coupon.js\";\nimport { RandomDiscountValue } from \"../../../systems/RandomDiscountValue/RandomDiscountValue.js\";\nimport { QueryType } from \"../../types.js\";\nimport { isAbove } from \"../../../../utils/date.js\";\nimport { composeCouponNameFromCoupon } from \"../../../../libs/property-controls/coupon.js\";\nimport head from \"../../../../node_modules/lodash-es/head.js\";\nimport { isBefore } from \"../../../../node_modules/date-fns/isBefore.js\";\nimport { isAfter } from \"../../../../node_modules/date-fns/isAfter.js\";\nimport { formatDate as format } from \"../../../../node_modules/date-fns/format.js\";\nimport { isWithinInterval } from \"../../../../node_modules/date-fns/isWithinInterval.js\";\nimport { differenceInCalendarDays } from \"../../../../node_modules/date-fns/differenceInCalendarDays.js\";\nimport { ko } from \"../../../../node_modules/date-fns/locale/ko.js\";\nconst getCouponUseEndAt = (coupon) => {\n  if (coupon.useAvailableDayType === AvailableDayType.RANGE) {\n    return createKRTimeZoneDate(coupon.couponUseEndAt);\n  }\n  return void 0;\n};\nconst getCouponStatus = (coupon, logged, query, statuses) => {\n  var _a;\n  if (!coupon) {\n    return \"downloadable\";\n  }\n  if (isCanvas()) {\n    return \"downloadable\";\n  }\n  if (query.type === QueryType.Coupon && query.couponType === CouponType.RANDOM) {\n    return \"downloadable\";\n  }\n  const now = createKRTimeZoneDate();\n  const issueStartAt = createKRTimeZoneDate(coupon.couponIssueStartAt);\n  const issueEndAt = createKRTimeZoneDate(coupon.couponIssueEndAt);\n  const useEndAt = getCouponUseEndAt(coupon);\n  const isUpcoming = isBefore(now, issueStartAt);\n  const isEnd = isAfter(now, issueEndAt);\n  const isExpired = useEndAt !== void 0 && isAfter(now, useEndAt);\n  if (isUpcoming) {\n    return \"upcoming\";\n  }\n  if (isExpired || isEnd) {\n    return \"expired\";\n  }\n  if (!logged) {\n    return \"downloadable\";\n  }\n  const status = (_a = statuses.find((_status) => _status.couponId === coupon.id)) == null ? void 0 : _a.couponDownloadStatus;\n  switch (status) {\n    case \"NOT_ISSUED\":\n    case \"UPCOMING\":\n      return \"upcoming\";\n    case \"DOWNLOADABLE\":\n      return \"downloadable\";\n    case \"ISSUANCE_LIMIT_REACHED\":\n      return \"issuanceLimitedReached\";\n    case \"EXPIRED\":\n      return \"expired\";\n    case \"DOWNLOADED\":\n    case \"CLAIMED\":\n      return \"downloaded\";\n    case \"DISABLED\":\n      return \"disabled\";\n    default:\n      return \"downloadable\";\n  }\n};\nconst getCouponFallbackDescription = (coupons) => {\n  const discountValues = coupons.map((coupon) => coupon.discountValue);\n  const {\n    discountType = DiscountType.FIXED_RATE,\n    couponKindType = KindType.CART\n  } = head(coupons) ?? {};\n  const minDiscountValue = Math.min(...discountValues).toLocaleString(\"ko-KR\");\n  const maxDiscountValue = Math.max(...discountValues).toLocaleString(\"ko-KR\");\n  const unit = unitByDiscountType[discountType];\n  return `${minDiscountValue}${unit}~${maxDiscountValue}${unit} ${textByCouponKindType[couponKindType]} 쿠폰 랜덤 지급`;\n};\nconst unitByDiscountType = {\n  [DiscountType.FIXED_RATE]: \"%\",\n  [DiscountType.FIXED_PRICE]: \"원\"\n};\nconst textByCouponKindType = {\n  [KindType.CART]: \"장바구니\",\n  [KindType.PRODUCT]: \"상품\"\n};\nconst getUpcomingText = (issueStartAt) => {\n  const hour = format(issueStartAt, \"H\", {\n    locale: ko\n  });\n  const minute = format(issueStartAt, \"m\", {\n    locale: ko\n  });\n  const timeText = minute === \"0\" ? `${hour}시` : `${hour}시 ${minute}분`;\n  return `${format(issueStartAt, \"M월 d일(EEE)\", {\n    locale: ko\n  })} ${timeText} 발행 예정`;\n};\nconst getDescriptionByStatus = (coupon) => {\n  const issueStartAt = createKRTimeZoneDate(coupon.couponIssueStartAt);\n  const issueEndAt = createKRTimeZoneDate(coupon.couponIssueEndAt);\n  const useEndAt = getCouponUseEndAt(coupon);\n  return {\n    upcoming: getUpcomingText(issueStartAt),\n    redownloadable: /* @__PURE__ */ jsxs(\"div\", { style: descriptionStyle, children: [\n      /* @__PURE__ */ jsx(Countdown, { targetDateString: format(issueEndAt, \"yyyy-MM-dd\"), targetTimeString: format(issueEndAt, \"HH:mm:ss\"), dateDisplayFormat: \"D일\", timeDisplayFormat: \"H시간 m분 s초\", fontSize: 12, color: \"inherit\", style: typography(12, 400) }),\n      \"남음\"\n    ] }),\n    downloadable: /* @__PURE__ */ jsxs(\"div\", { style: descriptionStyle, children: [\n      /* @__PURE__ */ jsx(Countdown, { targetDateString: format(issueEndAt, \"yyyy-MM-dd\"), targetTimeString: format(issueEndAt, \"HH:mm:ss\"), dateDisplayFormat: \"D일\", timeDisplayFormat: \"H시간 m분 s초\", fontSize: 12, color: \"inherit\", style: typography(12, 400) }),\n      \"남음\"\n    ] }),\n    downloaded: useEndAt ? /* @__PURE__ */ jsxs(\"div\", { style: descriptionStyle, children: [\n      /* @__PURE__ */ jsx(Countdown, { targetDateString: format(useEndAt, \"yyyy-MM-dd\"), targetTimeString: format(useEndAt, \"HH:mm:ss\"), dateDisplayFormat: \"D일\", timeDisplayFormat: \"H시간 m분 s초\", fontSize: 12, color: \"inherit\", style: typography(12, 400) }),\n      \"남음\"\n    ] }) : null,\n    expired: \"쿠폰 사용 기간이 종료되었어요\",\n    disabled: \"사용할 수 없는 쿠폰입니다\",\n    issuanceLimitedReached: \"쿠폰이 모두 소진되었어요\"\n  };\n};\nconst descriptionStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  gap: 3,\n  color: \"inherit\"\n};\nconst markAsDownloaded = (statuses, couponIds) => {\n  return statuses.map((status) => ({\n    ...status,\n    couponDownloadStatus: status.couponDownloadStatus === \"DOWNLOADABLE\" && couponIds.includes(status.couponId) ? \"DOWNLOADED\" : status.couponDownloadStatus\n  }));\n};\nconst getCouponCollectionCouponName = (query, visibility) => {\n  const coupon = query.coupon;\n  const frontBrand = query.frontBrand;\n  if (!coupon) {\n    return \"\";\n  }\n  return composeCouponNameFromCoupon({\n    coupon,\n    brandName: (frontBrand == null ? void 0 : frontBrand.nameKor) ?? \"\",\n    visibility\n  });\n};\nconst getRandomCouponName = (coupons) => {\n  var _a;\n  const sortByDiscountValue = sortCouponsByDiscountValueAscending(coupons);\n  const couponDiscountValues = sortByDiscountValue.map((coupon) => coupon.discountValue);\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    display: \"flex\",\n    alignItems: \"center\",\n    gap: 6\n  }, children: [\n    /* @__PURE__ */ jsx(\"div\", { children: /* @__PURE__ */ jsx(RandomDiscountValue, { discountType: ((_a = head(coupons)) == null ? void 0 : _a.discountType) ?? DiscountType.FIXED_RATE, discountValues: couponDiscountValues }) }),\n    /* @__PURE__ */ jsx(\"span\", { children: \"쿠폰\" })\n  ] });\n};\nconst getGeneralCouponName = (coupons, visibility) => {\n  const topCoupon = coupons.reduce((maxCoupon, currentCoupon) => currentCoupon.discountValue > maxCoupon.discountValue ? currentCoupon : maxCoupon);\n  const couponName = composeCouponNameFromCoupon({\n    coupon: topCoupon,\n    visibility\n  });\n  if (coupons.length === 1) {\n    return couponName;\n  }\n  return `${couponName} 외 ${coupons.length - 1}장`;\n};\nconst getCouponNameByCouponType = (coupons, query, visibility) => {\n  switch (query.couponType) {\n    case CouponType.RANDOM:\n      return getRandomCouponName(coupons);\n    case CouponType.LIMITED:\n    case CouponType.NORMAL:\n      return getGeneralCouponName(coupons, visibility);\n  }\n};\nconst getCouponName = (coupons, query, visibility) => {\n  if (coupons.length === 0) {\n    return \"\";\n  }\n  switch (query.type) {\n    case QueryType.CouponCollection:\n      return getCouponCollectionCouponName(query, visibility);\n    case QueryType.KeywordCollection:\n      return getGeneralCouponName(coupons, visibility);\n    case QueryType.Coupon:\n      return getCouponNameByCouponType(coupons, query, visibility);\n  }\n};\nconst sortCouponsByDiscountValueAscending = (coupons) => {\n  return [...coupons].sort((x, y) => x.discountValue - y.discountValue);\n};\nconst findCurrentSchedule = (schedule) => {\n  const now = createKRTimeZoneDate();\n  const scheduleIndex = schedule.findIndex((item, index) => {\n    const {\n      shouldUpdateAt\n    } = item;\n    const next = schedule[index + 1];\n    const hasNext = next !== void 0;\n    const isFirst = index === 0 && isAbove(shouldUpdateAt, now);\n    const isWithin = hasNext && isWithinInterval(now, {\n      start: shouldUpdateAt,\n      end: next.shouldUpdateAt\n    });\n    const isLast = !hasNext && isAbove(now, shouldUpdateAt);\n    return isFirst || isWithin || isLast;\n  });\n  return schedule[scheduleIndex];\n};\nconst toSchedule = (options) => sortScheduleAscending(toCouponSchedule(options));\nconst sortScheduleAscending = (schedule) => {\n  return [...schedule].sort((x, y) => x.shouldUpdateAt.getTime() - y.shouldUpdateAt.getTime());\n};\nconst toCouponSchedule = (options) => {\n  return options.flatMap((option) => {\n    const {\n      dailyCouponIds,\n      updateSchedule,\n      updateAt\n    } = option;\n    const {\n      startAt,\n      endAt\n    } = updateSchedule;\n    if (!startAt || !endAt) {\n      return [];\n    }\n    const diff = differenceInCalendarDays(endAt, startAt);\n    return Array.from({\n      length: diff + 1\n    }, (_, index) => {\n      const {\n        hours,\n        minutes,\n        seconds\n      } = updateAt;\n      const date = createKRTimeZoneDate(startAt);\n      date.setDate(date.getDate() + index);\n      date.setHours(hours, minutes, seconds);\n      return {\n        shouldUpdateAt: date,\n        couponIdList: dailyCouponIds[index]\n      };\n    });\n  });\n};\nexport {\n  findCurrentSchedule,\n  getCouponFallbackDescription,\n  getCouponName,\n  getCouponStatus,\n  getDescriptionByStatus,\n  markAsDownloaded,\n  toSchedule\n};\n","import { toCouponNos } from \"../../../../hooks/useDownloadCoupons.js\";\nimport { CouponUpdateType } from \"../CouponModule.types.js\";\nimport { CouponType } from \"../../../../types/models/coupon.js\";\nimport { shallowUnique } from \"../../../../utils/unique.js\";\nimport { useState, useEffect } from \"react\";\nimport { useVisibilityAwareInterval } from \"../../../../hooks/useVisibilityAwareInterval.js\";\nimport { QueryType } from \"../../types.js\";\nimport { findCurrentSchedule, toSchedule } from \"./CouponElement.utils.js\";\nconst MS_IN_SECOND = 1e3;\nconst DEFAULT_COUPON_ITEM_ENTRY = {\n  couponIds: [],\n  updateType: CouponUpdateType.NORMAL,\n  couponType: CouponType.NORMAL\n};\nconst useCouponIds = ({\n  query\n}) => {\n  const [couponItemEntry, setCouponItemEntry] = useState(getCouponItemEntry({\n    query\n  }) ?? DEFAULT_COUPON_ITEM_ENTRY);\n  useVisibilityAwareInterval(() => {\n    if (couponItemEntry.updateType === CouponUpdateType.NORMAL) {\n      return;\n    }\n    const currentSchedule = findCurrentSchedule(couponItemEntry.schedules ?? []);\n    setCouponItemEntry((prev) => ({\n      ...prev,\n      couponIds: shallowUnique(toCouponNos((currentSchedule == null ? void 0 : currentSchedule.couponIdList) ?? \"\"))\n    }));\n  }, MS_IN_SECOND);\n  useEffect(() => {\n    setCouponItemEntry(getCouponItemEntry({\n      query\n    }) ?? DEFAULT_COUPON_ITEM_ENTRY);\n  }, [query]);\n  return {\n    couponIds: couponItemEntry.couponIds,\n    couponType: couponItemEntry.couponType\n  };\n};\nconst getCouponCollectionCouponItemEntry = ({\n  coupon\n}) => {\n  return {\n    couponIds: coupon ? [coupon.couponId] : [],\n    updateType: CouponUpdateType.NORMAL,\n    couponType: CouponType.NORMAL\n  };\n};\nconst getKeywordCollectionCouponItemEntry = ({\n  couponId\n}) => {\n  return {\n    couponIds: couponId ? [couponId] : [],\n    updateType: CouponUpdateType.NORMAL,\n    couponType: CouponType.NORMAL\n  };\n};\nconst getRandomCouponItemEntry = (query) => {\n  const {\n    couponType,\n    couponIds = \"\"\n  } = query;\n  return {\n    couponIds: shallowUnique(toCouponNos(couponIds)),\n    updateType: CouponUpdateType.NORMAL,\n    couponType\n  };\n};\nconst getNormalCouponItemEntry = (query) => {\n  const {\n    couponType,\n    couponIds = \"\",\n    couponUpdateType\n  } = query;\n  return {\n    couponIds: shallowUnique(toCouponNos(couponIds)),\n    updateType: couponUpdateType,\n    couponType\n  };\n};\nconst getDailyCouponItemEntry = (query) => {\n  const {\n    couponType,\n    dailyCouponOptions = [],\n    couponUpdateType\n  } = query;\n  const schedules = toSchedule(dailyCouponOptions);\n  const currentSchedule = findCurrentSchedule(schedules);\n  return {\n    couponIds: shallowUnique(toCouponNos((currentSchedule == null ? void 0 : currentSchedule.couponIdList) ?? \"\")),\n    updateType: couponUpdateType,\n    couponType,\n    schedules\n  };\n};\nconst getGeneralCouponItemEntry = (query) => {\n  switch (query.couponUpdateType) {\n    case CouponUpdateType.NORMAL:\n      return getNormalCouponItemEntry(query);\n    case CouponUpdateType.DAILY:\n      return getDailyCouponItemEntry(query);\n    default:\n      return null;\n  }\n};\nconst getCouponItemEntryByCouponType = (query) => {\n  switch (query.couponType) {\n    case CouponType.RANDOM:\n      return getRandomCouponItemEntry(query);\n    case CouponType.LIMITED:\n    case CouponType.NORMAL:\n      return getGeneralCouponItemEntry(query);\n    default:\n      return null;\n  }\n};\nconst getCouponItemEntry = ({\n  query\n}) => {\n  if (query === void 0) {\n    return null;\n  }\n  switch (query.type) {\n    case QueryType.CouponCollection:\n      return getCouponCollectionCouponItemEntry(query);\n    case QueryType.KeywordCollection:\n      return getKeywordCollectionCouponItemEntry(query);\n    case QueryType.Coupon:\n      return getCouponItemEntryByCouponType(query);\n    default:\n      return null;\n  }\n};\nexport {\n  useCouponIds\n};\n","import { CouponType } from \"../../../../types/models/coupon.js\";\nimport { QueryType } from \"../../types.js\";\nimport { CouponUpdateType } from \"../CouponModule.types.js\";\nimport { toSchedule } from \"./CouponElement.utils.js\";\nimport { filterMap } from \"../../../../utils/filterMap.js\";\nconst validateCoupon = ({\n  query,\n  enabled\n}) => {\n  if (!enabled) {\n    return {\n      isValid: true\n    };\n  }\n  return validateCouponByQuery(query);\n};\nconst validateDailyUpdateCoupon = (query) => {\n  const schedule = toSchedule(query.dailyCouponOptions ?? []);\n  const isValid = schedule.every(({\n    couponIdList\n  }) => couponIdList !== void 0);\n  const errorMessage = isValid ? void 0 : `[관리자용 메시지] 일자별 쿠폰이 모두 입력되어 있는지 확인해주세요.\n${filterMap(schedule, ({\n    couponIdList\n  }) => couponIdList === void 0, ({\n    shouldUpdateAt\n  }) => {\n    return `[${shouldUpdateAt.toLocaleDateString()}] 쿠폰이 없습니다.`;\n  }).join(\"\\n\")}`;\n  return {\n    isValid,\n    errorMessage\n  };\n};\nconst validateCouponQuery = (query) => {\n  if (query.couponType === CouponType.RANDOM) {\n    return {\n      isValid: true\n    };\n  }\n  switch (query.couponUpdateType) {\n    case CouponUpdateType.DAILY:\n      return validateDailyUpdateCoupon(query);\n    default:\n      return {\n        isValid: true\n      };\n  }\n};\nconst validateCouponByQuery = (query) => {\n  if (query === void 0) {\n    return {\n      isValid: false,\n      errorMessage: \"쿠폰 쿼리가 없습니다.\"\n    };\n  }\n  switch (query.type) {\n    case QueryType.Coupon:\n      return validateCouponQuery(query);\n    default:\n      return {\n        isValid: true\n      };\n  }\n};\nexport {\n  validateCoupon\n};\n","import { jsx, jsxs, Fragment } from \"react/jsx-runtime\";\nimport { useMemo, useRef, useState, useEffect } from \"react\";\nimport { Coupon } from \"../../../@shared/Coupon/index.js\";\nimport { EventTrigger } from \"../../../@shared/EventTrigger/index.js\";\nimport { useSegment } from \"../../../@shared/providers/SegmentProvider/SegmentProvider.js\";\nimport { useRootComponentId, useSetRootModule } from \"../../hooks.js\";\nimport { useQueryStore } from \"../../query-store/query.store.js\";\nimport { QueryType } from \"../../types.js\";\nimport \"../../../systems/curations/IntersectionProvider/IntersectionProvider.js\";\nimport { useIntersectionContext } from \"../../../systems/curations/IntersectionProvider/IntersectionProvider.hooks.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../../hooks/useCurrentUser.js\";\nimport { isCanvas } from \"../../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/framer/FramerApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/highlight-products/HighlightProductsApiService.js\";\nimport \"../../../../apis/brand-mix/BrandMixApiService.js\";\nimport \"../../../../apis/one-brand-days/OneBrandDaysApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../apis/user/UserApiService.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../hooks/useFeatureFlag.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useComponentTimingContext } from \"../../../../hooks/beacon/ComponentTimingContext.js\";\nimport { useFetchCouponsDownloadStatus } from \"../../../../hooks/fetchers/useFetchCouponsDownloadStatus.js\";\nimport { useTrackSnowplowEvent } from \"../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { useDownloadCoupons } from \"../../../../hooks/useDownloadCoupons.js\";\nimport { resolveCouponLayout, DEFAULT_COUPON_MODULE_NAME_VISIBILITY, toBackgroundColor } from \"../../../../libs/property-controls/coupon.js\";\nimport { CouponType } from \"../../../../types/models/coupon.js\";\nimport { hideClosestParentByFramerName } from \"../../../../utils/hideParentElement.js\";\nimport { getPaddingStyle } from \"../../../../utils/spacing.js\";\nimport { useCouponsQuery } from \"../CouponModule.hooks.js\";\nimport { NoticesElement } from \"../NoticesElement/NoticesElement.js\";\nimport { useCouponIds } from \"./CouponElement.hooks.js\";\nimport { getCouponName, getCouponStatus, getCouponFallbackDescription, getDescriptionByStatus } from \"./CouponElement.utils.js\";\nimport { validateCoupon } from \"./CouponElement.validate.js\";\nimport head from \"../../../../node_modules/lodash-es/head.js\";\nconst CouponElement = ({\n  loading = false,\n  query: _query,\n  output,\n  layout\n}) => {\n  const {\n    logged,\n    userNo\n  } = useCurrentUser();\n  const breakpoint = useBreakpoint();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const dispatchSetQuery = useQueryStore((state) => state.dispatchSetQuery);\n  const theme = useTheme();\n  const {\n    isInView\n  } = useIntersectionContext();\n  const query = useMemo(() => attachAdditionalQuery(_query, output), [_query, output]);\n  const {\n    isVisible,\n    loading: isSegmentLoading\n  } = useSegment();\n  const canFetchBySegment = !isSegmentLoading && isVisible;\n  const rootRef = useRef(null);\n  const componentId = useRootComponentId(query);\n  const {\n    couponIds,\n    couponType\n  } = useCouponIds({\n    query\n  });\n  const isFramer = isCanvas();\n  const {\n    isValid,\n    errorMessage\n  } = validateCoupon({\n    query,\n    enabled: isFramer\n  });\n  const {\n    coupons\n  } = useCouponsQuery({\n    query,\n    couponIds,\n    enabled: isInView && canFetchBySegment\n  });\n  const headCoupon = head(coupons);\n  const hasCoupon = headCoupon !== void 0;\n  const isUnlimitedCoupon = (headCoupon == null ? void 0 : headCoupon.personMaxIssueCount) === 0;\n  const [isUnlimitedCouponDownloaded, setIsUnlimitedCouponDownloaded] = useState(false);\n  const [isCouponDownloaded, setIsCouponDownloaded] = useState(false);\n  const isRandomCoupon = (query == null ? void 0 : query.type) === QueryType.Coupon && (query == null ? void 0 : query.couponType) === CouponType.RANDOM;\n  const enabledFetchCouponDownloadStatus = isInView && !isRandomCoupon && canFetchBySegment;\n  const {\n    statuses,\n    isLoading\n  } = useFetchCouponsDownloadStatus(couponIds, userNo, enabledFetchCouponDownloadStatus);\n  const handleCouponDownloadSuccess = () => {\n    if (!headCoupon) {\n      return;\n    }\n    trackSnowplowEvent(\"click_button\", {\n      section_name: componentId,\n      section_title: componentId,\n      position: -1,\n      button_id: \"coupondownload\",\n      coupon_no: headCoupon.id,\n      button_name: headCoupon.couponName,\n      layout_position: -1\n      // TODO(미티켓): filter_gender (F | M) — 브랜드데이 조립형 모듈의 쿼리 설계가 확정되면\n      // 티켓 발행 후 이벤트 적재를 연결합니다. 필터 미사용 시 필드 자체를 보내지 않습니다.\n    });\n    if (isRandomCoupon) {\n      return;\n    }\n    if (isUnlimitedCoupon) {\n      setIsUnlimitedCouponDownloaded(true);\n      return;\n    }\n    setIsCouponDownloaded(true);\n  };\n  const {\n    validate,\n    download\n  } = useDownloadCoupons(couponType, headCoupon == null ? void 0 : headCoupon.discountType, handleCouponDownloadSuccess);\n  const shouldRender = query && hasCoupon && (!loading || !isLoading || !logged);\n  const {\n    markReady\n  } = useComponentTimingContext();\n  useEffect(() => {\n    if (shouldRender) {\n      markReady();\n    }\n  }, [shouldRender, markReady]);\n  const paddingStyle = getPaddingStyle(layout);\n  useEffect(() => {\n    window == null ? void 0 : window.dispatchEvent(new CustomEvent(\"layout-done\"));\n    if (!query) {\n      return;\n    }\n    if (!output) {\n      return;\n    }\n    dispatchSetQuery(output, query);\n  }, [output, query]);\n  useSetRootModule(query, output);\n  const shouldRenderError = !isValid && isFramer;\n  useEffect(() => {\n    if (rootRef.current) {\n      hideClosestParentByFramerName(rootRef.current, \"카테고리첫구매쿠폰\", isVisible);\n    }\n  }, [isVisible]);\n  useEffect(() => {\n    setIsUnlimitedCouponDownloaded(false);\n  }, [headCoupon == null ? void 0 : headCoupon.id]);\n  const resolvedCouponLayout = resolveCouponLayout(layout.couponLayout, breakpoint);\n  if (!isVisible) {\n    window == null ? void 0 : window.dispatchEvent(new CustomEvent(\"layout-done\"));\n    return /* @__PURE__ */ jsx(\"div\", { ref: rootRef });\n  }\n  if (!shouldRender) {\n    return /* @__PURE__ */ jsxs(Fragment, { children: [\n      /* @__PURE__ */ jsx(Coupon.Root, { ref: rootRef, style: {\n        padding: paddingStyle\n      }, loading: true, theme, layout: resolvedCouponLayout }),\n      shouldRenderError ? /* @__PURE__ */ jsx(\"div\", { style: errorMessageStyle, children: errorMessage ?? \"쿠폰 상태가 올바르지 않습니다.\" }) : null\n    ] });\n  }\n  const couponDownloadItems = coupons.map((coupon) => ({\n    couponId: coupon.id,\n    quantity: Math.max(coupon.personMaxIssueCount ?? 1, 1)\n  }));\n  const handleClick = () => {\n    if (!validate()) {\n      return;\n    }\n    download(couponDownloadItems, true);\n  };\n  const handleImpression = () => {\n    trackSnowplowEvent(\"impression_content\", {\n      section_name: componentId,\n      section_title: componentId,\n      position: -1,\n      layout_position: -1,\n      layout_id: `coupondown_${headCoupon.id}`\n    });\n  };\n  const couponName = getCouponName(coupons, query, layout.couponNameVisibility ?? DEFAULT_COUPON_MODULE_NAME_VISIBILITY);\n  const status = getCouponStatus(headCoupon, logged, query, statuses);\n  const resolvedStatus = isCouponDownloaded ? \"downloaded\" : isUnlimitedCoupon && isUnlimitedCouponDownloaded ? \"redownloadable\" : status;\n  const description = isRandomCoupon ? getCouponFallbackDescription(coupons) : getDescriptionByStatus(headCoupon)[resolvedStatus];\n  const {\n    backgroundColor,\n    ...rest\n  } = layout;\n  return /* @__PURE__ */ jsxs(EventTrigger.Root, { ref: rootRef, style: {\n    padding: paddingStyle\n  }, types: [\"impression\"], onImpression: handleImpression, children: [\n    /* @__PURE__ */ jsxs(Coupon.Root, { theme, backgroundColor: toBackgroundColor(backgroundColor), status: resolvedStatus, layout: resolvedCouponLayout, children: [\n      /* @__PURE__ */ jsxs(Coupon.Summary, { children: [\n        /* @__PURE__ */ jsx(Coupon.Title, { children: couponName }),\n        /* @__PURE__ */ jsx(Coupon.Description, { children: description })\n      ] }),\n      /* @__PURE__ */ jsx(Coupon.Divider, {}),\n      /* @__PURE__ */ jsx(EventTrigger.Target, { style: {\n        aspectRatio: resolvedCouponLayout === \"detail\" ? \"1 / 1\" : void 0\n      }, children: /* @__PURE__ */ jsx(Coupon.Button, { onClick: handleClick }) })\n    ] }),\n    /* @__PURE__ */ jsx(NoticesElement, { couponType, coupons, ...rest }),\n    shouldRenderError ? /* @__PURE__ */ jsx(\"div\", { style: errorMessageStyle, children: errorMessage ?? \"쿠폰 상태가 올바르지 않습니다.\" }) : null\n  ] });\n};\nconst errorMessageStyle = {\n  background: \"white\",\n  border: \"0.7px solid #00000066\",\n  borderRadius: \"2px\",\n  padding: \"8px\",\n  whiteSpace: \"pre-line\"\n};\nconst attachAdditionalQuery = (query, output) => {\n  return query ? {\n    ...query,\n    isRoot: query.rootOutput === void 0,\n    rootOutput: query.rootOutput || output\n  } : void 0;\n};\nexport {\n  CouponElement\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useQueryStore } from \"../../query-store/query.store.js\";\nimport { CouponElement } from \"../CouponElement/CouponElement.js\";\nimport { createKey } from \"../../utils/key.js\";\nconst LinkedCouponModule = ({\n  value,\n  output,\n  layout\n}) => {\n  const query = useQueryStore((state) => state.queries[value]);\n  return /* @__PURE__ */ jsx(CouponElement, { query, output, layout }, createKey(query));\n};\nexport {\n  LinkedCouponModule\n};\n","import { combineObjectPropertyControls } from \"../../../libs/property-controls/helpers.js\";\nimport { QUERY_CONTROL, COUPON_CONTROLS, KEYWORD_COLLECTIONS_CONTROLS, KEYWORD_COLLECTION_CONTROLS } from \"../controls.js\";\nconst MANUAL_COUPON_MODULE_QUERY = {\n  ...QUERY_CONTROL,\n  controls: combineObjectPropertyControls(COUPON_CONTROLS)\n};\nconst AUTO_COUPON_MODULE_QUERY = {\n  ...QUERY_CONTROL,\n  controls: combineObjectPropertyControls(KEYWORD_COLLECTION_CONTROLS, KEYWORD_COLLECTIONS_CONTROLS)\n};\nexport {\n  AUTO_COUPON_MODULE_QUERY,\n  MANUAL_COUPON_MODULE_QUERY\n};\n","import useSWR from \"../../../../node_modules/swr/core/dist/index.js\";\nimport { collectionApi } from \"../../../../apis/collection/CollectionApiService.js\";\nimport { keywordCollectionApi } from \"../../../../apis/keyword-collections/KeywordCollectionApiService.js\";\nimport { QueryType } from \"../../types.js\";\nimport { orderByDateAsc, getCurrentScheduleIndex } from \"../../../../utils/date.js\";\nimport { splitToNumberArray } from \"../../../../utils/splitToNumberArray.js\";\nconst COUPON_ID_FETCHER_KEY = \"coupon-module/coupon-id\";\nconst useCouponIdQuery = (options) => {\n  const {\n    enabled: _enabled = true,\n    query\n  } = options;\n  const enabled = _enabled && query !== void 0;\n  const {\n    data,\n    isLoading,\n    ...rest\n  } = useSWR(enabled ? [COUPON_ID_FETCHER_KEY, query] : null, () => queryCouponId(query));\n  return {\n    isLoading: isLoading || !enabled,\n    query: data,\n    ...rest\n  };\n};\nconst fetchKeywordCollectionCouponId = async (query) => {\n  if (!query.keywordCollectionId) {\n    return query;\n  }\n  const {\n    data\n  } = await keywordCollectionApi.getKeywordCollection(Number(query.keywordCollectionId));\n  const {\n    title,\n    description,\n    displayEndAt,\n    productGroups,\n    couponId\n  } = data;\n  const [firstProductGroup] = productGroups;\n  return {\n    ...query,\n    title,\n    description: description ?? void 0,\n    displayEndAt: displayEndAt ?? void 0,\n    couponId: couponId ?? void 0,\n    productGroups,\n    selectedProductGroup: {\n      id: firstProductGroup.productGroupId,\n      sort: firstProductGroup.sort,\n      index: 0\n    }\n  };\n};\nconst fetchKeywordCollectionsCouponId = async (query) => {\n  if (!query.keywordCollectionIds) {\n    return query;\n  }\n  const {\n    data\n  } = await collectionApi.getCollections(splitToNumberArray(query.keywordCollectionIds));\n  const collections = orderByDateAsc(data, (x) => x.displayStartAt);\n  const currentIndex = getCurrentScheduleIndex(collections, (current) => current.displayStartAt, (_, next) => next == null ? void 0 : next.displayStartAt);\n  const collection = collections[currentIndex ?? 0];\n  if (!collection) {\n    return query;\n  }\n  const {\n    collectionId,\n    title,\n    description,\n    displayEndAt,\n    productGroupList,\n    couponId\n  } = collection;\n  const [firstProductGroup] = productGroupList;\n  return {\n    type: QueryType.KeywordCollection,\n    keywordCollectionId: `${collectionId}`,\n    title,\n    description: description ?? void 0,\n    displayEndAt: displayEndAt ?? void 0,\n    couponId: couponId ?? void 0,\n    productGroups: productGroupList.map((group) => ({\n      productGroupId: group.collectionProductGroupId,\n      title: group.title,\n      sort: group.sort\n    })),\n    selectedProductGroup: {\n      id: firstProductGroup.collectionProductGroupId,\n      sort: firstProductGroup.sort,\n      index: 0\n    }\n  };\n};\nconst queryCouponId = (query) => {\n  if (!query) {\n    return;\n  }\n  switch (query.type) {\n    case QueryType.KeywordCollection:\n      return fetchKeywordCollectionCouponId(query);\n    case QueryType.KeywordCollections:\n      return fetchKeywordCollectionsCouponId(query);\n    default:\n      return query;\n  }\n};\nexport {\n  useCouponIdQuery\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useSegment } from \"../../../@shared/providers/SegmentProvider/SegmentProvider.js\";\nimport \"../../../systems/curations/IntersectionProvider/IntersectionProvider.js\";\nimport { useIntersectionContext } from \"../../../systems/curations/IntersectionProvider/IntersectionProvider.hooks.js\";\nimport { useCouponIdQuery } from \"./AutoCouponModule.hooks.js\";\nimport { CouponElement } from \"../CouponElement/CouponElement.js\";\nconst AutoCouponModule = ({\n  query: _query,\n  output,\n  layout\n}) => {\n  const {\n    isInView\n  } = useIntersectionContext();\n  const {\n    isVisible,\n    loading: isSegmentLoading\n  } = useSegment();\n  const canFetchBySegment = !isSegmentLoading && isVisible;\n  const {\n    isLoading,\n    query\n  } = useCouponIdQuery({\n    query: _query,\n    enabled: isInView && canFetchBySegment\n  });\n  return /* @__PURE__ */ jsx(CouponElement, { loading: isLoading, query, output, layout });\n};\nexport {\n  AutoCouponModule\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { COUPON_CONTROLS, COUPON_MODULE_NAME_VISIBILITY_CONTROLS } from \"../../../libs/property-controls/coupon.js\";\nimport { THEME_CONTROLS } from \"../../../libs/property-controls/theme.js\";\nimport { SEGMENT_CONTROLS } from \"../../../libs/property-controls/segment.js\";\nimport { CouponModuleInputType } from \"./CouponModule.types.js\";\nimport { LinkedCouponModule } from \"./LinkedCouponModule/LinkedCouponModule.js\";\nimport { COUPON_NOTICES_CONTROLS } from \"../../../libs/property-controls/coupon-notices.js\";\nimport { COMPONENT_ID_PROPS } from \"../../../libs/property-controls/component-id.js\";\nimport { SectionLayout } from \"../../systems/curations/SectionLayout/SectionLayout.js\";\nimport { ComponentTimingProvider } from \"../../../hooks/beacon/ComponentTimingContext.js\";\nimport { useComponentTiming } from \"../../../hooks/beacon/useComponentTiming.js\";\nimport { MANUAL_COUPON_MODULE_QUERY, AUTO_COUPON_MODULE_QUERY } from \"./CouponModule.controls.js\";\nimport { AutoCouponModule } from \"./AutoCouponModule/AutoCouponModule.js\";\nimport { CouponElement } from \"./CouponElement/CouponElement.js\";\nimport { SWRErrorBoundary } from \"../../@shared/SWRErrorBoundary/SWRErrorBoundary.js\";\nimport { NoContent } from \"../../systems/curations/NoContent/NoContent.js\";\nconst CouponModuleInner = ({\n  input,\n  output,\n  layout\n}) => {\n  switch (input.type) {\n    case CouponModuleInputType.Linked:\n      return /* @__PURE__ */ jsx(LinkedCouponModule, { value: input.value, output, layout });\n    case CouponModuleInputType.Auto:\n      return /* @__PURE__ */ jsx(AutoCouponModule, { query: input.autoQuery, output, layout });\n    case CouponModuleInputType.Manual:\n      return /* @__PURE__ */ jsx(CouponElement, { query: input.query, output, layout });\n    default:\n      return null;\n  }\n};\nconst CouponModule = ({\n  theme,\n  componentId,\n  segment,\n  ...rest\n}) => {\n  const timing = useComponentTiming(\"CouponModule\");\n  return /* @__PURE__ */ jsx(ComponentTimingProvider, { timing, children: /* @__PURE__ */ jsx(SectionLayout, { componentId, theme, segment, onVisible: timing.markVisible, children: /* @__PURE__ */ jsx(SWRErrorBoundary, { fallback: (retry) => /* @__PURE__ */ jsx(NoContent, { onClick: retry }), reportFailure: true, children: /* @__PURE__ */ jsx(CouponModuleInner, { ...rest }) }) }) });\n};\naddPropertyControls(CouponModule, {\n  ...THEME_CONTROLS,\n  ...SEGMENT_CONTROLS,\n  componentId: {\n    hidden: ({\n      input\n    }) => (input == null ? void 0 : input.type) === CouponModuleInputType.Linked,\n    ...COMPONENT_ID_PROPS.componentId\n  },\n  input: {\n    type: ControlType.Object,\n    title: \"입력 값\",\n    controls: {\n      type: {\n        type: ControlType.Enum,\n        title: \"유형\",\n        options: [CouponModuleInputType.Manual, CouponModuleInputType.Linked, CouponModuleInputType.Auto],\n        optionTitles: [\"수동\", \"연결\", \"자동\"],\n        defaultValue: CouponModuleInputType.Manual\n      },\n      value: {\n        hidden: ({\n          type\n        }) => type !== CouponModuleInputType.Linked,\n        type: ControlType.String,\n        title: \"출력 값\",\n        defaultValue: \"\"\n      },\n      query: {\n        hidden: ({\n          type\n        }) => type !== CouponModuleInputType.Manual,\n        ...MANUAL_COUPON_MODULE_QUERY\n      },\n      autoQuery: {\n        hidden: ({\n          type\n        }) => type !== CouponModuleInputType.Auto,\n        ...AUTO_COUPON_MODULE_QUERY\n      }\n    }\n  },\n  output: {\n    type: ControlType.String,\n    title: \"출력 값\",\n    defaultValue: \"\"\n  },\n  layout: {\n    type: ControlType.Object,\n    title: \"레이아웃\",\n    controls: {\n      ...COUPON_CONTROLS,\n      ...COUPON_MODULE_NAME_VISIBILITY_CONTROLS,\n      ...COUPON_NOTICES_CONTROLS,\n      padding: {\n        type: ControlType.FusedNumber,\n        title: \"패딩\",\n        defaultValue: 0,\n        toggleKey: \"isMixed\",\n        toggleTitles: [\"All\", \"Individual\"],\n        valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n        valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n        min: 0\n      }\n    }\n  }\n});\nexport {\n  CouponModule\n};\n","import{CouponModule}from\"https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponModule.js\";CouponModule.displayName=\"[조립형]Coupon\";export default CouponModule;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CouponModule\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CouponModule.map","const ellipsis = (lineClamp = 1) => {\n  const singleLineStyle = {\n    overflow: \"hidden\",\n    display: \"-webkit-box\",\n    wordWrap: \"break-word\",\n    wordBreak: \"break-all\",\n    whiteSpace: \"normal\",\n    WebkitBoxOrient: \"vertical\",\n    WebkitLineClamp: 1\n  };\n  const multiLineStyle = {\n    display: \"-webkit-box\",\n    wordBreak: \"keep-all\",\n    overflowWrap: \"break-word\",\n    whiteSpace: \"normal\",\n    WebkitLineClamp: lineClamp,\n    WebkitBoxOrient: \"vertical\"\n  };\n  const isMultiLine = lineClamp > 1;\n  return {\n    overflow: \"hidden\",\n    ...isMultiLine ? multiLineStyle : singleLineStyle\n  };\n};\nexport {\n  ellipsis\n};\n","var BadgeVariant = /* @__PURE__ */ ((BadgeVariant2) => {\n  BadgeVariant2[\"CUSTOM\"] = \"custom\";\n  BadgeVariant2[\"SYSTEM\"] = \"system\";\n  return BadgeVariant2;\n})(BadgeVariant || {});\nvar BadgePriority = /* @__PURE__ */ ((BadgePriority2) => {\n  BadgePriority2[\"PRIMARY\"] = \"primary\";\n  BadgePriority2[\"SECONDARY\"] = \"secondary\";\n  BadgePriority2[\"TERTIARY\"] = \"tertiary\";\n  return BadgePriority2;\n})(BadgePriority || {});\nvar BadgeTone = /* @__PURE__ */ ((BadgeTone2) => {\n  BadgeTone2[\"DEFAULT\"] = \"default\";\n  BadgeTone2[\"INFORMATION\"] = \"information\";\n  BadgeTone2[\"POSITIVE\"] = \"positive\";\n  BadgeTone2[\"NEGATIVE\"] = \"negative\";\n  return BadgeTone2;\n})(BadgeTone || {});\nvar BadgeSize = /* @__PURE__ */ ((BadgeSize2) => {\n  BadgeSize2[\"SMALL\"] = \"small\";\n  BadgeSize2[\"medium\"] = \"medium\";\n  return BadgeSize2;\n})(BadgeSize || {});\nexport {\n  BadgePriority,\n  BadgeSize,\n  BadgeTone,\n  BadgeVariant\n};\n","import { ControlType } from \"framer\";\nimport { BADGE_PREFIX_ICON_OPTIONS } from \"../../components/ruler/Badge/Badge.constants.js\";\nimport { BadgeVariant, BadgePriority, BadgeTone, BadgeSize } from \"../../components/ruler/Badge/Badge.types.js\";\nconst BADGE_CONTROL_ITEMS = {\n  variant: {\n    type: ControlType.Enum,\n    title: \"variant\",\n    options: [BadgeVariant.SYSTEM, BadgeVariant.CUSTOM],\n    defaultValue: BadgeVariant.SYSTEM\n  },\n  priority: {\n    type: ControlType.Enum,\n    title: \"priority\",\n    options: [BadgePriority.PRIMARY, BadgePriority.SECONDARY, BadgePriority.TERTIARY],\n    defaultValue: BadgePriority.PRIMARY\n  },\n  customBackgroundColor: {\n    hidden: ({\n      variant\n    }) => variant !== BadgeVariant.CUSTOM,\n    type: ControlType.Color,\n    title: \"배경 색상\",\n    defaultValue: \"#000000\"\n  },\n  customTextColor: {\n    hidden: ({\n      variant\n    }) => variant !== BadgeVariant.CUSTOM,\n    type: ControlType.Color,\n    title: \"텍스트 색상\",\n    defaultValue: \"#FFFFFF\"\n  },\n  tone: {\n    hidden: ({\n      variant\n    }) => variant === BadgeVariant.CUSTOM,\n    type: ControlType.Enum,\n    title: \"tone\",\n    options: [BadgeTone.DEFAULT, BadgeTone.INFORMATION, BadgeTone.NEGATIVE, BadgeTone.POSITIVE],\n    defaultValue: BadgeTone.DEFAULT\n  },\n  size: {\n    type: ControlType.Enum,\n    title: \"크기\",\n    options: [BadgeSize.SMALL, BadgeSize.medium],\n    defaultValue: BadgeSize.SMALL\n  },\n  isWhite: {\n    hidden: ({\n      variant\n    }) => variant === BadgeVariant.CUSTOM,\n    type: ControlType.Boolean,\n    defaultValue: false,\n    title: \"화이트 속성 여부\"\n  },\n  isBlur: {\n    hidden: ({\n      variant\n    }) => variant === BadgeVariant.CUSTOM,\n    type: ControlType.Boolean,\n    defaultValue: false,\n    title: \"투명도 여부\"\n  },\n  prefixIcon: {\n    type: ControlType.Enum,\n    title: \"좌측 아이콘\",\n    options: [void 0, ...BADGE_PREFIX_ICON_OPTIONS],\n    optionTitles: [\"선택 안 함\", ...BADGE_PREFIX_ICON_OPTIONS],\n    defaultValue: void 0\n  },\n  label: {\n    type: ControlType.String,\n    defaultValue: \"라벨 텍스트\",\n    title: \"라벨\"\n  }\n};\nconst BADGE_CONTROLS = {\n  badge: ControlType.Object,\n  title: \"뱃지\",\n  controls: BADGE_CONTROL_ITEMS\n};\nexport {\n  BADGE_CONTROLS,\n  BADGE_CONTROL_ITEMS\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls } from \"framer\";\nimport { Badge } from \"../../ruler/Badge/Badge.js\";\nimport { BADGE_CONTROL_ITEMS } from \"../../../libs/property-controls/badge.js\";\nconst FramerBadge = (props) => {\n  return /* @__PURE__ */ jsx(Badge, { ...props });\n};\naddPropertyControls(FramerBadge, {\n  ...BADGE_CONTROL_ITEMS\n});\nexport {\n  FramerBadge\n};\n","import { FramerBadge } from \"./Badge.js\";\nexport {\n  FramerBadge as Badge\n};\n","/** local */// import { Badge } from \"https://localhost:4173/components/systems/Badge/Badge.js\"\n/** dev */// import { Badge } from \"https://asset.29cm.co.kr/contents/framer/dev/components/systems/Badge/Badge.js\"\n/** production */import{Badge}from\"https://asset.29cm.co.kr/contents/framer/components/systems/Badge/index.js\";/**\n * @framerDisableUnlink\n */export default Badge;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Badge\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RulerBadge.map"],"ignoreList":[2,4,5,6,7,19,31,32,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,77,78,79,80,81,82,83,84,85,86,93,94,95,96,100,101,103,104,106,107,108,109,110,111,115,116,117,118,119,120,121,122,123,124,125,126,129,131,132,133,134,166,234,235,250,251,252,253,254,255,256,258,259,260,261,262,263,264,265,266,267,268,269,270,271,298,299,300,301,302,303,304,328,338,339,340,347,348,349,350,351,352,353,354,355,357,358,373,374,375,376,377,378,401,402,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,458,465,466,477,478,479,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,812,815,816,821,837,845,846,861,879,880,881,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,930,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1036,1037,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1126,1127,1138,1148,1150,1155,1156,1158,1159,1160,1161,1162,1163,1164,1165,1166,1167,1168,1169,1170,1171,1172,1173,1174,1175,1176,1177,1178,1179,1180,1181,1182,1183,1184,1185,1186,1187,1188,1189,1190,1191,1192,1193,1194,1195,1196,1197,1198,1199,1200,1201,1202,1203,1204,1205,1206,1207,1208,1209,1210,1211,1212,1213,1214,1215,1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233,1234,1235,1236,1237,1238,1239,1240,1241,1242,1243,1244,1245,1246,1247,1248,1249,1250,1251,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1275,1276,1277,1278,1279,1280,1281,1282,1283,1284,1348,1349,1350,1367,1368,1370,1371,1372,1373,1374,1375,1376,1377,1378,1379,1380,1381,1382,1383,1384,1385,1386,1387,1388,1389,1390,1391,1392,1393,1394,1395,1396,1397,1398,1399,1400,1401,1402,1403,1404,1405,1406,1407,1408,1409,1410,1411,1412,1413,1414,1415,1416,1417,1418,1419,1420,1421,1433,1475,1479,1484],"mappings":"A,+3BAAI,GAAO,CAAE,QAAS,CAAC,CAAE,C,8CCArB,GAAuC,CAAC,C,OCI5C,SAASijF,IAA8C,CAsHrD,OArHIC,KAEJ,GAAkD,EAC9CT,GAAU,IAAI,WAAa,eAC5B,UAAW,CACN,OAAO,+BAAmC,KAAe,OAAO,+BAA+B,6BAAgC,YACjI,+BAA+B,4BAA4B,gBAAI,MAAM,CAAC,EAExE,IAAIU,EAAQnjF,EACRojF,EAAuBD,EAAM,mDACjC,SAASE,EAAM,EAAQ,CAMjBC,EAAa,QAASC,MAFF,kBAEU,CAAI,CAGxC,CACA,SAASD,EAAa,EAAO,EAAQ,EAAM,CAGvC,IAAIE,EADyBJ,EAAqB,uBACf,iBAAiB,EAChDI,IAAU,KACZ,GAAU,KACV,EAAOC,EAAK,OAAO,CAACD,CAAK,CAAC,GAE5B,IAAIE,EAAiBD,EAAK,IAAI,SAAS,EAAM,CAC3C,OAAO,OAAOE,CAAI,CACpB,CAAC,EACDD,EAAe,QAAQ,YAAcH,CAAM,EAC3C,SAAS,UAAU,MAAM,KAAK,QAAQK,GAAQ,QAASF,CAAc,CAEzE,CACA,SAASG,EAAG,EAAG,EAAG,CAChB,OAAOC,IAAMC,IAAMD,IAAM,GAAK,EAAIA,GAAM,EAAIC,IAAMD,IAAMA,GAAKC,IAAMA,CACrE,CACA,IAAIC,EAAW,OAAO,OAAO,IAAO,WAAa,OAAO,GAAKH,EACzDI,EAAWd,EAAM,SAAUe,EAAYf,EAAM,UAAWgB,EAAkBhB,EAAM,gBAAiBiB,EAAgBjB,EAAM,cACvHkB,EAAoB,GACpBC,EAA6B,GACjC,SAASC,EAAqB,EAAW,EAAa,EAAmB,CAEhEF,GACClB,EAAM,kBAAoB,IAAK,KACjC,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AAY,MAClB,MAAO,QACP,QAAS,CACP,KAAMA,EAAY,OAClB,SAAU,CACR,eAAgB,CACd,KAAMA,EAAY,MAClB,MAAO,WACP,YAAa;8BACb,QAAS,CACP,KAAMA,EAAY,OAClB,MAAO,UACT,CACF,EACA,eAAgB,CACd,KAAMA,EAAY,OAClB,MAAO,QACP,SAAU,CACR,QAAS,CACP,KAAMA,EAAY,KAClB,MAAO,KACT,EACA,MAAO,CACL,KAAMA,EAAY,KAClB,MAAO,KACT,CACF,CACF,EACA,SAAU,CACR,KAAMA,EAAY,OAClB,MAAO,QACP,YAAa,yCACb,SAAU,CACR,MAAO,CACL,KAAMA,EAAY,OAClB,MAAO,IACP,aAAc,EACd,IAAK,EACL,IAAK,GACL,KAAM,IACN,KAAM,EACN,eAAgB,EAClB,EACA,QAAS,CACP,KAAMA,EAAY,OAClB,MAAO,IACP,aAAc,EACd,IAAK,EACL,IAAK,GACL,KAAM,IACN,KAAM,EACN,eAAgB,EAClB,EACA,QAAS,CACP,KAAMA,EAAY,OAClB,MAAO,IACP,aAAc,EACd,IAAK,EACL,IAAK,GACL,KAAM,IACN,KAAM,EACN,eAAgB,EAClB,CACF,CACF,CACF,CACF,CACF,CACF,EACM,IAAmB,CACvB,KAAM,CACJ,KAAMA,EAAY,KAClB,MAAO,KACP,QAAS,CAACouH,EAAU,OAAO,EAC3B,aAAc,CAAC,KAAK,CACtB,EACA,WAAY,CACV,KAAMpuH,EAAY,OAClB,QAAS,CACP,UACI4K,IAASwjH,EAAU,QACzB,MAAO,SACP,YAAa,oBACb,aAAc,EAChB,CACF,EACM,GAAgB,CACpB,KAAMpuH,EAAY,OAClB,MAAO,KACP,SAAU,CAAC,CACb,EACM,IAA2B,CAC/B,KAAM,CACJ,KAAMA,EAAY,KAClB,MAAO,QACP,QAAS,CAACouH,EAAU,cAAc,EAClC,aAAc,CAAC,MAAM,CACvB,EACA,YAAa,CACX,QAAS,CACP,UACIxjH,IAASwjH,EAAU,eACzB,KAAMpuH,EA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cAChB,CACF,EACA,iBAAkB,CAChBD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,aAChB,CACF,EACA,eAAgB,CACdD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,WAChB,CACF,EACA,UAAW,CACTD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,cAChB,CACF,EACA,iBAAkB,CAChBD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,aAChB,CACF,EACA,eAAgB,CACdD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,WAChB,CACF,EACA,UAAW,CACTD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,cAChB,CACF,EACA,iBAAkB,CAChBD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,aAChB,CACF,EACA,eAAgB,CACdD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,WAChB,CACF,EACA,WAAY,CACVD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,cAChB,CACF,EACA,kBAAmB,CACjBD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,aAChB,CACF,EACA,gBAAiB,CACfD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,WAChB,CACF,EACA,IAAK,CACHD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,cAChB,CACF,EACA,aAAc,CACZD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,aAChB,CACF,EACA,WAAY,CACVD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,WAChB,CACF,EACA,GAAI,CACFD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,cAChB,CACF,EACA,YAAa,CACXD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,aAChB,CACF,EACA,UAAW,CACTD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,WAChB,CACF,EACA,EAAG,CACDD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,cAChB,CACF,EACA,aAAc,CACZD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,eAChB,CACF,EACA,WAAY,CACVD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,aAChB,CACF,EACA,SAAU,CACRD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,WAChB,CACF,EACA,EAAG,CACDD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,cAChB,CACF,EACA,WAAY,CACVD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,aAChB,CACF,EACA,SAAU,CACRD,GAAE,iBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,WAChB,CACF,EACA,EAAG,CACDD,GAAE,gBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,cAChB,CACF,EACA,WAAY,CACVD,GAAE,gBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,aAChB,CACF,EACA,SAAU,CACRD,GAAE,gBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,WAChB,CACF,EACA,YAAa,CACXD,GAAE,gBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,aAChB,CACF,EACA,GAAI,CACFD,GAAE,gBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,cAChB,CACF,EACA,UAAW,CACTD,GAAE,gBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,WAChB,CACF,EACA,IAAK,CACHD,GAAE,gBACF,CACE,WAAYE,GAAE,iBACd,WAAYD,GAAE,cAChB,CACF,EACA,aAAc,CACZD,GAAE,gBACF,CACE,WAAYE,GAAE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4GACV,CACF,EACA,SAAU,CACR,KAAM,CACJ,OAAQ,eACV,CACF,EACA,MAAO,CACL,MAAO,CAAC,EACR,KAAM,CAAC,CACT,CACF,EACA,iBAAkB,CAChB,CACE,KAAM,SACN,OAAQ,GACR,MAAO,CACL,OAAQ,cACR,MAAO,aACT,CACF,EACA,CACE,KAAM,QACN,OAAQ,GACR,MAAO,CACL,OAAQ,cACR,MAAO,aACT,CACF,EACA,CACE,KAAM,SACN,OAAQ,GACR,MAAO,CACL,OAAQ,gBACR,MAAO,eACT,CACF,EACA,CACE,KAAM,QACN,OAAQ,GACR,MAAO,CACL,OAAQ,qBACR,MAAO,oBACT,CACF,EACA,CACE,SAAU,UACV,MAAO,QACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,yGACV,CACF,EACA,CACE,SAAU,UACV,MAAO,OACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,mBACV,CACF,EACA,CACE,SAAU,YACV,MAAO,QACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,+GACV,CACF,EACA,CACE,SAAU,YACV,MAAO,OACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,qBACV,CACF,EACA,CACE,SAAU,WACV,MAAO,QACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,4GACV,CACF,EACA,CACE,SAAU,WACV,MAAO,OACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,oBACV,CACF,CACF,CACF,CAAC,EAAGC,GAAIC,GACL,CACC,MAAO0kF,EACP,SAAU9uB,EAAI,UACd,KAAM+K,EAAI,SACV,MAAOrK,EAAI,QACX,OAAQnC,EACR,YAAagC,EACb,QAAS4rL,EAAM,GACf,SAAU9lF,EAAK,GACf,WAAYj8F,EACZ,YAAa0qC,EACb,QAAS10C,EACT,KAAMH,EAAI,GACV,UAAWW,EACX,OAAQquD,EACR,GAAIhW,EAAI,IACR,GAAGsF,GACF,IAAM,CACP,GAAM,CACJ,OAAQ99C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AQ0kB,GAAMtuC,IAAE4f,CAAC,EACjCU,EAAGy9C,EAAI39C,EACX,OAAO,SAAS,EAAG,CACjB,GAAIZ,IAAMc,EACR,OAAOy9C,EACT,IAAIt+C,EACEM,EAAI6J,EAAE,IAAI4oG,IAAEhzG,CAAC,CAAC,EACpB,GAAIO,EACG,KAAA,IAAMI,KAAKJ,EACd,GAAII,EAAE,MAAM,KAAKX,CAAC,EAAG,CACnB,EAAIW,EACJ,KACF,EAEJ,GAAImuB,EAAE,OAAS,EACR,KAAA,IAAMnuB,KAAKmuB,EACd,GAAInuB,EAAE,MAAM,KAAKX,CAAC,EAAG,EAClB,CAACC,GAAKU,EAAE,MAAQV,EAAE,SAAW,EAAIU,GAClC,KACF,EAEJ,MAAO,GAAIX,EAAG,EAAIC,EAAIA,EAAE,SAAWW,EAAG29C,CACxC,CACF,C,8CAnPM,IAAI,gBAsEJl+D,IAAI,gB,iDCtEJ,IAAU,CACd,CACEs9S,SAAY,aACZC,WAAc,+CAChB,EACA,CACED,SAAY,YACZC,WAAc,iBAChB,EACA,CACED,SAAY,qBACZC,WAAc,yCAChB,EACA,CACED,SAAY,YACZC,WAAc,iBAChB,EACA,CACED,SAAY,kBACZC,WAAc,sDAChB,EACA,CACED,SAAY,cACZC,WAAc,4BAChB,EACA,CACED,SAAY,WACZC,WAAc,iDAChB,EACA,CACED,SAAY,cACZC,WAAc,2DAChB,EACA,CACED,SAAY,oBACZC,WAAc,qCAChB,EACA,CACED,SAAY,YACZC,WAAc,qCAChB,EACA,CACED,SAAY,kBACZC,WAAc,sDAChB,EACA,CACED,SAAY,yBACZC,WAAc,iDAChB,EACA,CACED,SAAY,uBACZC,WAAc,sBAChB,EACA,CACED,SAAY,wBACZC,WAAc,wEAChB,EACA,CACED,SAAY,uBACZC,WAAc,oCAChB,EACA,CACED,SAAY,uBACZC,WAAc,qEAChB,EACA,CACED,SAAY,+BACZC,WAAc,6EAChB,EACA,CACED,SAAY,qCACZC,WAAc,mFAChB,EACA,CACED,SAAY,qCACZC,WAAc,oFAChB,EACA,CACED,SAAY,8BACZC,WAAc,6EAChB,EACA,CACED,SAAY,+BACZC,WAAc,6EAChB,EACA,CACED,SAAY,sCACZC,WAAc,oFAChB,EACA,CACED,SAAY,oCACZC,WAAc,kFAChB,EACA,CACED,SAAY,2BACZC,WAAc,qFAChB,EACA,CACED,SAAY,2BACZC,WAAc,2EAChB,EACA,CACED,SAAY,+BACZC,WAAc,2FAChB,EACA,CACED,SAAY,8BACZC,WAAc,8EAChB,EACA,CACED,SAAY,kCACZC,WAAc,8FAChB,EACA,CACED,SAAY,sBACZC,WAAc,oEAChB,EACA,CACED,SAAY,0BACZC,WAAc,oFAChB,EACA,CACED,SAAY,wBACZC,WAAc,4EAChB,EACA,CACED,SAAY,4BACZC,WAAc,4FAChB,EACA,CACED,SAAY,mCACZC,WAAc,uFAChB,EACA,CACED,SAAY,uCACZC,WAAc,uGAChB,EACA,CACED,SAAY,aACZC,WAAc,kBAChB,EACA,CACED,SAAY,YACZC,WAAc,iBAChB,EACA,CACED,SAAY,0BACZC,WAAc,iCAChB,EACA,CACED,SAAY,iBACZC,WAAc,sBAChB,EACA,CACED,SAAY,iBACZC,WAAc,sBAChB,EACA,CACED,SAAY,sBACZC,WAAc,2BAChB,EACA,CACED,SAAY,kBACZC,WAAc,kDAChB,EACA,CACED,SAAY,iBACZC,WAAc,gDAChB,EACA,CACED,SAAY,sBACZC,WAAc,8DAChB,EACA,CACED,SAAY,gBACZC,WAAc,qBAChB,EACA,CACED,SAAY,uBACZC,WAAc,2CAChB,EACA,CACED,SAAY,cACZC,WAAc,kDAChB,EACA,CACED,SAAY,wBACZC,WAAc,uDAChB,EACA,CACED,SAAY,4BACZC,WAAc,iCAChB,EACA,CACED,SAAY,uBACZC,WAAc,6CAChB,EACA,CACED,SAAY,qBACZC,WAAc,qBAChB,EACA,CACED,SAAY,qBACZC,WAAc,gEAChB,EACA,CACED,SAAY,kBACZC,WAAc,mCAChB,EACA,CACED,SAAY,kBACZC,WAAc,uCAChB,EACA,CACED,SAAY,qBACZC,WAAc,0CAChB,EACA,CACED,SAAY,oBACZC,WAAc,6BAChB,EACA,CACED,SAAY,kBACZC,WAAc,6BAChB,EACA,CACED,SAAY,eACZC,WAAc,+BAChB,EACA,CACED,SAAY,qBACZC,WAAc,gCAChB,EACA,CACED,SAAY,iBACZC,WAAc,8BAChB,EACA,CACED,SAAY,kBACZC,WAAc,qCAChB,EACA,CACED,SAAY,kDACZC,WAAc,qDAChB,EACA,CACED,SAAY,2CACZC,WAAc,4CAChB,EACA,CACED,SAAY,uDACZC,WAAc,4DAChB,EACA,CACED,SAAY,qDACZC,WAAc,0DAChB,EACA,CACED,SAAY,oDACZC,WAAc,yDAChB,EACA,CACED,SAAY,gDACZC,WAAc,4CAChB,EACA,CACED,SAAY,oCACZC,WAAc,mCAChB,EACA,CACED,SAAY,+BACZC,WAAc,8BAChB,EACA,CACED,SAAY,mCACZC,WAAc,oCAChB,EACA,CACED,SAAY,mCACZC,WAAc,oCAChB,EACA,CACED,SAAY,+CACZC,WAAc,kDAChB,EACA,CACED,SAAY,mCACZC,WAAc,oCAChB,EACA,CACED,SAAY,iEACZC,WAAc,+DAChB,EACA,CACED,SAAY,6CACZC,WAAc,yCAChB,EACA,CACED,SAAY,uCACZC,WAAc,mCAChB,EACA,CACED,SAAY,qCACZC,WAAc,iCAChB,EACA,CACED,SAAY,uCACZC,WAAc,mCAChB,EACA,CACED,SAAY,qCACZC,WAAc,yCAChB,EACA,CACED,SAAY,2BACZC,WAAc,0BAChB,EACA,CACED,SAAY,uCACZC,WAAc,iCAChB,EACA,CACED,SAAY,8CACZC,WAAc,4CAChB,EACA,CACED,SAAY,4CACZC,WAAc,0CAChB,EACA,CACED,SAAY,6BACZC,WAAc,+BAChB,EACA,CACED,SAAY,gCACZC,WAAc,kCAChB,EACA,CACED,SAAY,kCACZC,WAAc,sCAChB,EACA,CACED,SAAY,+BACZC,WAAc,iCAChB,EACA,CACED,SAAY,0BACZC,WAAc,4BAChB,EACA,CACED,SAAY,6BACZC,WAAc,+BAChB,EACA,CACED,SAAY,kCACZC,WAAc,sCAChB,EACA,CACED,SAAY,uCACZC,WAAc,2CAChB,EACA,CACED,SAAY,kCACZC,WAAc,sCAChB,EACA,CACED,SAAY,0CACZC,WAAc,gDAChB,EACA,CACED,SAAY,uCACZC,WAAc,6CAChB,EACA,CACED,SAAY,yCACZC,WAAc,+CAChB,EACA,CACED,SAAY,4BACZC,WAAc,8BAChB,EACA,CACED,SAAY,uCACZC,WAAc,wCAChB,EACA,CACED,SAAY,0CACZC,WAAc,6CAChB,EACA,CACED,SAAY,yCACZC,WAAc,0CAChB,EACA,CACED,SAAY,uCACZC,WAAc,wCAChB,EACA,CACED,SAAY,oCACZC,WAAc,qCAChB,EACA,CACED,SAAY,6BACZC,WAAc,8BAChB,EACA,CACED,SAAY,iCACZC,WAAc,oCAChB,EACA,CACED,SAAY,+BACZC,WAAc,gCAChB,EACA,CACED,SAAY,kDACZC,WAAc,uDAChB,EACA,CACED,SAAY,8BACZC,WAAc,+BAChB,EACA,CACED,SAAY,0BACZC,WAAc,0BAChB,EACA,CACED,SAAY,0BACZC,WAAc,0BAChB,EACA,CACED,SAAY,2BACZC,WAAc,2BAChB,EACA,CACED,SAAY,oCACZC,WAAc,sCAChB,EACA,CACED,SAAY,qBACZC,WAAc,qBAChB,EACA,CACED,SAAY,4BACZC,WAAc,8BAChB,EACA,CACED,SAAY,sBACZC,WAAc,sBAChB,EACA,CACED,SAAY,uBACZC,WAAc,uBAChB,EACA,CACED,SAAY,yBACZC,WAAc,yBAChB,EACA,CACED,SAAY,6BACZC,WAAc,6BAChB,EACA,CACED,SAAY,sCACZC,WAAc,wCAChB,EACA,CACED,SAAY,0CACZC,WAAc,8CAChB,EACA,CACED,SAAY,oCACZC,WAAc,gCAChB,EACA,CACED,SAAY,mCACZC,WAAc,6BAChB,EACA,CACED,SAAY,2CACZC,WAAc,uCAChB,EACA,CACED,SAAY,yDACZC,WAAc,yDAChB,EACA,CACED,SAAY,uCACZC,WAAc,mCAChB,EACA,CACED,SAAY,iEACZC,WAAc,iEAChB,EACA,CACED,SAAY,qCACZC,WAAc,iCAChB,EACA,CACED,SAAY,4BACZC,WAAc,sBAChB,EACA,CACED,SAAY,0BACZC,WAAc,oBAChB,EACA,CACED,SAAY,0BACZC,WAAc,oBAChB,EACA,CACED,SAAY,yCACZC,WAAc,qCAChB,EACA,CACED,SAAY,qCACZC,WAAc,iCAChB,EACA,CACED,SAAY,+BACZC,WAAc,mCAChB,EACA,CACED,SAAY,2BACZC,WAAc,4BAChB,EACA,CACED,SAAY,2BACZC,WAAc,4BAChB,EACA,CACED,SAAY,0BACZC,WAAc,oBAChB,EACA,CACED,SAAY,gCACZC,WAAc,0BAChB,EACA,CACED,SAAY,gCACZC,WAAc,4BAChB,EACA,CACED,SAAY,4BACZC,WAAc,sBAChB,EACA,CACED,SAAY,6BACZC,WAAc,yBAChB,EACA,CACED,SAAY,uBACZC,WAAc,iBAChB,EACA,CACED,SAAY,4BACZC,WAAc,sBAChB,EACA,CACED,SAAY,wBACZC,WAAc,kBAChB,EACA,CACED,SAAY,8CACZC,WAAc,4CAChB,EACA,CACED,SAAY,iCACZC,WAAc,6BAChB,EACA,CACED,SAAY,0BACZC,WAAc,oBAChB,EACA,CACED,SAAY,uBACZC,WAAc,sBAChB,EACA,CACED,SAAY,gCACZC,WAAc,oCAChB,EACA,CACED,SAAY,mCACZC,WAAc,yCAChB,EACA,CACED,SAAY,iCACZC,WAAc,uCAChB,EACA,CACED,SAAY,mCACZC,WAAc,yCAChB,EACA,CACED,SAAY,sBACZC,WAAc,wBAChB,EACA,CACED,SAAY,iCACZC,WAAc,uCAChB,EACA,CACED,SAAY,mCACZC,WAAc,yCAChB,EACA,CACED,SAAY,iCACZC,WAAc,uCAChB,EACA,CACED,SAAY,iCACZC,WAAc,qCAChB,EACA,CACED,SAAY,sBACZC,WAAc,wBAChB,EACA,CACED,SAAY,sBACZC,WAAc,qBAChB,EACA,CACED,SAAY,+BACZC,WAAc,gCAChB,EACA,CACED,SAAY,sBACZC,WAAc,uBAChB,EACA,CACED,SAAY,qBACZC,WAAc,sBAChB,EACA,CACED,SAAY,oBACZC,WAAc,mBAChB,EACA,CACED,SAAY,4BACZC,WAAc,6BAChB,EACA,CACED,SAAY,oBACZC,WAAc,mBAChB,EACA,CACED,SAAY,uBACZC,WAAc,yBAChB,EACA,CACED,SAAY,qCACZC,WAAc,yCAChB,EACA,CACED,SAAY,sBACZC,WAAc,sBAChB,EACA,CACED,SAAY,2BACZC,WAAc,+BAChB,EACA,CACED,SAAY,mCACZC,WAAc,uCAChB,EACA,CACED,SAAY,iBACZC,WAAc,iBAChB,EACA,CACED,SAAY,gBACZC,WAAc,gBAChB,EACA,CACED,SAAY,eACZC,WAAc,eAChB,EACA,CACED,SAAY,+BACZC,WAAc,iCAChB,EACA,CACED,SAAY,qCACZC,WAAc,yCAChB,EACA,CACED,SAAY,0BACZC,WAAc,4BAChB,EACA,CACED,SAAY,yBACZC,WAAc,wBAChB,EACA,CACED,SAAY,wCACZC,WAAc,kCAChB,EACA,CACED,SAAY,iCACZC,WAAc,2BAChB,EACA,CACED,SAAY,yBACZC,WAAc,qBAChB,EACA,CACED,SAAY,0BACZC,WAAc,oBAChB,EACA,CACED,SAAY,wBACZC,WAAc,oBAChB,EACA,CACED,SAAY,8BACZC,WAAc,0BAChB,EACA,CACED,SAAY,+BACZC,WAAc,2BAChB,EACA,CACED,SAAY,kBACZC,WAAc,YAChB,EACA,CACED,SAAY,6BACZC,WAAc,yBAChB,EACA,CACED,SAAY,iBACZC,WAAc,WAChB,EACA,CACED,SAAY,wBACZC,WAAc,oBAChB,EACA,CACED,SAAY,kBACZC,WAAc,YAChB,EACA,CACED,SAAY,2BACZC,WAAc,uBAChB,EACA,CACED,SAAY,oBACZC,WAAc,cAChB,EACA,CACED,SAAY,4BACZC,WAAc,wBAChB,EACA,CACED,SAAY,gBACZC,WAAc,UAChB,EACA,CACED,SAAY,sBACZC,WAAc,gBAChB,EACA,CACED,SAAY,wBACZC,WAAc,kBAChB,EACA,CACED,SAAY,0BACZC,WAAc,gCAChB,EACA,CACED,SAAY,0BACZC,WAAc,8BAChB,EACA,CACED,SAAY,2CACZC,WAAc,mDAChB,EACA,CACED,SAAY,mCACZC,WAAc,2CAChB,EACA,CACED,SAAY,iCACZC,WAAc,uCAChB,EACA,CACED,SAAY,uCACZC,WAAc,+CAChB,EACA,CACED,SAAY,qBACZC,WAAc,yBAChB,EACA,CACED,SAAY,gBACZC,WAAc,eAChB,EACA,CACED,SAAY,oBACZC,WAAc,cAChB,EACA,CACED,SAAY,iCACZC,WAAc,6BAChB,EACA,CACED,SAAY,aACZC,WAAc,YAChB,EACA,CACED,SAAY,YACZC,WAAc,YAChB,EACA,CACED,SAAY,uBACZC,WAAc,eAChB,EACA,CACED,SAAY,qBACZC,WAAc,aAChB,EACA,CACED,SAAY,6BACZC,WAAc,uBAChB,EACA,CACED,SAAY,qBACZC,WAAc,aAChB,EACA,CACED,SAAY,4BACZC,WAAc,sBAChB,EACA,CACED,SAAY,mBACZC,WAAc,WAChB,EACA,CACED,SAAY,mBACZC,WAAc,WAChB,EACA,CACED,SAAY,sCACZC,WAAc,mDAChB,EACA,CACED,SAAY,sCACZC,WAAc,sDAChB,EACA,CACED,SAAY,mCACZC,WAAc,iEAChB,EACA,CACED,SAAY,mDACZC,WAAc,uEAChB,EACA,CACED,SAAY,qDACZC,WAAc,8DAChB,EACA,CACED,SAAY,2CACZC,WAAc,8DAChB,EACA,CACED,SAAY,0CACZC,WAAc,kEAChB,EACA,CACED,SAAY,sCACZC,WAAc,iEAChB,EACA,CACED,SAAY,0CACZC,WAAc,6DAChB,EACA,CACED,SAAY,+CACZC,WAAc,oEAChB,EACA,CACED,SAAY,sCACZC,WAAc,0DAChB,EACA,CACED,SAAY,sCACZC,WAAc,0DAChB,EACA,CACED,SAAY,8BACZC,WAAc,uCAChB,EACA,CACED,SAAY,6BACZC,WAAc,0CAChB,EACA,CACED,SAAY,gCACZC,WAAc,gDAChB,EACA,CACED,SAAY,0CACZC,WAAc,yDAChB,EACA,CACED,SAAY,mCACZC,WAAc,6CAChB,EACA,CACED,SAAY,6BACZC,WAAc,yCAChB,EACA,CACED,SAAY,uCACZC,WAAc,oDAChB,EACA,CACED,SAAY,gCACZC,WAAc,2CAChB,EACA,CACED,SAAY,gCACZC,WAAc,gDAChB,EACA,CACED,SAAY,2CACZC,WAAc,wDAChB,EACA,CACED,SAAY,yCACZC,WAAc,sDAChB,EACA,CACED,SAAY,kCACZC,WAAc,6CAChB,EACA,CACED,SAAY,uCACZC,WAAc,oDAChB,EACA,CACED,SAAY,8BACZC,WAAc,uCAChB,EACA,CACED,SAAY,iCACZC,WAAc,0CAChB,EACA,CACED,SAAY,kCACZC,WAAc,2CAChB,EACA,CACED,SAAY,wDACZC,WAAc,uEAChB,EACA,CACED,SAAY,8BACZC,WAAc,uCAChB,EACA,CACED,SAAY,oCACZC,WAAc,6CAChB,EACA,CACED,SAAY,gDACZC,WAAc,6DAChB,EACA,CACED,SAAY,+BACZC,WAAc,gDAChB,EACA,CACED,SAAY,kCACZC,WAAc,mDAChB,EACA,CACED,SAAY,wBACZC,WAAc,uCAChB,EACA,CACED,SAAY,0CACZC,WAAc,sEAChB,EACA,CACED,SAAY,+BACZC,WAAc,+CAChB,EACA,CACED,SAAY,8BACZC,WAAc,+CAChB,EACA,CACED,SAAY,2BACZC,WAAc,mDAChB,EACA,CACED,SAAY,kCACZC,WAAc,4DAChB,EACA,CACED,SAAY,mCACZC,WAAc,qDAChB,EACA,CACED,SAAY,4CACZC,WAAc,qDAChB,EACA,CACED,SAAY,uCACZC,WAAc,gDAChB,EACA,CACED,SAAY,sDACZC,WAAc,iEAChB,EACA,CACED,SAAY,8CACZC,WAAc,uDAChB,EACA,CACED,SAAY,qCACZC,WAAc,mDAChB,EACA,CACED,SAAY,mCACZC,WAAc,2DAChB,EACA,CACED,SAAY,+BACZC,WAAc,mDAChB,EACA,CACED,SAAY,kCACZC,WAAc,sDAChB,EACA,CACED,SAAY,4CACZC,WAAc,mEAChB,EACA,CACED,SAAY,oCACZC,WAAc,8DAChB,EACA,CACED,SAAY,gCACZC,WAAc,oDAChB,EACA,CACED,SAAY,kCACZC,WAAc,iDAChB,EACA,CACED,SAAY,uCACZC,WAAc,0DAChB,EACA,CACED,SAAY,oCACZC,WAAc,yDAChB,EACA,CACED,SAAY,6BACZC,WAAc,uCAChB,EACA,CACED,SAAY,+BACZC,WAAc,mCAChB,EACA,CACED,SAAY,sCACZC,WAAc,4CAChB,EACA,CACED,SAAY,6CACZC,WAAc,qDAChB,EACA,CACED,SAAY,+CACZC,WAAc,uDAChB,EACA,CACED,SAAY,4CACZC,WAAc,oDAChB,EACA,CACED,SAAY,8BACZC,WAAc,kCAChB,EACA,CACED,SAAY,yBACZC,WAAc,+CAChB,EACA,CACED,SAAY,0BACZC,WAAc,mCAChB,EACA,CACED,SAAY,qBACZC,WAAc,iCAChB,EACA,CACED,SAAY,0BACZC,WAAc,mCAChB,EACA,CACED,SAAY,0BACZC,WAAc,mCAChB,EACA,CACED,SAAY,0BACZC,WAAc,mCAChB,EACA,CACED,SAAY,yBACZC,WAAc,qCAChB,EACA,CACED,SAAY,uDACZC,WAAc,+DAChB,EACA,CACED,SAAY,iCACZC,WAAc,mCAChB,EACA,CACED,SAAY,+CACZC,WAAc,qDAChB,EACA,CACED,SAAY,oCACZC,WAAc,wCAChB,EACA,CACED,SAAY,wCACZC,WAAc,8CAChB,EACA,CACED,SAAY,iCACZC,WAAc,qCAChB,EACA,CACED,SAAY,iCACZC,WAAc,0CAChB,EACA,CACED,SAAY,4CACZC,WAAc,uDAChB,EACA,CACED,SAAY,qCACZC,WAAc,8CAChB,EACA,CACED,SAAY,uBACZC,WAAc,6BAChB,EACA,CACED,SAAY,mCACZC,WAAc,oDAChB,EACA,CACED,SAAY,oCACZC,WAAc,oDAChB,EACA,CACED,SAAY,2BACZC,WAAc,+CAChB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