PageSourceSearch

https://www.kitchenaid.fi/assets/6bfe09f7/_next/static/chunks/ef1082000b252454.js

js kitchenaid.fi collected 2026-09-26 12:55:14 UTC 28,566 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18199,e=>{"use strict";e.s(["PERSONALISATION_STEPS",()=>s,"PersonalisationStepsIndex",()=>o,"getCurrentAccessoryForSummary",()=>d,"getCurrentBowlForSummary",()=>c,"getCurrentProductForSummary",()=>u,"getSelectedAccessory",()=>f,"getSelectedBowl",()=>p,"getStoredUserSelection",()=>m,"personalisationLabelMapper",()=>a,"removeStoredUserSelection",()=>g,"savePDPUserSelection",()=>y,"saveSessionStorage",()=>b,"setAndRemovePDPUserSelection",()=>h,"storeUserSelection",()=>v]),e.i(807204);var t=e.i(839140),l=e.i(166146),n=e.i(451936);e.i(20479);var r=e.i(553439),i=e.i(706701);let a=e=>{var t,l,n,r,i,a,o,s,u,c;return{colorStepLabel:{continueCTA:e.continueCtaLabel,selectOtherColor:e.steps.color.selectOtherColor,title:e.steps.color.title,discount:e.steps.discountLabel},engravingStepLabel:{title:e.steps.engraving.title,description:e.steps.engraving.text,validateCTALabel:e.validateCtaLabel,validatedCTALabel:e.validatedCtaLabel,continueCTA:e.continueCtaLabel,backCTA:e.backCtaLabel,note:e.steps.engraving.note,inputText:null==(t=e.steps.engraving)?void 0:t.inputText,discountLabel:null==(l=e.steps.engraving)?void 0:l.discountLabel,price:null==(n=e.productData.engraving)?void 0:n.price,discount:null==(r=e.productData.engraving)?void 0:r.discount,resetCtaLabel:e.resetCtaLabel,skuId:null==(i=e.productData.engraving)?void 0:i.skuId},bowlStepLabel:{title:e.steps.bowl.title,subTitle:e.steps.bowl.subtitle,introText:e.steps.bowl.introText,validateCTALabel:e.validateCtaLabel,validatedCTALabel:e.validatedCtaLabel,continueCTA:e.continueCtaLabel,backCTA:e.backCtaLabel,additionalBowlLabel:e.steps.bowl.additionalLabel,includedTitle:e.steps.bowl.includedTitle,switchButtonLabel:e.switchButtonLabel,addLabel:e.steps.bowl.addLabel,continueOrPickAnotherLabel:e.continueOrPickAnotherLabel,addedButtonLabel:e.addedButtonLabel},accessoryStepLabel:{title:e.steps.accessory.title,subTitle:e.steps.accessory.subtitle,introText:e.steps.accessory.introText,addLabel:e.steps.accessory.addLabel,additionalLabel:e.steps.accessory.additionalLabel,discountLabel:e.steps.accessory.discountLabel,includedTitle:e.steps.accessory.includedTitle,discount:null==(a=e.productData.engraving)?void 0:a.discount,continueOrPickAnotherLabel:e.continueOrPickAnotherLabel,continueCTA:e.continueCtaLabel,validateCTALabel:e.validateCtaLabel,validatedCTALabel:e.validatedCtaLabel,switchButtonLabel:e.switchButtonLabel,backCTA:e.backCtaLabel,addedButtonLabel:e.addedButtonLabel},summaryStepLabel:{continueCTA:e.continueCtaLabel,title:e.steps.summary.title,totalLabel:e.steps.summary.totalLabel,shippingLabel:e.steps.summary.shippingLabel,subTotalLabel:e.steps.summary.subTotalLabel,giftWrappingLabel:e.steps.summary.giftWrappingLabel,discountLabel:e.steps.summary.discountLabel,weAccept:null==e?void 0:e.weAccept,backCTA:e.backCtaLabel,yourEngravingLabel:null==e||null==(s=e.steps)||null==(o=s.engraving)?void 0:o.inputText.label,subTitle:null==e||null==(c=e.steps)||null==(u=c.summary)?void 0:u.subTitle}}},o={colors:0,engraving:1,bowls:2,accessories:3,summary:4},s=[t.PersonalisationStepType.COLORS,t.PersonalisationStepType.ENGRAVING,t.PersonalisationStepType.BOWLS,t.PersonalisationStepType.ACCESSORY,t.PersonalisationStepType.SUMMARY],u=(e,n,i,a,o,s)=>{var u,c,d,p,f,v,m,g,h,y,b,_,A,C,S,w,L,T,x;return{name:null==e?void 0:e.productName,twelveNc:null==e?void 0:e.twelveNc,skuId:null==e?void 0:e.skuId,commercialCode:null==e?void 0:e.commercialCode,removeCta:{onClick:()=>{n(t.PersonalisationStepType.ENGRAVING),window.postMessage({type:l.POST_MESSAGES.REMOVE_ENGRAVING},"*"),o(e,1,1,!0,void 0)}},color:{twelveNc:null==e?void 0:e.twelveNc,label:null==e?void 0:e.colorName,image:{src:null==e?void 0:e.icon,alt:null==e?void 0:e.colorName}},image:{src:null==e?void 0:e.image,alt:null==e?void 0:e.name},price:(null==(c=e.userChoice)||null==(u=c.mainItem)?void 0:u.price)?{currentValue:e.userChoice.mainItem.price.currentValue,specialValue:e.userChoice.mainItem.price.specialValue,current:(0,r.getPriceWithCurrency)(e.userChoice.mainItem.price.currentValue,s),special:e.userChoice.mainItem.price.specialValue?(0,r.getPriceWithCurrency)(e.userChoice.mainItem.price.specialValue,s):null,...(0,r.getPriceWithCurrency)(e.userChoice.mainItem.price.currentValue,s)||0===e.price.specialValue?{}:{freeLabel:a}}:null,engraving:(null==e||null==(d=e.userChoice)?void 0:d.engraving)?{text:null==(f=e.userChoice)||null==(p=f.engraving)?void 0:p.text,label:i,price:(null==e||null==(g=e.userChoice)||null==(m
1=g.engraving)||null==(v=m.price)?void 0:v.currentValue)?{current:(0,r.getPriceWithCurrency)(null==e||null==(b=e.userChoice)||null==(y=b.engraving)||null==(h=y.price)?void 0:h.currentValue,s),special:(null==(A=e.userChoice)||null==(_=A.engraving)?void 0:_.price.specialValue)>=0?(null==(S=e.userChoice)||null==(C=S.engraving)?void 0:C.price.specialValue)===0?null!=a?a:(0,r.getPriceWithCurrency)(null==(L=e.userChoice)||null==(w=L.engraving)?void 0:w.price.specialValue,s):(0,r.getPriceWithCurrency)(null==(x=e.userChoice)||null==(T=x.engraving)?void 0:T.price.specialValue,s):null}:null}:null,inPanel:!0,isMainProduct:!0}},c=(e,l,n,r)=>e?{name:null==e?void 0:e.productName,twelveNc:null==e?void 0:e.twelveNc,removeCta:{onClick:()=>{l(t.PersonalisationStepType.BOWLS),r(e,2,1,!1,void 0)}},color:{twelveNc:null==e?void 0:e.twelveNc,label:null==e?void 0:e.colorName,image:{src:null==e?void 0:e.icon,alt:null==e?void 0:e.colorName}},image:{src:null==e?void 0:e.icon,alt:null==e?void 0:e.name},price:(null==e?void 0:e.price)?{current:e.price.current,special:e.price.special,...e.price.currentValue||0!==e.price.specialValue?{}:{freeLabel:n}}:null,engraving:null,inPanel:!0,isMainProduct:!1}:void 0,d=(e,l,n,r)=>e?{name:null==e?void 0:e.productName,twelveNc:null==e?void 0:e.twelveNc,removeCta:{onClick:()=>{l(t.PersonalisationStepType.ACCESSORY),r(e,3,1,!1,void 0)}},color:{twelveNc:null==e?void 0:e.twelveNc,label:null==e?void 0:e.colorName,image:{src:null==e?void 0:e.icon,alt:null==e?void 0:e.colorName}},image:{src:null==e?void 0:e.icon,alt:null==e?void 0:e.name},price:(null==e?void 0:e.price)?{current:e.price.current,special:e.price.special,...e.price.currentValue||0!==e.price.specialValue?{}:{freeLabel:n}}:null,engraving:null,inPanel:!0,isMainProduct:!1}:void 0,p=(e,t)=>null==e?void 0:e.find(e=>e.twelveNc===t),f=(e,t)=>null==e?void 0:e.find(e=>e.twelveNc===t),v=e=>{globalThis.sessionStorage.setItem(n.LOCAL_STORAGE_KEYS.PERSONALISATION_DATA,JSON.stringify(e))},m=()=>globalThis.sessionStorage.getItem(n.LOCAL_STORAGE_KEYS.PERSONALISATION_DATA),g=()=>{globalThis.sessionStorage.removeItem(n.LOCAL_STORAGE_KEYS.PERSONALISATION_DATA)},h=(e,t)=>{var r,a;let o=null==(a=globalThis)||null==(r=a.sessionStorage)?void 0:r.getItem(n.LOCAL_STORAGE_KEYS.PERSONALISATION_PDP);(0,i.isValidEngraving)(o,t)?(e("engraving",o,{shouldTouch:!0,shouldValidate:!0}),(null==o?void 0:o.length)>0&&window.postMessage({type:l.POST_MESSAGES.PDP_PERSONALISATION_TRIGGER_IMAGE},"*")):e("engraving","",{shouldTouch:!0,shouldValidate:!1}),window.addEventListener("message",t=>{if((null==t?void 0:t.data.type)===l.POST_MESSAGES.PDP_PERSONALISATION_TRIGGER_RESET){var r,i;e("engraving","",{shouldTouch:!0,shouldValidate:!1}),null==(i=globalThis)||null==(r=i.sessionStorage)||r.setItem(n.LOCAL_STORAGE_KEYS.PERSONALISATION_PDP,"")}})},y=(e,t,l)=>{let r=e((e,r)=>{let{type:a}=r;if("change"===a&&!t("engraving").invalid&&(0,i.isValidEngraving)(e.engraving,l)){var o,s;null==(s=globalThis)||null==(o=s.sessionStorage)||o.setItem(n.LOCAL_STORAGE_KEYS.PERSONALISATION_PDP,e.engraving)}});return()=>r.unsubscribe()},b=e=>{if((0,i.isValidEngraving)(e)){var t,l;null==(l=globalThis)||null==(t=l.sessionStorage)||t.setItem(n.LOCAL_STORAGE_KEYS.PERSONALISATION_PDP,e)}}},933276,e=>{"use strict";e.s(["default",()=>a],933276);var t=e.i(391398),l=e.i(191788),n=e.i(948920);let r=function(e,t,l,r){var i;if(!e)return;let a="\n    _affirm_config = {\n      public_api_key: '".concat(e,"',\n      script: '").concat((0,n.getPublicConfigByLocale)(t).affirmScriptURL,"',\n      locale: '").concat(t,"',\n      country_code: '").concat(l,"'\n    };\n\n    ").concat('(function(m,g,n,d,a,e,h,c){var b=m[n]||{},k=document.createElement(e),p=document.getElementsByTagName(e)[0],l=function(a,b,c){return function(){a[b]._.push([c,arguments])}};b[d]=l(b,d,"set");var f=b[d];b[a]={};b[a]._=[];f._=[];b._=[];b[a][h]=l(b,a,h);b[c]=function(){b._.push([h,arguments])};a=0;for(c="set add save post open empty reset on off trigger ready setProduct".split(" ");a<c.length;a++)f[c[a]]=l(b,d,c[a]);a=0;for(c=["get","token","url","items"];a<c.length;a++)f[c[a]]=function(){};k.async=\n  !0;k.src=g[e];p.parentNode.insertBefore(k,p);delete g[e];f(g);m[n]=b})(window,_affirm_config,"affirm","checkout","ui","script","ready","jsReady");',"\n  ");if(null==(i=document)?void 0:i.getElementById("affirm-js"))r&&r();else{let e=document.createElement("script");e.id="affirm-js",e.textContent=a,e.onload=()=>{r&&r()},document.head.appendChild(e)}};var i=e.i(683217);let a=e=>{let{price:n,enabled:i,id:a,onLearnMoreClick:u,type:c,locale:d,country:p}=e,f=0;"currentValue"in n&&void 0!==n.currentValue?f=100*n.currentValue:"value"in n&&void 0!==n.value&&(f=100*parseFloat(n.value.replace(/[^\d.-]/g,"")));let[v,m]=(0,l.useState)(!1),[g,h]=(0,l.useState)(!1),[y,b]=(0,l.useState)(!1),_=(0,l.useRef)(null);return((0,l.useEffect)(()=>{let e;if(!i||!_.current)return;let t=_.current,l=()=>{var l;(t.children.length>0||(null==(l=t.textContent)?void 0:l.trim())!=="")&&(h(!0),clearTimeout(e))};l(),g||y||(e=setTimeout(()=>{b(!0)},5e3));let n=new MutationObserver(()=>{l()});n.observe(t,{childList:!0,subtree:!0,characterData:!0,attributes:!0});let r=setInterval(()=>{let e=t.innerHTML;e&&""!==e.trim()&&!g&&l()},500);return()=>{n.disconnect(),clearInterval(r),clearTimeout(e)}},[i,g,y]),(0,l.useEffect)(()=>{var e;i&&((null==(e=window)?void 0:e._affirm_config)||r(a,d,p,()=>{window.affirm&&window.affirm.ui&&window.affirm.ui.ready(()=>{var e;null==(e=window.affirm)||e.ui.refresh()})}))},[i,a]),(0,l.useEffect)(()=>
1{if(!v)return;let e=setTimeout(()=>m(!1),1e3);return()=>clearTimeout(e)},[v]),i&&n&&f&&a&&!y)?(0,t.jsx)(o,{type:c,disabled:v,children:(0,t.jsx)(s,{ref:_,id:"affirmMonthlyPayment",className:"affirm-as-low-as","data-page-type":"product","data-amount":f,onClick:e=>{m(!0),u(e)},visible:g,type:c})}):null},o=(0,i.styled)("div",{variants:{type:{summary:{display:"flex",alignItems:"center",justifyContent:"flex-start",padding:0,minHeight:"40px",br:{display:"none !important"},fontSize:"13px",".__affirm-logo.__ligature__affirm_full_logo__":{fontSize:"18px"},a:{fontSize:"11px"},p:{marginBottom:0,marginTop:"5px"}},product:{padding:"0 14px",border:"1px solid #F0EEEB",display:"flex",alignItems:"center",justifyContent:"flex-start",minHeight:"56px",fontSize:"13px",".__affirm-logo.__ligature__affirm_full_logo__":{fontSize:"20px",minHeight:"20px",minWidth:"50px"}}},disabled:{true:{pointerEvents:"none !important",opacity:"0.5 !important"},false:{pointerEvents:"auto !important",opacity:"1 !important"}}},a:{color:"#000"}}),s=(0,i.styled)("div",{transition:"opacity 0.3s ease-in-out",width:"100%",variants:{visible:{true:{opacity:1},false:{opacity:0}
1},type:{summary:{minHeight:"20px"},product:{minHeight:"24px"}}}})},943622,e=>{"use strict";e.s(["useTrackAffirmClickEvent",()=>i],943622);var t=e.i(704977),l=e.i(670451),n=e.i(224669),r=e.i(646935);let i=()=>{let{getTrackingData:e}=(0,t.useTracking)();return{trackAffirmClickEvent:t=>{(e=>{let t;t={action:e.action,client_side_third_party_resolve:"pending",component:e.component,component_text:e.component_text,cta_type:e.cta_type,custom_event_timestamp:Date.now(),event_name:n.AnalyticEvents.affirmClick,ga_user_cookie:(0,l.getCookieFromClient)("_ga"),link_text:e.link_text,module_type:"AffirmModule"},(0,r.default)({name:n.AnalyticEvents.affirmClick,payload:t,options:{avoidToPushWithDataLayer:!0}})})({...e(),action:null==t?void 0:t.action,component:null==t?void 0:t.component,component_text:null==t?void 0:t.component_text,cta_type:null==t?void 0:t.cta_type,link_text:null==t?void 0:t.link_text})}}}},664125,e=>{"use strict";e.s(["trackEventNewsletterConfirmation",()=>n]);var t=e.i(224669),l=e.i(150330);let n=e=>{var n;let r;r={...(0,l.metadataAnalyticPayloadMapper)(e.metadata),newsletter_form_type:e.newsletter.newsletter_form_type,newsletter_form_CTA:e.newsletter.newsletter_form_CTA,profiling_consent:null!=(n=e.profiling_consent)&&n},globalThis.dataLayer.push({event:t.AnalyticEvents.optin,...r})}},496331,e=>{"use strict";e.s(["trackEventPageView",()=>a]);var t=e.i(650804),l=e.i(150330),n=e.i(224669),r=e.i(646935),i=e.i(948920);let a=e=>{var a,o,s,u,c,d,p,f;let v=null==(o=(0,i.getPublicConfigByLocale)(null==(s=e.metadata)?void 0:s.locale))||null==(a=o.narAnalyticsParams)?void 0:a.userTypeParamValue,m=(null==(u=e.pageView)?void 0:u.user_type)?e.pageView.user_type:v?"Returning":"customer",g={user_type:(null==(c=e.metadata)?void 0:c.isLoggedIn)?m:"Guest",...e.pageView};return(e=>{globalThis.dataLayer.push({ecommerce:null});let l={event_name:n.AnalyticEvents.pageViewEvent,page_type:e.page_type,page_path:e.page_path,page_title:e.page_title,page_name:e.page_name,page_url:e.page_url,locale:e.locale};return t.NextSelfClient.newRelicDataLayer(e.locale,{...l,complete_data:!Object.values(l).some(e=>null==e)}).catch(console.error),(0,r.default)({name:n.AnalyticEvents.pageViewEvent,payload:e}),(0,r.default)({name:n.AnalyticEvents.pageView,payload:e,options:{avoidToPushWithGtag:!0}})})({...(0,l.metadataAnalyticPayloadMapper)(null==e?void 0:e.metadata),...g,page_title:null!=(f=null==e||null==(d=e.metadata)?void 0:d.title)?f:"",language:null==e||null==(p=e.metadata)?void 0:p.locale,screen_resolution:"".concat(window.screen.width,"x").concat(window.screen.height),client_side_third_party_resolve:"pending"})}},65538,e=>{"use strict";e.s(["useGetFooter",()=>n]);var t=e.i(364034);let l=e.i(642474).QUERY_KEYS.FOOTER,n=e=>{let{locale:n}=e,r=(0,t.useQuery)(l,{staleTime:1/0,keepPreviousData:!0});return r.queryKey=l,{...r}};n.queryKey=l},979287,e=>{"use strict";e.s(["useSoldBySeller",()=>n]);var t=e.i(948920),l=e.i(719559);function n(e){var n,r,i,a;let{data:o}=(0,l.useGetTranslations)({locale:e}),s=(null==o?void 0:o.seller_sold_by_label)||"Sold by",u=null==(n=(0,t.getPublicConfigByLocale)(e))?void 0:n.marketplace;return{label:s,sellerPageUrls:null!=(a=null==u||null==(r=u.sellerIds)?void 0:r.reduce((e,t)=>(e[t]=(null==o?void 0:o["seller_sold_by_url_".concat(t)])||"",e),{}))?a:{},config:null==u||null==(i=u.components)?void 0:i.soldBy}}},194182,(e,t,l)=>{t.exports=e.r(161457)},999120,e=>{"use strict";e.s(["AccordionContent",()=>$,"AccordionItem",()=>H,"AccordionTrigger",()=>X,"Content",()=>ei,"Header",()=>en,"Item",()=>el,"Root",()=>et,"Trigger",()=>er],999120);var t,l,n=e.i(191788),r=e.i(391398);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=[],i=()=>{let t=l.map(e=>n.createContext(e));return function(l){let r=(null==l?void 0:l[e])||t;return n.useMemo(()=>({["__scope".concat(e)]:{...l,[e]:r}}),[l,r])}};return i.scopeName=e,[function(t,i){let a=n.createContext(i),o=l.length;l=[...l,i];let s=t=>{var l;let{scope:i,children:s,...u}=t,c=(null==i||null==(l=i[e])?void 0:l[o])||a,d=n.useMemo(()=>u,Object.values(u));return(0,r.jsx)(c.Provider,{value:d,children:s})};return s.displayName=t+"Provider",[s,function(l,r){var s;let u=(null==r||null==(s=r[e])?void 0:s[o])||a,c=n.useContext(u);if(c)return c;if(void 0!==i)return i;throw Error("`".concat(l,"` must be used within `").concat(t,"`"))}]},function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let r=t[0];if(1===t.length)return r;let i=()=>{let e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let l=e.reduce((e,l)=>
1{let{useScope:n,scopeName:r}=l,i=n(t)["__scope".concat(r)];return{...e,...i}},{});return n.useMemo(()=>({["__scope".concat(r.scopeName)]:l}),[l])}};return i.scopeName=r.scopeName,i}(i,...t)]}var a=e.i(982936),o=e.i(814981),s=e.i(109488);function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function c(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return e=>{let l=!1,n=t.map(t=>{let n=u(t,e);return l||"function"!=typeof n||(l=!0),n});if(l)return()=>{for(let e=0;e<n.length;e++){let l=n[e];"function"==typeof l?l():u(t[e],null)}}}}function d(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return n.useCallback(c(...t),t)}function p(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:l,...r}=e;if(n.isValidElement(l)){var i,a,o;let e,s,u=(s=(e=null==(a=Object.getOwnPropertyDescriptor((i=l).props,"ref"))?void 0:a.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(s=(e=null==(o=Object.getOwnPropertyDescriptor(i,"ref"))?void 0:o.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref,d=function(e,t){let l={...t};for(let n in t){let r=e[n],i=t[n];/^on[A-Z]/.test(n)?r&&i?l[n]=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let n=i(...t);return r(...t),n}:r&&(l[n]=r):"style"===n?l[n]={...r,...i}:"className"===n&&(l[n]=[r,i].filter(Boolean).join(" "))}return{...e,...l}}(r,l.props);return l.type!==n.Fragment&&(d.ref=t?c(t,u):u),n.cloneElement(l,d)}return n.Children.count(l)>1?n.Children.only(null):null});return t.displayName="".concat(e,".SlotClone"),t}(e),l=n.forwardRef((e,l)=>{let{children:i,...a}=e,o=n.Children.toArray(i),s=o.find(v);if(s){let e=s.props.children,i=o.map(t=>t!==s?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,r.jsx)(t,{...a,ref:l,children:n.isValidElement(e)?n.cloneElement(e,void 0,i):null})}return(0,r.jsx)(t,{...a,ref:l,children:i})});return l.displayName="".concat(e,".Slot"),l}var f=Symbol("radix.slottable");function v(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}var m=new WeakMap;function g(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=function(e,t){let l=e.length,n=h(t),r=n>=0?n:l+n;return r<0||r>=l?-1:r}(e,t);return -1===l?void 0:e[l]}function h(e){return e!=e||0===e?0:Math.trunc(e)}t=new WeakMap,(class e extends Map{set(e,l){return m.get(this)&&(this.has(e)?(0,a._)(this,t)[(0,a._)(this,t).indexOf(e)]=e:(0,a._)(this,t).push(e)),super.set(e,l),this}insert(e,l,n){let r,i=this.has(l),o=(0,a._)(this,t).length,s=h(e),u=s>=0?s:o+s,c=u<0||u>=o?-1:u;if(c===this.size||i&&c===this.size-1||-1===c)return this.set(l,n),this;let d=this.size+ +!i;s<0&&u++;let p=[...(0,a._)(this,t)],f=!1;for(let e=u;e<d;e++)if(u===e){let t=p[e];p[e]===l&&(t=p[e+1]),i&&this.delete(l),r=this.get(t),this.set(l,n)}else{f||p[e-1]!==l||(f=!0);let t=p[f?e:e-1],n=r;r=this.get(t),this.delete(t),this.set(t,n)}return this}with(t,l,n){let r=new e(this);return r.insert(t,l,n),r}before(e){let l=(0,a._)(this,t).indexOf(e)-1;if(!(l<0))return this.entryAt(l)}setBefore(e,l,n){let r=(0,a._)(this,t).indexOf(e);return -1===r?this:this.insert(r,l,n)}after(e){let l=(0,a._)(this,t).indexOf(e);if(-1!==(l=-1===l||l===this.size-1?-1:l+1))return this.entryAt(l)}setAfter(e,l,n){let r=(0,a._)(this,t).indexOf(e);return -1===r?this:this.insert(r+1,l,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return(0,s._)(this,t,[]),super.clear()}delete(e){let l=super.delete(e);return l&&(0,a._)(this,t).splice((0,a._)(this,t).indexOf(e),1),l}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let l=g((0,a._)(this,t),e);if(void 0!==l)return this.get(l)}entryAt(e){let l=g((0,a._)(this,t),e);if(void 0!==l)return[l,this.get(l)]}indexOf(e){return(0,a._)(this,t).indexOf(e)}keyAt(e){return g((0,a._)(this,t),e)}from(e,t){let l=this.indexOf(e);if(-1===l)return;let n=l+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let l=this.indexOf(e);if(-1===l)return;let n=l+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let l=0;for(let n of this){if(Reflect.apply(e,t,[n,l,this]))return n;l++}}findIndex(e,t){let l=0;for(let n of this){if(Reflect.apply(e,t,[n,l,this]))return l;l++}return -1}filter(t,l){let n=[],r=0;for(let e of this)Reflect.apply(t,l,[e,r,this])&&n.push(e),r++;return new e(n)}map(t,l){let n=[],r=0;for(let e of this)n.push([e[0],Reflect.apply(t,l,[e,r,this])]),r++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];
1let[n,r]=t,i=0,a=null!=r?r:this.at(0);for(let e of this)a=0===i&&1===t.length?e:Reflect.apply(n,this,[a,e,i,this]),i++;return a}reduceRight(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let[n,r]=t,i=null!=r?r:this.at(-1);for(let e=this.size-1;e>=0;e--){let l=this.at(e);i=e===this.size-1&&1===t.length?l:Reflect.apply(n,this,[i,l,e,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let l=this.keyAt(e),n=this.get(l);t.set(l,n)}return t}toSpliced(){for(var t=arguments.length,l=Array(t),n=0;n<t;n++)l[n]=arguments[n];let r=[...this.entries()];return r.splice(...l),new e(r)}slice(t,l){let n=new e,r=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==l&&l>0&&(r=l-1);for(let e=t;e<=r;e++){let t=this.keyAt(e),l=this.get(t);n.set(t,l)}return n}every(e,t){let l=0;for(let n of this){if(!Reflect.apply(e,t,[n,l,this]))return!1;l++}return!0}some(e,t){let l=0;for(let n of this){if(Reflect.apply(e,t,[n,l,this]))return!0;l++}return!1}constructor(e){super(e),(0,o._)(this,t,{writable:!0,value:void 0}),(0,s._)(this,t,[...super.keys()]),m.set(this,!0)}}),"undefined"!=typeof window&&window.document&&window.document.createElement;var y=(null==(l=globalThis)?void 0:l.document)?n.useLayoutEffect:()=>{};e.i(619218);var b=n[" useInsertionEffect ".trim().toString()]||y;function _(e){let{prop:t,defaultProp:l,onChange:r=()=>{},caller:i}=e,[a,o,s]=function(e){let{defaultProp:t,onChange:l}=e,[r,i]=n.useState(t),a=n.useRef(r),o=n.useRef(l);return b(()=>{o.current=l},[l]),n.useEffect(()=>{if(a.current!==r){var e;null==(e=o.current)||e.call(o,r),a.current=r}},[r,a]),[r,i,o]}({defaultProp:l,onChange:r}),u=void 0!==t,c=u?t:a;{let e=n.useRef(void 0!==t);n.useEffect(()=>{let t=e.current;if(t!==u){let e=u?"controlled":"uncontrolled";console.warn("".concat(i," is changing from ").concat(t?"controlled":"uncontrolled"," to ").concat(e,". Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component."))}e.current=u},[u,i])}return[c,n.useCallback(e=>{if(u){let n="function"==typeof e?e(t):e;if(n!==t){var l;null==(l=s.current)||l.call(s,n)}}else o(e)},[u,t,o,s])]}Symbol("RADIX:SYNC_STATE"),e.i(730943);var A=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let l=p("Primitive.".concat(t)),i=n.forwardRef((e,n)=>{let{asChild:i,...a}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(i?l:t,{...a,ref:n})});return i.displayName="Primitive.".concat(t),{...e,[t]:i}},{}),C=e.i(308902),S=n[" useId ".trim().toString()]||(()=>void 0),w=0,L=n.createContext(void 0),T="Accordion",x=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[E,P,R]=function(e){let t=e+"CollectionProvider",[l,a]=i(t),[o,s]=l(t,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:t,children:l}=e,i=n.default.useRef(null),a=n.default.useRef(new Map).current;return(0,r.jsx)(o,{scope:t,itemMap:a,collectionRef:i,children:l})};u.displayName=t;let c=e+"CollectionSlot",f=p(c),v=n.default.forwardRef((e,t)=>{let{scope:l,children:n}=e,i=d(t,s(c,l).collectionRef);return(0,r.jsx)(f,{ref:i,children:n})});v.displayName=c;let m=e+"CollectionItemSlot",g="data-radix-collection-item",h=p(m),y=n.default.forwardRef((e,t)=>{let{scope:l,children:i,...a}=e,o=n.default.useRef(null),u=d(t,o),c=s(m,l);return n.default.useEffect(()=>(c.itemMap.set(o,{ref:o,...a}),()=>void c.itemMap.delete(o))),(0,r.jsx)(h,{...{[g]:""},ref:u,children:i})});return y.displayName=m,[{Provider:u,Slot:v,ItemSlot:y},function(t){let l=s(e+"CollectionConsumer",t);return n.default.useCallback(()=>{let e=l.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(g,"]")));return Array.from(l.itemMap.values()).sort((e,l)=>t.indexOf(e.ref.current)-t.indexOf(l.ref.current))},[l.collectionRef,l.itemMap])},a]}(T),[O,N]=i(T,[R,C.createCollapsibleScope]),I=(0,C.createCollapsibleScope)(),k=n.default.forwardRef((e,t)=>
1{let{type:l,...n}=e;return(0,r.jsx)(E.Provider,{scope:e.__scopeAccordion,children:"multiple"===l?(0,r.jsx)(G,{...n,ref:t}):(0,r.jsx)(B,{...n,ref:t})})});k.displayName=T;var[V,j]=O(T),[M,D]=O(T,{collapsible:!1}),B=n.default.forwardRef((e,t)=>{let{value:l,defaultValue:i,onValueChange:a=()=>{},collapsible:o=!1,...s}=e,[u,c]=_({prop:l,defaultProp:null!=i?i:"",onChange:a,caller:T});return(0,r.jsx)(V,{scope:e.__scopeAccordion,value:n.default.useMemo(()=>u?[u]:[],[u]),onItemOpen:c,onItemClose:n.default.useCallback(()=>o&&c(""),[o,c]),children:(0,r.jsx)(M,{scope:e.__scopeAccordion,collapsible:o,children:(0,r.jsx)(K,{...s,ref:t})})})}),G=n.default.forwardRef((e,t)=>{let{value:l,defaultValue:i,onValueChange:a=()=>{},...o}=e,[s,u]=_({prop:l,defaultProp:null!=i?i:[],onChange:a,caller:T}),c=n.default.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[u]),d=n.default.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[u]);return(0,r.jsx)(V,{scope:e.__scopeAccordion,value:s,onItemOpen:c,onItemClose:d,children:(0,r.jsx)(M,{scope:e.__scopeAccordion,collapsible:!0,children:(0,r.jsx)(K,{...o,ref:t})})})}),[z,W]=O(T),K=n.default.forwardRef((e,t)=>{let{__scopeAccordion:l,disabled:i,dir:a,orientation:o="vertical",...s}=e,u=d(n.default.useRef(null),t),c=P(l),p="ltr"===function(e){let t=n.useContext(L);return e||t||"ltr"}(a),f=function(e,t){let{checkForDefaultPrevented:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(n){if(null==e||e(n),!1===l||!n.defaultPrevented)return null==t?void 0:t(n)}}(e.onKeyDown,e=>{var t;if(!x.includes(e.key))return;let l=e.target,n=c().filter(e=>{var t;return!(null==(t=e.ref.current)?void 0:t.disabled)}),r=n.findIndex(e=>e.ref.current===l),i=n.length;if(-1===r)return;e.preventDefault();let a=r,s=i-1,u=()=>{(a=r+1)>s&&(a=0)},d=()=>{(a=r-1)<0&&(a=s)};switch(e.key){case"Home":a=0;break;case"End":a=s;break;case"ArrowRight":"horizontal"===o&&(p?u():d());break;case"ArrowDown":"vertical"===o&&u();break;case"ArrowLeft":"horizontal"===o&&(p?d():u());break;case"ArrowUp":"vertical"===o&&d()}null==(t=n[a%i].ref.current)||t.focus()});return(0,r.jsx)(z,{scope:l,disabled:i,direction:a,orientation:o,children:(0,r.jsx)(E.Slot,{scope:l,children:(0,r.jsx)(A.div,{...s,"data-orientation":o,ref:u,onKeyDown:i?void 0:f})})})}),U="AccordionItem",[Y,F]=O(U),H=n.default.forwardRef((e,t)=>{let{__scopeAccordion:l,value:i,...a}=e,o=W(U,l),s=j(U,l),u=I(l),c=function(e){let[t,l]=n.useState(S());return y(()=>{l(e=>null!=e?e:String(w++))},[void 0]),e||(t?"radix-".concat(t):"")}(),d=i&&s.value.includes(i)||!1,p=o.disabled||e.disabled;return(0,r.jsx)(Y,{scope:l,open:d,disabled:p,triggerId:c,children:(0,r.jsx)(C.Root,{"data-orientation":o.orientation,"data-state":ee(d),...u,...a,ref:t,disabled:p,open:d,onOpenChange:e=>{e?s.onItemOpen(i):s.onItemClose(i)}})})});H.displayName=U;var q="AccordionHeader",Q=n.default.forwardRef((e,t)=>{let{__scopeAccordion:l,...n}=e,i=W(T,l),a=F(q,l);return(0,r.jsx)(A.h3,{"data-orientation":i.orientation,"data-state":ee(a.open),"data-disabled":a.disabled?"":void 0,...n,ref:t})});Q.displayName=q;var J="AccordionTrigger",X=n.default.forwardRef((e,t)=>{let{__scopeAccordion:l,...n}=e,i=W(T,l),a=F(J,l),o=D(J,l),s=I(l);return(0,r.jsx)(E.ItemSlot,{scope:l,children:(0,r.jsx)(C.Trigger,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...n,ref:t})})});X.displayName=J;var Z="AccordionContent",$=n.default.forwardRef((e,t)=>{let{__scopeAccordion:l,...n}=e,i=W(T,l),a=F(Z,l),o=I(l);return(0,r.jsx)(C.Content,{role:"region","aria-labelledby":a.triggerId,"data-orientation":i.orientation,...o,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ee(e){return e?"open":"closed"}$.displayName=Z;var et=k,el=H,en=Q,er=X,ei=$}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.